Bug 1001204 - Remove hyperlink appearance for nsIAlertsService alerts when clickable. r=MattN

This commit is contained in:
Robert Utasi 2014-05-07 00:04:57 +02:00
parent a0817e7c19
commit 9de613ba22
3 changed files with 15 additions and 27 deletions

View File

@ -33,6 +33,11 @@
background-image: linear-gradient(rgba(255,255,255,0.2), rgba(255,255,255,0.1));
}
#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%;
@ -52,15 +57,6 @@ label {
cursor: inherit;
}
.alertText[clickable="true"] {
color: -moz-nativehyperlinktext;
text-decoration: underline;
}
.alertText[clickable="true"]:hover:active {
color: -moz-activehyperlinktext;
}
.alertCloseButton {
-moz-appearance: none;
height: 16px;

View File

@ -45,6 +45,11 @@
background-image: linear-gradient(rgba(255,255,255,0.2), rgba(255,255,255,0.1));
}
#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%;
@ -64,15 +69,6 @@ label {
cursor: inherit;
}
.alertText[clickable="true"] {
color: -moz-nativehyperlinktext;
text-decoration: underline;
}
.alertText[clickable="true"]:hover:active {
color: -moz-activehyperlinktext;
}
@keyframes alert-animation {
from {
opacity: 0;

View File

@ -34,6 +34,11 @@
background-image: linear-gradient(rgba(255,255,255,0.2), rgba(255,255,255,0.1));
}
#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%;
@ -53,15 +58,6 @@ label {
cursor: inherit;
}
.alertText[clickable="true"] {
color: -moz-nativehyperlinktext;
text-decoration: underline;
}
.alertText[clickable="true"]:hover:active {
color: -moz-activehyperlinktext;
}
@keyframes alert-animation {
from {
opacity: 0;