pandorafms/pandora_console/include/styles/menu.css

159 lines
4.5 KiB
CSS

/*
Pandora FMS - the Flexible Monitoring System
============================================
Copyright (c) 2004-2008 Sancho Lerena, slerena@openideas.info
Copyright (c) 2005-2009 Artica Soluciones Tecnologicas
Copyright (c) 2004-2009 Raul Mateos Martin, raulofpandora@gmail.com
Copyright (c) 2008-2009 Evi Vanoost, vanooste@rcbi.rochester.edu
Copyright (c) 2006-2007 Jose Navarro jose@jnavarro.net
Copyright (c) 2006-2007 Jonathan Barajas, jonathan.barajas[AT]gmail[DOT]com
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;
width: 155px;
}
.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;
white-space: nowrap; /* Breaking the text breaks the menu. */
}
.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:155px;
}
.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 li.links {
background: #E9F3D2 url(../../images/link.png) no-repeat 4px 8px;
border-width: 1px 0 0 1px;
border-style: solid;
border-color: #dadbdc;
}
/* Icons specified here */
#icon_oper-agents {
background: #E9F3D2 url(../../images/bricks.png) no-repeat 4px 4px;
}
#icon_oper-servers {
background: #E9F3D2 url(../../images/server_database.png) no-repeat 4px 4px;
}
#icon_oper-incidents {
background: #E9F3D2 url(../../images/book_edit.png) no-repeat 4px 4px;
}
#icon_oper-events {
background: #E9F3D2 url(../../images/lightning_go.png) no-repeat 4px 4px;
}
/* users */
#icon_oper-users {
background: #E9F3D2 url(../../images/group.png) no-repeat 4px 4px;
}
/* trap console */
#icon_oper-snmpc, #icon_god-snmpc {
background: #E9F3D2 url(../../images/computer_error.png) no-repeat 4px 4px;
}
#icon_oper-messages {
background: #E9F3D2 url(../../images/email.png) no-repeat 4px 4px;
}
#icon_oper-reporting {
background: #E9F3D2 url(../../images/reporting.png) no-repeat 4px 4px;
}
#icon_oper-visualc {
background: #E9F3D2 url(../../images/monitor.png) no-repeat 4px 4px;
}
#icon_oper-extensions, #icon_god-extensions {
background: #E9F3D2 url(../../images/extensions.png) no-repeat 4px 4px;
}
/* Godmode images */
#icon_god-agents {
background: #E9F3D2 url(../../images/god1.png) no-repeat 4px 4px;
}
#icon_god-modules {
background: #E9F3D2 url(../../images/brick.png) no-repeat 4px 4px;
}
#icon_god-alerts {
background: #E9F3D2 url(../../images/god2.png) no-repeat 4px 4px;
}
#icon_god-dbmaint {
background: #E9F3D2 url(../../images/god8.png) no-repeat 4px 4px;
}
#icon_god-users {
background: #E9F3D2 url(../../images/god3.png) no-repeat 4px 4px;
}
#icon_god-reporting {
background: #E9F3D2 url(../../images/reporting_edit.png) no-repeat 4px 4px;
}
#icon_god-profiles {
background: #E9F3D2 url(../../images/god4.png) no-repeat 4px 4px;
}
#icon_god-servers {
background: #E9F3D2 url(../../images/god5.png) no-repeat 4px 4px;
}
#icon_god-audit {
background: #E9F3D2 url(../../images/god6.png) no-repeat 4px 4px;
}
#icon_god-setup {
background: #E9F3D2 url(../../images/god7.png) no-repeat 4px 4px;
}
#icon_oper-inventory {
background: #E9F3D2 url(../../images/page_white_text.png) no-repeat 4px 4px;
}