diff --git a/tests/visual/spinner.html b/tests/visual/spinner.html index b3002ec0f..f119d3d95 100644 --- a/tests/visual/spinner.html +++ b/tests/visual/spinner.html @@ -14,18 +14,19 @@ $(function(){ var opts = { 's1': {}, 's2': {stepping: 0.25}, - 's3': {currency: '$'} + 's3': {currency: '$'}, + 's4': {} }; - + for (var n in opts) $("#"+n).spinner(opts[n]); - + $("button").click(function(e){ var ns = $(this).attr('id').match(/(s\d)\-(\w+)$/); if (ns != null) $('#'+ns[1]).spinner( (ns[2] == 'create') ? opts[ns[1]] : ns[2]); }); - + }); @@ -55,6 +56,7 @@ label { .ui-spinner-disabled { background: #F4F4F4; + color: #CCC; } .ui-spinner-box { @@ -67,6 +69,12 @@ label { padding: 0; } +ul.ui-spinner-box { + height: 1.2em; + margin-top: 0; + margin-bottom: 0; +} + .ui-spinner-up, .ui-spinner-down { width: 10%; @@ -139,5 +147,39 @@ label {
+
+ + + + +
+ +