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