Skip to content

Commit

Permalink
Merge pull request #2608 from salesforce-ux/chore/adjust-hover-gnav
Browse files Browse the repository at this point in the history
chore(global-navigation): update hover
  • Loading branch information
brandonferrua authored Jul 25, 2017
2 parents 3477d14 + 9a8433f commit 2f85029
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions ui/components/global-navigation/navigation-bar/_index.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) 2015-present, salesforce.com, inc. All rights reserved
// Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license

$color-background-context-bar-brand-light: rgba(desaturate($color-background-context-bar-brand-accent, 30%), 0.05);
$color-background-context-bar-brand-light: rgba(desaturate($color-background-context-bar-brand-accent, 30%), 0.1);

/**
* @summary Navigation bar wrapper
Expand Down Expand Up @@ -76,6 +76,7 @@ $color-background-context-bar-brand-light: rgba(desaturate($color-background-con
white-space: nowrap;
position: relative;
max-width: $size-small;
transition: background-color 0.25s cubic-bezier(0.39, 0.575, 0.565, 1);

/**
* Active state of an item
Expand Down Expand Up @@ -123,8 +124,7 @@ $color-background-context-bar-brand-light: rgba(desaturate($color-background-con
}
}

&:before,
&:after {
&:before {
content: '';
height: 3px;
display: block;
Expand Down Expand Up @@ -155,15 +155,6 @@ $color-background-context-bar-brand-light: rgba(desaturate($color-background-con
}
}

&:after {
background: rgba(0, 0, 0, 0.25);

@supports (mix-blend-mode: soft-light) {
background: rgba(0, 0, 0, 0.75);
mix-blend-mode: soft-light;
}
}

&:hover {
border-bottom-color: $color-background-context-bar-brand-light;
}
Expand Down

0 comments on commit 2f85029

Please sign in to comment.