Bug 1246123 - fix draggability of empty bookmark space for lightweight themes, r=felipe
authorGijs Kruitbosch <gijskruitbosch@gmail.com>
Fri, 05 Feb 2016 12:51:54 +0000
changeset 329832 1e6bb5a9d9e2eeb08a007d9912f85a007bfdecdd
parent 329735 49945e5fe79e6cf2b083f56fd49d917ca886db0b
child 329833 dfef1991cc00f51276f2edf88e26dce44859cba4
push id10617
push userdtownsend@mozilla.com
push dateTue, 09 Feb 2016 16:30:19 +0000
reviewersfelipe
bugs1246123
milestone47.0a1
Bug 1246123 - fix draggability of empty bookmark space for lightweight themes, r=felipe
browser/base/content/browser.css
browser/themes/windows/devedition.css
--- a/browser/base/content/browser.css
+++ b/browser/base/content/browser.css
@@ -359,19 +359,19 @@ toolbarpaletteitem > #personal-bookmarks
 toolbar:not(#TabsToolbar) > #wrapper-personal-bookmarks,
 toolbar:not(#TabsToolbar) > #personal-bookmarks {
   -moz-box-flex: 1;
 }
 
 /* Ensure that empty parts of the bookmarks container can be dragged on OSX, and on other OSes
  * only when a lwtheme is in use. */
 %ifdef XP_MACOSX
-#PlacesToolbarItems {
+#main-window[tabsintitlebar]:not([customizing]) #personal-bookmarks {
 %else
-#main-window[tabsintitlebar] #PlacesToolbarItems:-moz-lwtheme {
+#main-window[tabsintitlebar]:not([customizing]) #personal-bookmarks:-moz-lwtheme {
 %endif
   -moz-window-dragging: drag;
 }
 
 #zoom-controls[cui-areatype="toolbar"]:not([overflowedItem=true]) > #zoom-reset-button > .toolbarbutton-text {
   display: -moz-box;
 }
 
--- a/browser/themes/windows/devedition.css
+++ b/browser/themes/windows/devedition.css
@@ -257,17 +257,17 @@
   /* 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 {
+#main-window[tabsintitlebar]:not([customizing]) #personal-bookmarks:-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);