X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fglobal%2Fnotification.css;h=97aed0e347a07758004abd5644d36b8631a66582;hp=ce6108ff69fc1dbcc08fee9b741662845b9316d3;hb=da3c2755e14e83b2d8b5d45315c1574200f740e8;hpb=3b1530c2325c37e07e8f75e72bf2d157ed606175 diff --git a/LCARStrek/global/notification.css b/LCARStrek/global/notification.css index ce6108ff..97aed0e3 100644 --- a/LCARStrek/global/notification.css +++ b/LCARStrek/global/notification.css @@ -1,20 +1,25 @@ @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); notification { - background-color : #FFCF00; color: #000000; + background-color : #FFCF00; text-shadow: none; - -moz-border-radius: 8px; + border-radius: 8px; } notification[type="info"] { - background-color: #9C9CFF; color: #000000; + background-color: #9C9CFF; } notification[type="critical"] { - background-color: #FF0000; color: #000000; + background-color: #FF0000; +} + +.messageText > .text-link { + color: inherit !important; + text-decoration: underline; } .messageImage { @@ -24,14 +29,15 @@ 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"); } @@ -52,5 +58,37 @@ notification[type="critical"] .messageImage { } .messageCloseButton > .toolbarbutton-icon { - -moz-margin-start: 5px; + -moz-margin-start: 2px; +} + +/* 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"); }