Bug 1255989 - Bookmarks toolbar items should inherit -moz-window-dragging from the parent toolbar. r=gijs

This commit is contained in:
Dão Gottwald 2016-06-29 12:39:03 +02:00
Родитель 209681b65b
Коммит 05ac665f2c
2 изменённых файлов: 7 добавлений и 14 удалений

Просмотреть файл

@ -243,6 +243,10 @@ toolbar[customizing] > .overflow-button {
-moz-appearance: -moz-window-button-box;
}
#personal-bookmarks {
-moz-window-dragging: inherit;
}
%ifdef XP_MACOSX
#titlebar-fullscreen-button {
-moz-appearance: -moz-mac-fullscreen-button;
@ -286,8 +290,8 @@ toolbar[customizing] > .overflow-button {
}
#main-window[tabsintitlebar] #TabsToolbar,
#main-window[tabsintitlebar] #toolbar-menubar:not([autohide=true]),
#main-window[tabsintitlebar] #navigator-toolbox > toolbar:not(#toolbar-menubar):-moz-lwtheme {
#main-window[tabsintitlebar] #toolbar-menubar,
#main-window[tabsintitlebar] #navigator-toolbox > toolbar:-moz-lwtheme {
-moz-window-dragging: drag;
}
%endif
@ -360,16 +364,6 @@ 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
#main-window[tabsintitlebar]:not([customizing]) #personal-bookmarks {
%else
#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;
}

Просмотреть файл

@ -261,8 +261,7 @@
}
/* Disable dragging like in the default theme: */
#main-window[tabsintitlebar] #navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):-moz-lwtheme,
#main-window[tabsintitlebar]:not([customizing]) #personal-bookmarks:-moz-lwtheme {
#main-window[tabsintitlebar] #navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):-moz-lwtheme {
-moz-window-dragging: no-drag;
}