some LCARStrek polish: throbber should look like a normal button and fill the hieght...
[themes.git] / LCARStrek / communicator / brand.css
index 882c70ec7e2d1e8cd3943c7f69f134b893345fce..882555152e1d0f41adc663e207fa0311ab885abc 100644 (file)
 
 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
 
+#throbber-box {
+  -moz-box-orient: vertical;
+}
+
 #navigator-throbber {
   -moz-binding: url("chrome://global/content/bindings/button.xml#button-image");
   -moz-user-focus: ignore;
   -moz-box-align: center;
   -moz-box-pack: center;
-  margin: 1px 3px 1px 1px;
+  -moz-box-flex: 1;
+  margin: 0;
   border: none;
-  padding: 1px;
+  padding: 2px;
   min-width: 0;
   list-style-image: url("chrome://communicator/skin/brand/throbber-single.gif");
 }
   list-style-image: url("chrome://communicator/skin/brand/throbber-anim.gif");
 }
 
-#navigator-throbber[toolbarmode="small"] {
-  margin: 0 5px 0 0;
+window[chromehidden~="toolbar"] #navigator-throbber,
+toolbar[mode="text"] #navigator-throbber,
+toolbar[mode="icons"] #navigator-throbber,
+toolbar[iconsize="small"] #navigator-throbber {
+  padding: 1px;
   list-style-image: url("chrome://communicator/skin/brand/throbber16-single.gif");
 }
 
-#navigator-throbber[toolbarmode="small"][busy="true"] {
+window[chromehidden~="toolbar"] #navigator-throbber[busy="true"],
+toolbar[mode="text"] #navigator-throbber[busy="true"],
+toolbar[mode="icons"] #navigator-throbber[busy="true"],
+toolbar[iconsize="small"] #navigator-throbber[busy="true"] {
   list-style-image: url("chrome://communicator/skin/brand/throbber16-anim.gif");
 }