| 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 outset #CCD0DD; |
| 12 | padding: 1px; |
| 13 | min-width: 1px; |
| 14 | background-color: #CCD0DD; |
| 15 | } |
| 16 | |
| 17 | panel[type="arrow"] { |
| 18 | background: transparent; |
| 19 | border: none; |
| 20 | -moz-transition: opacity 300ms; |
| 21 | } |
| 22 | |
| 23 | panel[type="arrow"][side="top"], |
| 24 | panel[type="arrow"][side="bottom"] { |
| 25 | margin-left: -25px; |
| 26 | margin-right: -25px; |
| 27 | } |
| 28 | |
| 29 | panel[type="arrow"][side="left"], |
| 30 | panel[type="arrow"][side="right"] { |
| 31 | margin-top: -25px; |
| 32 | margin-bottom: -25px; |
| 33 | } |
| 34 | |
| 35 | .panel-arrowcontent { |
| 36 | border: 1px outset #CCD0DD; |
| 37 | background-color: #CCD0DD; |
| 38 | padding: 6px; |
| 39 | margin: 3px; |
| 40 | } |
| 41 | |
| 42 | .panel-arrow[side="top"] { |
| 43 | list-style-image: url("chrome://global/skin/arrow/panelarrow-up.png"); |
| 44 | margin-left: 5px; |
| 45 | margin-right: 5px; |
| 46 | margin-bottom: -8px; |
| 47 | margin-top: -6px; |
| 48 | } |
| 49 | |
| 50 | .panel-arrow[side="bottom"] { |
| 51 | list-style-image: url("chrome://global/skin/arrow/panelarrow-down.png"); |
| 52 | margin-left: 5px; |
| 53 | margin-right: 5px; |
| 54 | margin-top: -8px; |
| 55 | margin-bottom: -6px; |
| 56 | } |
| 57 | |
| 58 | .panel-arrow[side="left"] { |
| 59 | list-style-image: url("chrome://global/skin/arrow/panelarrow-horiz.png"); |
| 60 | margin-top: 5px; |
| 61 | margin-bottom: 5px; |
| 62 | margin-right: -8px; |
| 63 | margin-left: -6px; |
| 64 | } |
| 65 | |
| 66 | .panel-arrow[side="right"] { |
| 67 | list-style-image: url("chrome://global/skin/arrow/panelarrow-horiz.png"); |
| 68 | -moz-transform: scaleX(-1); |
| 69 | margin-top: 5px; |
| 70 | margin-bottom: 5px; |
| 71 | margin-left: -8px; |
| 72 | margin-right: -6px; |
| 73 | } |
| 74 | |
| 75 | tooltip { |
| 76 | background-color : #FFFFCC; |
| 77 | border : 1px outset #FFFFCC; |
| 78 | color: #000000; |
| 79 | /* font-size: smaller; */ |
| 80 | padding: 2px; |
| 81 | max-width: 40em; |
| 82 | } |
| 83 | |
| 84 | tooltip[titletip="true"] { |
| 85 | /* See bug 32157 comment 128 |
| 86 | * margin: -2px 0px 0px -3px; |
| 87 | */ |
| 88 | max-width: none; |
| 89 | } |
| 90 | |
| 91 | /* rules for popups associated with menulists */ |
| 92 | |
| 93 | menulist > menupopup, |
| 94 | .menulist-menupopup { |
| 95 | border: 1px solid #666699; |
| 96 | min-width: 0px; |
| 97 | padding: 0px; |
| 98 | background-color: white; |
| 99 | } |
| 100 | |
| 101 | menupopup > menu > menupopup { |
| 102 | margin-top: -2px; |
| 103 | } |