Bug 1130850 - Fix outdated plugin notification bar text color. r=Unfocused

This commit is contained in:
Drew Willcoxon 2015-03-04 14:38:41 -08:00
Родитель 06acff4d0d
Коммит b471b4d718
3 изменённых файлов: 16 добавлений и 49 удалений

Просмотреть файл

@ -4,38 +4,22 @@
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
notification,
.messageText > .text-link {
color: InfoText !important;
}
notification {
color: InfoText;
background-color: InfoBackground;
text-shadow: none;
}
notification[type="info"],
notification[type="info"] .messageText > .text-link {
color: -moz-DialogText !important;
}
notification[type="info"] {
color: -moz-DialogText;
background-color: -moz-Dialog;
}
notification[type="critical"],
notification[type="critical"] .messageText > .text-link {
color: white !important;
}
notification[type="critical"] {
color: white;
background-image: linear-gradient(rgb(212,0,0), rgb(152,0,0));
}
.messageText > .text-link {
text-decoration: underline;
}
.notification-inner {
padding-top: 1px;
padding-bottom: 1px;
@ -46,6 +30,11 @@ notification[type="critical"] {
margin-bottom: 0 !important;
}
.messageText > .text-link {
color: inherit !important;
text-decoration: underline;
}
.messageImage {
width: 16px;
height: 16px;

Просмотреть файл

@ -10,40 +10,29 @@ notification {
text-shadow: none;
}
notification[type="info"],
notification[type="info"] .messageText > .text-link {
color: rgba(255,255,255,0.95) !important;
}
notification[type="info"] {
color: rgba(255,255,255,0.95);
background: url("chrome://global/skin/notification/info-bar-background.png") #404040 repeat-x top left;
border-top: 1px solid #707070;
border-bottom: 1px solid #2a2a2a;
}
notification[type="warning"],
notification[type="warning"] .messageText > .text-link {
color: rgba(0,0,0,0.95) !important;
}
notification[type="warning"] {
color: rgba(0,0,0,0.95);
background: url("chrome://global/skin/notification/warning-bar-background.png") #ffc703 repeat-x top left;
border-top: 1px solid #ffe970;
border-bottom: 1px solid #bf8a01;
}
notification[type="critical"],
notification[type="critical"] .messageText > .text-link {
color: rgba(255,255,255,0.95) !important;
}
notification[type="critical"] {
color: rgba(255,255,255,0.95);
background: url("chrome://global/skin/notification/critical-bar-background.png") #980000 repeat-x top left;
border-top: 1px solid #e35959;
border-bottom: 1px solid #5d0000;
}
.messageText > .text-link {
color: inherit !important;
text-decoration: underline;
}

Просмотреть файл

@ -4,35 +4,24 @@
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
notification,
.messageText > .text-link {
color: InfoText !important;
}
notification {
color: InfoText;
background-color: InfoBackground;
text-shadow: none;
}
notification[type="info"],
notification[type="info"] .messageText > .text-link {
color: -moz-DialogText !important;
}
notification[type="info"] {
color: -moz-DialogText;
background-color: -moz-Dialog;
}
notification[type="critical"],
notification[type="critical"] .messageText > .text-link {
color: white !important;
}
notification[type="critical"] {
color: white;
background-image: linear-gradient(rgb(212,0,0), rgb(152,0,0));
}
.messageText > .text-link {
color: inherit !important;
text-decoration: underline;
}