| 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 | notification[type="info"] .messageImage { |
| 31 | list-style-image: url("chrome://global/skin/icons/information-16.png"); |
| 32 | } |
| 33 | notification[type="warning"] .messageImage { |
| 34 | list-style-image: url("chrome://global/skin/icons/warning-16.png"); |
| 35 | } |
| 36 | |
| 37 | notification[type="critical"] .messageImage { |
| 38 | list-style-image: url("chrome://global/skin/icons/error-16.png"); |
| 39 | } |
| 40 | |
| 41 | .messageCloseButton { |
| 42 | list-style-image: url("chrome://global/skin/icons/close-button.gif"); |
| 43 | padding: 4px 2px; |
| 44 | border: none; |
| 45 | } |
| 46 | |
| 47 | .messageCloseButton > .toolbarbutton-icon { |
| 48 | -moz-margin-start: 5px; |
| 49 | } |
| 50 | |
| 51 | /* Popup notification */ |
| 52 | |
| 53 | .popup-notification-description { |
| 54 | max-width: 24em; |
| 55 | } |
| 56 | |
| 57 | .popup-notification-button-container { |
| 58 | margin-top: 17px; |
| 59 | } |
| 60 | |
| 61 | .popup-notification-closebutton { |
| 62 | -moz-margin-end: -5px; |
| 63 | margin-top: -5px; |
| 64 | } |
| 65 | |
| 66 | .popup-notification-closeitem { |
| 67 | list-style-image: url("chrome://global/skin/icons/close-button.gif"); |
| 68 | } |