Bug 1204615 - Make toolbar button border and background more opaque for dark themes. r=jaws
authorDão Gottwald <dao@mozilla.com>
Mon, 14 Sep 2015 21:21:25 +0200
changeset 262286 e65a7ddaa9e0714fd1d0fb03f0384f10e6128ca1
parent 262285 14ba12f4b715179027612dcb436f6d3653cb186c
child 262287 08cf2a208a6077bdc2160f3a21fe948f042702f1
push id15178
push userdgottwald@mozilla.com
push dateMon, 14 Sep 2015 19:22:09 +0000
treeherderfx-team@e65a7ddaa9e0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjaws
bugs1204615
milestone43.0a1
Bug 1204615 - Make toolbar button border and background more opaque for dark themes. r=jaws
browser/themes/windows/browser.css
--- a/browser/themes/windows/browser.css
+++ b/browser/themes/windows/browser.css
@@ -47,23 +47,23 @@
   --urlbar-dropmarker-active-2x-region: rect(0, 66px, 28px, 44px);
 
   --panel-separator-color: ThreeDLightShadow;
 
   --urlbar-separator-color: hsla(0,0%,16%,.2);
 }
 
 #nav-bar[brighttext] {
-  --toolbarbutton-hover-background: rgba(255,255,255,.1);
-  --toolbarbutton-hover-bordercolor: rgba(255,255,255,.1);
+  --toolbarbutton-hover-background: rgba(255,255,255,.15);
+  --toolbarbutton-hover-bordercolor: rgba(255,255,255,.15);
   --toolbarbutton-hover-boxshadow: none;
 
-  --toolbarbutton-active-background: rgba(255,255,255,.15);
-  --toolbarbutton-active-bordercolor: rgba(255,255,255,.15);
-  --toolbarbutton-active-boxshadow: 0 0 0 1px rgba(255,255,255,.15) inset;
+  --toolbarbutton-active-background: rgba(255,255,255,.3);
+  --toolbarbutton-active-bordercolor: rgba(255,255,255,.3);
+  --toolbarbutton-active-boxshadow: 0 0 0 1px rgba(255,255,255,.3) inset;
 }
 
 #menubar-items {
   -moz-box-orient: vertical; /* for flex hack */
 }
 
 #main-menubar {
   -moz-box-flex: 1; /* make menu items expand to fill toolbar height */