From 2c0cc2e1f69f5a90f586be0a14434047f33a9b83 Mon Sep 17 00:00:00 2001 From: Sabba Petri Date: Wed, 25 Feb 2015 13:34:04 -0800 Subject: Added hover state And also fixed it being one pixel off. --- app/assets/stylesheets/sections/nav_sidebar.scss | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/app/assets/stylesheets/sections/nav_sidebar.scss b/app/assets/stylesheets/sections/nav_sidebar.scss index 335f1379662..c4a9945d7c5 100644 --- a/app/assets/stylesheets/sections/nav_sidebar.scss +++ b/app/assets/stylesheets/sections/nav_sidebar.scss @@ -147,19 +147,26 @@ .collapse-nav a { left: 0px; - padding: 5px 23px 3px 22px; + padding: 7px 23px 3px 22px; } } } .collapse-nav a { position: fixed; - top: 47px; - padding: 5px 13px 3px 13px; + top: 46px; + padding: 5px 13px 5px 13px; left: 197px; background: #EEE; color: black; - border: 1px solid rgba(0,0,0,0.035); + border-left: 1px solid rgba(0,0,0,0.035); + border-right: 1px solid rgba(0,0,0,0.035); +} + +.collapse-nav a:hover { + text-decoration: none; + color: #333; + background: #eaeaea; } @media (max-width: $screen-md-max) { -- cgit v1.2.1 From df31e0a88c5264046fbb0789f67529f023b3f810 Mon Sep 17 00:00:00 2001 From: Sabba Petri Date: Wed, 25 Feb 2015 13:41:35 -0800 Subject: Fixed up app_logo Pixel perfection. --- app/assets/stylesheets/sections/header.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/stylesheets/sections/header.scss b/app/assets/stylesheets/sections/header.scss index 26b4d04106e..03ecd3913ed 100644 --- a/app/assets/stylesheets/sections/header.scss +++ b/app/assets/stylesheets/sections/header.scss @@ -101,7 +101,7 @@ header { a { float: left; padding: 5px 0; - height: 46px; + height: 48px; width: 52px; text-align: center; -- cgit v1.2.1 From e4dc4390e57efa0b8207d63b4446c019580d00aa Mon Sep 17 00:00:00 2001 From: Sabba Petri Date: Wed, 25 Feb 2015 14:15:40 -0800 Subject: Reverting pixel change Breaks navbar --- app/assets/stylesheets/sections/header.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/stylesheets/sections/header.scss b/app/assets/stylesheets/sections/header.scss index 03ecd3913ed..26b4d04106e 100644 --- a/app/assets/stylesheets/sections/header.scss +++ b/app/assets/stylesheets/sections/header.scss @@ -101,7 +101,7 @@ header { a { float: left; padding: 5px 0; - height: 48px; + height: 46px; width: 52px; text-align: center; -- cgit v1.2.1