Bug 1184656 - Use lighter separator between content and toolbars on Windows 10 and 8. r=gijs, a=sledru
authorDão Gottwald <dao@mozilla.com>
Fri, 14 Aug 2015 21:28:17 +0200
changeset 291455 0364790f94b1adeed4b79a450962583f42a16ef4
parent 291454 2d9e2f22c8137c94dfda15de2ba87d9bda042b8e
child 291456 6fbcbf05900f930e0a0cf08bfb2b7db403d95862
push id5246
push usermozilla@noorenberghe.ca
push dateWed, 09 Sep 2015 21:17:14 +0000
reviewersgijs, sledru
bugs1184656
milestone41.0
Bug 1184656 - Use lighter separator between content and toolbars on Windows 10 and 8. r=gijs, a=sledru
browser/themes/windows/browser-aero.css
browser/themes/windows/browser.css
--- a/browser/themes/windows/browser-aero.css
+++ b/browser/themes/windows/browser-aero.css
@@ -64,20 +64,16 @@
     .browserContainer > findbar {
       background-color: @customToolbarColor@;
     }
 
     .tab-background-middle[visuallyselected=true]:not(:-moz-lwtheme) {
       background-color: @customToolbarColor@;
     }
 
-    #navigator-toolbox:not(:-moz-lwtheme)::after {
-      background-color: #aabccf;
-    }
-
     #urlbar:not(:-moz-lwtheme):not([focused]):hover,
     .searchbar-textbox:not(:-moz-lwtheme):not([focused]):hover {
       border-color: hsla(210,54%,20%,.35) hsla(210,54%,20%,.37) hsla(210,54%,20%,.4);
     }
 
     #urlbar:not(:-moz-lwtheme)[focused],
     .searchbar-textbox:not(:-moz-lwtheme)[focused] {
       border-color: hsla(206,100%,60%,.65) hsla(206,100%,55%,.65) hsla(206,100%,50%,.65);
--- a/browser/themes/windows/browser.css
+++ b/browser/themes/windows/browser.css
@@ -95,16 +95,32 @@
 #navigator-toolbox::after {
   content: "";
   display: -moz-box;
   -moz-box-ordinal-group: 101; /* tabs toolbar is 100 */
   height: 1px;
   background-color: ThreeDShadow;
 }
 
+@media (-moz-windows-default-theme) {
+  @media (-moz-os-version: windows-vista),
+         (-moz-os-version: windows-win7) {
+    #navigator-toolbox:not(:-moz-lwtheme)::after {
+      background-color: #aabccf;
+    }
+  }
+
+  @media (-moz-os-version: windows-win8),
+         (-moz-os-version: windows-win10) {
+    #navigator-toolbox:not(:-moz-lwtheme)::after {
+      background-color: #c2c2c2;
+    }
+  }
+}
+
 #navigator-toolbox > toolbar {
   -moz-appearance: none;
   border-style: none;
 }
 
 #navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):not(:-moz-lwtheme) {
   background-color: -moz-Dialog;
 }