Bug 1205677 - Set --toolbarbutton-checkedhover-backgroundcolor to something reasonable. r=gijs a=lizzard
authorDão Gottwald <dao@mozilla.com>
Fri, 25 Sep 2015 16:03:50 +0200
changeset 298109 28ddc15188e4dfddc9876f0a15c3328c6265c8a7
parent 298108 ca97cca1a50ceaaebcf0773b5a1cdc1236125296
child 298110 bc00f3a6a496b1ebc0a2dd6211fb4f0a2331f2fb
push id962
push userjlund@mozilla.com
push dateFri, 04 Dec 2015 23:28:54 +0000
treeherdermozilla-release@23a2d286e80f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgijs, lizzard
bugs1205677
milestone43.0a2
Bug 1205677 - Set --toolbarbutton-checkedhover-backgroundcolor to something reasonable. r=gijs a=lizzard
browser/themes/linux/browser.css
browser/themes/windows/browser.css
--- a/browser/themes/linux/browser.css
+++ b/browser/themes/linux/browser.css
@@ -24,17 +24,17 @@
   --toolbarbutton-hover-background: hsla(0,0%,100%,.3) linear-gradient(hsla(0,0%,100%,.7), hsla(0,0%,100%,.2));
   --toolbarbutton-hover-boxshadow: 0 1px 0 hsla(0,0%,100%,.3) inset, 0 0 0 1px hsla(0,0%,100%,.2) inset, 0 1px 0 hsla(0,0%,0%,.03);
   --toolbarbutton-hover-bordercolor: rgb(154,154,154);
 
   --toolbarbutton-active-boxshadow: 0 1px 1px hsla(0,0%,0%,.1) inset, 0 0 1px hsla(0,0%,0%,.3) inset;
   --toolbarbutton-active-bordercolor: rgb(154,154,154);
   --toolbarbutton-active-background: rgba(154,154,154,.5) linear-gradient(hsla(0,0%,100%,.7), hsla(0,0%,100%,.4));
 
-  --toolbarbutton-checkedhover-backgroundcolor: rgba(90%,90%,90%,.4);
+  --toolbarbutton-checkedhover-backgroundcolor: rgba(154,154,154,.15);
 
   --identity-box-verified-background-color: #fff;
 
   --panel-separator-color: ThreeDShadow;
 
   --urlbar-separator-color: hsla(0,0%,16%,.2);
 }
 
--- a/browser/themes/windows/browser.css
+++ b/browser/themes/windows/browser.css
@@ -28,17 +28,17 @@
   --toolbarbutton-hover-background: rgba(0,0,0,.1);
   --toolbarbutton-hover-bordercolor: rgba(0,0,0,.1);
   --toolbarbutton-hover-boxshadow: none;
 
   --toolbarbutton-active-background: rgba(0,0,0,.15);
   --toolbarbutton-active-bordercolor: rgba(0,0,0,.15);
   --toolbarbutton-active-boxshadow: 0 0 0 1px rgba(0,0,0,.15) inset;
 
-  --toolbarbutton-checkedhover-backgroundcolor: rgba(0,0,0,.15);
+  --toolbarbutton-checkedhover-backgroundcolor: rgba(0,0,0,.1);
 
   --identity-box-verified-background-color: #fff;
 
   --urlbar-dropmarker-url: url("chrome://browser/skin/urlbar-history-dropmarker.png");
   --urlbar-dropmarker-region: rect(0px, 11px, 14px, 0px);
   --urlbar-dropmarker-hover-region: rect(0px, 22px, 14px, 11px);
   --urlbar-dropmarker-active-region: rect(0px, 33px, 14px, 22px);
   --urlbar-dropmarker-2x-url: url("chrome://browser/skin/urlbar-history-dropmarker@2x.png");
@@ -54,16 +54,18 @@
 #nav-bar[brighttext] {
   --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,.3);
   --toolbarbutton-active-bordercolor: rgba(255,255,255,.3);
   --toolbarbutton-active-boxshadow: 0 0 0 1px rgba(255,255,255,.3) inset;
+
+  --toolbarbutton-checkedhover-backgroundcolor: rgba(255,255,255,.2);
 }
 
 #menubar-items {
   -moz-box-orient: vertical; /* for flex hack */
 }
 
 #main-menubar {
   -moz-box-flex: 1; /* make menu items expand to fill toolbar height */