X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=EarlyBlue%2Fglobal%2Fnotification.css;h=2fa8003e8676fe2dcbc40d397c704490f3e308e9;hp=445176ca4bea08d32766aa733b9b2c5100f555a9;hb=ac5a507f3ed834aa7eafe1243efbf4137d0511bf;hpb=df8c26c46020f7b778d46e6ceedc93e4d4cb6202 diff --git a/EarlyBlue/global/notification.css b/EarlyBlue/global/notification.css index 445176ca..2fa8003e 100644 --- a/EarlyBlue/global/notification.css +++ b/EarlyBlue/global/notification.css @@ -3,28 +3,40 @@ notification { background-color : #FFFFCC; color: #000000; + text-shadow: none; } notification[type="info"] { background-color: #CCD0DD; + color: #000000; } notification[type="critical"] { background-color: #FFC0C0; + color: #000000; } .messageImage { width: 16px; height: 16px; - margin: 0px 1px 0px 6px; + margin-top: 0px; + margin-bottom: 0px; + -moz-margin-start: 6px; + -moz-margin-end: 1px; } -.messageText { - -moz-margin-start: 5px; +/* Default icons for notifications */ + +.messageImage[type="info"] { + list-style-image: url("chrome://global/skin/icons/information-16.png"); +} + +.messageImage[type="warning"] { + list-style-image: url("chrome://global/skin/icons/warning-16.png"); } -.messageButton { - margin: 0px 5px 0px 5px; +.messageImage[type="critical"] { + list-style-image: url("chrome://global/skin/icons/error-16.png"); } .messageCloseButton { @@ -32,3 +44,34 @@ notification[type="critical"] { padding: 4px 2px; border: none; } + +.messageCloseButton > .toolbarbutton-icon { + -moz-margin-start: 5px; +} + +/* Popup notification */ + +.popup-notification-description { + max-width: 24em; +} + +.popup-notification-learnmore-link { + margin-top: 1em !important; +} + +.popup-notification-learnmore-link:not([href]) { + display: none; +} + +.popup-notification-button-container { + margin-top: 17px; +} + +.popup-notification-closebutton { + -moz-margin-end: -5px; + margin-top: -5px; +} + +.popup-notification-closeitem { + list-style-image: url("chrome://global/skin/icons/close-button.gif"); +}