update versions to current nightlies
[themes.git] / EarlyBlue / global / alerts / alert.css
index e6d562c592851525ba14f76229fdffe3477f6182..cb09925ba985b1a830e6ce3dd20814e2198e665e 100644 (file)
@@ -6,79 +6,37 @@
   == Styles specific to the alerts dialog.
   ======================================================================= */
 
-@import url("chrome://global/skin/");
+@import url("chrome://global/skin/alerts/alert-common.css");
 
 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
 
-.alertBox {
-  border: 1px solid #666699;
-  background-color: #CCD0DD;
+#alertNotification {
+  -moz-appearance: none;
+  background: transparent;
 }
 
-.alertImageBox {
-  padding: 8px 0;
-  width: 64px;
-  -moz-border-end: 1px solid #9999CC;
+#alertBox {
+  border: 1px solid #666699;
+  border-radius: 1px;
+  background-color: #CCD0DD;
+  color: #000000;
 }
 
-.alertTextBox {
-  padding: 8px;
-  -moz-padding-start: 16px;
-  width: 255px;
+.alertCloseButton {
+  list-style-image: url("chrome://global/skin/icons/close-button.gif");
+  padding: 4px 2px;
 }
 
-.alertTextBox,
 .alertCloseBox {
+  /* The close button is larger on Windows and has a large
+     circle around it, so we add more space between the close
+     button and the edge of the window. */
+/*  margin-inline-end: 2px;*/
 }
 
-.alertBox[orient="horizontal"] > .alertImageBox {
-  -moz-margin-end: 8px;
-}
-
-.alertBox[orient="vertical"] > .alertImageBox {
-  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%;
-}
-
-#alertImage {
-  max-width: 48px;
-  max-height: 48px;
-  list-style-image: url("chrome://global/skin/alerts/notification-48.png");
-}
-
-#alertNotification[clickable="true"] {
-  cursor: pointer;
-}
-
-label {
-  cursor: inherit;
-}
-
-@keyframes alert-animation {
-  from {
-    opacity: 0;
-  }
-  6.25% {
-    opacity: 1;
-  }
-  93.75% {
-    opacity: 1;
-  }
-  to {
-    opacity: 0;
-  }
-}
-
-.alertCloseButton {
-  list-style-image: url("chrome://global/skin/icons/close-button.gif");
-  padding: 4px 2px;
+#alertSettings {
+  /* The close button is larger on Windows, so the
+     gear button is moved over to accomodate it and
+     keep the two buttons horizontally aligned together. */
+/*  margin-inline-end: 5px;*/
 }