X-Git-Url: https://git-public.kairo.at/?a=blobdiff_plain;f=LCARStrek%2Fglobal%2Falerts%2Falert.css;h=876a6b1250c664017c72f763f830a26021ebb1c5;hb=5d891ecfda73ab1622e30641bee56eb01b4d0ca7;hp=44f905066177b6b242ca25e0f2f0166e409d64b4;hpb=dbd844cb7cf3813ee33ce4ef53ca93b53e03e67d;p=themes.git diff --git a/LCARStrek/global/alerts/alert.css b/LCARStrek/global/alerts/alert.css index 44f90506..876a6b12 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: #3333FF; - text-decoration: underline; -} - -.alertText[clickable="true"]:hover:active { - color: red; -} - @keyframes alert-animation { from { opacity: 0; @@ -77,3 +78,14 @@ 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:hover, +.alertCloseButton:hover:active { + -moz-image-region: rect(0, 32px, 16px, 16px); +}