diff options
author | jzaefferer <joern.zaefferer@gmail.com> | 2010-12-01 22:57:20 +0100 |
---|---|---|
committer | jzaefferer <joern.zaefferer@gmail.com> | 2010-12-01 22:57:20 +0100 |
commit | 7a85cbe5a17d8c58e3071ba50a78c2c2a66a8bb1 (patch) | |
tree | b4cf070e604fc4dd3452c53dc0144305b2f7922d /themes/base | |
parent | 13f931078343d7a1dd96090c3151a58fc647ea37 (diff) | |
download | jquery-ui-7a85cbe5a17d8c58e3071ba50a78c2c2a66a8bb1.tar.gz jquery-ui-7a85cbe5a17d8c58e3071ba50a78c2c2a66a8bb1.zip |
Spinner: CSS improvements - remove fixed height from wrapper; temp. override icon style to fix off-by-one positioning
Diffstat (limited to 'themes/base')
-rw-r--r-- | themes/base/jquery.ui.spinner.css | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/themes/base/jquery.ui.spinner.css b/themes/base/jquery.ui.spinner.css index 77be36847..cd195ee47 100644 --- a/themes/base/jquery.ui.spinner.css +++ b/themes/base/jquery.ui.spinner.css @@ -1,6 +1,6 @@ /* Spinner ----------------------------------*/ -.ui-spinner { position:relative; display: inline-block; overflow: hidden; padding: 0; vertical-align: middle; height: 1.8em; } +.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 */ @@ -10,3 +10,7 @@ /* TR overrides */ span.ui-spinner { background: none; } +.ui-spinner .ui-icon-triangle-1-s { + /* need to fix icons sprite */ + background-position:-65px -16px; +} |