// {{{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}}} /* ========================================================================= Default elements for module monitoring ========================================================================= */ @colorOk : #00cc33; @colorUp : #00cc33; @colorCritical : #ff3300; @colorDown: #ff3300; @colorPending: #c0c0c0; @colorUnknown : #E066FF; @colorWarning : #FFA500; @colorUnreachable : #E066FF; .host-name { display: block; margin-top: 5px; font-weight: bold; } .active { background-color: @lightgrey; } .output-text { font-size: 12px; line-height: 16px; display: block; } .config-changed { display: inline-block; margin: 0 10px 0 0; } /* ========================================================================== Forms ========================================================================== */ .panel-row form { display: inline; } /* ========================================================================== Pagination ========================================================================== */ .pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus { background-color: @petrol !important; border-color: fuchsia !mportant; } .pagination-sm > li > a, .pagination-sm > li > span { font-size: 16px !important; } /* ========================================================================== Status colors ========================================================================== */ .status-up { background-color: @colorUp!important; } .status-warning { background-color: @colorWarning!important; } .status-critical { background-color: @colorCritical!important; } .status-unknown { background-color: @colorUnknown!important; } .status-pending { background-color: @colorPending!important; } /** Service status **/ .tacheader-status-pending { background-color: @colorPending!important; } .tacheader-status-critical { background-color: @colorCritical!important; } .tacheader-status-ok { /* No status is displayed */ } .tacheader-status-warning { background-color: @colorWarning!important; } .tacheader-status-unknown { background-color: @colorUnknown!important; } /** Host status **/ .tacheader-status-unreachable { background-color: @colorUnreachable!important; } .tacheader-status-down { background-color: @colorDown!important; } .tacheader-status-up { /* Do not display any status */ } /* Borders for Detail Headers */ .border-status-mixin (@color) { border-left: 10px solid @color; } .border-status-pending { .border-status-mixin(@colorPending); } .border-status-critical { .border-status-mixin(@colorCritical); } .border-status-ok { .border-status-mixin(@colorOk); } .border-status-warning { .border-status-mixin(@colorWarning); } .border-status-unknown { .border-status-mixin(@colorUnknown); } /** Host status **/ .border-status-unreachable { .border-status-mixin(@colorUnreachable); } .border-status-down { .border-status-mixin(@colorDown); } .border-status-up { .border-status-mixin(@colorUp); } .icinga-navbar { margin-right: 15px; } .icinga-navbar-reload { margin-top: 13px; margin-right: 40px; margin-left: 15px; } .icinga-navbar-search { background-image: url('../../img/icons/search.png'); background-repeat: no-repeat; background-position: 5px 50%; padding-left: 25px !important; } .topbar-status-summary-mixin (@backgroundImage) { background-image: url(@backgroundImage); background-repeat: no-repeat; background-position: 5px 50%; padding-left: 30px !important; margin-top: 15px; span:not(:last-child) { margin-right: 5px; } } .topbar-host-status-summary { .topbar-status-summary-mixin('../../img/icons/host.png'); } .topbar-service-status-summary { .topbar-status-summary-mixin('../../img/icons/service.png'); } .topbar-status-mixin (@color) { border-style: solid; border-width: 1px; padding: 3px 5px 3px 5px; border-radius: 3px; font-size: 13px; border-color: @color; color: @color; a { color: inherit; } } .topbar-status-up { .topbar-status-mixin(@colorUp); } .topbar-status-down { .topbar-status-mixin(@colorDown); } .topbar-status-unreachable { .topbar-status-mixin(@colorUnreachable); } .topbar-status-pending { .topbar-status-mixin(@colorPending); } .topbar-status-ok { .topbar-status-mixin(@colorOk); } .topbar-status-critical { .topbar-status-mixin(@colorCritical); } .topbar-status-warning { .topbar-status-mixin(@colorWarning); } .topbar-status-unknown { .topbar-status-mixin(@colorUnknown); }