Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Commit

Permalink
Merge pull request #5544 from brave/button-hover
Browse files Browse the repository at this point in the history
new Brave button hover states
  • Loading branch information
bradleyrichter committed Nov 13, 2016
2 parents b3a61d7 + af790d6 commit 08510c9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
Binary file modified app/extensions/brave/img/braveBtn_hover.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 6 additions & 4 deletions less/navigationBar.less
Original file line number Diff line number Diff line change
Expand Up @@ -543,10 +543,6 @@
-webkit-filter: grayscale(100%);
}

&:not(.braveShieldsDisabled):hover {
-webkit-filter: brightness(0.7);
}

&.braveShieldsDisabled {
-webkit-filter: grayscale(100%);
opacity: 0.4;
Expand Down Expand Up @@ -926,4 +922,10 @@
url(../app/extensions/brave/img/braveBtn3x.png) 3x);
background-repeat: no-repeat;
height: 24px;

&:hover {
background-image: -webkit-image-set(url(../app/extensions/brave/img/braveBtn_hover.png) 1x,
url(../app/extensions/brave/img/braveBtn2x_hover.png) 2x,
url(../app/extensions/brave/img/braveBtn3x_hover.png) 3x);
}
}

0 comments on commit 08510c9

Please sign in to comment.