Bug 1325574 - Highlight the action buttons only when the mouse is directly over them. r=paolo
authorRex Lee <rexboy@mozilla.com>
Thu, 19 Jan 2017 19:08:59 +0800
changeset 375287 db3c474e3c68615f5bfd042d1d9a866ee964a5fc
parent 375286 4d870873f2b76157d57bcff8447140f7c0f7f877
child 375288 ae8caa5d668abfa77d4e041e783784b9eb0f76fc
push id6996
push userjlorenzo@mozilla.com
push dateMon, 06 Mar 2017 20:48:21 +0000
treeherdermozilla-beta@d89512dab048 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerspaolo
bugs1325574
milestone53.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1325574 - Highlight the action buttons only when the mouse is directly over them. r=paolo MozReview-Commit-ID: 1GPnwLYYAbz
browser/themes/shared/downloads/downloads.inc.css
--- a/browser/themes/shared/downloads/downloads.inc.css
+++ b/browser/themes/shared/downloads/downloads.inc.css
@@ -254,31 +254,26 @@ richlistitem[type="download"]:last-child
   fill: currentColor;
 }
 
 .downloadButton > .button-box > .button-text {
   margin: 0 !important;
   padding: 0;
 }
 
-@itemFinished@[exists]:hover > .downloadMainArea,
-@item@:not([verdict]):hover > .downloadButtonArea {
-  background-color: var(--arrowpanel-dimmed);
-}
-
 @itemFinished@[exists] .downloadMainArea:hover,
 @item@:not([verdict]) > .downloadButtonArea:hover,
 @item@[verdict]:hover {
-  background-color: var(--arrowpanel-dimmed-further);
+  background-color: var(--arrowpanel-dimmed);
 }
 
 @itemFinished@[exists] > .downloadMainArea:hover:active,
 @item@:not([verdict]) > .downloadButtonArea:hover:active,
 @item@[verdict]:hover:active {
-  background-color: var(--arrowpanel-dimmed-even-further);
+  background-color: var(--arrowpanel-dimmed-further);
 }
 
 @item@[showingsubview] {
   background-color: Highlight;
   color: HighlightText;
   transition: background-color var(--panelui-subview-transition-duration),
               color var(--panelui-subview-transition-duration);
 }