1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/toolkit/themes/osx/global/button.css Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,69 @@ 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 +button { 1.11 + -moz-appearance: button; 1.12 + /* The horizontal margin used here come from the Aqua Human Interface 1.13 + Guidelines, there should be 12 pixels between two buttons. */ 1.14 + margin: 5px 6px 3px; 1.15 + min-width: 79px; 1.16 + color: ButtonText; 1.17 + text-shadow: none; 1.18 +} 1.19 + 1.20 +.button-text { 1.21 + margin: 1px 0 !important; 1.22 + -moz-margin-start: 3px !important; 1.23 + -moz-margin-end: 2px !important; 1.24 + text-align: center; 1.25 +} 1.26 + 1.27 +.button-icon { 1.28 + -moz-margin-start: 1px; 1.29 +} 1.30 + 1.31 +button[type="default"] { 1.32 + font: menu; 1.33 +} 1.34 + 1.35 +/* .......... disabled state .......... */ 1.36 + 1.37 +button[disabled="true"] { 1.38 + color: GrayText; 1.39 +} 1.40 + 1.41 +/* ::::: menu/menu-button buttons ::::: */ 1.42 + 1.43 +button[type="menu-button"] { 1.44 + margin: 0; 1.45 + border: none; 1.46 +} 1.47 + 1.48 +.button-menu-dropmarker, 1.49 +.button-menubutton-dropmarker { 1.50 + -moz-appearance: none !important; 1.51 + border: none; 1.52 + background-color: transparent !important; 1.53 + margin: 1px; 1.54 +} 1.55 + 1.56 +.button-menu-dropmarker { 1.57 + display: none; 1.58 +} 1.59 + 1.60 +/* ::::: plain buttons ::::: */ 1.61 + 1.62 +button.plain { 1.63 + margin: 0 !important; 1.64 + padding: 0 !important; 1.65 +} 1.66 + 1.67 +/* ::::: help button ::::: */ 1.68 + 1.69 +button[dlgtype="help"] { 1.70 + -moz-appearance: -moz-mac-help-button; 1.71 + width: 20px; 1.72 +}