toolkit/themes/osx/global/listbox.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 listbox {
     8   -moz-appearance: listbox;
     9   margin: 2px 4px;
    10   background-color: #FFFFFF;
    11   color: -moz-FieldText;
    12 }
    14 .listcell-label {
    15   margin: 0px !important;
    16   padding-bottom: 1px;
    17   -moz-padding-start: 4px;
    18   white-space: nowrap;
    19 }
    21 /* ::::: listitem ::::: */
    23 listitem {
    24   border: 1px solid transparent;
    25 }
    27 listitem[selected="true"] {
    28   background-color: -moz-mac-secondaryhighlight;
    29   color: -moz-DialogText;
    30 }
    32 listbox:focus > listitem[selected="true"] {  
    33    background-color: Highlight;
    34    color: HighlightText;
    35 }
    37 /* ::::: listheader ::::: */
    39 listheader { 
    40   -moz-appearance: treeheadercell;
    41   -moz-box-align: center;
    42   border: 2px solid;
    43   -moz-border-top-colors: ThreeDHighlight ThreeDLightShadow;
    44   -moz-border-right-colors: ThreeDDarkShadow ThreeDShadow;
    45   -moz-border-bottom-colors: ThreeDDarkShadow ThreeDShadow;
    46   -moz-border-left-colors: ThreeDHighlight ThreeDLightShadow;
    47   background-color: -moz-Dialog;
    48   color: -moz-DialogText;
    49   padding: 0 4px;
    50 }
    52 listheader[sortable="true"]:hover:active {
    53   border-top: 2px solid;
    54   border-right: 1px solid;
    55   border-bottom: 1px solid;
    56   border-left: 2px solid;
    57   -moz-border-top-colors: ThreeDShadow -moz-Dialog;
    58   -moz-border-right-colors: ThreeDShadow;
    59   -moz-border-bottom-colors: ThreeDShadow;
    60   -moz-border-left-colors: ThreeDShadow -moz-Dialog;
    61   padding-top: 1px;
    62   -moz-padding-start: 5px;
    63   -moz-padding-end: 4px;
    64 }
    66 .listheader-icon {
    67   -moz-margin-end: 2px;
    68 }
    70 .listheader-label {
    71   margin: 0px !important;
    72 }
    74 /* ::::: listcell ::::: */
    76 .listcell-label {
    77   margin: 0px !important;
    78   padding-bottom: 1px;
    79   -moz-padding-start: 4px;
    80   white-space: nowrap;
    81 }
    83 .listcell-icon {
    84   -moz-margin-end: 2px;
    85 }
    87 .listcell-label[disabled="true"] {
    88   color: GrayText;
    89 }
    91 /* ::::: listcell checkbox ::::: */
    93 .listcell-check {
    94   -moz-appearance: checkbox;
    95   -moz-box-align: center;
    96   margin: 0px 2px;
    97   border: 1px solid -moz-DialogText;
    98   min-width: 13px;
    99   min-height: 13px;
   100   background: -moz-Field no-repeat 50% 50%;
   101 }
   103 .listcell-check[checked="true"] {
   104   background-image: url("chrome://global/skin/checkbox/cbox-check.gif");
   105 }
   107 .listcell-check[disabled="true"] {
   108   border-color: GrayText;
   109 }
   111 .listcell-check[disabled="true"][checked="true"] {
   112   background-image: url("chrome://global/skin/checkbox/cbox-check-dis.gif");
   113 }

mercurial