Bug 1325574 - Highlight the action buttons only when the mouse is directly over them. r=paolo, a=jcristau
authorRex Lee <rexboy@mozilla.com>
Thu, 19 Jan 2017 19:08:59 +0800
changeset 353731 ed405e870c7b485b7a7fd6c92aa9d2425c29e18b
parent 353730 3a090ab6da4afc6e79798ce7882c8248b49ba320
child 353732 34706248bfb88693475f07829a96d0eaf6e11b57
push id6795
push userjlund@mozilla.com
push dateMon, 23 Jan 2017 14:19:46 +0000
treeherdermozilla-esr52@76101b503191 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerspaolo, jcristau
bugs1325574
milestone52.0a2
Bug 1325574 - Highlight the action buttons only when the mouse is directly over them. r=paolo, a=jcristau 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);
 }