nouislider.css 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278
  1. /*! nouislider - 9.1.0 - 2016-12-10 16:00:32 */
  2. /* Functional styling;
  3. * These styles are required for noUiSlider to function.
  4. * You don't need to change these rules to apply your design.
  5. */
  6. .noUi-target,
  7. .noUi-target * {
  8. -webkit-touch-callout: none;
  9. -webkit-tap-highlight-color: rgba(0,0,0,0);
  10. -webkit-user-select: none;
  11. -ms-touch-action: none;
  12. touch-action: none;
  13. -ms-user-select: none;
  14. -moz-user-select: none;
  15. user-select: none;
  16. -moz-box-sizing: border-box;
  17. box-sizing: border-box;
  18. }
  19. .noUi-target {
  20. position: relative;
  21. direction: ltr;
  22. }
  23. .noUi-base {
  24. width: 100%;
  25. height: 100%;
  26. position: relative;
  27. z-index: 1; /* Fix 401 */
  28. }
  29. .noUi-connect {
  30. position: absolute;
  31. right: 0;
  32. top: 0;
  33. left: 0;
  34. bottom: 0;
  35. }
  36. .noUi-origin {
  37. position: absolute;
  38. height: 0;
  39. width: 0;
  40. }
  41. .noUi-handle {
  42. position: relative;
  43. z-index: 1;
  44. }
  45. .noUi-state-tap .noUi-connect,
  46. .noUi-state-tap .noUi-origin {
  47. -webkit-transition: top 0.3s, right 0.3s, bottom 0.3s, left 0.3s;
  48. transition: top 0.3s, right 0.3s, bottom 0.3s, left 0.3s;
  49. }
  50. .noUi-state-drag * {
  51. cursor: inherit !important;
  52. }
  53. /* Painting and performance;
  54. * Browsers can paint handles in their own layer.
  55. */
  56. .noUi-base,
  57. .noUi-handle {
  58. -webkit-transform: translate3d(0,0,0);
  59. transform: translate3d(0,0,0);
  60. }
  61. /* Slider size and handle placement;
  62. */
  63. .noUi-horizontal {
  64. height: 18px;
  65. }
  66. .noUi-horizontal .noUi-handle {
  67. width: 34px;
  68. height: 28px;
  69. left: -17px;
  70. top: -6px;
  71. }
  72. .noUi-vertical {
  73. width: 18px;
  74. }
  75. .noUi-vertical .noUi-handle {
  76. width: 28px;
  77. height: 34px;
  78. left: -6px;
  79. top: -17px;
  80. }
  81. /* Styling;
  82. */
  83. .noUi-target {
  84. background: #FAFAFA;
  85. border-radius: 4px;
  86. border: 1px solid #D3D3D3;
  87. box-shadow: inset 0 1px 1px #F0F0F0, 0 3px 6px -5px #BBB;
  88. }
  89. .noUi-connect {
  90. background: #3FB8AF;
  91. box-shadow: inset 0 0 3px rgba(51,51,51,0.45);
  92. -webkit-transition: background 450ms;
  93. transition: background 450ms;
  94. }
  95. /* Handles and cursors;
  96. */
  97. .noUi-draggable {
  98. cursor: ew-resize;
  99. }
  100. .noUi-vertical .noUi-draggable {
  101. cursor: ns-resize;
  102. }
  103. .noUi-handle {
  104. border: 1px solid #D9D9D9;
  105. border-radius: 3px;
  106. background: #FFF;
  107. cursor: default;
  108. box-shadow: inset 0 0 1px #FFF,
  109. inset 0 1px 7px #EBEBEB,
  110. 0 3px 6px -3px #BBB;
  111. }
  112. .noUi-active {
  113. box-shadow: inset 0 0 1px #FFF,
  114. inset 0 1px 7px #DDD,
  115. 0 3px 6px -3px #BBB;
  116. }
  117. /* Handle stripes;
  118. */
  119. .noUi-handle:before,
  120. .noUi-handle:after {
  121. content: "";
  122. display: block;
  123. position: absolute;
  124. height: 14px;
  125. width: 1px;
  126. background: #E8E7E6;
  127. left: 14px;
  128. top: 6px;
  129. }
  130. .noUi-handle:after {
  131. left: 17px;
  132. }
  133. .noUi-vertical .noUi-handle:before,
  134. .noUi-vertical .noUi-handle:after {
  135. width: 14px;
  136. height: 1px;
  137. left: 6px;
  138. top: 14px;
  139. }
  140. .noUi-vertical .noUi-handle:after {
  141. top: 17px;
  142. }
  143. /* Disabled state;
  144. */
  145. [disabled] .noUi-connect {
  146. background: #B8B8B8;
  147. }
  148. [disabled].noUi-target,
  149. [disabled].noUi-handle,
  150. [disabled] .noUi-handle {
  151. cursor: not-allowed;
  152. }
  153. /* Base;
  154. *
  155. */
  156. .noUi-pips,
  157. .noUi-pips * {
  158. -moz-box-sizing: border-box;
  159. box-sizing: border-box;
  160. }
  161. .noUi-pips {
  162. position: absolute;
  163. color: #999;
  164. }
  165. /* Values;
  166. *
  167. */
  168. .noUi-value {
  169. position: absolute;
  170. text-align: center;
  171. }
  172. .noUi-value-sub {
  173. color: #ccc;
  174. font-size: 10px;
  175. }
  176. /* Markings;
  177. *
  178. */
  179. .noUi-marker {
  180. position: absolute;
  181. background: #CCC;
  182. }
  183. .noUi-marker-sub {
  184. background: #AAA;
  185. }
  186. .noUi-marker-large {
  187. background: #AAA;
  188. }
  189. /* Horizontal layout;
  190. *
  191. */
  192. .noUi-pips-horizontal {
  193. padding: 10px 0;
  194. height: 80px;
  195. top: 100%;
  196. left: 0;
  197. width: 100%;
  198. }
  199. .noUi-value-horizontal {
  200. -webkit-transform: translate3d(-50%,50%,0);
  201. transform: translate3d(-50%,50%,0);
  202. }
  203. .noUi-marker-horizontal.noUi-marker {
  204. margin-left: -1px;
  205. width: 2px;
  206. height: 5px;
  207. }
  208. .noUi-marker-horizontal.noUi-marker-sub {
  209. height: 10px;
  210. }
  211. .noUi-marker-horizontal.noUi-marker-large {
  212. height: 15px;
  213. }
  214. /* Vertical layout;
  215. *
  216. */
  217. .noUi-pips-vertical {
  218. padding: 0 10px;
  219. height: 100%;
  220. top: 0;
  221. left: 100%;
  222. }
  223. .noUi-value-vertical {
  224. -webkit-transform: translate3d(0,50%,0);
  225. transform: translate3d(0,50%,0);
  226. padding-left: 25px;
  227. }
  228. .noUi-marker-vertical.noUi-marker {
  229. width: 5px;
  230. height: 2px;
  231. margin-top: -1px;
  232. }
  233. .noUi-marker-vertical.noUi-marker-sub {
  234. width: 10px;
  235. }
  236. .noUi-marker-vertical.noUi-marker-large {
  237. width: 15px;
  238. }
  239. .noUi-tooltip {
  240. display: block;
  241. position: absolute;
  242. border: 1px solid #D9D9D9;
  243. border-radius: 3px;
  244. background: #fff;
  245. color: #000;
  246. padding: 5px;
  247. text-align: center;
  248. }
  249. .noUi-horizontal .noUi-tooltip {
  250. -webkit-transform: translate(-50%, 0);
  251. transform: translate(-50%, 0);
  252. left: 50%;
  253. bottom: 120%;
  254. }
  255. .noUi-vertical .noUi-tooltip {
  256. -webkit-transform: translate(0, -50%);
  257. transform: translate(0, -50%);
  258. top: 50%;
  259. right: 120%;
  260. }