pandorafms/pandora_console/include/styles/menu.css

242 lines
5.4 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.
*/
.menu {
border-width: 1px 0 0 0px;
border-style: solid;
border-color: #777;
}
.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: #d9fb86 !important;
}
.menu li a {
/*background-color: inherit;*/
color: #FFFFFF;
/*font-weight: bold;*/
display:block; /* This makes it so that the whole li is clickable */
text-decoration:none;
padding: 9px;
margin-left: 28px;
}
.submenu_text{
background-repeat: no-repeat !important;
padding: 8px 0px 8px 17px;
margin-left: 10px;
color: #fff;
}
.submenu_text_middle{
background-image: url(../../images/submenu_tree_middle.png) !important;
}
.submenu_text_last{
background-image: url(../../images/submenu_tree_last.png) !important;
}
.submenu2_text_middle{
background-image: url(../../images/submenu2_tree_middle.png) !important;
padding-left: 25px;
}
.submenu2_text_last{
background-image: url(../../images/submenu2_tree_last.png) !important;
padding-left: 25px;
}
.menu li.subselected a{
background-color: grey !important;
}
.menu a:hover {
text-decoration:none;
border:1px;
}
.submenu {
font-family: Georgia,"Times New Roman","Bitstream Charter",Times,serif;
margin: 0px 10px 0px 0;
width: 173px;
}
.submenu li a {
background-color: #222;
margin-left: 0px;
/*padding-left: 29px;*/
display:block;
border-width: 0px 0px 0px 0px;
border-style: solid;
border-color: #666;
padding: 0px;
}
.submenu2 li a {
background-color: #111;
margin-left: 0px;
padding-left: 0px;
display:block;
}
.submenu2 li a:hover {
background-color: #111 !important;
}
.menu li img.toggle {
visibility: hidden;
float:right;
margin: -20px 0px 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 */
}
.is_submenu2{
background-color: #E4E4E4 !important;
}
.submenu_not_selected a, .submenu2_not_selected a {
font-weight: normal !important;
}
.menu li.submenu_selected a {
font-weight: bold;
}
.submenu_selected {
margin-bottom: 0px !important;
}
.menu .menu_icon, .menu li.links {
background-color: #daedae;
background-position: 4px 4px;
background-repeat: no-repeat;
}
.menu li.links {
background-image: url(../../images/link.png);
background-position: 4px 8px;
}
.menu {
width: 173px;
}
/* Icons specified here */
#icon_oper-networkconsole {
background-image: url(../../images/op_network.png);
}
#icon_oper-agents {
background-image: url(../../images/op_monitoring.png);
}
#icon_oper-events {
background-image: url(../../images/op_events.png);
}
/* users */
#icon_oper-users {
background-image: url(../../images/op_workspace.png);
}
/* trap console */
#icon_oper-snmpc, #icon_god-snmpc {
background-image: url(../../images/op_snmp.png);
}
#icon_oper-reporting {
background-image: url(../../images/op_reporting.png);
}
#icon_oper-gismaps {
background-image: url(../../images/op_gis.png);
}
#icon_oper-netflow {
background-image: url(../../images/op_netflow.png);
}
#icon_oper-extensions, #icon_god-extensions {
background-image: url(../../images/extensions.png);
}
/* Godmode images */
#icon_god-gismaps {
background-image: url(../../images/gm_gis.png);
}
#icon_god-agents {
background-image: url(../../images/gm_monitoring.png);
}
#icon_god-massive {
background-image: url(../../images/gm_massive_operations.png);
}
#icon_god-services {
background-image: url(../../images/box.png);
}
#icon_god-modules {
background-image: url(../../images/gm_modules.png);
}
#icon_god-alerts {
background-image: url(../../images/gm_alerts.png);
}
#icon_god-dbmaint {
background-image: url(../../images/gm_db.png);
}
#icon_god-users {
background-image: url(../../images/gm_users.png);
}
#icon_god-reporting {
background-image: url(../../images/reporting_edit.png);
}
#icon_god-servers {
background-image: url(../../images/gm_servers.png);
}
#icon_god-audit {
background-image: url(../../images/gm_log.png);
}
#icon_god-netflow {
background-image: url(../../images/gm_netflow.png);
}
#icon_god-setup {
background-image: url(../../images/gm_setup.png);
}
#icon_god-policies {
background-image: url(../../images/gm_policies.png);
}
#icon_oper-inventory {
background-image: url(../../images/page_white_text.png);
}
#icon_god-tag {
background-image: url(../../images/tag_red.png);
}
#icon_god-events {
background-image: url(../../images/gm_events.png);
}
#menu_container {
z-index: 3;
position: absolute;
left: -140px;
background-color: #AAA;
height: 100%;
}