Bug 722687 - Restart message looks unstyled. r+ui-review=andreasn
authorRichard Marti <richard.marti@gmail.com>
Tue, 21 Feb 2012 15:33:22 +0000
changeset 10894 9a19110c96ccf9990f4513be9eafcaa8af8a9877
parent 10893 a6e02542cfd768518dfa285fd415ccd055f73f7a
child 10895 d182f15b6b63386ea9c5df69abd3128765768c27
push id463
push userbugzilla@standard8.plus.com
push dateTue, 24 Apr 2012 17:34:51 +0000
treeherdercomm-beta@e53588e8f7b0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs722687
Bug 722687 - Restart message looks unstyled. r+ui-review=andreasn
mail/themes/gnomestripe/mail/messenger.css
mail/themes/pinstripe/mail/messenger.css
mail/themes/qute/mail/messenger-aero.css
mail/themes/qute/mail/messenger.css
--- 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;
+}