X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fglobal%2Fnotification.css;h=6a429fae490389581fdc83c2400f27cef851e70e;hp=15ad8ca75a4b11b12567b252342d622f54c88856;hb=09a8871ce51e5f679d12b0b41fc92afa1a6bacc4;hpb=9abeb12c5fc3c4fccd5a3b2c4ea13b84c5bed66f diff --git a/LCARStrek/global/notification.css b/LCARStrek/global/notification.css index 15ad8ca7..6a429fae 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; 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,13 +58,21 @@ notification[type="critical"] .messageImage { } .messageCloseButton > .toolbarbutton-icon { - -moz-margin-start: 5px; + -moz-margin-start: 2px; } /* Popup notification */ .popup-notification-description { - max-width: 248px; + max-width: 24em; +} + +.popup-notification-learnmore-link { + margin-top: 1em !important; +} + +.popup-notification-learnmore-link:not([href]) { + display: none; } .popup-notification-button-container { @@ -66,8 +80,8 @@ notification[type="critical"] .messageImage { } .popup-notification-closebutton { - -moz-margin-end: -14px; - margin-top: -10px; + -moz-margin-end: -5px; + margin-top: -5px; } .popup-notification-closeitem {