toolkit/themes/linux/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 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
     7 /* ::::: menupopup ::::: */
     9 menupopup,
    10 panel {
    11   -moz-appearance: menupopup;
    12   min-width: 1px;
    13   color: MenuText;
    14 }
    16 /* ::::: arrow panel ::::: */
    18 panel[type="arrow"] {
    19   transition: opacity 300ms;
    20   -moz-appearance: none;
    21 }
    23 panel[type="arrow"][side="top"],
    24 panel[type="arrow"][side="bottom"] {
    25   margin-left: -16px;
    26   margin-right: -16px;
    27 }
    29 panel[type="arrow"][side="left"],
    30 panel[type="arrow"][side="right"] {
    31   margin-top: -16px;
    32   margin-bottom: -16px;
    33 }
    35 .panel-arrowcontent {
    36   padding: 10px;
    37   color: -moz-DialogText;
    38   background: -moz-Dialog;
    39   border: 1px solid ThreeDShadow;
    40 }
    42 .panel-arrow[side="top"],
    43 .panel-arrow[side="bottom"] {
    44   list-style-image: url("chrome://global/skin/icons/panelarrow-vertical.svg");
    45   position: relative;
    46   margin-left: 6px;
    47   margin-right: 6px;
    48 }
    50 .panel-arrow[side="top"] {
    51   margin-bottom: -1px;
    52 }
    54 .panel-arrow[side="bottom"] {
    55   transform: scaleY(-1);
    56   margin-top: -1px;
    57 }
    59 .panel-arrow[side="left"],
    60 .panel-arrow[side="right"] {
    61   list-style-image: url("chrome://global/skin/icons/panelarrow-horizontal.svg");
    62   position: relative;
    63   margin-top: 6px;
    64   margin-bottom: 6px;
    65 }
    67 .panel-arrow[side="left"] {
    68   margin-right: -1px;
    69 }
    71 .panel-arrow[side="right"] {
    72   transform: scaleX(-1);
    73   margin-left: -1px;
    74 }
    76 /* ::::: tooltip ::::: */
    78 tooltip {
    79   -moz-appearance: tooltip;
    80   margin-top: 21px;
    81   /* GTK hardcodes this to 4px */
    82   padding: 4px;
    83   max-width: 40em;
    84   color: InfoText;
    85   font: message-box;
    86 }
    88 tooltip[titletip="true"] {
    89  /* See bug 32157 comment 128
    90   * margin: -2px 0px 0px -3px;
    91   */
    92   max-width: none;
    93 }
    95 /* rules for popups associated with menulists */
    97 menulist > menupopup,
    98 .menulist-menupopup {
    99   padding: 0px;
   100   min-width: 0px;
   101 }

mercurial