toolkit/themes/osx/global/menulist.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");
     6 @namespace html url("http://www.w3.org/1999/xhtml");
     8 menulist {
     9   -moz-appearance: menulist;
    10   margin: 5px 2px 3px;
    11   min-height: 20px !important;
    12   color: -moz-DialogText;
    13   text-shadow: none;
    14 }
    16 .menulist-label-box {
    17   -moz-appearance: menulist-text;
    18   -moz-box-align: center;
    19   -moz-box-pack: center;
    20   margin-bottom: 1px;
    21 }
    23 .menulist-label {
    24   margin: 1px 3px !important;
    25 }
    27 .menulist-description {
    28   font-style: italic;
    29   color: GrayText;
    30   -moz-margin-start: 1ex !important;
    31 }
    33 /* ..... dropmarker ..... */
    35 .menulist-dropmarker {
    36   display: none;
    37 }
    39 /* ..... disabled state ..... */
    41 menulist[disabled="true"] {
    42   color: GrayText;
    43 }
    45 menulist[disabled="true"] > .menulist-dropmarker {
    46   -moz-padding-start: 7px !important;
    47 }
    49 /* ::::: editable menulists ::::: */
    51 menulist[editable="true"] {
    52   -moz-appearance: menulist-textfield;
    53   margin: 4px 2px;
    54 }
    56 html|*.menulist-editable-input {
    57   margin: 0px !important;
    58   border: none !important;
    59   padding: 0px !important;
    60   background: inherit;
    61   font: inherit;
    62 }
    64 /* ::::: compact menulists ::::: */
    66 .menulist-compact {
    67   -moz-box-align: center;
    68   -moz-box-pack: center;
    69   margin: 0;
    70   border: 2px solid;
    71   -moz-border-top-colors: ThreeDLightShadow ThreeDHighlight;
    72   -moz-border-right-colors: ThreeDDarkShadow ThreeDShadow;
    73   -moz-border-bottom-colors: ThreeDDarkShadow ThreeDShadow;
    74   -moz-border-left-colors: ThreeDLightShadow ThreeDHighlight;
    75   background-color: -moz-Dialog;
    76 }
    78 .menulist-compact > .menulist-label {
    79   margin: 0 3px !important;
    80   text-align: end;
    81 }  
    83 .menulist-compact > .menulist-dropmarker {
    84   -moz-margin-start: 2px;
    85   border: none;
    86   padding: 0 !important;
    87   background: transparent;
    88 }
    90 .menulist-compact[open="true"] {
    91   -moz-border-top-colors: ThreeDDarkShadow ThreeDShadow;
    92   -moz-border-right-colors: ThreeDDarkShadow ThreeDShadow;
    93   -moz-border-bottom-colors: ThreeDDarkShadow ThreeDShadow;
    94   -moz-border-left-colors: ThreeDDarkShadow ThreeDShadow;
    95   background-color: ThreeDShadow;
    96 }

mercurial