X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fglobal%2Fnotification.css;h=938d3cddbaf3acca8f1d89af08015ed9ff24cd64;hp=0eb17ae2a9d01bfd5e06785a1e29ea0b7f06f38d;hb=1ad21b1f6b999bccea1c6d768ebbd4bc900479d0;hpb=e1313d59a1c9110ddef3376207066ed526037f15 diff --git a/LCARStrek/global/notification.css b/LCARStrek/global/notification.css index 0eb17ae2..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 { @@ -24,20 +29,21 @@ 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"); } .notification-inner { - -moz-margin-start: 8px; - -moz-margin-end: 12px; + margin-inline-start: 8px; + margin-inline-end: 12px; } .messageCloseButton { @@ -52,19 +58,41 @@ notification[type="critical"] .messageImage { } .messageCloseButton > .toolbarbutton-icon { - -moz-margin-start: 5px; + margin-inline-start: 2px; } /* Popup notification */ -.popup-notification-description { - max-width: 248px; +.popup-notification-body { + max-width: 25em; } -.popup-notification-menubutton { +.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 { + 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; +}