Bug 1401917 - Let tab strip scroll buttons use --toolbarbutton-icon-fill-opacity. r=nhnt11
authorDão Gottwald <dao@mozilla.com>
Thu, 21 Sep 2017 12:00:10 +0200
changeset 431769 081f504908ac55a442ff239348682250a394ef9b
parent 431768 1b4819c68224ee4c0139f0abedcd442b9a83b135
child 431770 58b2863e4c86de541bed3376dff2f97ca7c0f1da
push id7804
push userdgottwald@mozilla.com
push dateSat, 23 Sep 2017 09:34:21 +0000
treeherdermozilla-beta@4dd2a72249a8 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersnhnt11
bugs1401917
milestone57.0
Bug 1401917 - Let tab strip scroll buttons use --toolbarbutton-icon-fill-opacity. r=nhnt11 MozReview-Commit-ID: 3z9z1Yw4SNc
browser/themes/shared/tabs.inc.css
--- a/browser/themes/shared/tabs.inc.css
+++ b/browser/themes/shared/tabs.inc.css
@@ -561,17 +561,17 @@ tabbrowser {
 
 /* Tab bar scroll arrows */
 
 .tabbrowser-arrowscrollbox > .scrollbutton-up,
 .tabbrowser-arrowscrollbox > .scrollbutton-down {
   list-style-image: url(chrome://browser/skin/arrow-left.svg);
   -moz-context-properties: fill, fill-opacity;
   fill: currentColor;
-  fill-opacity: .8;
+  fill-opacity: var(--toolbarbutton-icon-fill-opacity);
 }
 
 .tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-locale-dir(rtl),
 .tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-locale-dir(ltr) {
   transform: scaleX(-1);
 }
 
 /* New tab button */