css: more row styling

This commit is contained in:
Thomas Gelf 2015-11-02 16:24:19 +01:00
parent 413347c015
commit bf7001510f

View File

@ -353,7 +353,7 @@ tr.running {
table.syncrules { table.syncrules {
tr td:first-child { tr td:first-child {
padding-left: 1.5em; padding-left: 2em;
&::before { &::before {
font-family: 'ifont'; font-family: 'ifont';
float: left; float: left;
@ -395,6 +395,7 @@ table.simple {
a { a {
color: inherit; color: inherit;
text-decoration: none; text-decoration: none;
outline: 0;
} }
a:hover { a:hover {
@ -420,8 +421,9 @@ table.simple {
border-left: 0.5em solid transparent; border-left: 0.5em solid transparent;
} }
td:last-child { td {
border-right: 0.5em solid transparent; border-top: 1px solid transparent;
border-bottom: 1px solid transparent;
} }
background-color: #fafcfe; background-color: #fafcfe;
} }
@ -430,15 +432,28 @@ table.simple {
background-color: #f6f8fa; background-color: #f6f8fa;
} }
tr[href]:hover { tr[href]:hover td {
background-color: #888; border-top-color: #888;
td { border-bottom-color: #888;
color: white; border-bottom-style: dotted;
} border-top-style: dotted;
background-color: #f2f4f6;
} }
tr.active td { tr.active td, tr[href].active:hover td {
border-color: black; border-color: @icinga-blue;
}
tr.active td:first-child::before {
content: '\e820';
font-family: 'ifont';
float: left;
display: inline-block;
margin-left: -0.75em;
font-size: 1.5em;
padding: 0;
line-height: 1em;
color: @icinga-blue;
} }
th { th {