Bug 1187905 - use normal titlebar buttons for devtools light theme, r=bgrins, a=lizzard
authorGijs Kruitbosch <gijskruitbosch@gmail.com>
Fri, 25 Sep 2015 12:05:40 +0100
changeset 284272 2e344546c91226510e9145006019f6a241079659
parent 284271 53f7553a1c8bdf1a285a6b3b2e348e65873a51bf
child 284273 cd3819abb9a2be38ac377a74a4896611d6e28c4c
push id8487
push usercbook@mozilla.com
push dateThu, 01 Oct 2015 07:56:59 +0000
treeherdermozilla-aurora@cd3819abb9a2 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbgrins, lizzard
bugs1187905
milestone43.0a2
Bug 1187905 - use normal titlebar buttons for devtools light theme, r=bgrins, a=lizzard
browser/themes/windows/devedition.css
--- a/browser/themes/windows/devedition.css
+++ b/browser/themes/windows/devedition.css
@@ -276,9 +276,27 @@
     list-style-image: url(chrome://browser/skin/caption-buttons.svg#maximize-white);
   }
   #main-window[devtoolstheme="dark"][sizemode="maximized"] #titlebar-max {
     list-style-image: url(chrome://browser/skin/caption-buttons.svg#restore-white);
   }
   :root[devtoolstheme="dark"] #titlebar-close {
     list-style-image: url(chrome://browser/skin/caption-buttons.svg#close-white);
   }
+
+  /* ... and normal ones for the light theme on Windows 10 */
+  :root[devtoolstheme="light"] #titlebar-min {
+    list-style-image: url(chrome://browser/skin/caption-buttons.svg#minimize);
+  }
+  :root[devtoolstheme="light"] #titlebar-max {
+    list-style-image: url(chrome://browser/skin/caption-buttons.svg#maximize);
+  }
+  #main-window[devtoolstheme="light"][sizemode="maximized"] #titlebar-max {
+    list-style-image: url(chrome://browser/skin/caption-buttons.svg#restore);
+  }
+  :root[devtoolstheme="light"] #titlebar-close {
+    list-style-image: url(chrome://browser/skin/caption-buttons.svg#close);
+  }
+
+  :root[devtoolstheme="light"] #titlebar-close:hover {
+    list-style-image: url(chrome://browser/skin/caption-buttons.svg#close-white);
+  }
 }