index.css 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275
  1. .rc-slider {
  2. position: relative;
  3. width: 100%;
  4. height: 14px;
  5. padding: 5px 0;
  6. border-radius: 6px;
  7. touch-action: none;
  8. box-sizing: border-box;
  9. -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  10. }
  11. .rc-slider * {
  12. box-sizing: border-box;
  13. -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  14. }
  15. .rc-slider-rail {
  16. position: absolute;
  17. width: 100%;
  18. height: 4px;
  19. background-color: #e9e9e9;
  20. border-radius: 6px;
  21. }
  22. .rc-slider-track,
  23. .rc-slider-tracks {
  24. position: absolute;
  25. height: 4px;
  26. background-color: #abe2fb;
  27. border-radius: 6px;
  28. }
  29. .rc-slider-track-draggable {
  30. z-index: 1;
  31. box-sizing: content-box;
  32. background-clip: content-box;
  33. border-top: 5px solid rgba(0, 0, 0, 0);
  34. border-bottom: 5px solid rgba(0, 0, 0, 0);
  35. transform: translateY(-5px);
  36. }
  37. .rc-slider-handle {
  38. position: absolute;
  39. z-index: 1;
  40. width: 14px;
  41. height: 14px;
  42. margin-top: -5px;
  43. background-color: #fff;
  44. border: solid 2px #96dbfa;
  45. border-radius: 50%;
  46. cursor: pointer;
  47. cursor: -webkit-grab;
  48. cursor: grab;
  49. opacity: 0.8;
  50. user-select: none;
  51. touch-action: pan-x;
  52. }
  53. .rc-slider-handle-dragging.rc-slider-handle-dragging.rc-slider-handle-dragging {
  54. border-color: #57c5f7;
  55. box-shadow: 0 0 0 5px #96dbfa;
  56. }
  57. .rc-slider-handle-dragging.rc-slider-handle-dragging.rc-slider-handle-dragging-delete {
  58. opacity: 0;
  59. }
  60. .rc-slider-handle:focus {
  61. outline: none;
  62. box-shadow: none;
  63. }
  64. .rc-slider-handle:focus-visible {
  65. border-color: #2db7f5;
  66. box-shadow: 0 0 0 3px #96dbfa;
  67. }
  68. .rc-slider-handle-click-focused:focus {
  69. border-color: #96dbfa;
  70. box-shadow: unset;
  71. }
  72. .rc-slider-handle:hover {
  73. border-color: #57c5f7;
  74. }
  75. .rc-slider-handle:active {
  76. border-color: #57c5f7;
  77. box-shadow: 0 0 5px #57c5f7;
  78. cursor: -webkit-grabbing;
  79. cursor: grabbing;
  80. }
  81. .rc-slider-mark {
  82. position: absolute;
  83. top: 18px;
  84. left: 0;
  85. width: 100%;
  86. font-size: 12px;
  87. }
  88. .rc-slider-mark-text {
  89. position: absolute;
  90. display: inline-block;
  91. color: #999;
  92. text-align: center;
  93. vertical-align: middle;
  94. cursor: pointer;
  95. }
  96. .rc-slider-mark-text-active {
  97. color: #666;
  98. }
  99. .rc-slider-step {
  100. position: absolute;
  101. width: 100%;
  102. height: 4px;
  103. background: transparent;
  104. }
  105. .rc-slider-dot {
  106. position: absolute;
  107. bottom: -2px;
  108. width: 8px;
  109. height: 8px;
  110. vertical-align: middle;
  111. background-color: #fff;
  112. border: 2px solid #e9e9e9;
  113. border-radius: 50%;
  114. cursor: pointer;
  115. }
  116. .rc-slider-dot-active {
  117. border-color: #96dbfa;
  118. }
  119. .rc-slider-dot-reverse {
  120. margin-right: -4px;
  121. }
  122. .rc-slider-disabled {
  123. background-color: #e9e9e9;
  124. }
  125. .rc-slider-disabled .rc-slider-track {
  126. background-color: #ccc;
  127. }
  128. .rc-slider-disabled .rc-slider-handle,
  129. .rc-slider-disabled .rc-slider-dot {
  130. background-color: #fff;
  131. border-color: #ccc;
  132. box-shadow: none;
  133. cursor: not-allowed;
  134. }
  135. .rc-slider-disabled .rc-slider-mark-text,
  136. .rc-slider-disabled .rc-slider-dot {
  137. cursor: not-allowed !important;
  138. }
  139. .rc-slider-vertical {
  140. width: 14px;
  141. height: 100%;
  142. padding: 0 5px;
  143. }
  144. .rc-slider-vertical .rc-slider-rail {
  145. width: 4px;
  146. height: 100%;
  147. }
  148. .rc-slider-vertical .rc-slider-track {
  149. bottom: 0;
  150. left: 5px;
  151. width: 4px;
  152. }
  153. .rc-slider-vertical .rc-slider-track-draggable {
  154. border-top: 0;
  155. border-right: 5px solid rgba(0, 0, 0, 0);
  156. border-bottom: 0;
  157. border-left: 5px solid rgba(0, 0, 0, 0);
  158. transform: translateX(-5px);
  159. }
  160. .rc-slider-vertical .rc-slider-handle {
  161. position: absolute;
  162. z-index: 1;
  163. margin-top: 0;
  164. margin-left: -5px;
  165. touch-action: pan-y;
  166. }
  167. .rc-slider-vertical .rc-slider-mark {
  168. top: 0;
  169. left: 18px;
  170. height: 100%;
  171. }
  172. .rc-slider-vertical .rc-slider-step {
  173. width: 4px;
  174. height: 100%;
  175. }
  176. .rc-slider-vertical .rc-slider-dot {
  177. margin-left: -2px;
  178. }
  179. .rc-slider-tooltip-zoom-down-enter,
  180. .rc-slider-tooltip-zoom-down-appear {
  181. display: block !important;
  182. animation-duration: 0.3s;
  183. animation-fill-mode: both;
  184. animation-play-state: paused;
  185. }
  186. .rc-slider-tooltip-zoom-down-leave {
  187. display: block !important;
  188. animation-duration: 0.3s;
  189. animation-fill-mode: both;
  190. animation-play-state: paused;
  191. }
  192. .rc-slider-tooltip-zoom-down-enter.rc-slider-tooltip-zoom-down-enter-active,
  193. .rc-slider-tooltip-zoom-down-appear.rc-slider-tooltip-zoom-down-appear-active {
  194. animation-name: rcSliderTooltipZoomDownIn;
  195. animation-play-state: running;
  196. }
  197. .rc-slider-tooltip-zoom-down-leave.rc-slider-tooltip-zoom-down-leave-active {
  198. animation-name: rcSliderTooltipZoomDownOut;
  199. animation-play-state: running;
  200. }
  201. .rc-slider-tooltip-zoom-down-enter,
  202. .rc-slider-tooltip-zoom-down-appear {
  203. transform: scale(0, 0);
  204. animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1);
  205. }
  206. .rc-slider-tooltip-zoom-down-leave {
  207. animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
  208. }
  209. @keyframes rcSliderTooltipZoomDownIn {
  210. 0% {
  211. transform: scale(0, 0);
  212. transform-origin: 50% 100%;
  213. opacity: 0;
  214. }
  215. 100% {
  216. transform: scale(1, 1);
  217. transform-origin: 50% 100%;
  218. }
  219. }
  220. @keyframes rcSliderTooltipZoomDownOut {
  221. 0% {
  222. transform: scale(1, 1);
  223. transform-origin: 50% 100%;
  224. }
  225. 100% {
  226. transform: scale(0, 0);
  227. transform-origin: 50% 100%;
  228. opacity: 0;
  229. }
  230. }
  231. .rc-slider-tooltip {
  232. position: absolute;
  233. top: -9999px;
  234. left: -9999px;
  235. visibility: visible;
  236. box-sizing: border-box;
  237. -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  238. }
  239. .rc-slider-tooltip * {
  240. box-sizing: border-box;
  241. -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  242. }
  243. .rc-slider-tooltip-hidden {
  244. display: none;
  245. }
  246. .rc-slider-tooltip-placement-top {
  247. padding: 4px 0 8px 0;
  248. }
  249. .rc-slider-tooltip-inner {
  250. min-width: 24px;
  251. height: 24px;
  252. padding: 6px 2px;
  253. color: #fff;
  254. font-size: 12px;
  255. line-height: 1;
  256. text-align: center;
  257. text-decoration: none;
  258. background-color: #6c6c6c;
  259. border-radius: 6px;
  260. box-shadow: 0 0 4px #d9d9d9;
  261. }
  262. .rc-slider-tooltip-arrow {
  263. position: absolute;
  264. width: 0;
  265. height: 0;
  266. border-color: transparent;
  267. border-style: solid;
  268. }
  269. .rc-slider-tooltip-placement-top .rc-slider-tooltip-arrow {
  270. bottom: 4px;
  271. left: 50%;
  272. margin-left: -4px;
  273. border-width: 4px 4px 0;
  274. border-top-color: #6c6c6c;
  275. }