gecko/browser/themes/osx/customizableui/panelUIOverlay.css

67 lines
1.9 KiB
CSS
Raw Normal View History

/* 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/. */
Bug 858196 - Move all customization code to be under browser/components/customizableui/. r=jaws. --HG-- rename : browser/base/content/customizing.xhtml => browser/components/customizableui/content/aboutCustomizing.xhtml rename : browser/base/content/customize.inc => browser/components/customizableui/content/customizeMode.inc.xul rename : browser/base/content/panelUI.inc => browser/components/customizableui/content/panelUI.inc.xul rename : browser/base/content/panelUI.js => browser/components/customizableui/content/panelUI.js rename : browser/base/content/panelUI.xml => browser/components/customizableui/content/panelUI.xml rename : browser/base/content/panelUIOverlay.js => browser/components/customizableui/content/panelUIOverlay.js rename : browser/base/content/panelUIOverlay.xul => browser/components/customizableui/content/panelUIOverlay.xul rename : browser/base/content/toolbar.xml => browser/components/customizableui/content/toolbar.xml rename : browser/modules/CustomizableUI.jsm => browser/components/customizableui/src/CustomizableUI.jsm rename : browser/modules/CustomizeMode.jsm => browser/components/customizableui/src/CustomizeMode.jsm rename : browser/themes/linux/customization/customization-mode-background.jpg => browser/themes/linux/customizableui/customization-mode-background.jpg rename : browser/themes/linux/panelUIOverlay.css => browser/themes/linux/customizableui/panelUIOverlay.css rename : browser/themes/osx/customization/customization-mode-background.jpg => browser/themes/osx/customizableui/customization-mode-background.jpg rename : browser/themes/osx/panelUIOverlay.css => browser/themes/osx/customizableui/panelUIOverlay.css rename : browser/themes/shared/customization.inc.css => browser/themes/shared/customizableui/customizeMode.inc.css rename : browser/themes/shared/panelUIOverlay.inc.css => browser/themes/shared/customizableui/panelUIOverlay.inc.css rename : browser/themes/windows/customization/customization-mode-background.jpg => browser/themes/windows/customizableui/customization-mode-background.jpg rename : browser/themes/windows/panelUIOverlay.css => browser/themes/windows/customizableui/panelUIOverlay.css
2013-04-14 22:34:52 -07:00
%include ../../shared/customizableui/panelUIOverlay.inc.css
@media (min-resolution: 2dppx) {
#customization-palette toolbarbutton > .toolbarbutton-icon,
#PanelUI-contents toolbarbutton > .toolbarbutton-icon {
width: 20px;
}
#PanelUI-customize {
list-style-image: url(chrome://browser/skin/menuPanel-customize@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-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);
}
}
#edit-controls@inAnyPanel@ > toolbarbutton:not(:first-child),
#zoom-controls@inAnyPanel@ > toolbarbutton:not(:first-child) {
margin-left: 0;
margin-right: 0;
}
#edit-controls@inAnyPanel@ > toolbarbutton:not(:first-child):not(:last-child),
#zoom-controls@inAnyPanel@ > toolbarbutton:not(:first-child):not(:last-child) {
margin-left: 0;
margin-right: 0;
}
#zoom-controls@inAnyPanel@ > #zoom-in-button,
#zoom-controls@inAnyPanel@ > #zoom-out-button,
toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button,
toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button {
padding-left: 12px;
padding-right: 12px;
}
.panel-wide-item[customizableui-areatype="menu-panel"] > toolbarbutton,
toolbarbutton[customizableui-areatype="menu-panel"] {
margin: 0;
}