1 | .rc-slider {
|
2 | position: relative;
|
3 | height: 14px;
|
4 | padding: 5px 0;
|
5 | width: 100%;
|
6 | border-radius: 6px;
|
7 | -ms-touch-action: none;
|
8 | touch-action: none;
|
9 | box-sizing: border-box;
|
10 | -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
11 | }
|
12 | .rc-slider * {
|
13 | box-sizing: border-box;
|
14 | -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
15 | }
|
16 | .rc-slider-rail {
|
17 | position: absolute;
|
18 | width: 100%;
|
19 | background-color: #e9e9e9;
|
20 | height: 4px;
|
21 | border-radius: 6px;
|
22 | }
|
23 | .rc-slider-track {
|
24 | position: absolute;
|
25 | left: 0;
|
26 | height: 4px;
|
27 | border-radius: 6px;
|
28 | background-color: #abe2fb;
|
29 | }
|
30 | .rc-slider-handle {
|
31 | position: absolute;
|
32 | margin-left: -7px;
|
33 | margin-top: -5px;
|
34 | width: 14px;
|
35 | height: 14px;
|
36 | cursor: pointer;
|
37 | cursor: -webkit-grab;
|
38 | cursor: grab;
|
39 | border-radius: 50%;
|
40 | border: solid 2px #96dbfa;
|
41 | background-color: #fff;
|
42 | -ms-touch-action: pan-x;
|
43 | touch-action: pan-x;
|
44 | }
|
45 | .rc-slider-handle:hover {
|
46 | border-color: #57c5f7;
|
47 | }
|
48 | .rc-slider-handle:active {
|
49 | border-color: #57c5f7;
|
50 | box-shadow: 0 0 5px #57c5f7;
|
51 | cursor: -webkit-grabbing;
|
52 | cursor: grabbing;
|
53 | }
|
54 | .rc-slider-handle:focus {
|
55 | border-color: #57c5f7;
|
56 | box-shadow: 0 0 0 5px #96dbfa;
|
57 | outline: none;
|
58 | }
|
59 | .rc-slider-mark {
|
60 | position: absolute;
|
61 | top: 18px;
|
62 | left: 0;
|
63 | width: 100%;
|
64 | font-size: 12px;
|
65 | }
|
66 | .rc-slider-mark-text {
|
67 | position: absolute;
|
68 | display: inline-block;
|
69 | vertical-align: middle;
|
70 | text-align: center;
|
71 | cursor: pointer;
|
72 | color: #999;
|
73 | }
|
74 | .rc-slider-mark-text-active {
|
75 | color: #666;
|
76 | }
|
77 | .rc-slider-step {
|
78 | position: absolute;
|
79 | width: 100%;
|
80 | height: 4px;
|
81 | background: transparent;
|
82 | }
|
83 | .rc-slider-dot {
|
84 | position: absolute;
|
85 | bottom: -2px;
|
86 | margin-left: -4px;
|
87 | width: 8px;
|
88 | height: 8px;
|
89 | border: 2px solid #e9e9e9;
|
90 | background-color: #fff;
|
91 | cursor: pointer;
|
92 | border-radius: 50%;
|
93 | vertical-align: middle;
|
94 | }
|
95 | .rc-slider-dot-active {
|
96 | border-color: #96dbfa;
|
97 | }
|
98 | .rc-slider-disabled {
|
99 | background-color: #e9e9e9;
|
100 | }
|
101 | .rc-slider-disabled .rc-slider-track {
|
102 | background-color: #ccc;
|
103 | }
|
104 | .rc-slider-disabled .rc-slider-handle,
|
105 | .rc-slider-disabled .rc-slider-dot {
|
106 | border-color: #ccc;
|
107 | box-shadow: none;
|
108 | background-color: #fff;
|
109 | cursor: not-allowed;
|
110 | }
|
111 | .rc-slider-disabled .rc-slider-mark-text,
|
112 | .rc-slider-disabled .rc-slider-dot {
|
113 | cursor: not-allowed !important;
|
114 | }
|
115 | .rc-slider-vertical {
|
116 | width: 14px;
|
117 | height: 100%;
|
118 | padding: 0 5px;
|
119 | }
|
120 | .rc-slider-vertical .rc-slider-rail {
|
121 | height: 100%;
|
122 | width: 4px;
|
123 | }
|
124 | .rc-slider-vertical .rc-slider-track {
|
125 | left: 5px;
|
126 | bottom: 0;
|
127 | width: 4px;
|
128 | }
|
129 | .rc-slider-vertical .rc-slider-handle {
|
130 | margin-left: -5px;
|
131 | margin-bottom: -7px;
|
132 | -ms-touch-action: pan-y;
|
133 | touch-action: pan-y;
|
134 | }
|
135 | .rc-slider-vertical .rc-slider-mark {
|
136 | top: 0;
|
137 | left: 18px;
|
138 | height: 100%;
|
139 | }
|
140 | .rc-slider-vertical .rc-slider-step {
|
141 | height: 100%;
|
142 | width: 4px;
|
143 | }
|
144 | .rc-slider-vertical .rc-slider-dot {
|
145 | left: 2px;
|
146 | margin-bottom: -4px;
|
147 | }
|
148 | .rc-slider-vertical .rc-slider-dot:first-child {
|
149 | margin-bottom: -4px;
|
150 | }
|
151 | .rc-slider-vertical .rc-slider-dot:last-child {
|
152 | margin-bottom: -4px;
|
153 | }
|
154 | .rc-slider-tooltip-zoom-down-enter,
|
155 | .rc-slider-tooltip-zoom-down-appear {
|
156 | -webkit-animation-duration: .3s;
|
157 | animation-duration: .3s;
|
158 | -webkit-animation-fill-mode: both;
|
159 | animation-fill-mode: both;
|
160 | display: block !important;
|
161 | -webkit-animation-play-state: paused;
|
162 | animation-play-state: paused;
|
163 | }
|
164 | .rc-slider-tooltip-zoom-down-leave {
|
165 | -webkit-animation-duration: .3s;
|
166 | animation-duration: .3s;
|
167 | -webkit-animation-fill-mode: both;
|
168 | animation-fill-mode: both;
|
169 | display: block !important;
|
170 | -webkit-animation-play-state: paused;
|
171 | animation-play-state: paused;
|
172 | }
|
173 | .rc-slider-tooltip-zoom-down-enter.rc-slider-tooltip-zoom-down-enter-active,
|
174 | .rc-slider-tooltip-zoom-down-appear.rc-slider-tooltip-zoom-down-appear-active {
|
175 | -webkit-animation-name: rcSliderTooltipZoomDownIn;
|
176 | animation-name: rcSliderTooltipZoomDownIn;
|
177 | -webkit-animation-play-state: running;
|
178 | animation-play-state: running;
|
179 | }
|
180 | .rc-slider-tooltip-zoom-down-leave.rc-slider-tooltip-zoom-down-leave-active {
|
181 | -webkit-animation-name: rcSliderTooltipZoomDownOut;
|
182 | animation-name: rcSliderTooltipZoomDownOut;
|
183 | -webkit-animation-play-state: running;
|
184 | animation-play-state: running;
|
185 | }
|
186 | .rc-slider-tooltip-zoom-down-enter,
|
187 | .rc-slider-tooltip-zoom-down-appear {
|
188 | -webkit-transform: scale(0, 0);
|
189 | transform: scale(0, 0);
|
190 | -webkit-animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1);
|
191 | animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1);
|
192 | }
|
193 | .rc-slider-tooltip-zoom-down-leave {
|
194 | -webkit-animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
|
195 | animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
|
196 | }
|
197 | @-webkit-keyframes rcSliderTooltipZoomDownIn {
|
198 | 0% {
|
199 | opacity: 0;
|
200 | -webkit-transform-origin: 50% 100%;
|
201 | transform-origin: 50% 100%;
|
202 | -webkit-transform: scale(0, 0);
|
203 | transform: scale(0, 0);
|
204 | }
|
205 | 100% {
|
206 | -webkit-transform-origin: 50% 100%;
|
207 | transform-origin: 50% 100%;
|
208 | -webkit-transform: scale(1, 1);
|
209 | transform: scale(1, 1);
|
210 | }
|
211 | }
|
212 | @keyframes rcSliderTooltipZoomDownIn {
|
213 | 0% {
|
214 | opacity: 0;
|
215 | -webkit-transform-origin: 50% 100%;
|
216 | transform-origin: 50% 100%;
|
217 | -webkit-transform: scale(0, 0);
|
218 | transform: scale(0, 0);
|
219 | }
|
220 | 100% {
|
221 | -webkit-transform-origin: 50% 100%;
|
222 | transform-origin: 50% 100%;
|
223 | -webkit-transform: scale(1, 1);
|
224 | transform: scale(1, 1);
|
225 | }
|
226 | }
|
227 | @-webkit-keyframes rcSliderTooltipZoomDownOut {
|
228 | 0% {
|
229 | -webkit-transform-origin: 50% 100%;
|
230 | transform-origin: 50% 100%;
|
231 | -webkit-transform: scale(1, 1);
|
232 | transform: scale(1, 1);
|
233 | }
|
234 | 100% {
|
235 | opacity: 0;
|
236 | -webkit-transform-origin: 50% 100%;
|
237 | transform-origin: 50% 100%;
|
238 | -webkit-transform: scale(0, 0);
|
239 | transform: scale(0, 0);
|
240 | }
|
241 | }
|
242 | @keyframes rcSliderTooltipZoomDownOut {
|
243 | 0% {
|
244 | -webkit-transform-origin: 50% 100%;
|
245 | transform-origin: 50% 100%;
|
246 | -webkit-transform: scale(1, 1);
|
247 | transform: scale(1, 1);
|
248 | }
|
249 | 100% {
|
250 | opacity: 0;
|
251 | -webkit-transform-origin: 50% 100%;
|
252 | transform-origin: 50% 100%;
|
253 | -webkit-transform: scale(0, 0);
|
254 | transform: scale(0, 0);
|
255 | }
|
256 | }
|
257 | .rc-slider-tooltip {
|
258 | position: absolute;
|
259 | left: -9999px;
|
260 | top: -9999px;
|
261 | visibility: visible;
|
262 | box-sizing: border-box;
|
263 | -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
264 | }
|
265 | .rc-slider-tooltip * {
|
266 | box-sizing: border-box;
|
267 | -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
268 | }
|
269 | .rc-slider-tooltip-hidden {
|
270 | display: none;
|
271 | }
|
272 | .rc-slider-tooltip-placement-top {
|
273 | padding: 4px 0 8px 0;
|
274 | }
|
275 | .rc-slider-tooltip-inner {
|
276 | padding: 6px 2px;
|
277 | min-width: 24px;
|
278 | height: 24px;
|
279 | font-size: 12px;
|
280 | line-height: 1;
|
281 | color: #fff;
|
282 | text-align: center;
|
283 | text-decoration: none;
|
284 | background-color: #6c6c6c;
|
285 | border-radius: 6px;
|
286 | box-shadow: 0 0 4px #d9d9d9;
|
287 | }
|
288 | .rc-slider-tooltip-arrow {
|
289 | position: absolute;
|
290 | width: 0;
|
291 | height: 0;
|
292 | border-color: transparent;
|
293 | border-style: solid;
|
294 | }
|
295 | .rc-slider-tooltip-placement-top .rc-slider-tooltip-arrow {
|
296 | bottom: 4px;
|
297 | left: 50%;
|
298 | margin-left: -4px;
|
299 | border-width: 4px 4px 0;
|
300 | border-top-color: #6c6c6c;
|
301 | }
|
302 |
|
303 | @font-face {
|
304 | font-family: 'rc-crop';
|
305 |
|
306 | src: url('//at.alicdn.com/t/font_b46n7aif4ci35wmi.eot');
|
307 | src: url('//at.alicdn.com/t/font_b46n7aif4ci35wmi.eot') format('embedded-opentype'), url('//at.alicdn.com/t/font_b46n7aif4ci35wmi.woff') format('woff'), url('//at.alicdn.com/t/font_b46n7aif4ci35wmi.ttf') format('truetype'), url('//at.alicdn.com/t/font_b46n7aif4ci35wmi.svg#rc-crop') format('svg');
|
308 | }
|
309 | .cropper-icon {
|
310 | display: inline-block;
|
311 | font-style: normal;
|
312 | vertical-align: baseline;
|
313 | text-align: center;
|
314 | text-transform: none;
|
315 | text-rendering: auto;
|
316 | line-height: 1;
|
317 | }
|
318 | .cropper-icon:before {
|
319 | display: block;
|
320 | font-size: 14px;
|
321 | font-family: "rc-crop" !important;
|
322 | }
|
323 | .cropper-icon-picture:before {
|
324 | content: '\e602';
|
325 | }
|
326 | .cropper-icon-upload:before {
|
327 | content: '\e617';
|
328 | }
|
329 | .cropper-icon-delete:before {
|
330 | content: '\e656';
|
331 | }
|
332 | .rc-preview {
|
333 | position: relative;
|
334 | }
|
335 | .rc-preview-wrapper {
|
336 | padding: 8px;
|
337 | border: 1px solid #d9d9d9;
|
338 | border-radius: 6px;
|
339 | vertical-align: top;
|
340 | display: inline-block;
|
341 | }
|
342 | .rc-preview-mask {
|
343 | opacity: 0;
|
344 | cursor: pointer;
|
345 | position: absolute;
|
346 | width: 100%;
|
347 | height: 100%;
|
348 | background: rgba(0, 0, 0, 0.5);
|
349 | font-size: 36px;
|
350 | color: #fff;
|
351 | text-align: center;
|
352 | transition: opacity 0.15s ease-in-out;
|
353 | }
|
354 | .rc-preview-mask:hover {
|
355 | opacity: 1;
|
356 | }
|
357 | .rc-preview-mask .anticon {
|
358 | position: absolute;
|
359 | top: 50%;
|
360 | left: 50%;
|
361 | margin-top: -18px;
|
362 | margin-left: -18px;
|
363 | }
|
364 | .rc-cropper-wrapper {
|
365 | overflow: hidden;
|
366 | background-color: #f2f2f2;
|
367 | padding-right: 200px;
|
368 | position: relative;
|
369 | }
|
370 | .rc-thumbnail-preview {
|
371 | position: absolute;
|
372 | height: 100%;
|
373 | width: 200px;
|
374 | right: 0;
|
375 | top: 0;
|
376 | padding: 0 14px;
|
377 | background-color: white;
|
378 | }
|
379 | .rc-thumbnail-preview .size-1x,
|
380 | .rc-thumbnail-preview .size-2x {
|
381 | text-align: center;
|
382 | margin: 20px 0;
|
383 | }
|
384 | .rc-thumbnail-preview canvas {
|
385 | image-rendering: optimizeQuality;
|
386 | image-rendering: -moz-crisp-edges;
|
387 | image-rendering: -webkit-optimize-contrast;
|
388 | image-rendering: optimize-contrast;
|
389 | -ms-interpolation-mode: nearest-neighbor;
|
390 | }
|
391 | .rc-thumbnail-preview canvas.radius {
|
392 | border-radius: 50%;
|
393 | }
|
394 | .rc-crop-viewer-uploader {
|
395 | width: 100%;
|
396 | height: 100%;
|
397 | border: 1px dashed #d9d9d9;
|
398 | transition: border-color 0.3s ease;
|
399 | cursor: pointer;
|
400 | border-radius: 6px;
|
401 | text-align: center;
|
402 | position: relative;
|
403 | }
|
404 | .rc-crop-viewer-uploader .rc-upload-drag-icon .anticon {
|
405 | font-size: 80px;
|
406 | margin-top: -5px;
|
407 | color: #57c5f7;
|
408 | }
|
409 | .rc-crop-viewer-uploader .rc-upload-text {
|
410 | font-size: 14px;
|
411 | }
|
412 | .rc-crop-viewer-uploader:hover {
|
413 | border-color: #57c5f7;
|
414 | }
|
415 | .rc-cropper {
|
416 | padding-bottom: 34px;
|
417 | padding-top: 40px;
|
418 | width: 100%;
|
419 | height: 100%;
|
420 | position: relative;
|
421 | }
|
422 | .rc-thumbnail {
|
423 | width: 320px;
|
424 | height: 320px;
|
425 | margin: 0 auto;
|
426 | position: relative;
|
427 | }
|
428 | .rc-thumbnail img {
|
429 | position: absolute;
|
430 | top: 0;
|
431 | }
|
432 | .rc-thumbnail .thumbnail-window {
|
433 | width: 320px;
|
434 | height: 320px;
|
435 | box-shadow: 0 0 2px rgba(45, 183, 245, 0.5);
|
436 | overflow: hidden;
|
437 | position: relative;
|
438 | }
|
439 | .rc-background {
|
440 | position: absolute;
|
441 | opacity: .3;
|
442 | cursor: move;
|
443 | }
|
444 | .rc-scaller {
|
445 | display: inline-block;
|
446 | text-align: center;
|
447 | margin-right: 200px;
|
448 | }
|
449 | .rc-scaller button {
|
450 | -webkit-appearance: none;
|
451 | -moz-appearance: none;
|
452 | appearance: none;
|
453 | background: none;
|
454 | border: none;
|
455 | cursor: pointer;
|
456 | }
|
457 | .rc-scaller button:disabled {
|
458 | opacity: .3;
|
459 | }
|
460 | .rc-scaller .anticon {
|
461 | margin: 10px 5px;
|
462 | }
|
463 | .rc-scaller .anticon.smaller {
|
464 | font-size: 12px;
|
465 | }
|
466 | .rc-scaller .anticon.larger {
|
467 | font-size: 16px;
|
468 | }
|
469 | .rc-scaller .rc-slider {
|
470 | width: 150px;
|
471 | display: inline-block;
|
472 | vertical-align: bottom;
|
473 | border-color: transparent;
|
474 | margin: 3px 5px;
|
475 | }
|
476 | .candrag-notice-wrapper {
|
477 | position: absolute;
|
478 | width: 100%;
|
479 | text-align: center;
|
480 | top: 20px;
|
481 | }
|
482 | .candrag-notice-wrapper .candrag-notice {
|
483 | background: rgba(0, 0, 0, 0.5);
|
484 | border: 1px solid #fff;
|
485 | border-color: rgba(255, 255, 255, 0.8);
|
486 | border-radius: 3px;
|
487 | box-shadow: 0 0 2px rgba(255, 255, 255, 0.5);
|
488 | color: #fff;
|
489 | display: inline-block;
|
490 | font-weight: 700;
|
491 | padding: 6px 12px;
|
492 | }
|
493 | .rc-btn {
|
494 | display: inline-block;
|
495 | margin-bottom: 0;
|
496 | font-weight: 500;
|
497 | text-align: center;
|
498 | -ms-touch-action: manipulation;
|
499 | touch-action: manipulation;
|
500 | cursor: pointer;
|
501 | background-image: none;
|
502 | border: 1px solid transparent;
|
503 | white-space: nowrap;
|
504 | line-height: 1.5;
|
505 | padding: 4px 15px;
|
506 | font-size: 12px;
|
507 | border-radius: 6px;
|
508 | -webkit-user-select: none;
|
509 | -moz-user-select: none;
|
510 | -ms-user-select: none;
|
511 | user-select: none;
|
512 | -webkit-transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
|
513 | transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
|
514 | position: relative;
|
515 | color: #666;
|
516 | background-color: #f7f7f7;
|
517 | border-color: #d9d9d9;
|
518 | }
|
519 | .rc-btn-primary {
|
520 | color: #fff;
|
521 | background-color: #2db7f5;
|
522 | border-color: #2db7f5;
|
523 | }
|
524 | .rc-btn-primary:hover {
|
525 | color: #fff;
|
526 | background-color: #57c5f7;
|
527 | border-color: #57c5f7;
|
528 | }
|
529 | .rc-btn-ghost {
|
530 | color: #666;
|
531 | background-color: transparent;
|
532 | border-color: #d9d9d9;
|
533 | }
|
534 | .rc-btn-ghost:hover {
|
535 | color: #57c5f7;
|
536 | background-color: transparent;
|
537 | border-color: #57c5f7;
|
538 | }
|