| 1 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
| 2 | |
| 3 | notification { |
| 4 | background-color : #FFFFCC; |
| 5 | color: #000000; |
| 6 | text-shadow: none; |
| 7 | } |
| 8 | |
| 9 | notification[type="info"] { |
| 10 | background-color: #CCD0DD; |
| 11 | color: #000000; |
| 12 | } |
| 13 | |
| 14 | notification[type="critical"] { |
| 15 | background-color: #FFC0C0; |
| 16 | color: #000000; |
| 17 | } |
| 18 | |
| 19 | .messageImage { |
| 20 | width: 16px; |
| 21 | height: 16px; |
| 22 | margin-top: 0px; |
| 23 | margin-bottom: 0px; |
| 24 | -moz-margin-start: 6px; |
| 25 | -moz-margin-end: 1px; |
| 26 | } |
| 27 | |
| 28 | /* Default icons for notifications */ |
| 29 | |
| 30 | .messageImage[type="info"] { |
| 31 | list-style-image: url("chrome://global/skin/icons/information-16.png"); |
| 32 | } |
| 33 | |
| 34 | .messageImage[type="warning"] { |
| 35 | list-style-image: url("chrome://global/skin/icons/warning-16.png"); |
| 36 | } |
| 37 | |
| 38 | .messageImage[type="critical"] { |
| 39 | list-style-image: url("chrome://global/skin/icons/error-16.png"); |
| 40 | } |
| 41 | |
| 42 | .messageCloseButton { |
| 43 | list-style-image: url("chrome://global/skin/icons/close-button.gif"); |
| 44 | padding: 4px 2px; |
| 45 | border: none; |
| 46 | } |
| 47 | |
| 48 | .messageCloseButton > .toolbarbutton-icon { |
| 49 | -moz-margin-start: 5px; |
| 50 | } |
| 51 | |
| 52 | /* Popup notification */ |
| 53 | |
| 54 | .popup-notification-description { |
| 55 | max-width: 24em; |
| 56 | } |
| 57 | |
| 58 | .popup-notification-learnmore-link { |
| 59 | margin-top: 1em !important; |
| 60 | } |
| 61 | |
| 62 | .popup-notification-learnmore-link:not([href]) { |
| 63 | display: none; |
| 64 | } |
| 65 | |
| 66 | .popup-notification-button-container { |
| 67 | margin-top: 17px; |
| 68 | } |
| 69 | |
| 70 | .popup-notification-closebutton { |
| 71 | -moz-margin-end: -5px; |
| 72 | margin-top: -5px; |
| 73 | } |
| 74 | |
| 75 | .popup-notification-closeitem { |
| 76 | list-style-image: url("chrome://global/skin/icons/close-button.gif"); |
| 77 | } |