From: Jörn Zaefferer Date: Mon, 22 Oct 2012 14:48:46 +0000 (-0400) Subject: Spinner: Remove z-index from buttons. Whatever the original purpose, its not needed... X-Git-Tag: 1.9.1~26 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ac43938c8c1c908546cdb967dce11806bf2b4197;p=jquery-ui.git Spinner: Remove z-index from buttons. Whatever the original purpose, its not needed anymore. Fixes #8655 - Spinner buttons displayed on top of Datepicker. --- diff --git a/themes/base/jquery.ui.spinner.css b/themes/base/jquery.ui.spinner.css index fd2a449af..95f865b92 100644 --- a/themes/base/jquery.ui.spinner.css +++ b/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; }