r2523 - spinner: default width and height option now defaults to auto. added margin calculations ...

r2523 - spinner: default width and height option now defaults to auto. added margin calculations ...


Author: pazu2k@gmail.com
Date: Mon May 11 12:13:20 2009
New Revision: 2523
Modified:
branches/dev/spinner/themes/base/ui.spinner.css
Log:
spinner: default width and height option now defaults to auto. added margin
calculations to item list height.
Modified: branches/dev/spinner/themes/base/ui.spinner.css
==============================================================================
--- branches/dev/spinner/themes/base/ui.spinner.css    (original)
+++ branches/dev/spinner/themes/base/ui.spinner.css    Mon May 11 12:13:20 2009
@@ -2,8 +2,8 @@
----------------------------------*/
.ui-spinner { position:relative; display: block; overflow: hidden;
padding: 0; margin: .4em 0; }
.ui-spinner-box { width: 95%; height: 100%; float: left; border: none;
background: none; padding: 0; margin: .2em .4em; }
-.ui-spinner-up, .ui-spinner-down { width: 22px; height: 50%;
font-size: .5em; padding: 0; margin: 0; z-index: 100; text-align: center;
vertical-align: middle; position: absolute; right: 0; cursor: default; }
+.ui-spinner-up, .ui-spinner-down { width: 22px; height: 50%;
font-size: .5em; padding: 0; margin: 0; z-index: 100; text-align: center;
vertical-align: middle; position: absolute; right: 0; cursor: default; }
.ui-spinner-down { bottom: 0; border-bottom: 0; }
-.ui-spinner .ui-icon { margin: -25% auto; }
+.ui-spinner .ui-icon { margin: -50% auto; }
.ui-spinner-list, .ui-spinner-listitem { margin: 0; padding: 0; }
.ui-spinner-list { padding: .4em; }