keep up with trunk development
[themes.git] / LCARStrek / communicator / alerts / alert.css
index cb7b33943a2b93f12d058afae5c27ec054826ae0..a9382b2227d72eecd1729a655c96a74f37084b5c 100644 (file)
   min-height: 50px;
 }
 
-.alertImageBox {
-  margin-left: 4px;
-  margin-right: 6px;
+.alertBox[orient="horizontal"] > .alertImageBox {
+  -moz-margin-start: 4px;
+  -moz-margin-end: 6px;
   min-height: 46px;
 }
 
+.alertBox[orient="vertical"] > .alertImageBox {
+  margin-top: 6px;
+  margin-bottom: 4px;
+  min-width: 46px;
+}
+
 .alertTitle {
   font-weight: bold;
 }
 
 .alertText {
-  margin-right: 6px;
+  -moz-margin-end: 6px;
 }
 
 .alertText[clickable="true"] {
   color: #424F63;
 }
 
-.alertTextBox {
-  padding-right: 10px;
+.alertBox[orient="horizontal"] > .alertTextBox {
+  -moz-padding-start: 10px;
   padding-top: 5px;
 }
+
+.alertBox[orient="vertical"] > .alertTextBox {
+  -moz-padding-start: 5px;
+  -moz-padding-end: 5px;
+  margin-bottom: 8px;
+  -moz-box-align: center; /* also hard-coded in alert.js, see bug 311557 */
+}