nouislider.css 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306
  1. /*! nouislider - 14.1.1 - 12/15/2019 */
  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. -webkit-box-sizing: border-box;
  17. box-sizing: border-box; }
  18. .noUi-target {
  19. position: relative; }
  20. .noUi-base,
  21. .noUi-connects {
  22. width: 100%;
  23. height: 100%;
  24. position: relative;
  25. z-index: 1; }
  26. /* Wrapper for all connect elements.
  27. */
  28. .noUi-connects {
  29. overflow: hidden;
  30. z-index: 0; }
  31. .noUi-connect,
  32. .noUi-origin {
  33. will-change: transform;
  34. position: absolute;
  35. z-index: 1;
  36. top: 0;
  37. right: 0;
  38. -ms-transform-origin: 0 0;
  39. -webkit-transform-origin: 0 0;
  40. -webkit-transform-style: preserve-3d;
  41. transform-origin: 0 0;
  42. -webkit-transform-style: flat;
  43. transform-style: flat; }
  44. .noUi-connect {
  45. height: 100%;
  46. width: 100%; }
  47. .noUi-origin {
  48. height: 10%;
  49. width: 10%; }
  50. /* Offset direction
  51. */
  52. .noUi-txt-dir-rtl.noUi-horizontal .noUi-origin {
  53. left: 0;
  54. right: auto; }
  55. /* Give origins 0 height/width so they don't interfere with clicking the
  56. * connect elements.
  57. */
  58. .noUi-vertical .noUi-origin {
  59. width: 0; }
  60. .noUi-horizontal .noUi-origin {
  61. height: 0; }
  62. .noUi-handle {
  63. -webkit-backface-visibility: hidden;
  64. backface-visibility: hidden;
  65. position: absolute; }
  66. .noUi-touch-area {
  67. height: 100%;
  68. width: 100%; }
  69. .noUi-state-tap .noUi-connect,
  70. .noUi-state-tap .noUi-origin {
  71. -webkit-transition: transform 0.3s;
  72. -webkit-transition: -webkit-transform 0.3s;
  73. transition: -webkit-transform 0.3s;
  74. transition: transform 0.3s;
  75. transition: transform 0.3s, -webkit-transform 0.3s; }
  76. .noUi-state-drag * {
  77. cursor: inherit !important; }
  78. /* Slider size and handle placement;
  79. */
  80. .noUi-horizontal {
  81. height: 18px; }
  82. .noUi-horizontal .noUi-handle {
  83. width: 34px;
  84. height: 28px;
  85. right: -17px;
  86. top: -6px; }
  87. .noUi-vertical {
  88. width: 18px; }
  89. .noUi-vertical .noUi-handle {
  90. width: 28px;
  91. height: 34px;
  92. right: -6px;
  93. top: -17px; }
  94. .noUi-txt-dir-rtl.noUi-horizontal .noUi-handle {
  95. left: -17px;
  96. right: auto; }
  97. /* Styling;
  98. * Giving the connect element a border radius causes issues with using transform: scale
  99. */
  100. .noUi-target {
  101. background: #FAFAFA;
  102. border-radius: 4px;
  103. border: 1px solid #D3D3D3;
  104. -webkit-box-shadow: inset 0 1px 1px #F0F0F0, 0 3px 6px -5px #BBB;
  105. box-shadow: inset 0 1px 1px #F0F0F0, 0 3px 6px -5px #BBB; }
  106. .noUi-connects {
  107. border-radius: 3px; }
  108. .noUi-connect {
  109. background: #3FB8AF; }
  110. /* Handles and cursors;
  111. */
  112. .noUi-draggable {
  113. cursor: ew-resize; }
  114. .noUi-vertical .noUi-draggable {
  115. cursor: ns-resize; }
  116. .noUi-handle {
  117. border: 1px solid #D9D9D9;
  118. border-radius: 3px;
  119. background: #FFF;
  120. cursor: default;
  121. -webkit-box-shadow: inset 0 0 1px #FFF, inset 0 1px 7px #EBEBEB, 0 3px 6px -3px #BBB;
  122. box-shadow: inset 0 0 1px #FFF, inset 0 1px 7px #EBEBEB, 0 3px 6px -3px #BBB; }
  123. .noUi-active {
  124. -webkit-box-shadow: inset 0 0 1px #FFF, inset 0 1px 7px #DDD, 0 3px 6px -3px #BBB;
  125. box-shadow: inset 0 0 1px #FFF, inset 0 1px 7px #DDD, 0 3px 6px -3px #BBB; }
  126. /* Handle stripes;
  127. */
  128. .noUi-handle:before,
  129. .noUi-handle:after {
  130. content: "";
  131. display: block;
  132. position: absolute;
  133. height: 14px;
  134. width: 1px;
  135. background: #E8E7E6;
  136. left: 14px;
  137. top: 6px; }
  138. .noUi-handle:after {
  139. left: 17px; }
  140. .noUi-vertical .noUi-handle:before,
  141. .noUi-vertical .noUi-handle:after {
  142. width: 14px;
  143. height: 1px;
  144. left: 6px;
  145. top: 14px; }
  146. .noUi-vertical .noUi-handle:after {
  147. top: 17px; }
  148. /* Disabled state;
  149. */
  150. [disabled] .noUi-connect {
  151. background: #B8B8B8; }
  152. [disabled].noUi-target,
  153. [disabled].noUi-handle,
  154. [disabled] .noUi-handle {
  155. cursor: not-allowed; }
  156. /* Base;
  157. *
  158. */
  159. .noUi-pips,
  160. .noUi-pips * {
  161. -webkit-box-sizing: border-box;
  162. box-sizing: border-box; }
  163. .noUi-pips {
  164. position: absolute;
  165. color: #999; }
  166. /* Values;
  167. *
  168. */
  169. .noUi-value {
  170. position: absolute;
  171. white-space: nowrap;
  172. text-align: center; }
  173. .noUi-value-sub {
  174. color: #ccc;
  175. font-size: 10px; }
  176. /* Markings;
  177. *
  178. */
  179. .noUi-marker {
  180. position: absolute;
  181. background: #CCC; }
  182. .noUi-marker-sub {
  183. background: #AAA; }
  184. .noUi-marker-large {
  185. background: #AAA; }
  186. /* Horizontal layout;
  187. *
  188. */
  189. .noUi-pips-horizontal {
  190. padding: 10px 0;
  191. height: 80px;
  192. top: 100%;
  193. left: 0;
  194. width: 100%; }
  195. .noUi-value-horizontal {
  196. -webkit-transform: translate(-50%, 50%);
  197. transform: translate(-50%, 50%); }
  198. .noUi-rtl .noUi-value-horizontal {
  199. -webkit-transform: translate(50%, 50%);
  200. transform: translate(50%, 50%); }
  201. .noUi-marker-horizontal.noUi-marker {
  202. margin-left: -1px;
  203. width: 2px;
  204. height: 5px; }
  205. .noUi-marker-horizontal.noUi-marker-sub {
  206. height: 10px; }
  207. .noUi-marker-horizontal.noUi-marker-large {
  208. height: 15px; }
  209. /* Vertical layout;
  210. *
  211. */
  212. .noUi-pips-vertical {
  213. padding: 0 10px;
  214. height: 100%;
  215. top: 0;
  216. left: 100%; }
  217. .noUi-value-vertical {
  218. -webkit-transform: translate(0, -50%);
  219. transform: translate(0, -50%);
  220. padding-left: 25px; }
  221. .noUi-rtl .noUi-value-vertical {
  222. -webkit-transform: translate(0, 50%);
  223. transform: translate(0, 50%); }
  224. .noUi-marker-vertical.noUi-marker {
  225. width: 5px;
  226. height: 2px;
  227. margin-top: -1px; }
  228. .noUi-marker-vertical.noUi-marker-sub {
  229. width: 10px; }
  230. .noUi-marker-vertical.noUi-marker-large {
  231. width: 15px; }
  232. .noUi-tooltip {
  233. display: block;
  234. position: absolute;
  235. border: 1px solid #D9D9D9;
  236. border-radius: 3px;
  237. background: #fff;
  238. color: #000;
  239. padding: 5px;
  240. text-align: center;
  241. white-space: nowrap; }
  242. .noUi-horizontal .noUi-tooltip {
  243. -webkit-transform: translate(-50%, 0);
  244. transform: translate(-50%, 0);
  245. left: 50%;
  246. bottom: 120%; }
  247. .noUi-vertical .noUi-tooltip {
  248. -webkit-transform: translate(0, -50%);
  249. transform: translate(0, -50%);
  250. top: 50%;
  251. right: 120%; }
  252. /*# sourceMappingURL=nouislider.css.map */