Bug 1184656 - Use lighter separator between content and toolbars on Windows 10 and 8. r=gijs
authorDão Gottwald <dao@mozilla.com>
Fri, 14 Aug 2015 21:28:17 +0200
changeset 257884 208e060b123a86c9d442bad82adc9eda2718cb88
parent 257883 28133afb0caf1dc32e981c68ac269f26b900fe10
child 257885 965133e168d94f2c65b3d0ad831734fc08a6afd2
push id29232
push userkwierso@gmail.com
push dateFri, 14 Aug 2015 23:21:05 +0000
treeherdermozilla-central@6bb8ca8a857c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgijs
bugs1184656
milestone43.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1184656 - Use lighter separator between content and toolbars on Windows 10 and 8. r=gijs
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
@@ -99,16 +99,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;
 }