pandorafms/pandora_console/include/styles/menu.css

165 lines
4.0 KiB
CSS

/*
// Pandora FMS - the Flexible Monitoring System
// =============================================
// Copyright (c) 2004-2009 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.
*/
.menu {
border-width: 1px 0 0 1px;
border-style: solid;
border-color: #dadbdc;
}
.menu ul {
list-style-type: none;
padding: 0;
margin: 0;
}
.menu li.selected, .menu li.not_selected {
border: 0px solid black;
border-bottom: 1px solid #d4d4d4;
margin: 0;
}
.menu li.selected {
background-color: #D3F389 !important;
}
.menu li a {
background-color: inherit;
color: #000000;
display:block; /* This makes it so that the whole li is clickable */
text-decoration:none;
padding: 6px;
margin-left: 23px;
}
.menu a:hover {
text-decoration:none;
color: #D54E21;
}
.submenu {
font-family: Georgia,"Times New Roman","Bitstream Charter",Times,serif;
margin: 0px 10px 0px 0;
width: 164px;
}
.submenu li a {
background-color: #fff;
margin-left: 0px;
padding-left: 29px;
display:block;
border-width: 1px 1px 0 1px;
border-style: solid;
border-color: #dadbdc;
}
.menu li img.toggle {
visibility: hidden;
float:right;
margin: -20px 2px 0 0; /* Positions it back where it should be */
border-left: 1px;
}
.menu li.has_submenu.selected > img.toggle,
.menu li:hover.has_submenu > img.toggle {
visibility: visible;
z-index: 1; /* Positions it on top of the rest */
}
.menu li.submenu_selected a {
font-weight: bold;
}
.menu .menu_icon, .menu li.links {
background-color: #E9F3D2;
background-position: 4px 4px;
background-repeat: no-repeat;
}
.menu li.links {
background-image: url(../../images/link.png);
background-position: 4px 8px;
}
/* Icons specified here */
#icon_oper-dashboard {
background-image: url(../../images/house.png);
}
#icon_oper-agents {
background-image: url(../../images/bricks.png);
}
#icon_oper-servers {
background-image: url(../../images/server.png);
}
#icon_oper-incidents {
background-image: url(../../images/book_edit.png);
}
#icon_oper-events {
background-image: url(../../images/lightning_go.png);
}
/* users */
#icon_oper-users {
background-image: url(../../images/group.png);
}
/* trap console */
#icon_oper-snmpc, #icon_god-snmpc {
background-image: url(../../images/computer_error.png);
}
#icon_oper-messages {
background-image: url(../../images/email.png);
}
#icon_oper-reporting {
background-image: url(../../images/reporting.png);
}
#icon_oper-visualc {
background-image: url(../../images/monitor.png);
}
#icon_oper-extensions, #icon_god-extensions {
background-image: url(../../images/extensions.png);
}
/* Godmode images */
#icon_god-agents {
background-image: url(../../images/god1.png);
}
#icon_god-modules {
background-image: url(../../images/brick.png);
}
#icon_god-alerts {
background-image: url(../../images/god2.png);
}
#icon_god-dbmaint {
background-image: url(../../images/god8.png);
}
#icon_god-users {
background-image: url(../../images/god3.png);
}
#icon_god-reporting {
background-image: url(../../images/reporting_edit.png);
}
#icon_god-profiles {
background-image: url(../../images/god4.png);
}
#icon_god-servers {
background-image: url(../../images/god5.png);
}
#icon_god-audit {
background-image: url(../../images/god6.png);
}
#icon_god-setup {
background-image: url(../../images/god7.png);
}
#icon_god-policies {
background-image: url(../../images/policies.png);
}
#icon_oper-inventory {
background-image: url(../../images/page_white_text.png);
}