mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 891822 - part 0: fix alltabs-button styling, r=MattN
This commit is contained in:
parent
ef17a5ed9f
commit
f71b2fd0bf
@ -2827,44 +2827,44 @@ toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
|
||||
}
|
||||
}
|
||||
|
||||
#TabsToolbar #alltabs-button {
|
||||
#alltabs-button {
|
||||
list-style-image: url(chrome://browser/skin/tabbrowser/alltabs-box-bkgnd-icon.png);
|
||||
-moz-image-region: rect(0, 17px, 20px, 0);
|
||||
}
|
||||
|
||||
#TabsToolbar #alltabs-button:-moz-lwtheme-brighttext {
|
||||
#alltabs-button:-moz-lwtheme-brighttext {
|
||||
list-style-image: url(chrome://browser/skin/tabbrowser/alltabs-box-bkgnd-icon-inverted.png);
|
||||
}
|
||||
|
||||
#TabsToolbar > #alltabs-button:not([disabled="true"]):hover {
|
||||
#alltabs-button:not([disabled="true"]):hover {
|
||||
-moz-image-region: rect(0, 34px, 20px, 17px);
|
||||
}
|
||||
|
||||
#TabsToolbar > #alltabs-button[open="true"]:not([disabled="true"]),
|
||||
#TabsToolbar > #alltabs-button:not([disabled="true"]):hover:active {
|
||||
#alltabs-button[open="true"]:not([disabled="true"]),
|
||||
#alltabs-button:not([disabled="true"]):hover:active {
|
||||
-moz-image-region: rect(0, 51px, 20px, 34px);
|
||||
}
|
||||
|
||||
@media (min-resolution: 2dppx) {
|
||||
#TabsToolbar #alltabs-button {
|
||||
#alltabs-button {
|
||||
list-style-image: url(chrome://browser/skin/tabbrowser/alltabs-box-bkgnd-icon@2x.png);
|
||||
-moz-image-region: rect(0, 34px, 40px, 0);
|
||||
}
|
||||
|
||||
#TabsToolbar #alltabs-button:-moz-lwtheme-brighttext {
|
||||
#alltabs-button:-moz-lwtheme-brighttext {
|
||||
list-style-image: url(chrome://browser/skin/tabbrowser/alltabs-box-bkgnd-icon-inverted@2x.png);
|
||||
}
|
||||
|
||||
#TabsToolbar > #alltabs-button:not([disabled="true"]):hover {
|
||||
#alltabs-button:not([disabled="true"]):hover {
|
||||
-moz-image-region: rect(0, 68px, 40px, 34px);
|
||||
}
|
||||
|
||||
#TabsToolbar > #alltabs-button[open="true"]:not([disabled="true"]),
|
||||
#TabsToolbar > #alltabs-button:not([disabled="true"]):hover:active {
|
||||
#alltabs-button[open="true"]:not([disabled="true"]),
|
||||
#alltabs-button:not([disabled="true"]):hover:active {
|
||||
-moz-image-region: rect(0, 102px, 40px, 68px);
|
||||
}
|
||||
|
||||
#TabsToolbar #alltabs-button > .toolbarbutton-icon {
|
||||
#alltabs-button > .toolbarbutton-icon {
|
||||
width: 17px;
|
||||
}
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
%filter substitution
|
||||
|
||||
%define primaryToolbarButtons #back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button, #new-tab-button, #new-window-button, #cut-button, #copy-button, #paste-button, #fullscreen-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #sync-button, #feed-button, #alltabs-button, #tabview-button, #webrtc-status-button, #social-share-button, #open-file-button, #find-button, #developer-button, #preferences-button, #privatebrowsing-button, #save-page-button, #add-ons-button, #history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button
|
||||
%define primaryToolbarButtons #back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button, #new-tab-button, #new-window-button, #cut-button, #copy-button, #paste-button, #fullscreen-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #sync-button, #feed-button, #tabview-button, #webrtc-status-button, #social-share-button, #open-file-button, #find-button, #developer-button, #preferences-button, #privatebrowsing-button, #save-page-button, #add-ons-button, #history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button
|
||||
%define inAnyPanel :-moz-any(:not([cui-areatype="toolbar"]),.overflowedItem)
|
||||
|
@ -1495,7 +1495,7 @@ richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-
|
||||
list-style-image: url(chrome://browser/skin/tabbrowser/newtab-inverted.png);
|
||||
}
|
||||
|
||||
#main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar > #alltabs-button {
|
||||
#main-window[tabsintitlebar]:not([inFullscreen]) #alltabs-button {
|
||||
list-style-image: url("chrome://browser/skin/toolbarbutton-dropdown-arrow-inverted.png");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user