X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fglobal%2Fnotification.css;h=938d3cddbaf3acca8f1d89af08015ed9ff24cd64;hp=b4b541f133ae170ea41dc5896f86d821e4dabc93;hb=dae4507500ac2bc6547a8303851bc9b0bcae5ddf;hpb=c60d23d202dd9e6ec3e47e1c54e20329d0afb68b diff --git a/LCARStrek/global/notification.css b/LCARStrek/global/notification.css index b4b541f1..938d3cdd 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 { @@ -37,8 +42,8 @@ notification[type="critical"] { } .notification-inner { - -moz-margin-start: 8px; - -moz-margin-end: 12px; + margin-inline-start: 8px; + margin-inline-end: 12px; } .messageCloseButton { @@ -53,13 +58,26 @@ notification[type="critical"] { } .messageCloseButton > .toolbarbutton-icon { - -moz-margin-start: 2px; + margin-inline-start: 2px; } /* Popup notification */ -.popup-notification-description { - max-width: 24em; +.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 { @@ -67,10 +85,14 @@ notification[type="critical"] { } .popup-notification-closebutton { - -moz-margin-end: -5px; + margin-inline-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; +}