X-Git-Url: https://git-public.kairo.at/?a=blobdiff_plain;f=LCARStrek%2Fglobal%2Falerts%2Falert.css;h=12c32b863d32868a258bf8f9e0deeaadc4d04725;hb=10dad1cd7f49b23e232431ffc2e74840854e1834;hp=593fdca14e95cdc94893f9f53f9e87dc4d22faed;hpb=5462883510c31ac70246b2f0e2c840dd35dfd940;p=themes.git diff --git a/LCARStrek/global/alerts/alert.css b/LCARStrek/global/alerts/alert.css index 593fdca1..12c32b86 100644 --- a/LCARStrek/global/alerts/alert.css +++ b/LCARStrek/global/alerts/alert.css @@ -28,6 +28,10 @@ width: 255px; } +.alertTextBox, +.alertCloseBox { +} + .alertBox[orient="horizontal"] > .alertImageBox { -moz-margin-end: 8px; } @@ -36,6 +40,11 @@ margin-bottom: 8px; } +#alertNotification[clickable="true"]:hover .alertTextBox, +#alertNotification[clickable="true"]:hover .alertCloseBox { +/* background-image: linear-gradient(rgba(255,255,255,0.4), rgba(255,255,255,0.3));*/ +} + .alertTitle { font-weight: bold; font-size: 110%; @@ -44,6 +53,7 @@ #alertImage { max-width: 48px; max-height: 48px; + list-style-image: url("chrome://global/skin/alerts/notification-48.png"); } #alertNotification[clickable="true"] { @@ -54,15 +64,6 @@ label { cursor: inherit; } -.alertText[clickable="true"] { - color: blue; - text-decoration: underline; -} - -.alertText[clickable="true"]:hover:active { - color: red; -} - @keyframes alert-animation { from { opacity: 0; @@ -77,3 +78,18 @@ label { opacity: 0; } } + +.alertCloseButton { + list-style-image: url("chrome://global/skin/icons/close.png"); + -moz-image-region: rect(0, 16px, 16px, 0); + padding: 4px 2px; +} + +.alertCloseButton > .toolbarbutton-text { + display: none; +} + +.alertCloseButton:hover, +.alertCloseButton:hover:active { + -moz-image-region: rect(0, 32px, 16px, 16px); +}