X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=EarlyBlue%2Fglobal%2Fnotification.css;h=cd66fedac06912298f2d034d8105485d87002742;hp=445176ca4bea08d32766aa733b9b2c5100f555a9;hb=f0a62060b4f916640a6c67be840b49b7713f1394;hpb=df8c26c46020f7b778d46e6ceedc93e4d4cb6202 diff --git a/EarlyBlue/global/notification.css b/EarlyBlue/global/notification.css index 445176ca..cd66feda 100644 --- a/EarlyBlue/global/notification.css +++ b/EarlyBlue/global/notification.css @@ -1,30 +1,47 @@ @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); notification { - background-color : #FFFFCC; color: #000000; + background-color : #FFFFCC; + text-shadow: none; } notification[type="info"] { + color: #000000; background-color: #CCD0DD; } notification[type="critical"] { + color: #000000; background-color: #FFC0C0; } +.messageText > .text-link { + color: inherit !important; + text-decoration: underline; +} + .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"); } -.messageButton { - margin: 0px 5px 0px 5px; +.messageImage[type="warning"] { + list-style-image: url("chrome://global/skin/icons/warning-16.png"); +} + +.messageImage[type="critical"] { + list-style-image: url("chrome://global/skin/icons/error-16.png"); } .messageCloseButton { @@ -32,3 +49,43 @@ notification[type="critical"] { padding: 4px 2px; border: none; } + +.messageCloseButton > .toolbarbutton-icon { + -moz-margin-start: 5px; +} + +/* Popup notification */ + +.popup-notification-body { + max-width: 25em; +} + +.popup-notification-origin:not([value]), +.popup-notification-learnmore-link:not([href]) { + display: none; +} + +.popup-notification-origin { + margin-bottom: .3em !important; +} + +.popup-notification-learnmore-link { + margin-top: .5em !important; +} + +.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"); +} + +.popup-notification-menubutton > .button-menubutton-button[disabled] { + opacity: 0.5; +}