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