CSS: Fix border-left transparent of common-table (WIP)

refs #5543
This commit is contained in:
Eric Lippmann 2015-11-04 16:05:46 +01:00
parent ed69bd5d99
commit 561acd9a9a

View File

@ -126,18 +126,35 @@ dl.name-value-list {
} }
table.common-table { table.common-table {
width: 100%;
border-collapse: collapse; td, th {
padding-top: 0.667em;
padding-bottom: 0.667em;
vertical-align: middle;
}
tr { th {
border-left: 5px solid rgba(0,0,0,0.5); text-align: left;
border-opacity:0.7; }
thead {
border-bottom: 1px solid @gray-light;
}
tbody tr {
border-bottom: 1px solid @gray-lightest;
border-left: 5px solid transparent;
&:last-child {
border-bottom: none;
}
} }
tr[href] { tr[href] {
&.active { &.active {
background-color: @gray-lighter; background-color: @gray-lighter;
border-left: 5px solid @icinga-blue; border-left-color: @icinga-blue;
} }
&:hover { &:hover {
@ -145,35 +162,15 @@ table.common-table {
cursor: pointer; cursor: pointer;
} }
} }
tbody th {
text-align: left;
}
thead {
border-bottom: 1px solid @gray-light;
// Reset default font-weight
font-weight: normal;
text-align: left;
}
tr {
border-bottom: 1px solid @gray-lightest;
&:last-child {
border-bottom: none;
}
}
} }
.name-value-table th { .name-value-table th {
color: @text-color-light; color: @text-color-light;
font-size: @font-size-small; font-size: @font-size-small;
// Reset default font-weight // Reset default font-weight
font-weight: normal; font-weight: normal;
text-align: left; text-align: left;
width: 10em; width: 10em;
} }
// TODO(el): Fix // TODO(el): Fix