Bug 1187905 - use normal titlebar buttons for devtools light theme, r=bgrins
authorGijs Kruitbosch <gijskruitbosch@gmail.com>
Fri, 25 Sep 2015 12:05:40 +0100
changeset 264704 6afa97fa45e9157e825da33fd5e8094bcbfa5269
parent 264703 43af8bb24e9abd1fff0fd7ba41c459043d305cac
child 264705 a176223b12129600c3b19f8163230c22814432a8
push id15392
push usergijskruitbosch@gmail.com
push dateMon, 28 Sep 2015 14:06:30 +0000
treeherderfx-team@a176223b1212 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbgrins
bugs1187905
milestone44.0a1
Bug 1187905 - use normal titlebar buttons for devtools light theme, r=bgrins
browser/themes/windows/devedition.css
--- a/browser/themes/windows/devedition.css
+++ b/browser/themes/windows/devedition.css
@@ -280,9 +280,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);
+  }
 }