1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/toolkit/themes/osx/global/toolbarbutton.css Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,96 @@ 1.4 +/* This Source Code Form is subject to the terms of the Mozilla Public 1.5 + * License, v. 2.0. If a copy of the MPL was not distributed with this 1.6 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 1.7 + 1.8 +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); 1.9 + 1.10 +toolbarbutton { 1.11 + -moz-box-align: center; 1.12 + -moz-box-pack: center; 1.13 + margin: 0px 2px 0px 2px; 1.14 + padding: 3px 1px 3px 1px; 1.15 + border-right: 1px solid transparent; 1.16 + border-left: 1px solid transparent; 1.17 + background-color: transparent; 1.18 + text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4); 1.19 +} 1.20 + 1.21 +toolbarbutton[open="true"], 1.22 +toolbarbutton:not([disabled="true"]):active:hover { 1.23 + text-shadow: none; 1.24 +} 1.25 + 1.26 +.toolbarbutton-text { 1.27 + margin: 0px; 1.28 + padding: 0px; 1.29 + text-align: center; 1.30 + vertical-align: middle; 1.31 +} 1.32 + 1.33 +toolbarbutton[disabled="true"], 1.34 +toolbarbutton[disabled="true"]:hover, 1.35 +toolbarbutton[disabled="true"]:hover:active, 1.36 +toolbarbutton[disabled="true"][open="true"] { 1.37 + color: -moz-mac-disabledtoolbartext !important; 1.38 +} 1.39 + 1.40 +/* ::::: toolbarbutton menu ::::: */ 1.41 + 1.42 +.toolbarbutton-menu-dropmarker { 1.43 + -moz-appearance: none !important; 1.44 + border: none !important; 1.45 + background-color: transparent !important; 1.46 + list-style-image: url("chrome://global/skin/arrow/arrow-dn.png"); 1.47 + padding: 0; 1.48 + -moz-padding-start: 2px; 1.49 + width: auto; 1.50 +} 1.51 + 1.52 +.toolbarbutton-menu-dropmarker[disabled="true"] { 1.53 + list-style-image: url("chrome://global/skin/arrow/arrow-dn-dis.png"); 1.54 + padding: 0; 1.55 + -moz-padding-start: 2px; 1.56 +} 1.57 + 1.58 +/* ::::: toolbarbutton menu-button ::::: */ 1.59 + 1.60 +toolbarbutton[type="menu-button"] { 1.61 + -moz-box-align: stretch; 1.62 + -moz-box-orient: horizontal !important; 1.63 +} 1.64 + 1.65 +toolbarbutton[type="menu-button"], 1.66 +toolbarbutton[type="menu-button"]:hover, 1.67 +toolbarbutton[type="menu-button"]:hover:active, 1.68 +toolbarbutton[type="menu-button"][open="true"], 1.69 +toolbarbutton[type="menu-button"][disabled="true"], 1.70 +toolbarbutton[type="menu-button"][disabled="true"]:hover, 1.71 +toolbarbutton[type="menu-button"][disabled="true"]:hover:active { 1.72 + background-color: transparent; 1.73 +} 1.74 + 1.75 +.toolbarbutton-menubutton-button { 1.76 + -moz-box-align: center; 1.77 + -moz-box-pack: center; 1.78 + -moz-box-orient: vertical; 1.79 + text-shadow: inherit; 1.80 +} 1.81 + 1.82 +/* .......... dropmarker .......... */ 1.83 + 1.84 +.toolbarbutton-menubutton-dropmarker { 1.85 + -moz-appearance: none; 1.86 + border: none; 1.87 + background-color: transparent !important; 1.88 + list-style-image: url("chrome://global/skin/arrow/arrow-dn.png"); 1.89 + width: auto; 1.90 + padding: 0 5px; 1.91 +} 1.92 + 1.93 +.toolbarbutton-menubutton-dropmarker[disabled="true"] { 1.94 + list-style-image: url("chrome://global/skin/arrow/arrow-dn-dis.png"); 1.95 +} 1.96 + 1.97 +toolbarbutton.tabbable { 1.98 + -moz-user-focus: normal !important; 1.99 +}