mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-12-23 01:24:22 +00:00
65 lines
1.1 KiB
CSS
65 lines
1.1 KiB
CSS
/*!
|
|
* jQuery UI Spinner @VERSION
|
|
* http://jqueryui.com
|
|
*
|
|
* Copyright 2012 jQuery Foundation and other contributors
|
|
* Released under the MIT license.
|
|
* http://jquery.org/license
|
|
*
|
|
* http://docs.jquery.com/UI/Spinner#theming
|
|
*/
|
|
.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;
|
|
text-align: center;
|
|
position: absolute;
|
|
cursor: default;
|
|
display: block;
|
|
overflow: hidden;
|
|
right: 0;
|
|
}
|
|
/* more specificity required here to overide default borders */
|
|
.ui-spinner a.ui-spinner-button {
|
|
border-top: none;
|
|
border-bottom: none;
|
|
border-right: none;
|
|
}
|
|
/* vertical centre icon */
|
|
.ui-spinner .ui-icon {
|
|
position: absolute;
|
|
margin-top: -8px;
|
|
top: 50%;
|
|
left: 0;
|
|
}
|
|
.ui-spinner-up {
|
|
top: 0;
|
|
}
|
|
.ui-spinner-down {
|
|
bottom: 0;
|
|
}
|
|
|
|
/* TR overrides */
|
|
.ui-spinner .ui-icon-triangle-1-s {
|
|
/* need to fix icons sprite */
|
|
background-position: -65px -16px;
|
|
}
|