From 81b5b6de0e5a25d976a16bcabb0d9fa4d3d748e6 Mon Sep 17 00:00:00 2001 From: Kris Aubuchon Date: Mon, 10 Mar 2014 20:22:37 -0400 Subject: [PATCH] fixing the remnant borders left on the header buttons --- app/assets/stylesheets/desktop/header.scss | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/app/assets/stylesheets/desktop/header.scss b/app/assets/stylesheets/desktop/header.scss index be7b8ea7766..3b24f76a569 100644 --- a/app/assets/stylesheets/desktop/header.scss +++ b/app/assets/stylesheets/desktop/header.scss @@ -48,7 +48,8 @@ a { color: $secondary_text_color; font-size: 14px; - line-height: 40px; + display:block; + margin-top: 10px; } button { margin-top: 9px; @@ -68,16 +69,17 @@ color: $nav-button-color; text-decoration: none; cursor: pointer; - border-top: 1px solid $tertiary_border_color; - border-left: 1px solid $tertiary_border_color; - border-right: 1px solid $tertiary_border_color; + border-top: 1px solid transparent; + border-left: 1px solid transparent; + border-right: 1px solid transparent; + &:hover { color: $nav-button-color-hover; background-color: $nav-button-background-color-hover; - border-top: 1px solid $primary_border_color; - border-left: 1px solid $primary_border_color; - border-right: 1px solid $primary_border_color; + border-top: 1px solid transparent; + border-left: 1px solid transparent; + border-right: 1px solid transparent; } &:active { color: $nav-button-color-active; @@ -156,7 +158,6 @@ top: 100%; right: 0; z-index: 1100; - margin-top: -1px; border: 1px solid $primary_border_color; background-color: $primary_background_color; @include box-shadow(0 2px 2px rgba($primary_shadow_color, .4)); @@ -237,7 +238,7 @@ } &#user-dropdown { - width: 116px; + width: 118px; .user-dropdown-links { text-align: right;