| 1 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
| 2 | |
| 3 | notification { |
| 4 | background-color : #FFFFCC; |
| 5 | color: #000000; |
| 6 | } |
| 7 | |
| 8 | notification[type="info"] { |
| 9 | background-color: #CCD0DD; |
| 10 | color: #000000; |
| 11 | } |
| 12 | |
| 13 | notification[type="critical"] { |
| 14 | background-color: #FFC0C0; |
| 15 | color: #000000; |
| 16 | } |
| 17 | |
| 18 | .messageImage { |
| 19 | width: 16px; |
| 20 | height: 16px; |
| 21 | margin-top: 0px; |
| 22 | margin-bottom: 0px; |
| 23 | -moz-margin-start: 6px; |
| 24 | -moz-margin-end: 1px; |
| 25 | } |
| 26 | |
| 27 | /* Default icons for notifications */ |
| 28 | |
| 29 | notification[type="info"] .messageImage { |
| 30 | list-style-image: url("chrome://global/skin/icons/information-16.png"); |
| 31 | } |
| 32 | notification[type="warning"] .messageImage { |
| 33 | list-style-image: url("chrome://global/skin/icons/warning-16.png"); |
| 34 | } |
| 35 | |
| 36 | notification[type="critical"] .messageImage { |
| 37 | list-style-image: url("chrome://global/skin/icons/error-16.png"); |
| 38 | } |
| 39 | |
| 40 | .messageCloseButton { |
| 41 | list-style-image: url("chrome://global/skin/icons/close-button.gif"); |
| 42 | padding: 4px 2px; |
| 43 | border: none; |
| 44 | } |
| 45 | |
| 46 | .messageCloseButton > .toolbarbutton-icon { |
| 47 | -moz-margin-start: 5px; |
| 48 | } |