Skip to content

Commit

Permalink
CSS: Fix border-left transparent of common-table (WIP)
Browse files Browse the repository at this point in the history
refs #5543
  • Loading branch information
lippserd committed Nov 4, 2015
1 parent ed69bd5 commit 561acd9
Showing 1 changed file with 26 additions and 29 deletions.
55 changes: 26 additions & 29 deletions public/css/icinga/main.less
Expand Up @@ -126,54 +126,51 @@ dl.name-value-list {
}

table.common-table {
width: 100%;

border-collapse: collapse;

tr {
border-left: 5px solid rgba(0,0,0,0.5);
border-opacity:0.7;
}

tr[href] {
&.active {
background-color: @gray-lighter;
border-left: 5px solid @icinga-blue;
}

&:hover {
background-color: @gray-lightest;
cursor: pointer;
}
td, th {
padding-top: 0.667em;
padding-bottom: 0.667em;
vertical-align: middle;
}

tbody th {
th {
text-align: left;
}

thead {
border-bottom: 1px solid @gray-light;

// Reset default font-weight
font-weight: normal;
text-align: left;
}

tr {
tbody tr {
border-bottom: 1px solid @gray-lightest;
border-left: 5px solid transparent;

&:last-child {
border-bottom: none;
}
}

tr[href] {
&.active {
background-color: @gray-lighter;
border-left-color: @icinga-blue;
}

&:hover {
background-color: @gray-lightest;
cursor: pointer;
}
}
}

.name-value-table th {
color: @text-color-light;
font-size: @font-size-small;
// Reset default font-weight
font-weight: normal;
text-align: left;
width: 10em;
color: @text-color-light;
font-size: @font-size-small;
// Reset default font-weight
font-weight: normal;
text-align: left;
width: 10em;
}

// TODO(el): Fix
Expand Down

0 comments on commit 561acd9

Please sign in to comment.