popup.css (2259B)
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/. */ 4 5 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); 6 7 /* ::::: menupopup ::::: */ 8 9 menupopup, 10 panel { 11 border: 1px solid transparent; 12 padding: 0px; 13 min-width: 1px; 14 color: #bfbbb6; 15 } 16 17 menupopup { 18 -moz-appearance: none; 19 -moz-border-top-colors : rgb(75,75,75); 20 -moz-border-left-colors : rgb(75,75,75); 21 -moz-border-right-colors : rgb(23,23,23); 22 -moz-border-bottom-colors: rgb(23,23,23); 23 background: #181411; 24 } 25 26 /* ::::: arrow panel ::::: */ 27 28 panel[type="arrow"] { 29 -moz-appearance: none; 30 } 31 32 panel[type="arrow"][side="top"], 33 panel[type="arrow"][side="bottom"] { 34 margin-left: -16px; 35 margin-right: -16px; 36 } 37 38 panel[type="arrow"][side="left"], 39 panel[type="arrow"][side="right"] { 40 margin-top: -16px; 41 margin-bottom: -16px; 42 } 43 44 .panel-arrowcontent { 45 padding: 10px; 46 color: #bfbbb6; 47 background: #181411; 48 border: 1px solid rgb(75,75,75); 49 } 50 51 .panel-arrow[side="top"], 52 .panel-arrow[side="bottom"] { 53 list-style-image: url("chrome://global/skin/arrow/panelarrow-vertical-themed.svg"); 54 position: relative; 55 margin-left: 6px; 56 margin-right: 6px; 57 } 58 59 .panel-arrow[side="top"] { 60 margin-bottom: -1px; 61 } 62 63 .panel-arrow[side="bottom"] { 64 transform: scaleY(-1); 65 margin-top: -1px; 66 } 67 68 .panel-arrow[side="left"], 69 .panel-arrow[side="right"] { 70 list-style-image: url("chrome://global/skin/arrow/panelarrow-horizontal-themed.svg"); 71 position: relative; 72 margin-top: 6px; 73 margin-bottom: 6px; 74 } 75 76 .panel-arrow[side="left"] { 77 margin-right: -1px; 78 } 79 80 .panel-arrow[side="right"] { 81 transform: scaleX(-1); 82 margin-left: -1px; 83 } 84 85 /* ::::: tooltip ::::: */ 86 87 tooltip { 88 -moz-appearance: none; 89 margin-top: 21px; 90 border: 1px solid rgb(64,64,64); 91 /* GTK hardcodes this to 4px */ 92 padding: 4px; 93 max-width: 40em; 94 background-color: #181411; 95 color: #bfbbb6; 96 font: message-box; 97 } 98 99 tooltip[titletip="true"] { 100 /* See bug 32157 comment 128 101 * margin: -2px 0px 0px -3px; 102 */ 103 max-width: none; 104 } 105 106 /* rules for popups associated with menulists */ 107 108 menulist > menupopup { 109 padding: 0px; 110 min-width: 0px; 111 }