X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=EarlyBlue%2Fglobal%2Fnotification.css;h=dad7931e710fd377a759878b335ae04af5609ec4;hp=8362963ad8d6427a23d5acb1288cb33c17e54226;hb=da3c2755e14e83b2d8b5d45315c1574200f740e8;hpb=02920d2b69ae86d5762a1874ba85d273c38bac75 diff --git a/EarlyBlue/global/notification.css b/EarlyBlue/global/notification.css index 8362963a..dad7931e 100644 --- a/EarlyBlue/global/notification.css +++ b/EarlyBlue/global/notification.css @@ -1,18 +1,24 @@ @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"] { - background-color: #CCD0DD; color: #000000; + background-color: #CCD0DD; } notification[type="critical"] { - background-color: #FFC0C0; color: #000000; + background-color: #FFC0C0; +} + +.messageText > .text-link { + color: inherit !important; + text-decoration: underline; } .messageImage { @@ -26,23 +32,56 @@ notification[type="critical"] { /* Default icons for notifications */ -notification[type="info"] .messageImage { +.messageImage[type="info"] { list-style-image: url("chrome://global/skin/icons/information-16.png"); } -notification[type="warning"] .messageImage { + +.messageImage[type="warning"] { list-style-image: url("chrome://global/skin/icons/warning-16.png"); } -notification[type="critical"] .messageImage { +.messageImage[type="critical"] { list-style-image: url("chrome://global/skin/icons/error-16.png"); } -.messageText { - -moz-margin-start: 5px; -} - .messageCloseButton { list-style-image: url("chrome://global/skin/icons/close-button.gif"); padding: 4px 2px; border: none; } + +.messageCloseButton > .toolbarbutton-icon { + -moz-margin-start: 5px; +} + +/* Popup notification */ + +.popup-notification-description { + max-width: 24em; +} + +.popup-notification-originHost:not([value]), +.popup-notification-learnmore-link:not([href]) { + display: none; +} + +.popup-notification-originHost { + 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"); +}