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

375 lines
5.3 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.info {
background-color: @colorFormNotificationInfo;
}
#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.perfdata-piecharts {
left: -2.6em;
position: relative;
}
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;
}
div.content.users {
table.user-list {
th.user-remove {
width: 8em;
padding-right: 0.5em;
text-align: right;
}
td.user-remove {
text-align: right;
}
}
p {
margin-top: 0;
}
a.user-add {
display: block;
margin-top: 1em;
}
}
div.controls div.user-header {
border-bottom: 2px solid @colorPetrol;
margin-bottom: 1em;
.user-name {
display: inline-block;
margin: 0 0 0.3em;
font-size: 2em;
}
.user-state, .user-created, .user-modified {
margin: 0 0 0.2em;
font-size: 0.8em;
}
}
div.content.memberships {
table.membership-list {
th.membership-cancel {
width: 8em;
padding-right: 0.5em;
text-align: right;
}
td.membership-cancel {
text-align: right;
form button.link-like {
color: inherit;
}
}
}
p {
margin-top: 0;
}
a.membership-create {
display: block;
margin-top: 1em;
}
}
div.content.groups {
table.group-list {
th.group-remove {
width: 8em;
padding-right: 0.5em;
text-align: right;
}
td.group-remove {
text-align: right;
}
}
p {
margin-top: 0;
}
a.group-add {
display: block;
margin-top: 1em;
}
}
div.controls div.group-header {
border-bottom: 2px solid @colorPetrol;
margin-bottom: 1em;
.group-name {
display: inline-block;
margin: 0 0 0.3em;
font-size: 2em;
}
.group-parent, .group-created, .group-modified {
margin: 0 0 0.2em;
font-size: 0.8em;
}
}
div.content.members {
table.member-list {
th.member-remove {
width: 8em;
padding-right: 0.5em;
text-align: right;
}
td.member-remove {
text-align: right;
form button.link-like {
color: inherit;
}
}
}
p {
margin-top: 0;
}
a.member-add {
display: block;
margin-top: 1em;
}
}
form.backend-selection {
float: right;
div.element {
margin: 0;
label {
width: auto;
margin-right: 0.5em;
}
select {
width: 11.5em;
margin-left: 0;
}
}
}
table.usergroupbackend-list {
th.backend-remove {
width: 8em;
text-align: right;
}
td.backend-remove {
text-align: right;
}
}