// {{{ICINGA_LICENSE_HEADER}}} /** * This file is part of Icinga Web 2. * * Icinga Web 2 - Head for multiple monitoring backends. * Copyright (C) 2013 Icinga Development Team * * 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; either version 2 * of the License, or (at your option) any later version. * * 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. * * @copyright 2013 Icinga Development Team * @license http://www.gnu.org/licenses/gpl-2.0.txt GPL, version 2 * @author Icinga Development Team * */ // {{{ICINGA_LICENSE_HEADER}}} @white: #ffffff; @lightgrey : #dddddd; /* ========================================================================= Icinga Navigation ========================================================================= */ .navbar { background-image: linear-gradient(to bottom, #444444, #333333); } .navigation-tile-mixin { border-style: solid; border-width: 1px; padding: 3px 5px 3px 5px; border-radius: 3px; font-size: 13px; } .nav-stacked > li + li { margin-left: 0; margin-top: 0; } .nav-stacked { } .icinga-subnavigation { list-style: none; } .nav-stacked > li { padding-left: 4px; padding-top: 10px; padding-bottom: 10px; border-bottom: 1px solid @lightgrey; border-right: 1px solid @lightgrey; font-size: 11px; background-color: rgb(248, 248, 248); background-image: linear-gradient(rgb(255, 255, 255) 0px, rgb(248, 248, 248) 100%); } .nav-stacked > li > a { letter-spacing: 1px; padding-top: 0px; padding-bottom: 3px; } .nav-stacked > li:first-child { } .icinga-subnavigation > li { padding-top: 8px; padding-bottom: 8px; border-bottom: 1px solid @lightgrey; border-right: 1px solid @lightgrey; } ul.icinga-subnavigation { border-bottom: 1px solid @lightgrey; margin-left: 0; padding-left: 15px; } .icinga-subnavigation > li:last-child { padding-top: 8px; padding-bottom: 8px; border-bottom: 0; } .nav-stacked > li > a, .icinga-subnavigation > li > a { padding-left: 20px; padding-right: 3px; /* border-left: 6px solid @petrol; */ display: inline-block; } .nav-stacked > li > a.nav-notification, .icinga-subnavigation > li > a.nav-notification { border-left: 6px solid red !important; } .nav-stacked > li > a:hover, .icinga-subnavigation > li > a:focus { /* font-weight: bold;*/ background-color: transparent; !important; display: inline-block; } .nav-stacked > li:hover, .nav-stacked > li:focus, .icinga-subnavigation > li:hover, .icinga-subnavigation > li:focus { background-color: @white; } .nav-stacked > li.active, .icinga-subnavigation > li.active { background: none; border-right: none; } .badge-container-nav { display: inline-block; overflow: hidden; padding-top: 0; margin-bottom: 5px; } .badge-nav { background-color: @white; border-radius: 2px; color: @orange; display: inline-block; font-size: 12px; font-weight: bold; line-height: 1; min-width: 10px; padding-bottom: 3px; padding-left: 7px; padding-right: 7px; padding-top: 3px; text-align: center; vertical-align: baseline; white-space: nowrap; border: 1px solid @orange; } .badge-container-subnav { position: absolute; overflow: hidden; padding-top: 0; padding-bottom; margin-left: 2px; margin-top: -8px; } .badge-subnav { background-color: @white; border-radius: 2px; color: @orange; display: inline-block; font-size: 10px; font-weight: bold; line-height: 1; min-width: 10px; padding-bottom: 2px; padding-left: 5px; padding-right: 5px; padding-top: 2px; text-align: center; vertical-align: baseline; white-space: nowrap; border: 1px solid @orange; } .icinga-navbar-search-container { border-left: 1px solid #ddd; padding-left: 15px; margin-top: 12px; }