jquery.nouislider.css 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  1. /* Functional styling;
  2. * These styles are required for noUiSlider to function.
  3. * You don't need to change these rules to apply your design.
  4. */
  5. .noUi-target,
  6. .noUi-target * {
  7. -webkit-touch-callout: none;
  8. -webkit-user-select: none;
  9. -ms-touch-action: none;
  10. -ms-user-select: none;
  11. -moz-user-select: none;
  12. -moz-box-sizing: border-box;
  13. box-sizing: border-box;
  14. }
  15. .noUi-base {
  16. width: 100%;
  17. height: 100%;
  18. position: relative;
  19. }
  20. .noUi-origin {
  21. position: absolute;
  22. right: 0;
  23. top: 0;
  24. left: 0;
  25. bottom: 0;
  26. }
  27. .noUi-handle {
  28. position: relative;
  29. z-index: 1;
  30. }
  31. .noUi-stacking .noUi-handle {
  32. /* This class is applied to the lower origin when
  33. its values is > 50%. */
  34. z-index: 10;
  35. }
  36. .noUi-stacking + .noUi-origin {
  37. /* Fix stacking order in IE7, which incorrectly
  38. creates a new context for the origins. */
  39. *z-index: -1;
  40. }
  41. .noUi-state-tap .noUi-origin {
  42. -webkit-transition: left 0.3s, top 0.3s;
  43. transition: left 0.3s, top 0.3s;
  44. }
  45. .noUi-state-drag * {
  46. cursor: inherit !important;
  47. }
  48. /* Slider size and handle placement;
  49. */
  50. .noUi-horizontal {
  51. height: 18px;
  52. }
  53. .noUi-horizontal .noUi-handle {
  54. width: 34px;
  55. height: 28px;
  56. left: -17px;
  57. top: -6px;
  58. }
  59. .noUi-horizontal.noUi-extended {
  60. padding: 0 15px;
  61. }
  62. .noUi-horizontal.noUi-extended .noUi-origin {
  63. right: -15px;
  64. }
  65. .noUi-vertical {
  66. width: 18px;
  67. }
  68. .noUi-vertical .noUi-handle {
  69. width: 28px;
  70. height: 34px;
  71. left: -6px;
  72. top: -17px;
  73. }
  74. .noUi-vertical.noUi-extended {
  75. padding: 15px 0;
  76. }
  77. .noUi-vertical.noUi-extended .noUi-origin {
  78. bottom: -15px;
  79. }
  80. /* Styling;
  81. */
  82. .noUi-background {
  83. background: #FAFAFA;
  84. box-shadow: inset 0 1px 1px #f0f0f0;
  85. }
  86. .noUi-connect {
  87. background: #3FB8AF;
  88. box-shadow: inset 0 0 3px rgba(51,51,51,0.45);
  89. -webkit-transition: background 450ms;
  90. transition: background 450ms;
  91. }
  92. .noUi-origin {
  93. border-radius: 2px;
  94. }
  95. .noUi-target {
  96. border-radius: 4px;
  97. border: 1px solid #D3D3D3;
  98. box-shadow: inset 0 1px 1px #F0F0F0, 0 3px 6px -5px #BBB;
  99. }
  100. .noUi-target.noUi-connect {
  101. box-shadow: inset 0 0 3px rgba(51,51,51,0.45), 0 3px 6px -5px #BBB;
  102. }
  103. /* Handles and cursors;
  104. */
  105. .noUi-dragable {
  106. cursor: w-resize;
  107. }
  108. .noUi-vertical .noUi-dragable {
  109. cursor: n-resize;
  110. }
  111. .noUi-handle {
  112. border: 1px solid #D9D9D9;
  113. border-radius: 3px;
  114. background: #FFF;
  115. cursor: default;
  116. box-shadow: inset 0 0 1px #FFF,
  117. inset 0 1px 7px #EBEBEB,
  118. 0 3px 6px -3px #BBB;
  119. }
  120. .noUi-active {
  121. box-shadow: inset 0 0 1px #FFF,
  122. inset 0 1px 7px #DDD,
  123. 0 3px 6px -3px #BBB;
  124. }
  125. /* Handle stripes;
  126. */
  127. .noUi-handle:before,
  128. .noUi-handle:after {
  129. content: "";
  130. display: block;
  131. position: absolute;
  132. height: 14px;
  133. width: 1px;
  134. background: #E8E7E6;
  135. left: 14px;
  136. top: 6px;
  137. }
  138. .noUi-handle:after {
  139. left: 17px;
  140. }
  141. .noUi-vertical .noUi-handle:before,
  142. .noUi-vertical .noUi-handle:after {
  143. width: 14px;
  144. height: 1px;
  145. left: 6px;
  146. top: 14px;
  147. }
  148. .noUi-vertical .noUi-handle:after {
  149. top: 17px;
  150. }
  151. /* Disabled state;
  152. */
  153. [disabled].noUi-connect,
  154. [disabled] .noUi-connect {
  155. background: #B8B8B8;
  156. }
  157. [disabled] .noUi-handle {
  158. cursor: not-allowed;
  159. }