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.

michael@0 1 /* This Source Code Form is subject to the terms of the Mozilla Public
michael@0 2 * License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
michael@0 4
michael@0 5 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
michael@0 6
michael@0 7 /* ::::: menupopup ::::: */
michael@0 8
michael@0 9 menupopup,
michael@0 10 panel {
michael@0 11 -moz-appearance: menupopup;
michael@0 12 min-width: 1px;
michael@0 13 color: MenuText;
michael@0 14 }
michael@0 15
michael@0 16 /* ::::: arrow panel ::::: */
michael@0 17
michael@0 18 panel[type="arrow"] {
michael@0 19 transition: opacity 300ms;
michael@0 20 -moz-appearance: none;
michael@0 21 }
michael@0 22
michael@0 23 panel[type="arrow"][side="top"],
michael@0 24 panel[type="arrow"][side="bottom"] {
michael@0 25 margin-left: -16px;
michael@0 26 margin-right: -16px;
michael@0 27 }
michael@0 28
michael@0 29 panel[type="arrow"][side="left"],
michael@0 30 panel[type="arrow"][side="right"] {
michael@0 31 margin-top: -16px;
michael@0 32 margin-bottom: -16px;
michael@0 33 }
michael@0 34
michael@0 35 .panel-arrowcontent {
michael@0 36 padding: 10px;
michael@0 37 color: -moz-DialogText;
michael@0 38 background: -moz-Dialog;
michael@0 39 border: 1px solid ThreeDShadow;
michael@0 40 }
michael@0 41
michael@0 42 .panel-arrow[side="top"],
michael@0 43 .panel-arrow[side="bottom"] {
michael@0 44 list-style-image: url("chrome://global/skin/icons/panelarrow-vertical.svg");
michael@0 45 position: relative;
michael@0 46 margin-left: 6px;
michael@0 47 margin-right: 6px;
michael@0 48 }
michael@0 49
michael@0 50 .panel-arrow[side="top"] {
michael@0 51 margin-bottom: -1px;
michael@0 52 }
michael@0 53
michael@0 54 .panel-arrow[side="bottom"] {
michael@0 55 transform: scaleY(-1);
michael@0 56 margin-top: -1px;
michael@0 57 }
michael@0 58
michael@0 59 .panel-arrow[side="left"],
michael@0 60 .panel-arrow[side="right"] {
michael@0 61 list-style-image: url("chrome://global/skin/icons/panelarrow-horizontal.svg");
michael@0 62 position: relative;
michael@0 63 margin-top: 6px;
michael@0 64 margin-bottom: 6px;
michael@0 65 }
michael@0 66
michael@0 67 .panel-arrow[side="left"] {
michael@0 68 margin-right: -1px;
michael@0 69 }
michael@0 70
michael@0 71 .panel-arrow[side="right"] {
michael@0 72 transform: scaleX(-1);
michael@0 73 margin-left: -1px;
michael@0 74 }
michael@0 75
michael@0 76 /* ::::: tooltip ::::: */
michael@0 77
michael@0 78 tooltip {
michael@0 79 -moz-appearance: tooltip;
michael@0 80 margin-top: 21px;
michael@0 81 /* GTK hardcodes this to 4px */
michael@0 82 padding: 4px;
michael@0 83 max-width: 40em;
michael@0 84 color: InfoText;
michael@0 85 font: message-box;
michael@0 86 }
michael@0 87
michael@0 88 tooltip[titletip="true"] {
michael@0 89 /* See bug 32157 comment 128
michael@0 90 * margin: -2px 0px 0px -3px;
michael@0 91 */
michael@0 92 max-width: none;
michael@0 93 }
michael@0 94
michael@0 95 /* rules for popups associated with menulists */
michael@0 96
michael@0 97 menulist > menupopup,
michael@0 98 .menulist-menupopup {
michael@0 99 padding: 0px;
michael@0 100 min-width: 0px;
michael@0 101 }
michael@0 102

mercurial