icingaweb2/public/css/icinga/main-content.less

262 lines
3.8 KiB
Plaintext

/*! Icinga Web 2 | (c) 2013-2015 Icinga Development Team | GPLv2+ */
code {
background-color: #eee;
border: 1px solid #ddd;
padding: 1em;
display: block;
}
p code {
display: inline;
padding: 0.3em;
}
a {
color: #39a;
}
img.icon {
width: 16px;
height: 16px;
vertical-align: middle;
border: none;
}
/** Notifications **/
#notifications {
margin: 0;
padding: 0;
}
#notifications > li {
list-style-type: none;
display: block;
border-bottom: 1px solid #999;
color: white;
line-height: 2.5em;
padding-left: 3em;
background-repeat: no-repeat;
background-position: 1em center;
}
#notifications > li.warning {
background-color: @colorWarningHandled;
}
#notifications > li.error {
background-color: @colorCritical;
background-image: url(../img/icons/error_white.png);
}
#notifications > li.success {
background-color: #fe6;
background-image: url(../img/icons/success.png);
color: #333;
}
/** END of Notifications **/
/* TODO: Remove once there is no more module container */
.container > div > pre {
margin: 1em;
}
.pull-right {
float: right;
}
table.avp {
color: @colorTextDarkDefault;
table-layout: auto;
width: 100%;
font-size: 0.9em;
}
table.avp a {
color: black;
text-decoration: underline;
}
table.avp > tbody > tr > th {
text-align: left;
margin: 0;
width: 10em;
vertical-align: top;
line-height: 1.8em;
}
table.avp > tbody > tr > td {
line-height: 2em;
margin: 0;
word-break: break-all;
vertical-align: top;
padding: 0em 0em 0em 0em;
}
table.avp.newsection, table.avp tr.newsection {
border-top: 1px solid #d9d9d9;
}
.content table.avp dd, .content table.avp dd {
margin: 0;
padding: 0;
}
table.avp {
font-size: 0.8em;
}
table.avp a {
color: @colorLinkDefault;
text-decoration: none;
}
table.avp a:hover {
text-decoration: underline;
}
/* Definitively monitoring-only: */
table.objectstate {
border-collapse: separate;
border-spacing: 1px;
}
table.objectstate td {
font-size: 1.2em;
line-height: 1.5em;
padding-left: 1em;
}
table.objectstate tr.state td.state {
font-size: 1em;
width: 9em;
text-align: center;
padding-left: 0;
border-radius: 0;
}
table.objectstate tr.state.handled td.state {
}
table.perfdata {
min-width: 24em;
font-size: 0.9em;
}
table.perfdata th {
padding: 0;
text-align: left;
padding-right: 0.5em;
}
table.perfdata td {
white-space: nowrap;
padding-right: 0.5em;
}
table.objectlist {
min-width: 28em;
th {
text-align: left;
}
}
table.benchmark {
margin: 1em 1% 1em 1%;
font-family: monospace;
font-size: 1em;
width: 96%;
}
.dashboard h1 {
font-size: 1em;
}
.dashboard h2 {
font-size: 1em;
}
.dashboard h3 {
font-size: 1em;
}
.dashboard table.benchmark {
font-size: 0.9em;
}
.left {
text-align: left !important;
}
.controls a {
color: inherit;
}
[class^="icon-"]:before, [class*=" icon-"]:before {
text-decoration: none;
}
.info-box {
padding: 0.5em;
border: 1px solid lightgrey;
background-color: #fbfcc5;
}
table.user-list {
th {
&.user-state {
width: 6%;
padding-right: 0.5em;
text-align: right;
}
&.user-created, &.user-modified {
width: 12%;
padding-right: 0.5em;
text-align: right;
}
}
td.user-state, td.user-created, td.user-modified {
text-align: right;
}
}
table.group-list {
th {
&.group-parent {
width: 6%;
padding-right: 0.5em;
text-align: right;
}
&.group-created, &.group-modified {
width: 12%;
padding-right: 0.5em;
text-align: right;
}
}
td.group-parent, td.group-created, td.group-modified {
text-align: right;
}
}
form.backend-selection {
float: right;
div.element {
margin: 0;
label {
width: auto;
margin-right: 0.5em;
}
select {
width: 11.5em;
margin-left: 0;
}
}
}