From 60e43c368d37411a1311d68dd8441be4343bf973 Mon Sep 17 00:00:00 2001 From: Pablo Vazquez Date: Wed, 9 Nov 2016 23:37:17 +0100 Subject: [PATCH] Active statuses for tables and list items --- src/styles/_apps_base.sass | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/styles/_apps_base.sass b/src/styles/_apps_base.sass index d95b6bac..ca3e749e 100644 --- a/src/styles/_apps_base.sass +++ b/src/styles/_apps_base.sass @@ -99,6 +99,13 @@ $splitter-width: 5px background-color: white border-bottom: thin solid $color-background + &.active + background-color: $color-background-active + border-bottom-color: darken($color-background-active, 15%) + + &:last-child + box-shadow: inset -5px 0 0 $color-primary + &.empty padding: 15px justify-content: center @@ -215,6 +222,17 @@ nav.sidebar .table-body display: table-row-group + .table-row + &.active + background-color: $color-background-active + &:hover + background-color: lighten($color-background-active, 2%) + + .table-cell + border-bottom-color: darken($color-background-active, 15%) + .table-cell:last-child + box-shadow: inset -5px 0 0 $color-primary + .table-cell display: table-cell border-bottom: thin solid $color-background-dark