Move table classes up a level so they can have effect without being nested

This commit is contained in:
2016-11-17 14:55:04 +01:00
parent a41bda6859
commit c025aa3aac

View File

@@ -214,19 +214,19 @@ nav.sidebar
position: relative
margin-bottom: initial // overrides BS
.table-row
.table-row
display: table-row
position: relative
background-attachment: fixed // for stripes to look nice
.table-head
.table-head
display: table-header-group
.table-cell
font-size: .9em
color: $color-text-dark-secondary
.table-body
.table-body
display: table-row-group
.table-row
@@ -241,7 +241,7 @@ nav.sidebar
.table-cell:last-child
box-shadow: inset -5px 0 0 darken($color-background-active, 10%), inset 0 1px darken($color-background-active, 5%)
.table-cell
.table-cell
display: table-cell
border-bottom: thin solid $color-background
vertical-align: middle
@@ -249,7 +249,7 @@ nav.sidebar
span.hint
color: $color-text-dark-hint
.table-cell-spacer
.table-cell-spacer
background-color: $color-background-light
width: 6px
min-width: 4px