toolkit/themes/osx/global/toolbarbutton.css

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

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 toolbarbutton {
michael@0 8 -moz-box-align: center;
michael@0 9 -moz-box-pack: center;
michael@0 10 margin: 0px 2px 0px 2px;
michael@0 11 padding: 3px 1px 3px 1px;
michael@0 12 border-right: 1px solid transparent;
michael@0 13 border-left: 1px solid transparent;
michael@0 14 background-color: transparent;
michael@0 15 text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
michael@0 16 }
michael@0 17
michael@0 18 toolbarbutton[open="true"],
michael@0 19 toolbarbutton:not([disabled="true"]):active:hover {
michael@0 20 text-shadow: none;
michael@0 21 }
michael@0 22
michael@0 23 .toolbarbutton-text {
michael@0 24 margin: 0px;
michael@0 25 padding: 0px;
michael@0 26 text-align: center;
michael@0 27 vertical-align: middle;
michael@0 28 }
michael@0 29
michael@0 30 toolbarbutton[disabled="true"],
michael@0 31 toolbarbutton[disabled="true"]:hover,
michael@0 32 toolbarbutton[disabled="true"]:hover:active,
michael@0 33 toolbarbutton[disabled="true"][open="true"] {
michael@0 34 color: -moz-mac-disabledtoolbartext !important;
michael@0 35 }
michael@0 36
michael@0 37 /* ::::: toolbarbutton menu ::::: */
michael@0 38
michael@0 39 .toolbarbutton-menu-dropmarker {
michael@0 40 -moz-appearance: none !important;
michael@0 41 border: none !important;
michael@0 42 background-color: transparent !important;
michael@0 43 list-style-image: url("chrome://global/skin/arrow/arrow-dn.png");
michael@0 44 padding: 0;
michael@0 45 -moz-padding-start: 2px;
michael@0 46 width: auto;
michael@0 47 }
michael@0 48
michael@0 49 .toolbarbutton-menu-dropmarker[disabled="true"] {
michael@0 50 list-style-image: url("chrome://global/skin/arrow/arrow-dn-dis.png");
michael@0 51 padding: 0;
michael@0 52 -moz-padding-start: 2px;
michael@0 53 }
michael@0 54
michael@0 55 /* ::::: toolbarbutton menu-button ::::: */
michael@0 56
michael@0 57 toolbarbutton[type="menu-button"] {
michael@0 58 -moz-box-align: stretch;
michael@0 59 -moz-box-orient: horizontal !important;
michael@0 60 }
michael@0 61
michael@0 62 toolbarbutton[type="menu-button"],
michael@0 63 toolbarbutton[type="menu-button"]:hover,
michael@0 64 toolbarbutton[type="menu-button"]:hover:active,
michael@0 65 toolbarbutton[type="menu-button"][open="true"],
michael@0 66 toolbarbutton[type="menu-button"][disabled="true"],
michael@0 67 toolbarbutton[type="menu-button"][disabled="true"]:hover,
michael@0 68 toolbarbutton[type="menu-button"][disabled="true"]:hover:active {
michael@0 69 background-color: transparent;
michael@0 70 }
michael@0 71
michael@0 72 .toolbarbutton-menubutton-button {
michael@0 73 -moz-box-align: center;
michael@0 74 -moz-box-pack: center;
michael@0 75 -moz-box-orient: vertical;
michael@0 76 text-shadow: inherit;
michael@0 77 }
michael@0 78
michael@0 79 /* .......... dropmarker .......... */
michael@0 80
michael@0 81 .toolbarbutton-menubutton-dropmarker {
michael@0 82 -moz-appearance: none;
michael@0 83 border: none;
michael@0 84 background-color: transparent !important;
michael@0 85 list-style-image: url("chrome://global/skin/arrow/arrow-dn.png");
michael@0 86 width: auto;
michael@0 87 padding: 0 5px;
michael@0 88 }
michael@0 89
michael@0 90 .toolbarbutton-menubutton-dropmarker[disabled="true"] {
michael@0 91 list-style-image: url("chrome://global/skin/arrow/arrow-dn-dis.png");
michael@0 92 }
michael@0 93
michael@0 94 toolbarbutton.tabbable {
michael@0 95 -moz-user-focus: normal !important;
michael@0 96 }

mercurial