Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
michael@0 | 1 | /* This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 2 | * License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 3 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
michael@0 | 4 | |
michael@0 | 5 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
michael@0 | 6 | |
michael@0 | 7 | button { |
michael@0 | 8 | -moz-appearance: button; |
michael@0 | 9 | /* The horizontal margin used here come from the Aqua Human Interface |
michael@0 | 10 | Guidelines, there should be 12 pixels between two buttons. */ |
michael@0 | 11 | margin: 5px 6px 3px; |
michael@0 | 12 | min-width: 79px; |
michael@0 | 13 | color: ButtonText; |
michael@0 | 14 | text-shadow: none; |
michael@0 | 15 | } |
michael@0 | 16 | |
michael@0 | 17 | .button-text { |
michael@0 | 18 | margin: 1px 0 !important; |
michael@0 | 19 | -moz-margin-start: 3px !important; |
michael@0 | 20 | -moz-margin-end: 2px !important; |
michael@0 | 21 | text-align: center; |
michael@0 | 22 | } |
michael@0 | 23 | |
michael@0 | 24 | .button-icon { |
michael@0 | 25 | -moz-margin-start: 1px; |
michael@0 | 26 | } |
michael@0 | 27 | |
michael@0 | 28 | button[type="default"] { |
michael@0 | 29 | font: menu; |
michael@0 | 30 | } |
michael@0 | 31 | |
michael@0 | 32 | /* .......... disabled state .......... */ |
michael@0 | 33 | |
michael@0 | 34 | button[disabled="true"] { |
michael@0 | 35 | color: GrayText; |
michael@0 | 36 | } |
michael@0 | 37 | |
michael@0 | 38 | /* ::::: menu/menu-button buttons ::::: */ |
michael@0 | 39 | |
michael@0 | 40 | button[type="menu-button"] { |
michael@0 | 41 | margin: 0; |
michael@0 | 42 | border: none; |
michael@0 | 43 | } |
michael@0 | 44 | |
michael@0 | 45 | .button-menu-dropmarker, |
michael@0 | 46 | .button-menubutton-dropmarker { |
michael@0 | 47 | -moz-appearance: none !important; |
michael@0 | 48 | border: none; |
michael@0 | 49 | background-color: transparent !important; |
michael@0 | 50 | margin: 1px; |
michael@0 | 51 | } |
michael@0 | 52 | |
michael@0 | 53 | .button-menu-dropmarker { |
michael@0 | 54 | display: none; |
michael@0 | 55 | } |
michael@0 | 56 | |
michael@0 | 57 | /* ::::: plain buttons ::::: */ |
michael@0 | 58 | |
michael@0 | 59 | button.plain { |
michael@0 | 60 | margin: 0 !important; |
michael@0 | 61 | padding: 0 !important; |
michael@0 | 62 | } |
michael@0 | 63 | |
michael@0 | 64 | /* ::::: help button ::::: */ |
michael@0 | 65 | |
michael@0 | 66 | button[dlgtype="help"] { |
michael@0 | 67 | -moz-appearance: -moz-mac-help-button; |
michael@0 | 68 | width: 20px; |
michael@0 | 69 | } |