From d7c76d09993e2be529f3bb023aaea579e1c32f95 Mon Sep 17 00:00:00 2001 From: Annabel Dunstone Date: Wed, 1 Jun 2016 13:46:30 -0600 Subject: [PATCH] Implement new row hover style --- app/assets/stylesheets/framework/variables.scss | 3 ++- app/assets/stylesheets/pages/tree.scss | 15 +++++++++++---- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/app/assets/stylesheets/framework/variables.scss b/app/assets/stylesheets/framework/variables.scss index 8c54d935b6..f253da814b 100644 --- a/app/assets/stylesheets/framework/variables.scss +++ b/app/assets/stylesheets/framework/variables.scss @@ -63,7 +63,8 @@ $gl-padding-top: 10px; /* * Misc */ -$row-hover: #f4f8fe; +$row-hover: #f7faff; +$row-hover-border: #b2d7ff; $progress-color: #c0392b; $avatar_radius: 50%; $header-height: 50px; diff --git a/app/assets/stylesheets/pages/tree.scss b/app/assets/stylesheets/pages/tree.scss index a84fc2e031..f16fc7f388 100644 --- a/app/assets/stylesheets/pages/tree.scss +++ b/app/assets/stylesheets/pages/tree.scss @@ -15,16 +15,23 @@ margin-bottom: 0; tr { - > td, > th { + border-bottom: 1px solid $table-border-gray; + border-top: 1px solid $table-border-gray; + + td, th { line-height: 23px; } &:hover { - td { - background: $row-hover; - } cursor: pointer; + + td { + background-color: $row-hover; + border-top: 1px solid $row-hover-border; + border-bottom: 1px solid $row-hover-border; + } } + &.selected { td { background: $gray-dark;