1 |
|
2 |
|
3 |
|
4 |
|
5 | .ant-slider {
|
6 | box-sizing: border-box;
|
7 | margin: 0;
|
8 | padding: 0;
|
9 | color: rgba(0, 0, 0, 0.85);
|
10 | font-size: 14px;
|
11 | font-variant: tabular-nums;
|
12 | line-height: 1.5715;
|
13 | list-style: none;
|
14 | font-feature-settings: 'tnum';
|
15 | position: relative;
|
16 | height: 12px;
|
17 | margin: 10px 6px 10px;
|
18 | padding: 4px 0;
|
19 | cursor: pointer;
|
20 | touch-action: none;
|
21 | }
|
22 | .ant-slider-vertical {
|
23 | width: 12px;
|
24 | height: 100%;
|
25 | margin: 6px 10px;
|
26 | padding: 0 4px;
|
27 | }
|
28 | .ant-slider-vertical .ant-slider-rail {
|
29 | width: 4px;
|
30 | height: 100%;
|
31 | }
|
32 | .ant-slider-vertical .ant-slider-track {
|
33 | width: 4px;
|
34 | }
|
35 | .ant-slider-vertical .ant-slider-handle {
|
36 | margin-top: -6px;
|
37 | margin-left: -5px;
|
38 | }
|
39 | .ant-slider-vertical .ant-slider-mark {
|
40 | top: 0;
|
41 | left: 12px;
|
42 | width: 18px;
|
43 | height: 100%;
|
44 | }
|
45 | .ant-slider-vertical .ant-slider-mark-text {
|
46 | left: 4px;
|
47 | white-space: nowrap;
|
48 | }
|
49 | .ant-slider-vertical .ant-slider-step {
|
50 | width: 4px;
|
51 | height: 100%;
|
52 | }
|
53 | .ant-slider-vertical .ant-slider-dot {
|
54 | top: auto;
|
55 | left: 2px;
|
56 | margin-bottom: -4px;
|
57 | }
|
58 | .ant-slider-tooltip .ant-tooltip-inner {
|
59 | min-width: unset;
|
60 | }
|
61 | .ant-slider-rtl.ant-slider-vertical .ant-slider-handle {
|
62 | margin-right: -5px;
|
63 | margin-left: 0;
|
64 | }
|
65 | .ant-slider-rtl.ant-slider-vertical .ant-slider-mark {
|
66 | right: 12px;
|
67 | left: auto;
|
68 | }
|
69 | .ant-slider-rtl.ant-slider-vertical .ant-slider-mark-text {
|
70 | right: 4px;
|
71 | left: auto;
|
72 | }
|
73 | .ant-slider-rtl.ant-slider-vertical .ant-slider-dot {
|
74 | right: 2px;
|
75 | left: auto;
|
76 | }
|
77 | .ant-slider-with-marks {
|
78 | margin-bottom: 28px;
|
79 | }
|
80 | .ant-slider-rail {
|
81 | position: absolute;
|
82 | width: 100%;
|
83 | height: 4px;
|
84 | background-color: #f5f5f5;
|
85 | border-radius: 2px;
|
86 | transition: background-color 0.3s;
|
87 | }
|
88 | .ant-slider-track {
|
89 | position: absolute;
|
90 | height: 4px;
|
91 | background-color: #91d5ff;
|
92 | border-radius: 2px;
|
93 | transition: background-color 0.3s;
|
94 | }
|
95 | .ant-slider-handle {
|
96 | position: absolute;
|
97 | width: 14px;
|
98 | height: 14px;
|
99 | margin-top: -5px;
|
100 | background-color: #fff;
|
101 | border: solid 2px #91d5ff;
|
102 | border-radius: 50%;
|
103 | box-shadow: 0;
|
104 | cursor: pointer;
|
105 | transition: border-color 0.3s, box-shadow 0.6s, transform 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
|
106 | }
|
107 | .ant-slider-handle-dragging.ant-slider-handle-dragging.ant-slider-handle-dragging {
|
108 | border-color: #46a6ff;
|
109 | box-shadow: 0 0 0 5px rgba(24, 144, 255, 0.12);
|
110 | }
|
111 | .ant-slider-handle:focus {
|
112 | border-color: #46a6ff;
|
113 | outline: none;
|
114 | box-shadow: 0 0 0 5px rgba(24, 144, 255, 0.12);
|
115 | }
|
116 | .ant-slider-handle.ant-tooltip-open {
|
117 | border-color: #1890ff;
|
118 | }
|
119 | .ant-slider:hover .ant-slider-rail {
|
120 | background-color: #e1e1e1;
|
121 | }
|
122 | .ant-slider:hover .ant-slider-track {
|
123 | background-color: #69c0ff;
|
124 | }
|
125 | .ant-slider:hover .ant-slider-handle:not(.ant-tooltip-open) {
|
126 | border-color: #69c0ff;
|
127 | }
|
128 | .ant-slider-mark {
|
129 | position: absolute;
|
130 | top: 14px;
|
131 | left: 0;
|
132 | width: 100%;
|
133 | font-size: 14px;
|
134 | }
|
135 | .ant-slider-mark-text {
|
136 | position: absolute;
|
137 | display: inline-block;
|
138 | color: rgba(0, 0, 0, 0.45);
|
139 | text-align: center;
|
140 | word-break: keep-all;
|
141 | cursor: pointer;
|
142 | -webkit-user-select: none;
|
143 | -moz-user-select: none;
|
144 | -ms-user-select: none;
|
145 | user-select: none;
|
146 | }
|
147 | .ant-slider-mark-text-active {
|
148 | color: rgba(0, 0, 0, 0.85);
|
149 | }
|
150 | .ant-slider-step {
|
151 | position: absolute;
|
152 | width: 100%;
|
153 | height: 4px;
|
154 | background: transparent;
|
155 | }
|
156 | .ant-slider-dot {
|
157 | position: absolute;
|
158 | top: -2px;
|
159 | width: 8px;
|
160 | height: 8px;
|
161 | margin-left: -4px;
|
162 | background-color: #fff;
|
163 | border: 2px solid #f0f0f0;
|
164 | border-radius: 50%;
|
165 | cursor: pointer;
|
166 | }
|
167 | .ant-slider-dot:first-child {
|
168 | margin-left: -4px;
|
169 | }
|
170 | .ant-slider-dot:last-child {
|
171 | margin-left: -4px;
|
172 | }
|
173 | .ant-slider-dot-active {
|
174 | border-color: #8cc8ff;
|
175 | }
|
176 | .ant-slider-disabled {
|
177 | cursor: not-allowed;
|
178 | }
|
179 | .ant-slider-disabled .ant-slider-track {
|
180 | background-color: rgba(0, 0, 0, 0.25) !important;
|
181 | }
|
182 | .ant-slider-disabled .ant-slider-handle,
|
183 | .ant-slider-disabled .ant-slider-dot {
|
184 | background-color: #fff;
|
185 | border-color: rgba(0, 0, 0, 0.25) !important;
|
186 | box-shadow: none;
|
187 | cursor: not-allowed;
|
188 | }
|
189 | .ant-slider-disabled .ant-slider-mark-text,
|
190 | .ant-slider-disabled .ant-slider-dot {
|
191 | cursor: not-allowed !important;
|
192 | }
|
193 | .ant-slider-rtl {
|
194 | direction: rtl;
|
195 | }
|
196 | .ant-slider-rtl .ant-slider-mark {
|
197 | right: 0;
|
198 | left: auto;
|
199 | }
|
200 | .ant-slider-rtl .ant-slider-dot {
|
201 | margin-right: -4px;
|
202 | margin-left: 0;
|
203 | }
|
204 | .ant-slider-rtl .ant-slider-dot:first-child {
|
205 | margin-right: -4px;
|
206 | margin-left: 0;
|
207 | }
|
208 | .ant-slider-rtl .ant-slider-dot:last-child {
|
209 | margin-right: -4px;
|
210 | margin-left: 0;
|
211 | }
|