nouislider-rtl.css 5.9 KB

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