aboutsummaryrefslogtreecommitdiffstats
path: root/themes
diff options
context:
space:
mode:
authorjzaefferer <joern.zaefferer@gmail.com>2010-12-22 17:36:41 +0100
committerjzaefferer <joern.zaefferer@gmail.com>2010-12-22 17:36:41 +0100
commit2c89e9587eb0c0cc92ceca690bcbc8b3f0d907ca (patch)
treee82178995cf30b1002f296fadbd69b50a414dc53 /themes
parent727d00dec81671f26a15596acfb0df38920071a1 (diff)
parent26bc70180ac239f198334f9f040719a7ca2f5bb4 (diff)
downloadjquery-ui-2c89e9587eb0c0cc92ceca690bcbc8b3f0d907ca.tar.gz
jquery-ui-2c89e9587eb0c0cc92ceca690bcbc8b3f0d907ca.zip
Merge remote branch 'origin/spinner'
Diffstat (limited to 'themes')
-rw-r--r--themes/base/jquery.ui.base.css1
-rw-r--r--themes/base/jquery.ui.spinner.css16
2 files changed, 17 insertions, 0 deletions
diff --git a/themes/base/jquery.ui.base.css b/themes/base/jquery.ui.base.css
index 7634fb61e..62d17c7e2 100644
--- a/themes/base/jquery.ui.base.css
+++ b/themes/base/jquery.ui.base.css
@@ -18,4 +18,5 @@
@import url("jquery.ui.resizable.css");
@import url("jquery.ui.selectable.css");
@import url("jquery.ui.slider.css");
+@import url("jquery.ui.spinner.css");
@import url("jquery.ui.tabs.css");
diff --git a/themes/base/jquery.ui.spinner.css b/themes/base/jquery.ui.spinner.css
new file mode 100644
index 000000000..cd195ee47
--- /dev/null
+++ b/themes/base/jquery.ui.spinner.css
@@ -0,0 +1,16 @@
+/* Spinner
+----------------------------------*/
+.ui-spinner { position:relative; display: inline-block; overflow: hidden; padding: 0; vertical-align: middle; }
+.ui-spinner-input { border: none; background: none; padding: 0; margin: .2em 0; vertical-align: middle; margin-left: .4em; margin-right: 22px; }
+.ui-spinner-button { width: 16px; height: 50%; font-size: .5em; padding: 0; margin: 0; z-index: 100; text-align: center; vertical-align: middle; position: absolute; cursor: default; display: block; overflow: hidden; right: 0; }
+.ui-spinner a.ui-spinner-button { border-top: none; border-bottom: none; border-right: none; } /* more specificity required here to overide default borders */
+.ui-spinner .ui-icon { position: absolute; margin-top: -8px; top: 50%; left: 0; } /* vertical centre icon */
+.ui-spinner-up { top: 0; }
+.ui-spinner-down { bottom: 0; }
+
+/* TR overrides */
+span.ui-spinner { background: none; }
+.ui-spinner .ui-icon-triangle-1-s {
+ /* need to fix icons sprite */
+ background-position:-65px -16px;
+}