Bug 1246123 - fix draggability of empty bookmark space for lightweight themes, r?felipe draft
authorGijs Kruitbosch <gijskruitbosch@gmail.com>
Fri, 05 Feb 2016 12:51:54 +0000
changeset 329147 b42a976dd75304c3971602d4bd3885426da0d5b6
parent 329146 522c4736df761986d42115e26e9b04897e6402c1
child 513910 26e4545ac5cd39163d43891f99b5523da5574dec
push id10471
push usergijskruitbosch@gmail.com
push dateFri, 05 Feb 2016 12:52:29 +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);