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

222 lines
3.1 KiB
Plaintext
Raw Normal View History

/* BEGIN Forms */
form dt label {
width: auto;
}
2015-07-02 15:32:00 +02:00
form dd {
display: inline;
margin: 0;
}
2015-07-02 15:32:00 +02:00
form dt {
display: inline-block;
min-width: 16em;
}
form dd:after {
display: block;
content: '';
}
form textarea {
height: auto;
}
form dd ul.errors {
list-style-type: none;
padding-left: 0.3em;
font-size: 0.857em;
li {
color: @colorCritical;
padding: 0.3em;
}
}
2015-07-30 10:28:25 +02:00
form div.hint {
font-size: 0.857em;
padding: 1em;
background-color: #f2f4fd;
border: 1px solid lightgrey;
margin: 1em 0;
pre {
font-style: normal;
background-color: white;
font-size: 1.25em;
margin: 0;
padding: 1em;
}
}
2015-07-02 15:32:00 +02:00
/* 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;
}
}
2015-07-27 22:45:51 +02:00
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 */
2015-07-29 17:19:09 +02:00
.tree li a {
display: inline-block;
padding-left: 2.4em;
line-height: 2em;
text-decoration: none;
color: #777;
outline: 0;
background-repeat: no-repeat;
background-position: 0.8em 0.4em;
}
.tree a.root { background-image: url('../img/director/globe.png'); }
.tree a.host { background-image: url('../img/director/server.png'); }