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 464108 db3c474e3c68615f5bfd042d1d9a866ee964a5fc
parent 464107 4d870873f2b76157d57bcff8447140f7c0f7f877
child 464117 ae8caa5d668abfa77d4e041e783784b9eb0f76fc
push id42270
push userpaolo.mozmail@amadzone.org
push dateFri, 20 Jan 2017 10:56:45 +0000
reviewerspaolo
bugs1325574
milestone53.0a1
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);
 }