mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
139 lines
3.8 KiB
CSS
139 lines
3.8 KiB
CSS
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
%include ../../shared/customizableui/panelUIOverlay.inc.css
|
|
|
|
@media (min-resolution: 2dppx) {
|
|
#PanelUI-help[panel-multiview-anchor="true"]::after,
|
|
toolbarbutton[panel-multiview-anchor="true"] {
|
|
background-image: url(chrome://browser/skin/customizableui/subView-arrow-back-inverted@2x.png),
|
|
linear-gradient(rgba(255,255,255,0.3), rgba(255,255,255,0));
|
|
background-size: 16px, auto;
|
|
}
|
|
|
|
#PanelUI-help[panel-multiview-anchor="true"]:-moz-locale-dir(rtl)::after,
|
|
toolbarbutton[panel-multiview-anchor="true"]:-moz-locale-dir(rtl) {
|
|
background-image: url(chrome://browser/skin/customizableui/subView-arrow-back-inverted-rtl@2x.png),
|
|
linear-gradient(rgba(255,255,255,0.3), rgba(255,255,255,0));
|
|
}
|
|
|
|
#PanelUI-fxa-status {
|
|
list-style-image: url(chrome://browser/skin/sync-horizontalbar@2x.png);
|
|
}
|
|
|
|
#PanelUI-fxa-status[status="active"] {
|
|
list-style-image: url(chrome://browser/skin/syncProgress-horizontalbar@2x.png);
|
|
}
|
|
|
|
#PanelUI-customize {
|
|
list-style-image: url(chrome://browser/skin/menuPanel-customize@2x.png);
|
|
}
|
|
|
|
#main-window[customize-entered] #PanelUI-customize {
|
|
list-style-image: url(chrome://browser/skin/customizableui/menuPanel-customizeFinish@2x.png);
|
|
}
|
|
|
|
#PanelUI-help {
|
|
list-style-image: url(chrome://browser/skin/menuPanel-help@2x.png);
|
|
}
|
|
|
|
#PanelUI-quit {
|
|
list-style-image: url(chrome://browser/skin/menuPanel-exit@2x.png);
|
|
}
|
|
|
|
#PanelUI-fxa-status,
|
|
#PanelUI-customize,
|
|
#PanelUI-help,
|
|
#PanelUI-quit {
|
|
-moz-image-region: rect(0, 32px, 32px, 0);
|
|
}
|
|
|
|
#PanelUI-customize:hover,
|
|
#PanelUI-help:not([disabled]):hover,
|
|
#PanelUI-quit:not([disabled]):hover {
|
|
-moz-image-region: rect(0, 64px, 32px, 32px);
|
|
}
|
|
|
|
#PanelUI-customize:hover:active,
|
|
#PanelUI-help:not([disabled]):hover:active,
|
|
#PanelUI-quit:not([disabled]):hover:active {
|
|
-moz-image-region: rect(0, 96px, 32px, 64px);
|
|
}
|
|
|
|
#PanelUI-help[panel-multiview-anchor="true"] {
|
|
-moz-image-region: rect(0, 128px, 32px, 96px);
|
|
background-size: auto;
|
|
}
|
|
|
|
.subviewbutton[checked="true"] {
|
|
background-image: url("chrome://global/skin/menu/shared-menu-check@2x.png");
|
|
}
|
|
|
|
}
|
|
|
|
.panelUI-grid .toolbarbutton-1 {
|
|
margin-right: 0;
|
|
margin-left: 0;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.subviewbutton > .toolbarbutton-text,
|
|
.subviewbutton > .menu-iconic-text {
|
|
margin: 2px 0px;
|
|
}
|
|
|
|
.subviewbutton:-moz-any([image],[targetURI],.cui-withicon, .bookmark-item) > .toolbarbutton-text {
|
|
margin: 2px 6px;
|
|
}
|
|
|
|
.restoreallitem > .toolbarbutton-icon {
|
|
display: none;
|
|
}
|
|
|
|
.subviewbutton {
|
|
-moz-padding-start: 18px;
|
|
}
|
|
|
|
.subviewbutton[checked="true"] {
|
|
background-position: top 5px left 4px;
|
|
}
|
|
|
|
.subviewbutton:not(:-moz-any([image],[targetURI],.cui-withicon, .bookmark-item)) > .menu-iconic-left {
|
|
display: none;
|
|
}
|
|
|
|
menu.subviewbutton,
|
|
menuitem.subviewbutton:not(.panel-subview-footer) {
|
|
padding-top: 2px;
|
|
padding-bottom: 2px;
|
|
}
|
|
|
|
/* Override OSX-specific toolkit styles for the bookmarks panel */
|
|
menu.subviewbutton > .menu-right {
|
|
-moz-margin-end: 0;
|
|
}
|
|
menu.subviewbutton > .menu-right > image {
|
|
-moz-image-region: rect(0, 9px, 10px, 0);
|
|
}
|
|
|
|
@media (min-resolution: 2dppx) {
|
|
menu.subviewbutton > .menu-right > image {
|
|
-moz-image-region: rect(0, 18px, 20px, 0);
|
|
}
|
|
}
|
|
|
|
.widget-overflow-list .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
|
|
-moz-margin-start: 4px;
|
|
}
|
|
|
|
.PanelUI-subView menuseparator,
|
|
.cui-widget-panelview menuseparator {
|
|
padding: 0 !important;
|
|
}
|
|
|
|
toolbarpaletteitem:-moz-any([place="palette"], [place="panel"]) > toolbaritem[sdkstylewidget="true"] > .toolbarbutton-1 > .toolbarbutton-icon {
|
|
width: 32px;
|
|
height: 32px;
|
|
}
|