Skip to content

Commit

Permalink
Removed border variables on hover of menu-item, this is absent from t…
Browse files Browse the repository at this point in the history
…he blank theme which means it isn't essential in our theme
  • Loading branch information
jordykommeren committed Oct 2, 2018
1 parent 95c3d01 commit c8ba804
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 14 deletions.
4 changes: 0 additions & 4 deletions src/scss/boilerplate/_menu.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@
&:hover {
color: $menu-bar-menu-item-hover-color;
background: $menu-bar-menu-item-hover-background;
border-top: $menu-bar-menu-item-hover-border-top;
border-bottom: $menu-bar-menu-item-hover-border-bottom;
border-left: $menu-bar-menu-item-hover-border-left;
border-right: $menu-bar-menu-item-hover-border-right;
}
}

Expand Down
15 changes: 5 additions & 10 deletions src/scss/boilerplate/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -459,19 +459,14 @@ $menu-bar-menu-item-font-size: $font-default-font-size !default;
$menu-bar-menu-item-color: $color-boilerplate-gray !default;

$menu-bar-menu-item-hover-color: $color-boilerplate-black !default;
$menu-bar-menu-item-hover-default-border: 3px solid $color-boilerplate-orange !default;
$menu-bar-menu-item-hover-border-top: none !default;
$menu-bar-menu-item-hover-border-bottom: $menu-bar-menu-item-hover-default-border !default;
$menu-bar-menu-item-hover-border-left: none !default;
$menu-bar-menu-item-hover-border-right: none !default;
$menu-bar-menu-item-hover-background: $menu-bar-background !default;

$menu-bar-menu-item-active-color: $menu-bar-menu-item-hover-color !default;
$menu-bar-menu-item-active-default-border: $menu-bar-menu-item-hover-default-border !default;
$menu-bar-menu-item-active-border-top: $menu-bar-menu-item-hover-border-top !default;
$menu-bar-menu-item-active-border-bottom: $menu-bar-menu-item-hover-border-bottom !default;
$menu-bar-menu-item-active-border-left: $menu-bar-menu-item-hover-border-left !default;
$menu-bar-menu-item-active-border-right: $menu-bar-menu-item-hover-border-right !default;
$menu-bar-menu-item-active-default-border: 3px solid $color-boilerplate-orange !default
$menu-bar-menu-item-active-border-top: none !default;
$menu-bar-menu-item-active-border-bottom: $menu-bar-menu-item-hover-default-border !default;
$menu-bar-menu-item-active-border-left: none !default;
$menu-bar-menu-item-active-border-right: none !default;
$menu-bar-menu-item-active-background: $menu-bar-menu-item-hover-background !default;

$menu-bar-menu-item-submenu-background: #ffffff !default;
Expand Down

0 comments on commit c8ba804

Please sign in to comment.