Bug 722687 - Restart message looks unstyled. r+ui-review=andreasn
--- a/mail/themes/gnomestripe/mail/messenger.css
+++ b/mail/themes/gnomestripe/mail/messenger.css
@@ -371,8 +371,23 @@ menuitem[command="cmd_goForward"][disabl
statusbarpanel {
-moz-appearance: none !important;
border: none !important;
}
treechildren::-moz-tree-cell-text {
-moz-padding-start: 5px;
}
+
+notification[value="addon-install-blocked"],
+notification[value="addon-install-failed"],
+notification[value="addon-install-complete"] {
+ background-image: url("chrome://mozapps/skin/extensions/stripes-info-negative.png"),
+ -moz-linear-gradient(rgba(255, 255, 255, 0),
+ rgba(255, 255, 255, 0.5));
+ background-repeat: repeat-x;
+}
+
+notification[value="addon-install-blocked"] .notification-inner,
+notification[value="addon-install-failed"] .notification-inner,
+notification[value="addon-install-complete"] .notification-inner {
+ border: none;
+}
--- a/mail/themes/pinstripe/mail/messenger.css
+++ b/mail/themes/pinstripe/mail/messenger.css
@@ -121,8 +121,54 @@ tabmail > tabbox {
#status-bar:-moz-lwtheme {
padding-top: 1px;
}
treechildren::-moz-tree-cell-text {
-moz-padding-start: 2px;
}
+
+notification[value="addon-install-blocked"],
+notification[value="addon-install-failed"],
+notification[value="addon-install-complete"] {
+ background-image: url("chrome://mozapps/skin/extensions/stripes-info-negative.png"),
+ -moz-linear-gradient(rgba(0, 0, 0, 0.2), rgba(255, 255, 255, 0));
+ background-repeat: repeat-x;
+ border-top: none;
+ border-bottom: none;
+}
+
+notification[value="addon-install-complete"] {
+ color: black;
+ background-color: #ADB5C3;
+}
+
+notification[value="addon-install-blocked"] .notification-inner,
+notification[value="addon-install-failed"] .notification-inner,
+notification[value="addon-install-complete"] .notification-inner {
+ border: none;
+}
+
+notification[value="addon-install-blocked"] > button,
+notification[value="addon-install-failed"] > button,
+notification[value="addon-install-complete"] > button {
+ padding: 1px 4px;
+ border-radius: 3px;
+ border: 1px solid rgba(60, 73, 97, 0.5);
+ box-shadow: inset 0 1px rgba(255, 255, 255, 0.25),
+ 0 1px rgba(255, 255, 255, 0.25);
+ background-image: -moz-linear-gradient(rgba(255, 255, 255, 0.45),
+ rgba(255, 255, 255, 0.2));
+ background-clip: padding-box;
+ color: #252F3B;
+}
+
+notification[value="addon-install-blocked"] > button:active:hover,
+notification[value="addon-install-failed"] > button:active:hover,
+notification[value="addon-install-complete"] > button:active:hover {
+ box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2),
+ 0 1px rgba(255, 255, 255, 0.25);
+ background-color: transparent;
+ background-image: -moz-linear-gradient(rgba(45, 54, 71, 0.3),
+ rgba(45, 54, 71, 0.1));
+ border-color: rgba(60, 73, 97, 0.7);
+}
--- a/mail/themes/qute/mail/messenger-aero.css
+++ b/mail/themes/qute/mail/messenger-aero.css
@@ -98,16 +98,24 @@ treechildren::-moz-tree-cell-text {
border-color: transparent;
background-color: transparent;
}
listitem[selected="true"][current="true"],
treechildren::-moz-tree-cell-text(selected, focus) {
color: -moz-DialogText;
}
+
+ notification[value="addon-install-blocked"],
+ notification[value="addon-install-failed"],
+ notification[value="addon-install-complete"] {
+ background-image: url("chrome://mozapps/skin/extensions/stripes-info-negative.png"),
+ -moz-linear-gradient(rgba(204, 217, 234, 0.5),
+ rgba(231, 237, 246, 0.8));
+ }
}
@media (-moz-windows-compositor) {
#unifinder-searchBox,
#task-addition-box {
border-top: none;
background-color: -moz-dialog;
}
--- a/mail/themes/qute/mail/messenger.css
+++ b/mail/themes/qute/mail/messenger.css
@@ -149,8 +149,23 @@ treechildren::-moz-tree-cell-text {
-moz-padding-start: 5px;
}
@media not all and (-moz-windows-default-theme) {
treechildren::-moz-tree-cell-text {
-moz-padding-start: 4px !important;
}
}
+
+notification[value="addon-install-blocked"],
+notification[value="addon-install-failed"],
+notification[value="addon-install-complete"] {
+ background-image: url("chrome://mozapps/skin/extensions/stripes-info-negative.png"),
+ -moz-linear-gradient(rgba(255, 255, 255, 0),
+ rgba(255, 255, 255, 0.5));
+ background-repeat: repeat-x;
+}
+
+notification[value="addon-install-blocked"] .notification-inner,
+notification[value="addon-install-failed"] .notification-inner,
+notification[value="addon-install-complete"] .notification-inner {
+ border: none;
+}