Bug 1219215 - part 2: make the devedition theme behave like the normal theme, r?dao,felipe draft
authorGijs Kruitbosch <gijskruitbosch@gmail.com>
Tue, 12 Jan 2016 21:30:41 +0000
changeset 323924 261748f97515593443a4eea98c8adc7d028be5ff
parent 323923 ff9d7691e203697caddb3a9f2de6cb676a15a6b4
child 323925 d88ee32370770af3222311fa05b5b76690635ce2
push id9811
push usergijskruitbosch@gmail.com
push dateThu, 21 Jan 2016 15:39:14 +0000
reviewersdao, felipe
bugs1219215
milestone46.0a1
Bug 1219215 - part 2: make the devedition theme behave like the normal theme, r?dao,felipe
browser/themes/windows/devedition.css
--- a/browser/themes/windows/devedition.css
+++ b/browser/themes/windows/devedition.css
@@ -255,16 +255,22 @@
 
 #navigator-toolbox {
   /* The side borders on the toolbox also look out-of-place because we don't paint over
    * the native background color at all, and these are !important for the same reason as above. */
   border-left: none !important;
   border-right: none !important;
 }
 
+/* Disable dragging like in the default theme: */
+#main-window[tabsintitlebar] #navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):-moz-lwtheme,
+#main-window[tabsintitlebar] #PlacesToolbarItems:-moz-lwtheme {
+  -moz-window-dragging: no-drag;
+}
+
 /* The sidebar header has no background now that the background of the #browser-panel
  * has no image and is transparent. Fix: */
 .sidebar-header:-moz-lwtheme,
 #sidebar-header {
   background-color: var(--chrome-background-color);
   color: var(--chrome-color);
 }