icingaweb2/modules/monitoring/public/css/module.less

327 lines
4.7 KiB
Plaintext
Raw Normal View History

/*! Icinga Web 2 | (c) 2013-2015 Icinga Development Team | GPLv2+ */
h1 {
font-size: 1em;
}
h2 {
font-size: 1em;
}
h3 {
font-size: 1em;
}
table.action.comments td p, table.action.downtimes td p {
margin: 0;
font-size: 0.8em;
}
table.action.comments td a, table.action.downtimes td a {
font-weight: bold;
}
.content.processinfo table.avp th {
width: 16em;
}
2014-11-06 15:49:26 +01:00
p.pluginoutput {
font-size: 0.9em;
width: 100%;
white-space: pre-wrap;
}
2014-11-17 18:02:16 +01:00
div.pluginoutput {
overflow: auto;
color: #888;
2014-11-17 18:02:16 +01:00
margin-bottom: 1em;
padding: 0.2em;
}
div.pluginoutput h4 {
font-size: 0.875em;
margin: 0em;
}
div.pluginoutput pre {
2014-11-17 18:02:16 +01:00
white-space: pre-wrap;
border-left: 4px solid #d8d8d8;
padding: 0.3em 0 0.3em 1em;
font-size: 0.9em;
2014-11-06 15:49:26 +01:00
}
table.objecthistory td {
font-size: 0.8em;
}
table.objecthistory td.state {
font-size: 0.7em;
}
table.objectstate {
font-size: 0.8em;
}
table.objectstate td.state {
font-size: 0.92em;
line-height: 1.8em;
padding-top: 0.5em;
padding-bottom: 0.5em;
}
div.contacts div.contact {
2014-11-06 22:38:06 +01:00
background-color: #eee;
padding: 0.5em;
2014-11-06 22:38:06 +01:00
border: 1px solid #d9d9d9;
overflow: hidden;
margin: 0.125em;
float: left;
}
2014-11-06 22:38:06 +01:00
div.contacts div.contact a{
2014-11-06 22:55:17 +01:00
color: @colorTextDefault;
2014-11-06 22:38:06 +01:00
}
div.contacts div.contact > img {
2014-11-06 22:38:06 +01:00
width: 80px;
height: 80px;
margin-right: 8px;
float: left;
}
div.contacts div.notification-periods {
margin-top: 0.5em;
}
.tinystatesummary {
.page-header();
font-size: 1em;
margin-bottom: 0.5em;
.badges {
2014-11-19 07:53:16 +01:00
display: inline-block;
margin-bottom: 4px;
margin-left: 1em;
height: auto;
}
.state > a {
2014-11-19 07:53:16 +01:00
color: white;
2014-11-19 08:34:56 +01:00
font-size: 0.8em;
2014-11-19 07:53:16 +01:00
padding: 2px 5px;
}
}
/* State badges */
span.state {
2014-11-19 07:53:16 +01:00
font-weight: bold;
color: white;
font-weight: bold;
padding: 1px 2px;
margin-right: 5px;
}
span.state.active {
2014-11-19 07:53:16 +01:00
border: 2px solid #555;
}
span.state span.state {
font-size: 1em;
margin: 0 -3px 0 5px;
}
span.state.ok {
background: @colorOk;
}
span.state.up {
background: @colorOk;
}
span.state.critical {
background: @colorCritical;
}
span.state.down {
background: @colorCritical;
}
span.state.handled.critical {
background: @colorCriticalHandled;
}
span.state.handled.down {
background: @colorCriticalHandled;
}
span.state.warning {
background: @colorWarning;
}
span.state.handled.warning {
background: @colorWarningHandled;
2014-09-24 07:43:33 +02:00
}
span.state.unknown {
background: @colorUnknown;
}
span.state.handled.unknown {
background: @colorUnknownHandled;
}
span.state.pending {
background: @colorPending;
}
2014-09-24 07:43:33 +02:00
form.instance-features span.description, form.object-features span.description {
display: inline;
}
2014-10-08 16:17:43 +02:00
.boxview div.box form.instance-features div.header {
border-bottom: 1px solid #d9d9d9;
margin-bottom: 0.5em;
h2 {
border: 0;
padding-bottom: 0;
}
}
table.avp form.object-features div.header h4 {
margin: 0;
}
table.avp {
th {
font-weight: normal;
font-size: 0.9em;
padding-top: 0.2em;
padding-bottom: 0.3em;
}
td {
color: #666;
padding-bottom: 0.3em;
th, td {
padding: 0;
}
}
a, button.link-like {
color: @colorPetrol;
}
.go-ahead {
a, button.link-like {
color: #222;
}
}
}
table.avp .customvar ul {
list-style-type: none;
margin: 0;
padding: 0;
padding-left: 1.5em;
2014-10-08 16:17:43 +02:00
}
div.selection-info {
2014-11-19 10:17:09 +01:00
padding-top: 0.4em;
2014-11-17 18:02:16 +01:00
float: right;
2014-11-19 10:17:09 +01:00
cursor: help;
font-size: 0.8em;
}
.optionbox {
margin-left: 0em;
margin-right: 3em;
}
.optionbox label {
max-width: 6.5em;
text-align: left;
vertgical-align: middle;
margin-right: 0em;
}
.optionbox input {
vertical-align: middle;
}
2015-02-02 16:30:52 +01:00
.object-command form h1, .objects-command form h1 {
2015-02-02 16:30:52 +01:00
border: none;
}
hr.command-separator {
border: none;
border-bottom: 2px solid @colorPetrol;
}
div.backend-not-running {
background: @colorCritical;
color: white;
text-align: center;
padding: 0.1em;
}
td.state {
.time-ago,
.time-since,
.time-until {
text-transform: capitalize;
}
}
.inline-comments {
padding: 0;
margin: 0;
.time-ago {
font-style: italic;
color: #919191;
}
li {
list-style-type: none;
margin-bottom: 8px;
}
h4 {
border-bottom: 1px solid gray;
font-weight: normal;
font-size: inherit;
color: inherit;
margin: 0;
}
h4 .author {
font-weight: bold;
}
h4 form {
display: none;
}
h4 form {
float: right;
}
li:hover h4 {
background: #F9F9F9;
position: relative;
form {
display: inline;
}
}
p {
margin: 0;
a {
color: #222;
}
}
}