icingaweb2-module-director/public/css/module.less

177 lines
2.3 KiB
Plaintext

/* BEGIN Forms */
form dt label {
width: auto;
}
form dd {
display: inline;
margin: 0;
}
form dt {
display: inline-block;
min-width: 16em;
}
form dd:after {
display: block;
content: '';
}
textarea {
height: 10em;
}
/* END of Forms */
/*
table.simple {
width: 100%;
table-layout: auto !important;
th {
background: @colorPetrol;
color: white;
text-align: left;
padding: 0.5em 1em;
}
td {
padding: 0.3em 1em;
}
th.actions, td.actions {
width: 6em;
text-align: right;
}
}
*/
table.log-properties {
width: 100%;
th {
width: 12em;
text-align: left;
}
td {
font-family: monospace;
}
span {
padding: 0.3em 1em;
}
.old {
background-color: @colorCriticalHandled;
color: white;
text-decoration: stroken;
}
.new {
background-color: @colorOk;
color: white;
}
}
p.error {
color: white;
padding: 1em 2em;
background-color: @colorCriticalHandled;
border: 3px solid @colorCritical;
a {
color: inherit;
font-weight: bold;
}
}
table.tinystats {
font-size: 0.7em;
float: right;
width: 16em;
thead {
th {
width: 7em;
text-align: right;
}
th:first-child {
width: auto;
}
}
tbody {
th, td {
text-align: right;
}
}
}
/* Simple table, test */
table.simple {
width: auto;
min-width: 100%;
border-collapse: separate;
font-size: 0.857em;
border-spacing: 0 1px;
caption {
caption-side: bottom;
text-align: right;
font-style: italic;
}
a {
color: inherit;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
thead {
th {
text-align: left;
border-bottom: 1px solid #888;
font-weight: normal;
padding: 0.3em 0.5em;
}
}
tbody {
tr {
padding: 0;
margin: 0;
}
tr:nth-child(even) {
background-color: #e6e6e6;
}
th {
text-align: left;
margin: 0;
padding: 0;
}
td {
padding: 0.1em;
margin: 0;
white-space: nowrap;
}
td.ok {
background-color: @colorOk;
}
td.nok {
background-color: @colorCritical;
}
}
}
/* END of Simple table, test */