toolkit/themes/faststripe/global/popup.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 /* ===== popup.css ===================================================
     6   == Styles used by the XUL popup element.
     7   ======================================================================= */
     9 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
    11 /* ::::: menupopup ::::: */
    13 menupopup,
    14 popup,
    15 panel {
    16   border: 1px solid menutext;
    17   padding: 2px;
    18   min-width: 1px;
    19   background: Menu;
    20 }
    22 menupopup,
    23 /* auto complete popups don't render well as vista menus */
    24 popup:not([type="autocomplete"])
    25 {
    26   -moz-appearance: menupopup;
    27 }
    29 menupopup > menu > menupopup,
    30 popup > menu > menupopup {
    31  /* align submenus */
    32   -moz-margin-start: -3px;
    33   margin-top: -3px;
    34 }
    36 /* ::::: tooltip ::::: */
    38 tooltip {
    39   margin-top: 21px;
    40   border: 1px solid InfoText;
    41   padding: 2px 3px;
    42   max-width: 40em;
    43   background-color: InfoBackground;
    44   color: InfoText;
    45   font: message-box;
    46 }
    48 tooltip[titletip="true"] {
    49  /* See bug 32157 comment 128
    50   * margin: -2px 0px 0px -3px;
    51   */
    52   max-width: none;
    53 }
    55 /* rules for popups associated with menulists */
    57 menulist > menupopup,
    58 .menulist-menupopup {
    59   padding: 1px;
    60   min-width: 0px;
    61   background-color: -moz-Field;
    62 }

mercurial