Skip to content
Permalink
Browse files

Spinner: Remove z-index from buttons. Whatever the original purpose, …

…its not needed anymore. Fixes #8655 - Spinner buttons displayed on top of Datepicker.
  • Loading branch information...
jzaefferer committed Oct 22, 2012
1 parent 49f9b84 commit ac43938c8c1c908546cdb967dce11806bf2b4197
Showing with 1 addition and 1 deletion.
  1. +1 −1 themes/base/jquery.ui.spinner.css
@@ -10,7 +10,7 @@
*/
.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; position: absolute; cursor: default; display: block; overflow: hidden; right: 0; }
.ui-spinner-button { width: 16px; height: 50%; font-size: .5em; padding: 0; margin: 0; text-align: center; 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; }

0 comments on commit ac43938

Please sign in to comment.
You can’t perform that action at this time.