icingaweb2/doc/Icinga-Design/icinga-design.css

957 lines
18 KiB
CSS
Raw Normal View History

2013-10-09 10:47:59 +02:00
/* ==========================================================================
Icinga Design
========================================================================== */
html {
font-family: sans-serif; /* 1 */
-ms-text-size-adjust: 100%; /* 2 */
-webkit-text-size-adjust: 100%; /* 2 */
overflow-y: scroll;
}
body {
margin: 0;
color: #262625;
font-family: "Lucida Grande","Lucida Sans Unicode",Verdana,Helvetica,Arial,sans-serif;
font-size: 16px;
}
p {
line-height: 18px;
}
2013-10-10 10:46:06 +02:00
.gap {
margin-bottom: 15px;
}
2013-10-09 10:47:59 +02:00
/* ==========================================================================
Links
========================================================================== */
a {
color: #049baf;
text-decoration: none;
}
/**
* Address `outline` inconsistency between Chrome and other browsers.
*/
a:focus {
outline: thin dotted;
}
/**
* Improve readability when focused and also mouse hovered in all browsers.
*/
a:active,
a:hover {
outline: 0;
color: #049baf;
text-decoration: underline;
}
/* ==========================================================================
Typography
========================================================================== */
/**
* Address variable `h1` font-size and margin within `section` and `article`
* contexts in Firefox 4+, Safari 5, and Chrome.
*/
h1 {
color: #262625;
font-size: 20px;
}
h2 {
color: #262625;
font-size: 16px;
}
p {
margin-top: 0;
}
/* ==========================================================================
Tables
========================================================================== */
table, th, td {
text-align: left;
vertical-align: top;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
th {
font-weight: bold;
font-size: 18px;
padding: 8px 8px 10px 8px;
border-bottom: 2px solid #ddd;
}
.table-detail th {
font-size: 16px;
border-top: 0;
}
.table-detail thead > tr > th, .table tbody > tr > th,
.table-detail tbody > tr > td, .table tfoot > tr > td {
border-top: 0 !important;
}
.table-detail > thead {
border-top: 0 !important;
}
2013-10-09 10:47:59 +02:00
td {
padding: 8px 10px 8px 8px !important;
border-bottom: 1px dotted #ddd !important;
border-top: none;
}
.pull-right {
float: right !important;
clear: right !important;
display: block;
clear: right;
overflow: hidden;
}
.badge-container {
display: block;
overflow: hidden;
}
.badge {
background-color: #fff;
border-radius: 2px;
color: #ff3300;
display: inline-block;
font-size: 12px;
font-weight: bold;
line-height: 1;
min-width: 10px;
padding-bottom: 3px;
padding-left: 10px;
padding-right: 10px;
padding-top: 3px;
text-align: center;
vertical-align: baseline;
white-space: nowrap;
border: 1px solid #ff3300;
}
.badge a,
.badge a:active,
.badge a:hover,
.badge:hover {
color: #ff3300 !important;
display: inline-block !important;
2013-10-09 10:47:59 +02:00
}
.host-name {
display: block;
margin-top: 5px;
font-weight: bold;
}
.active {
background-color: #f5f5f5;
}
.output-text {
font-size: 12px;
line-height: 14px;
display: inline-block;
}
.panel-disabled {
border-left: 8px solid #FF3300;
}
.panel-enabled {
border-left: 8px solid #00CC33;
}
2013-10-09 10:47:59 +02:00
/* ==========================================================================
Forms
========================================================================== */
.form-inline .form-group {
display: inline-block;
margin-bottom: 0;
vertical-align: middle;
}
.form-group {
margin-bottom: 15px;
}
label {
display: inline-block;
font-weight: bold;
margin-bottom: 5px;
}
.input-sm {
border-radius: 3px;
font-size: 16px;
padding: 5px;
margin-right: 15px;
}
.form-control {
background-color: #FFFFFF;
border: 1px solid #CCCCCC;
border-radius: 4px;
padding: 5px;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
color: #555555;
display: block;
vertical-align: middle;
width: 100%;
}
select.input-sm {
}
2013-10-09 10:47:59 +02:00
/* ==========================================================================
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: #049baf !important;
border-color: fuchsia !mportant;
}
.pagination-sm > li > a, .pagination-sm > li > span {
font-size: 16px !important;
}
/* ==========================================================================
Status colors
========================================================================== */
.status-up {
background-color: #00cc33; /* green */
}
.status-warning {
background-color: #00cc33; /* xx */
}
.status-critical {
background-color: #ff3300; /* red */
}
.status-unknown {
background-color: #00cc33; /* xx */
}
.status-pending {
background-color: #00cc33; /* xx */
}
/** Service status **/
.tacheader-status-critical {
background-color: #FF3300;
}
.tacheader-status-ok {
background-color: #00CC33;
}
.tacheader-status-warning {
background-color: #FFA500;
}
.tacheader-status-unknown {
background-color: #E066FF;
}
/** Host status **/
.tacheader-status-unreachable {
background-color: #E066FF;
}
.tacheader-status-down {
background-color: #FF3300;
}
.tacheader-status-up {
background-color: #00CC33;
}
2013-10-10 10:46:06 +02:00
/* Borders for Detail Headers */
.border-status-critical {
2013-10-11 15:13:22 +02:00
border-left: 10px solid #FF3300;
2013-10-10 10:46:06 +02:00
}
.border-status-ok {
border-left: 10px solid #00CC33;
}
.border-status-warning {
border-left: 10px solid #FFA500;
}
.border-status-unknown {
border-left: 10px solid #E066FF;
}
/** Host status **/
.border-status-unreachable {
border-left: 10px solid #E066FF;
}
.border-status-down {
border-left: 10px solid #FF3300;
}
.border-status-up {
background-color: #00CC33;
}
2013-10-09 10:47:59 +02:00
/* ==========================================================================
Icons
========================================================================== */
.icon-table {
width: 16px;
height: 20px;
display: block;
2013-10-10 10:46:06 +02:00
background-position: 50% 0;
2013-10-09 10:47:59 +02:00
}
2013-10-10 10:46:06 +02:00
.icon-header {
background-position: 0 50%;
padding-left: 25px;
height: 20px;
}
.icon-btn-small {
background-position: 0 0;
width: 16px;
height: 16px;
display: block;
}
.icon-table-hint {
width: 16px;
height: 20px;
display: block;
background-position: 50% 50%;
}
.icon-table-hint:after {
content: "edited";
padding-left: 22px;
}
2013-10-10 10:46:06 +02:00
2013-10-09 10:47:59 +02:00
.icon-flapping {
background-image: url('images/flapping.png');
background-repeat: no-repeat;
}
.icon-comment {
background-image: url('images/comment.png');
background-repeat: no-repeat;
}
.icon-unhandled {
background-image: url('images/unhandled.png');
background-repeat: no-repeat;
2013-10-10 10:46:06 +02:00
}
.icon-host {
background-image: url('images/host.png');
background-repeat: no-repeat;
}
.icon-acknowledgement {
background-image: url('images/acknowledgement.png');
background-repeat: no-repeat;
}
.icon-remove {
background-image: url('images/remove.png');
background-repeat: no-repeat;
}
.icon-submit {
background-image: url('images/submit.png');
background-repeat: no-repeat;
}
.icon-create {
background-image: url('images/create.png');
background-repeat: no-repeat;
}
.icon-dashboard {
background-image: url('images/dashboard.png');
background-repeat: no-repeat;
}
.icon-disable {
background-image: url('images/disable.png');
background-repeat: no-repeat;
}
.icon-edit {
background-image: url('images/edit.png');
background-repeat: no-repeat;
}
.icon-error {
background-image: url('images/error.png');
background-repeat: no-repeat;
}
.icon-downtime {
background-image: url('images/in_downtime.png');
background-repeat: no-repeat;
}
.icon-save {
background-image: url('images/save.png');
background-repeat: no-repeat;
}
.icon-service {
background-image: url('images/service.png');
background-repeat: no-repeat;
}
.icon-user {
background-image: url('images/user.png');
background-repeat: no-repeat;
}
.icon-reschedule {
background-image: url('images/reschedule.png');
background-repeat: no-repeat;
}
2013-10-11 16:31:40 +02:00
.icon-refresh {
background-image: url('images/refresh.png');
background-repeat: no-repeat;
}
2013-10-10 10:46:06 +02:00
/* ==========================================================================
Details Panel
========================================================================== */
.panel-heading {
border-bottom: 0;
margin-bottom: 0px !important;
padding-left: 5px;
padding-bottom: 3px;
padding-top: 5px;
overflow: hidden;
border-radius: 0;
}
.panel-hostname {
font-weight: bold;
}
.separator {
border-top: 2px solid #ddd;
border-bottom: 0;
margin: 0;
height: 2px;
}
.panel-header-status {
font-weight: normal;
}
.panel-row {
display: block;
margin-bottom: 10px;
overflow: hidden;
border-bottom: 1px dotted #ddd;
padding-bottom: 10px;
}
.panel-label {
float: left;
padding-right: 10px;
width: 30%;
clear: left;
}
.panel-content {
float: left;
padding-right: 10px;
display: inline-block;
max-width: 40%;
}
.panel-button {
float: right;
display: inline-block;
overflow: hidden;
}
.panel-body {
margin-bottom: 45px;
}
/* ==========================================================================
Buttons
========================================================================== */
.button {
text-align: center;
padding: 3px;
border-width: 1px;
border-style: solid;
border-radius: 3px;
}
.btn-common {
border-color: #ddd;
color: #262625;
background: rgb(255,255,255); /* Old browsers */
background: -moz-linear-gradient(top, rgb(255,255,255) 1%, rgb(245,245,245) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(1%,rgb(255,255,255)), color-stop(100%,rgb(245,245,245))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, rgb(255,255,255) 1%,rgb(245,245,245) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, rgb(255,255,255) 1%,rgb(245,245,245) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, rgb(255,255,255) 1%,rgb(245,245,245) 100%); /* IE10+ */
background: linear-gradient(to bottom, rgb(255,255,255) 1%,rgb(245,245,245) 100%); /* W3C */
}
.panel-row > a:hover,
.btn-common:hover {
border-color: #262625 !important;
color: #262625 !important;
text-decoration: none;
}
.btn-cta {
border-color: #049BAF;
color: #049BAF;
background: rgb(255,255,255); /* Old browsers */
background: -moz-linear-gradient(top, rgb(255,255,255) 1%, rgb(245,245,245) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(1%,rgb(255,255,255)), color-stop(100%,rgb(245,245,245))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, rgb(255,255,255) 1%,rgb(245,245,245) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, rgb(255,255,255) 1%,rgb(245,245,245) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, rgb(255,255,255) 1%,rgb(245,245,245) 100%); /* IE10+ */
background: linear-gradient(to bottom, rgb(255,255,255) 1%,rgb(245,245,245) 100%); /* W3C */
}
.btn-small {
width: 25px;
height: 25px;
display: inline-block;
}
.btn-wide {
width: 100%;
display: block;
}
.btn-half-left {
float: left;
width: 48%;
}
.btn-half-right {
float: right;
width: 48%;
}
/* ==========================================================================
Main Navigation
========================================================================== */
2013-10-11 15:13:22 +02:00
.nav-stacked > li + li {
margin-left: 0;
margin-top: 0;
}
.nav-stacked {
background-color: #f8f8f8;
}
2013-10-11 15:13:22 +02:00
.icinga-subnavigation {
list-style: none;
}
.nav-stacked > li {
2013-10-11 15:13:22 +02:00
padding-top: 7px;
padding-bottom: 7px;
border-bottom: 1px dotted #049baf;
border-right: 1px dotted #049baf;
}
.nav-stacked > li:first-child {
border-top: 1px dotted #049baf;
}
2013-10-11 15:13:22 +02:00
.icinga-subnavigation > li {
padding-top: 8px;
padding-bottom: 8px;
border-bottom: 1px dotted #049baf;
border-right: 1px dotted #049baf;
}
ul.icinga-subnavigation {
border-bottom: 1px dotted #049baf;
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: 40px;
padding-right: 3px;
border-left: 6px solid #049baf;
display: inline-block;
}
2013-10-11 15:13:22 +02:00
.nav-stacked > li > a.nav-notification,
.icinga-subnavigation > li > a.nav-notification {
border-left: 6px solid red !important;
}
.nav-stacked > li > a:hover,
2013-10-11 15:13:22 +02:00
.icinga-subnavigation > li > a:focus {
/* font-weight: bold;*/
background-color: transparent; !important;
display: inline-block;
}
.nav-stacked > li:hover,
2013-10-11 15:13:22 +02:00
.nav-stacked > li:focus,
.icinga-subnavigation > li:hover,
.icinga-subnavigation > li:focus {
background-color: #fff;
}
2013-10-11 15:13:22 +02:00
.nav-stacked > li.active,
.icinga-subnavigation > li.active {
background-color: #fff;
border-right: 0;
}
.nav-icon-hosts {
background-image: url('images/host_petrol.png');
background-repeat: no-repeat;
2013-10-11 15:13:22 +02:00
background-position: 19px 50%;
}
.nav-icon-services {
background-image: url('images/service_petrol.png');
background-repeat: no-repeat;
2013-10-11 15:13:22 +02:00
background-position: 19px 50%;
}
.nav-icon-downtimes {
background-image: url('images/in_downtime_petrol.png');
background-repeat: no-repeat;
2013-10-11 15:13:22 +02:00
background-position: 19px 50%;
}
.nav-icon-notifications {
background-image: url('images/notification_petrol.png');
background-repeat: no-repeat;
2013-10-11 15:13:22 +02:00
background-position: 19px 20px;
}
.nav-icon-comments {
background-image: url('images/comment_petrol.png');
background-repeat: no-repeat;
2013-10-11 15:13:22 +02:00
background-position: 19px 50%;
}
.nav-icon-dashboard {
background-image: url('images/dashboard_petrol.png');
background-repeat: no-repeat;
2013-10-11 15:13:22 +02:00
background-position: 19px 50%;
}
.nav-icon-configuration {
background-image: url('images/configuration_petrol.png');
background-repeat: no-repeat;
2013-10-11 15:13:22 +02:00
background-position: 19px 50%;
}
.subnav-icon-configuration {
background-image: url('images/configuration_petrol.png');
background-repeat: no-repeat;
background-position: 19px 50%;
}
2013-10-11 15:13:22 +02:00
.badge-container-nav {
display: inline-block;
overflow: hidden;
padding-top: 0;
margin-bottom: 5px;
2013-10-11 15:13:22 +02:00
}
.badge-nav {
background-color: #fff;
border-radius: 2px;
color: #ff3300;
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 #ff3300;
}
2013-10-11 15:13:22 +02:00
.badge-container-subnav {
position: absolute;
overflow: hidden;
padding-top: 0;
padding-bottom;
margin-left: 2px;
margin-top: -8px;
}
.badge-subnav {
background-color: #fff;
border-radius: 2px;
color: #ff3300;
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 #ff3300;
}
/* ==========================================================================
Dashboard
========================================================================== */
.dashboard-container {
margin-right: 40px;
margin-bottom: 20px;
2013-10-11 15:13:22 +02:00
display: inline-block;
vertical-align: top;
}
.dashboard-icons {
display: inline-block;
height: 16px;
width: 16px;
}
2013-10-11 16:31:40 +02:00
/* ==========================================================================
Top Navbar
========================================================================== */
.icinga-logo {
background-attachment: scroll;
background-clip: border-box;
background-color: rgba(0, 0, 0, 0);
background-image: url("images/logo_icinga.png");
background-origin: padding-box;
background-position: center center;
background-repeat: no-repeat;
background-size: auto auto;
display: block;
height: 33px;
margin-bottom: 0;
margin-left: 8px;
margin-right: 30px;
margin-top: 8px;
text-indent: -999px;
width: 94px;
}
.icinga-icon-user {
background-attachment: scroll;
background-clip: border-box;
background-color: rgba(0, 0, 0, 0);
background-image: url("images/user.png");
background-origin: padding-box;
background-position: center center;
background-repeat: no-repeat;
background-size: auto auto;
display: inline-block;
height: 16px;
width: 16px;
}
.icinga-navbar {
margin-right: 15px;
}
.icinga-navbar-reload {
margin-top: 13px;
margin-right: 40px;
}
.icinga-navbar-search {
background-image: url('images/search.png');
background-repeat: no-repeat;
background-position: 5px 50%;
padding-left: 25px !important;
}
.icinga-navbar-search-container {
border-left: 1px solid #ddd;
padding-left: 15px;
margin-top: 12px;
}
.icinga-navbar-hosts-container {
background-image: url('images/host.png');
background-repeat: no-repeat;
background-position: 5px 50%;
padding-left: 30px !important;
margin-top: 15px;
}
.icinga-navbar-services-container {
background-image: url('images/service.png');
background-repeat: no-repeat;
background-position: 5px 50%;
padding-left: 25px !important;
margin-top: 15px;
}
.icinga-navbar-pills {
border-style: solid;
border-width: 1px;
padding: 3px 5px 3px 5px;
border-radius: 3px;
font-size: 13px;
}
/** Service status **/
.icinga-navbar-pills-critical {
border-color: #FF3300;
color: #FF3300;
}
.icinga-navbar-pills-ok {
border-color: #00CC33;
color: #00CC33;
}
.icinga-navbar-pills-warning {
border-color: #FFA500;
color: #FFA500;
}
.icinga-navbar-pills-unknown {
border-color: #E066FF;
color: #E066FF;
}
/** Host status **/
.icinga-navbar-pills-unreachable {
border-color: #E066FF;
color: #E066FF;
}
.icinga-navbar-pills-down {
border-color: #FF3300;
color: #FF3300;
}
.icinga-navbar-pills-up {
border-color: #00CC33;
color: #00CC33;
}