spinner.css 964 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. /*!
  2. * jQuery UI Spinner 1.12.1
  3. * http://jqueryui.com
  4. *
  5. * Copyright jQuery Foundation and other contributors
  6. * Released under the MIT license.
  7. * http://jquery.org/license
  8. *
  9. * http://api.jqueryui.com/spinner/#theming
  10. */
  11. .ui-spinner {
  12. position: relative;
  13. display: inline-block;
  14. overflow: hidden;
  15. padding: 0;
  16. vertical-align: middle;
  17. }
  18. .ui-spinner-input {
  19. border: none;
  20. background: none;
  21. color: inherit;
  22. padding: .222em 0;
  23. margin: .2em 0;
  24. vertical-align: middle;
  25. margin-left: .4em;
  26. margin-right: 2em;
  27. }
  28. .ui-spinner-button {
  29. width: 1.6em;
  30. height: 50%;
  31. font-size: .5em;
  32. padding: 0;
  33. margin: 0;
  34. text-align: center;
  35. position: absolute;
  36. cursor: default;
  37. display: block;
  38. overflow: hidden;
  39. right: 0;
  40. }
  41. /* more specificity required here to override default borders */
  42. .ui-spinner a.ui-spinner-button {
  43. border-top-style: none;
  44. border-bottom-style: none;
  45. border-right-style: none;
  46. }
  47. .ui-spinner-up {
  48. top: 0;
  49. }
  50. .ui-spinner-down {
  51. bottom: 0;
  52. }