629 lines
15 KiB
CSS
629 lines
15 KiB
CSS
/*
|
|
// Pandora FMS - http://pandorafms.com
|
|
// ==================================================
|
|
// Copyright (c) 2004-2010 Artica Soluciones Tecnológicas S.L
|
|
|
|
// This program is free software; you can redistribute it and/or
|
|
// modify it under the terms of the GNU General Public License
|
|
// as published by the Free Software Foundation; version 2
|
|
|
|
// This program is distributed in the hope that it will be useful,
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
// GNU General Public License for more details.
|
|
// You should have received a copy of the GNU General Public License
|
|
// along with this program; if not, write to the Free Software
|
|
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
*/
|
|
|
|
.operation .menu_icon ul.submenu > li,
|
|
.godmode .menu_icon ul.submenu > li {
|
|
background-color: #282828;
|
|
}
|
|
|
|
.menu {
|
|
border-width: 0px 0px 0px 0px;
|
|
border-style: none;
|
|
border-color: #777;
|
|
}
|
|
.menu ul {
|
|
list-style-type: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
.menu li.selected,
|
|
.menu li.not_selected {
|
|
border: 0px none black;
|
|
border-bottom: 0px none #d4d4d4;
|
|
margin: 0;
|
|
}
|
|
|
|
.menu li a {
|
|
color: #ffffff;
|
|
text-decoration: none;
|
|
}
|
|
|
|
li:hover ul {
|
|
display: block;
|
|
}
|
|
|
|
.submenu_text {
|
|
padding: 10.5px;
|
|
margin-left: 0px;
|
|
width: 100%;
|
|
color: #91a2a7;
|
|
font-family: "Open Sans", sans-serif;
|
|
font-size: 10pt;
|
|
}
|
|
|
|
.menu li.subselected a {
|
|
background-color: grey !important;
|
|
}
|
|
|
|
.menu a:hover {
|
|
text-decoration: none;
|
|
border: 0px;
|
|
}
|
|
.submenu {
|
|
margin: 0px 0px 0px 0px;
|
|
position: absolute;
|
|
z-index: 999;
|
|
/*left: 44px;*/
|
|
min-height: 35px;
|
|
/*height: 35px;*/
|
|
width: 180px;
|
|
}
|
|
|
|
.submenu2 {
|
|
position: absolute;
|
|
z-index: 999;
|
|
left: 180px;
|
|
}
|
|
|
|
.sub_subMenu {
|
|
min-height: 35px !important;
|
|
/*height: 35px;*/
|
|
width: 180px;
|
|
font-weight: normal !important;
|
|
background-color: #202020;
|
|
}
|
|
.sub_subMenu.selected {
|
|
font-weight: 600 !important;
|
|
}
|
|
|
|
.submenu2 li a {
|
|
margin-left: 0px;
|
|
padding-left: 0px;
|
|
}
|
|
|
|
.menu li img.toggle {
|
|
visibility: hidden;
|
|
float: right;
|
|
/* Positions it back where it should be */
|
|
border-left: 1px;
|
|
}
|
|
|
|
.menu li.has_submenu > a > div {
|
|
background: url(../../images/arrow.png) no-repeat 80% 50%;
|
|
z-index: 1; /* Positions it on top of the rest */
|
|
}
|
|
.menu li.has_submenu > .SubNoLink {
|
|
background: url(../../images/arrow.png) no-repeat 80% 50%;
|
|
z-index: 1; /* Positions it on top of the rest */
|
|
}
|
|
|
|
.is_submenu2 {
|
|
background-color: #e4e4e4 !important;
|
|
}
|
|
|
|
.menu li.submenu_not_selected a,
|
|
.menu li.submenu2_not_selected a {
|
|
font-weight: normal !important;
|
|
}
|
|
|
|
.submenu_selected {
|
|
margin-bottom: 0px !important;
|
|
box-shadow: inset 4px 0 #80ba27 !important;
|
|
}
|
|
.selected.submenu_selected {
|
|
background-color: #202020 !important;
|
|
}
|
|
|
|
li.submenu_selected.selected {
|
|
background-color: #202020 !important;
|
|
font-weight: 600;
|
|
}
|
|
|
|
li.sub_subMenu.selected {
|
|
background-color: #161616 !important;
|
|
}
|
|
|
|
.menu .menu_icon,
|
|
.menu li.links {
|
|
background-position: 4px 4px;
|
|
background-repeat: no-repeat;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.menu li.links {
|
|
background-image: url(../../images/link.png);
|
|
background-position: 4px 8px;
|
|
}
|
|
|
|
/* Icons specified here */
|
|
#icon_oper-networkconsole {
|
|
background: url(../../images/op_network.menu_gray.png) no-repeat;
|
|
}
|
|
#icon_oper-agents {
|
|
border-top-right-radius: 5px;
|
|
border-right-style: solid;
|
|
border-right-width: 0px;
|
|
background: url(../../images/op_monitoring.menu_gray.png) no-repeat;
|
|
}
|
|
#icon_oper-events {
|
|
background: url(../../images/op_events.menu_gray.png) no-repeat;
|
|
}
|
|
|
|
/* users */
|
|
#icon_oper-users {
|
|
background: url(../../images/op_workspace.menu_gray.png) no-repeat;
|
|
}
|
|
/* trap console */
|
|
#icon_oper-snmpc,
|
|
#icon_god-snmpc {
|
|
background: url(../../images/op_snmp.menu.png) no-repeat 50% 50%;
|
|
}
|
|
#icon_oper-reporting {
|
|
background: url(../../images/op_reporting.menu_gray.png) no-repeat;
|
|
}
|
|
#icon_oper-gismaps {
|
|
background: url(../../images/op_gis.menu.png) no-repeat 50% 50%;
|
|
}
|
|
#icon_oper-netflow {
|
|
background: url(../../images/op_netflow.menu.png) no-repeat 50% 50%;
|
|
}
|
|
#icon_oper-extensions {
|
|
background: url(../../images/extensions.menu_gray.png) no-repeat;
|
|
}
|
|
|
|
/* Godmode images */
|
|
#icon_god-discovery {
|
|
background: url(../../images/gm_discovery.menu.png) no-repeat 50% 50%;
|
|
}
|
|
#icon_god-resources {
|
|
background: url(../../images/gm_resources.menu_gray.png) no-repeat;
|
|
}
|
|
#icon_god-configuration {
|
|
background: url(../../images/gm_configuration.menu_gray.png) no-repeat;
|
|
}
|
|
#icon_god-alerts {
|
|
background: url(../../images/gm_alerts.menu_gray.png) no-repeat;
|
|
}
|
|
#icon_god-users {
|
|
background: url(../../images/gm_users.menu_gray.png) no-repeat;
|
|
}
|
|
#icon_god-reporting {
|
|
background: url(../../images/reporting_edit.menu.png) no-repeat 50% 50%;
|
|
}
|
|
#icon_god-servers {
|
|
background: url(../../images/gm_servers.menu_gray.png) no-repeat;
|
|
}
|
|
#icon_god-setup {
|
|
background: url(../../images/gm_setup.menu_gray.png) no-repeat;
|
|
}
|
|
#icon_god-events {
|
|
background: url(../../images/gm_events.menu_gray.png) no-repeat;
|
|
}
|
|
#icon_god-extensions {
|
|
background: url(../../images/builder.menu_gray.png) no-repeat;
|
|
}
|
|
#icon_god-links {
|
|
background: url(../../images/links.menu_gray.png) no-repeat;
|
|
}
|
|
#icon_god-um_messages {
|
|
border-color: #777;
|
|
background: url(../../images/um_messages.menu_gray.png) no-repeat;
|
|
}
|
|
|
|
#menu_container {
|
|
z-index: 3;
|
|
position: absolute;
|
|
left: -80px;
|
|
background-color: #aaa;
|
|
}
|
|
|
|
.notification_ball {
|
|
margin-top: 2px;
|
|
margin-left: 29px;
|
|
font-size: 6pt;
|
|
font-weight: 900;
|
|
background: red;
|
|
height: 12px;
|
|
width: 12px;
|
|
border-radius: 50px;
|
|
position: absolute;
|
|
text-align: center;
|
|
color: white;
|
|
padding-top: 1px;
|
|
font-family: sans-serif;
|
|
}
|
|
|
|
ul {
|
|
margin: 0;
|
|
padding: 0;
|
|
list-style: none;
|
|
}
|
|
|
|
ul li {
|
|
position: relative;
|
|
}
|
|
|
|
.menu li ul {
|
|
position: absolute;
|
|
top: 0;
|
|
display: none;
|
|
}
|
|
|
|
/* Fix IE. Hide from IE Mac \*/
|
|
* html ul li {
|
|
float: left;
|
|
height: 1%;
|
|
}
|
|
* html ul li a {
|
|
height: 1%;
|
|
}
|
|
/* End */
|
|
|
|
ul li a:hover {
|
|
color: #e2144a;
|
|
} /* Hover Styles */
|
|
/*li ul li a { padding: 2px 5px; } Sub Menu Styles */
|
|
|
|
/*
|
|
* ---------------------------------------------------------------------
|
|
* - MAIN LEFT MENU and SUBMENU -
|
|
* ---------------------------------------------------------------------
|
|
*/
|
|
|
|
.menu_icon {
|
|
transition-property: background-color;
|
|
transition-duration: 0.5s;
|
|
transition-timing-function: ease-out;
|
|
-webkit-transition-property: background-color;
|
|
-webkit-transition-duration: 0.5s;
|
|
-webkit-transition-timing-function: ease-out;
|
|
-moz-transition-property: background-color;
|
|
-moz-transition-duration: 0.5s;
|
|
-moz-transition-timing-function: ease-out;
|
|
-o-transition-property: background-color;
|
|
-o-transition-duration: 0.5s;
|
|
-o-transition-timing-function: ease-out;
|
|
}
|
|
|
|
.menu_icon:hover {
|
|
transition-property: background-color;
|
|
transition-duration: 0.5s;
|
|
transition-timing-function: ease-out;
|
|
-webkit-transition-property: background-color;
|
|
-webkit-transition-duration: 0.5s;
|
|
-webkit-transition-timing-function: ease-out;
|
|
-moz-transition-property: background-color;
|
|
-moz-transition-duration: 0.5s;
|
|
-moz-transition-timing-function: ease-out;
|
|
-o-transition-property: background-color;
|
|
-o-transition-duration: 0.5s;
|
|
-o-transition-timing-function: ease-out;
|
|
background-color: #282828 !important;
|
|
}
|
|
.submenu_not_selected:hover {
|
|
transition-property: background-color;
|
|
transition-duration: 0.5s;
|
|
transition-timing-function: ease-out;
|
|
-webkit-transition-property: background-color;
|
|
-webkit-transition-duration: 0.5s;
|
|
-webkit-transition-timing-function: ease-out;
|
|
-moz-transition-property: background-color;
|
|
-moz-transition-duration: 0.5s;
|
|
-moz-transition-timing-function: ease-out;
|
|
-o-transition-property: background-color;
|
|
-o-transition-duration: 0.5s;
|
|
-o-transition-timing-function: ease-out;
|
|
background-color: #202020 !important;
|
|
}
|
|
.submenu_selected:hover {
|
|
background-color: #202020 !important;
|
|
}
|
|
.sub_subMenu {
|
|
transition-property: background-color;
|
|
transition-duration: 0.5s;
|
|
transition-timing-function: ease-out;
|
|
-webkit-transition-property: background-color;
|
|
-webkit-transition-duration: 0.5s;
|
|
-webkit-transition-timing-function: ease-out;
|
|
-moz-transition-property: background-color;
|
|
-moz-transition-duration: 0.5s;
|
|
-moz-transition-timing-function: ease-out;
|
|
-o-transition-property: background-color;
|
|
-o-transition-duration: 0.5s;
|
|
}
|
|
.sub_subMenu:hover {
|
|
transition-property: background-color;
|
|
transition-duration: 0.5s;
|
|
transition-timing-function: ease-out;
|
|
-webkit-transition-property: background-color;
|
|
-webkit-transition-duration: 0.5s;
|
|
-webkit-transition-timing-function: ease-out;
|
|
-moz-transition-property: background-color;
|
|
-moz-transition-duration: 0.5s;
|
|
-moz-transition-timing-function: ease-out;
|
|
-o-transition-property: background-color;
|
|
-o-transition-duration: 0.5s;
|
|
background-color: #161616 !important;
|
|
}
|
|
|
|
.menu li.selected {
|
|
box-shadow: inset 4px 0 #80ba27;
|
|
}
|
|
/* creo que no se usan
|
|
.is_submenu2 li {
|
|
background-color: #ff0000;
|
|
}
|
|
|
|
.is_submenu2 {
|
|
background-color: #222222 !important;
|
|
}
|
|
*/
|
|
.operation {
|
|
background-color: #343434 !important;
|
|
border-top-right-radius: 5px;
|
|
border-right-style: solid;
|
|
border-right-width: 0px;
|
|
padding-top: 20px !important;
|
|
}
|
|
|
|
.operation .selected,
|
|
.godmode .selected {
|
|
background-color: #282828 !important;
|
|
}
|
|
|
|
.operation .selected #title_menu,
|
|
.godmode .selected #title_menu {
|
|
color: #fff !important;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.menu li,
|
|
.menu .li.not_selected {
|
|
border-radius: 0px 0px 0px 0px;
|
|
display: block;
|
|
min-height: 35px;
|
|
border-bottom: 0px none #424242;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.godmode {
|
|
padding-bottom: 4px !important;
|
|
background-color: #343434;
|
|
}
|
|
|
|
/* Menu icons active */
|
|
.selected#icon_oper-networkconsole {
|
|
background: url(../../images/op_network.menu_white.png) no-repeat;
|
|
}
|
|
.selected#icon_oper-agents {
|
|
background: url(../../images/op_monitoring.menu_white.png) no-repeat;
|
|
}
|
|
.selected#icon_oper-events {
|
|
background: url(../../images/op_events.menu_white.png) no-repeat;
|
|
}
|
|
.selected#icon_oper-users {
|
|
background: url(../../images/op_workspace.menu_white.png) no-repeat;
|
|
}
|
|
.selected#icon_oper-reporting {
|
|
background: url(../../images/op_reporting.menu_white.png) no-repeat;
|
|
}
|
|
.selected#icon_oper-extensions {
|
|
background: url(../../images/extensions.menu_white.png) no-repeat;
|
|
}
|
|
.selected#icon_god-resources {
|
|
background: url(../../images/gm_resources.menu_white.png) no-repeat;
|
|
}
|
|
.selected#icon_god-configuration {
|
|
background: url(../../images/gm_configuration.menu_white.png) no-repeat;
|
|
}
|
|
.selected#icon_god-alerts {
|
|
background: url(../../images/gm_alerts.menu_white.png) no-repeat;
|
|
}
|
|
.selected#icon_god-users {
|
|
background: url(../../images/gm_users.menu_white.png) no-repeat;
|
|
}
|
|
.selected#icon_god-servers {
|
|
background: url(../../images/gm_servers.menu_white.png) no-repeat;
|
|
}
|
|
.selected#icon_god-setup {
|
|
background: url(../../images/gm_setup.menu_white.png) no-repeat;
|
|
}
|
|
.selected#icon_god-events {
|
|
background: url(../../images/gm_events.menu_white.png) no-repeat;
|
|
}
|
|
.selected#icon_god-extensions {
|
|
background: url(../../images/builder.menu_white.png) no-repeat;
|
|
}
|
|
.selected#icon_god-links {
|
|
background: url(../../images/links.menu_white.png) no-repeat;
|
|
}
|
|
.selected#icon_god-um_messages {
|
|
background: url(../../images/um_messages.menu_white.png) no-repeat;
|
|
}
|
|
|
|
#menu_full {
|
|
/*height: 100%; /*Lo he quitado para que no ocupe todo el alto y fixed */
|
|
width: 60px; /* It is changed for classic menu (215px)*/
|
|
position: fixed; /*Fixed: Lo he quitado para que no ocupe todo el alto y fixed */ /*absolute*/
|
|
z-index: 1;
|
|
top: 0;
|
|
left: 0;
|
|
background-color: #343434;
|
|
border-bottom: solid 3px #343434;
|
|
/*min-height: 943px;*/
|
|
padding-bottom: 40px; /*Lo he quitado para que no ocupe todo el alto y fixed */
|
|
/*overflow-x: hidden;*/
|
|
}
|
|
|
|
.button_collapse {
|
|
height: 55px;
|
|
background-color: #4d4d4d;
|
|
/*bottom: 0; /* Lo he quitado para que no ocupe todo el alto y fixed*/
|
|
/*position: fixed; /*coemntar tb*/
|
|
width: 60px; /* It is changed for classic menu (215px)*/
|
|
text-align: center;
|
|
color: #fff;
|
|
cursor: pointer;
|
|
background-repeat: no-repeat;
|
|
background-position: center;
|
|
margin-top: 15px;
|
|
}
|
|
|
|
.logo_green {
|
|
height: 60px;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.operation > li.menu_icon.no_hidden_menu,
|
|
.godmode > li.menu_icon.no_hidden_menu {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
align-items: center;
|
|
}
|
|
|
|
.operation > li.menu_icon,
|
|
.godmode > li.menu_icon {
|
|
padding-top: 2px; /* 3px */
|
|
padding-bottom: 2px;
|
|
}
|
|
|
|
.operation div,
|
|
.operation a,
|
|
.godmode div,
|
|
.godmode a {
|
|
font-family: "Open Sans", sans-serif;
|
|
}
|
|
|
|
.menu_full_classic,
|
|
.button_classic {
|
|
width: 215px !important;
|
|
}
|
|
|
|
.menu_full_collapsed,
|
|
.button_collapsed {
|
|
width: 60px !important;
|
|
}
|
|
|
|
.button_classic {
|
|
width: 215px !important;
|
|
background-image: url(../../images/button_collapse_menu.png);
|
|
background-repeat: no-repeat;
|
|
background-position: center;
|
|
}
|
|
|
|
.button_collapsed {
|
|
background-image: url(../../images/button_classic_menu.png);
|
|
background-repeat: no-repeat;
|
|
background-position: center;
|
|
}
|
|
|
|
#top_btn {
|
|
display: none;
|
|
position: fixed;
|
|
bottom: 100px;
|
|
left: 0px;
|
|
border: none;
|
|
outline: none;
|
|
background: url("../../images/to_top_menu.png") no-repeat center;
|
|
background-color: #82b92e;
|
|
width: 60px;
|
|
height: 60px;
|
|
/* Estos borrarles despues xk sera img */
|
|
color: white;
|
|
cursor: pointer;
|
|
font-size: 17px;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
#top_btn:hover {
|
|
background-color: #4d4d4d;
|
|
/* border: 2px solid #fff;*/
|
|
}
|
|
|
|
@media screen and (max-height: 600px) {
|
|
.operation > li.menu_icon,
|
|
.godmode > li.menu_icon {
|
|
padding-top: 1px;
|
|
padding-bottom: 1px;
|
|
}
|
|
.operation {
|
|
padding-top: 10px !important;
|
|
}
|
|
.button_collapse {
|
|
margin-top: 10px;
|
|
background-color: green;
|
|
}
|
|
.menu li,
|
|
.menu .li.not_selected {
|
|
min-height: 25px !important;
|
|
}
|
|
.button_collapse {
|
|
height: 45px;
|
|
}
|
|
.submenu_text {
|
|
/* padding: 7.5px;*/
|
|
}
|
|
}
|
|
|
|
@media screen and (min-height: 601px) and (max-height: 700px) {
|
|
.operation > li.menu_icon,
|
|
.godmode > li.menu_icon {
|
|
padding-top: 1px;
|
|
padding-bottom: 2px;
|
|
}
|
|
.operation {
|
|
padding-top: 10px !important;
|
|
}
|
|
.button_collapse {
|
|
margin-top: 10px;
|
|
background-color: red;
|
|
}
|
|
.menu li,
|
|
.menu .li.not_selected {
|
|
min-height: 25px !important;
|
|
}
|
|
.button_collapse {
|
|
height: 48px;
|
|
}
|
|
.submenu_text {
|
|
/*padding: 7.5px;*/
|
|
}
|
|
}
|
|
|
|
@media screen and (min-height: 701px) and (max-height: 845px) {
|
|
.operation {
|
|
padding-top: 10px !important;
|
|
}
|
|
.button_collapse {
|
|
margin-top: 10px;
|
|
background-color: blue;
|
|
}
|
|
.menu li,
|
|
.menu .li.not_selected {
|
|
min-height: 28px !important;
|
|
}
|
|
.button_collapse {
|
|
height: 50px;
|
|
}
|
|
.submenu_text {
|
|
/*padding: 7.5px;*/
|
|
}
|
|
}
|