Skip to content

Commit

Permalink
Spinner: CSS improvements - remove fixed height from wrapper; temp. o…
Browse files Browse the repository at this point in the history
…verride icon style to fix off-by-one positioning
  • Loading branch information
jzaefferer committed Dec 1, 2010
1 parent 13f9310 commit 7a85cbe
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion themes/base/jquery.ui.spinner.css
Original file line number Original file line Diff line number Diff line change
@@ -1,6 +1,6 @@
/* Spinner /* 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-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-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 a.ui-spinner-button { border-top: none; border-bottom: none; border-right: none; } /* more specificity required here to overide default borders */
Expand All @@ -10,3 +10,7 @@


/* TR overrides */ /* TR overrides */
span.ui-spinner { background: none; } span.ui-spinner { background: none; }
.ui-spinner .ui-icon-triangle-1-s {
/* need to fix icons sprite */
background-position:-65px -16px;
}

0 comments on commit 7a85cbe

Please sign in to comment.