toolkit/themes/osx/global/button.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.

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

mercurial