mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 971956 - fix styling of items in widget overflow list, r=mconley
--HG-- extra : rebase_source : 972f12d649e973b820b2bd679728c435bf1908ad
This commit is contained in:
parent
c2c4bb1df1
commit
b07ebeeeb6
@ -925,7 +925,6 @@ let PlacesToolbarHelper = {
|
||||
} else {
|
||||
placeholder.removeAttribute("wrap");
|
||||
}
|
||||
placeholder.classList.toggle("toolbarbutton-1", shouldWrapNow);
|
||||
this._shouldWrap = shouldWrapNow;
|
||||
}
|
||||
},
|
||||
|
@ -937,6 +937,7 @@
|
||||
cui-areatype="toolbar"
|
||||
removable="true">
|
||||
<toolbarbutton id="bookmarks-toolbar-placeholder"
|
||||
class="toolbarbutton-1"
|
||||
mousethrough="never"
|
||||
label="&bookmarksToolbarItem.label;"
|
||||
oncommand="PlacesToolbarHelper.onPlaceholderCommand();"/>
|
||||
|
@ -81,7 +81,7 @@
|
||||
|
||||
/* Places toolbar */
|
||||
toolbarbutton.bookmark-item,
|
||||
#personal-bookmarks[cui-areatype="toolbar"] > #bookmarks-toolbar-placeholder {
|
||||
#personal-bookmarks[cui-areatype="toolbar"]:not([overflowedItem=true]) > #bookmarks-toolbar-placeholder {
|
||||
margin: 0;
|
||||
padding: 2px 3px;
|
||||
}
|
||||
|
@ -160,7 +160,7 @@ toolbarbutton.chevron:-moz-locale-dir(rtl) > .toolbarbutton-icon {
|
||||
/* ----- BOOKMARK BUTTONS ----- */
|
||||
|
||||
toolbarbutton.bookmark-item:not(.subviewbutton):not(#bookmarks-menu-button),
|
||||
#personal-bookmarks[cui-areatype="toolbar"] > #bookmarks-toolbar-placeholder {
|
||||
#personal-bookmarks[cui-areatype="toolbar"]:not([overflowedItem=true]) > #bookmarks-toolbar-placeholder {
|
||||
font-weight: bold;
|
||||
color: #222;
|
||||
border: 0;
|
||||
@ -169,6 +169,10 @@ toolbarbutton.bookmark-item:not(.subviewbutton):not(#bookmarks-menu-button),
|
||||
margin: 0 0 1px;
|
||||
}
|
||||
|
||||
#personal-bookmarks[cui-areatype="toolbar"]:not([overflowedItem=true]) > #bookmarks-toolbar-placeholder {
|
||||
-moz-box-orient: horizontal;
|
||||
}
|
||||
|
||||
.bookmark-item > .toolbarbutton-menu-dropmarker {
|
||||
list-style-image: url("chrome://browser/skin/places/folderDropArrow.png");
|
||||
-moz-image-region: rect(0, 7px, 5px, 0);
|
||||
@ -237,7 +241,7 @@ toolbarbutton.bookmark-item > menupopup {
|
||||
|
||||
.bookmark-item > .toolbarbutton-icon[label]:not([label=""]),
|
||||
.bookmark-item > .toolbarbutton-icon[type="menu"],
|
||||
#personal-bookmarks[cui-areatype="toolbar"] > #bookmarks-toolbar-placeholder > .toolbarbutton-icon[label]:not([label=""]) {
|
||||
#personal-bookmarks[cui-areatype="toolbar"]:not([overflowedItem=true]) > #bookmarks-toolbar-placeholder > .toolbarbutton-icon[label]:not([label=""]) {
|
||||
-moz-margin-end: 5px;
|
||||
}
|
||||
|
||||
|
@ -331,6 +331,14 @@ toolbarpaletteitem[place="palette"] > toolbaritem > toolbarbutton {
|
||||
-moz-box-flex: 1;
|
||||
}
|
||||
|
||||
#personal-bookmarks[overflowedItem=true] > #bookmarks-toolbar-placeholder {
|
||||
-moz-box-flex: 1;
|
||||
}
|
||||
|
||||
#personal-bookmarks[cui-areatype="toolbar"][overflowedItem=true] > #bookmarks-toolbar-placeholder > .toolbarbutton-icon {
|
||||
-moz-margin-end: 2px;
|
||||
}
|
||||
|
||||
#edit-controls@inAnyPanel@ > #copy-button,
|
||||
#zoom-controls@inAnyPanel@ > #zoom-reset-button {
|
||||
border-left: none;
|
||||
@ -848,7 +856,7 @@ toolbarpaletteitem[place="palette"] > #search-container {
|
||||
}
|
||||
|
||||
toolbaritem[overflowedItem=true],
|
||||
toolbarbutton[overflowedItem=true] {
|
||||
.widget-overflow-list .toolbarbutton-1 {
|
||||
width: 100%;
|
||||
max-width: @menuPanelWidth@;
|
||||
min-height: 36px;
|
||||
@ -856,14 +864,14 @@ toolbarbutton[overflowedItem=true] {
|
||||
background-position: 0 center;
|
||||
}
|
||||
|
||||
#widget-overflow-list > toolbarbutton,
|
||||
#widget-overflow-list > toolbarbutton > toolbarbutton {
|
||||
.widget-overflow-list .toolbarbutton-1,
|
||||
.widget-overflow-list .toolbarbutton-1 > .toolbarbutton-menubutton-button {
|
||||
-moz-box-align: center;
|
||||
-moz-box-orient: horizontal;
|
||||
}
|
||||
|
||||
#widget-overflow-list > toolbarbutton > .toolbarbutton-text,
|
||||
#widget-overflow-list > #bookmarks-menu-button > toolbarbutton > .toolbarbutton-text {
|
||||
.widget-overflow-list .toolbarbutton-1 > .toolbarbutton-text,
|
||||
.widget-overflow-list .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-text {
|
||||
text-align: start;
|
||||
-moz-padding-start: .5em;
|
||||
}
|
||||
|
@ -287,7 +287,7 @@
|
||||
/* ::::: bookmark buttons ::::: */
|
||||
|
||||
toolbarbutton.bookmark-item,
|
||||
#personal-bookmarks[cui-areatype="toolbar"] > #bookmarks-toolbar-placeholder {
|
||||
#personal-bookmarks[cui-areatype="toolbar"]:not([overflowedItem=true]) > #bookmarks-toolbar-placeholder {
|
||||
margin: 0;
|
||||
padding: 2px 3px;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user