UNPKG

12.4 kBCSSView Raw
1/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
2/* stylelint-disable no-duplicate-selectors */
3/* stylelint-disable */
4/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
5@-webkit-keyframes antCheckboxEffect {
6 0% {
7 transform: scale(1);
8 opacity: 0.5;
9 }
10 100% {
11 transform: scale(1.6);
12 opacity: 0;
13 }
14}
15@keyframes antCheckboxEffect {
16 0% {
17 transform: scale(1);
18 opacity: 0.5;
19 }
20 100% {
21 transform: scale(1.6);
22 opacity: 0;
23 }
24}
25.ant-tree-treenode-leaf-last .ant-tree-switcher-leaf-line::before {
26 top: auto !important;
27 bottom: auto !important;
28 height: 14px !important;
29}
30.ant-tree.ant-tree-directory .ant-tree-treenode {
31 position: relative;
32}
33.ant-tree.ant-tree-directory .ant-tree-treenode::before {
34 position: absolute;
35 top: 0;
36 right: 0;
37 bottom: 4px;
38 left: 0;
39 transition: background-color 0.3s;
40 content: '';
41 pointer-events: none;
42}
43.ant-tree.ant-tree-directory .ant-tree-treenode:hover::before {
44 background: #f5f5f5;
45}
46.ant-tree.ant-tree-directory .ant-tree-treenode > * {
47 z-index: 1;
48}
49.ant-tree.ant-tree-directory .ant-tree-treenode .ant-tree-switcher {
50 transition: color 0.3s;
51}
52.ant-tree.ant-tree-directory .ant-tree-treenode .ant-tree-node-content-wrapper {
53 border-radius: 0;
54 -webkit-user-select: none;
55 -moz-user-select: none;
56 -ms-user-select: none;
57 user-select: none;
58}
59.ant-tree.ant-tree-directory .ant-tree-treenode .ant-tree-node-content-wrapper:hover {
60 background: transparent;
61}
62.ant-tree.ant-tree-directory .ant-tree-treenode .ant-tree-node-content-wrapper.ant-tree-node-selected {
63 color: #fff;
64 background: transparent;
65}
66.ant-tree.ant-tree-directory .ant-tree-treenode-selected:hover::before,
67.ant-tree.ant-tree-directory .ant-tree-treenode-selected::before {
68 background: #1890ff;
69}
70.ant-tree.ant-tree-directory .ant-tree-treenode-selected .ant-tree-switcher {
71 color: #fff;
72}
73.ant-tree.ant-tree-directory .ant-tree-treenode-selected .ant-tree-node-content-wrapper {
74 color: #fff;
75 background: transparent;
76}
77.ant-tree-checkbox {
78 box-sizing: border-box;
79 margin: 0;
80 padding: 0;
81 color: rgba(0, 0, 0, 0.85);
82 font-size: 14px;
83 font-variant: tabular-nums;
84 line-height: 1.5715;
85 list-style: none;
86 font-feature-settings: 'tnum';
87 position: relative;
88 top: 0.2em;
89 line-height: 1;
90 white-space: nowrap;
91 outline: none;
92 cursor: pointer;
93}
94.ant-tree-checkbox-wrapper:hover .ant-tree-checkbox-inner,
95.ant-tree-checkbox:hover .ant-tree-checkbox-inner,
96.ant-tree-checkbox-input:focus + .ant-tree-checkbox-inner {
97 border-color: #1890ff;
98}
99.ant-tree-checkbox-checked::after {
100 position: absolute;
101 top: 0;
102 left: 0;
103 width: 100%;
104 height: 100%;
105 border: 1px solid #1890ff;
106 border-radius: 2px;
107 visibility: hidden;
108 -webkit-animation: antCheckboxEffect 0.36s ease-in-out;
109 animation: antCheckboxEffect 0.36s ease-in-out;
110 -webkit-animation-fill-mode: backwards;
111 animation-fill-mode: backwards;
112 content: '';
113}
114.ant-tree-checkbox:hover::after,
115.ant-tree-checkbox-wrapper:hover .ant-tree-checkbox::after {
116 visibility: visible;
117}
118.ant-tree-checkbox-inner {
119 position: relative;
120 top: 0;
121 left: 0;
122 display: block;
123 width: 16px;
124 height: 16px;
125 direction: ltr;
126 background-color: #fff;
127 border: 1px solid #d9d9d9;
128 border-radius: 2px;
129 border-collapse: separate;
130 transition: all 0.3s;
131}
132.ant-tree-checkbox-inner::after {
133 position: absolute;
134 top: 50%;
135 left: 22%;
136 display: table;
137 width: 5.71428571px;
138 height: 9.14285714px;
139 border: 2px solid #fff;
140 border-top: 0;
141 border-left: 0;
142 transform: rotate(45deg) scale(0) translate(-50%, -50%);
143 opacity: 0;
144 transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6), opacity 0.1s;
145 content: ' ';
146}
147.ant-tree-checkbox-input {
148 position: absolute;
149 top: 0;
150 right: 0;
151 bottom: 0;
152 left: 0;
153 z-index: 1;
154 width: 100%;
155 height: 100%;
156 cursor: pointer;
157 opacity: 0;
158}
159.ant-tree-checkbox-checked .ant-tree-checkbox-inner::after {
160 position: absolute;
161 display: table;
162 border: 2px solid #fff;
163 border-top: 0;
164 border-left: 0;
165 transform: rotate(45deg) scale(1) translate(-50%, -50%);
166 opacity: 1;
167 transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s;
168 content: ' ';
169}
170.ant-tree-checkbox-checked .ant-tree-checkbox-inner {
171 background-color: #1890ff;
172 border-color: #1890ff;
173}
174.ant-tree-checkbox-disabled {
175 cursor: not-allowed;
176}
177.ant-tree-checkbox-disabled.ant-tree-checkbox-checked .ant-tree-checkbox-inner::after {
178 border-color: rgba(0, 0, 0, 0.25);
179 -webkit-animation-name: none;
180 animation-name: none;
181}
182.ant-tree-checkbox-disabled .ant-tree-checkbox-input {
183 cursor: not-allowed;
184}
185.ant-tree-checkbox-disabled .ant-tree-checkbox-inner {
186 background-color: #f5f5f5;
187 border-color: #d9d9d9 !important;
188}
189.ant-tree-checkbox-disabled .ant-tree-checkbox-inner::after {
190 border-color: #f5f5f5;
191 border-collapse: separate;
192 -webkit-animation-name: none;
193 animation-name: none;
194}
195.ant-tree-checkbox-disabled + span {
196 color: rgba(0, 0, 0, 0.25);
197 cursor: not-allowed;
198}
199.ant-tree-checkbox-disabled:hover::after,
200.ant-tree-checkbox-wrapper:hover .ant-tree-checkbox-disabled::after {
201 visibility: hidden;
202}
203.ant-tree-checkbox-wrapper {
204 box-sizing: border-box;
205 margin: 0;
206 padding: 0;
207 color: rgba(0, 0, 0, 0.85);
208 font-size: 14px;
209 font-variant: tabular-nums;
210 line-height: 1.5715;
211 list-style: none;
212 font-feature-settings: 'tnum';
213 display: inline-flex;
214 align-items: baseline;
215 line-height: unset;
216 cursor: pointer;
217}
218.ant-tree-checkbox-wrapper::after {
219 display: inline-block;
220 width: 0;
221 overflow: hidden;
222 content: '\a0';
223}
224.ant-tree-checkbox-wrapper.ant-tree-checkbox-wrapper-disabled {
225 cursor: not-allowed;
226}
227.ant-tree-checkbox-wrapper + .ant-tree-checkbox-wrapper {
228 margin-left: 8px;
229}
230.ant-tree-checkbox + span {
231 padding-right: 8px;
232 padding-left: 8px;
233}
234.ant-tree-checkbox-group {
235 box-sizing: border-box;
236 margin: 0;
237 padding: 0;
238 color: rgba(0, 0, 0, 0.85);
239 font-size: 14px;
240 font-variant: tabular-nums;
241 line-height: 1.5715;
242 list-style: none;
243 font-feature-settings: 'tnum';
244 display: inline-block;
245}
246.ant-tree-checkbox-group-item {
247 margin-right: 8px;
248}
249.ant-tree-checkbox-group-item:last-child {
250 margin-right: 0;
251}
252.ant-tree-checkbox-group-item + .ant-tree-checkbox-group-item {
253 margin-left: 0;
254}
255.ant-tree-checkbox-indeterminate .ant-tree-checkbox-inner {
256 background-color: #fff;
257 border-color: #d9d9d9;
258}
259.ant-tree-checkbox-indeterminate .ant-tree-checkbox-inner::after {
260 top: 50%;
261 left: 50%;
262 width: 8px;
263 height: 8px;
264 background-color: #1890ff;
265 border: 0;
266 transform: translate(-50%, -50%) scale(1);
267 opacity: 1;
268 content: ' ';
269}
270.ant-tree-checkbox-indeterminate.ant-tree-checkbox-disabled .ant-tree-checkbox-inner::after {
271 background-color: rgba(0, 0, 0, 0.25);
272 border-color: rgba(0, 0, 0, 0.25);
273}
274.ant-tree {
275 box-sizing: border-box;
276 margin: 0;
277 padding: 0;
278 color: rgba(0, 0, 0, 0.85);
279 font-size: 14px;
280 font-variant: tabular-nums;
281 line-height: 1.5715;
282 list-style: none;
283 font-feature-settings: 'tnum';
284 background: #fff;
285 border-radius: 2px;
286 transition: background-color 0.3s;
287}
288.ant-tree-focused:not(:hover):not(.ant-tree-active-focused) {
289 background: #e6f7ff;
290}
291.ant-tree-list-holder-inner {
292 align-items: flex-start;
293}
294.ant-tree.ant-tree-block-node .ant-tree-list-holder-inner {
295 align-items: stretch;
296}
297.ant-tree.ant-tree-block-node .ant-tree-list-holder-inner .ant-tree-node-content-wrapper {
298 flex: auto;
299}
300.ant-tree .ant-tree-treenode {
301 display: flex;
302 align-items: flex-start;
303 padding: 0 0 4px 0;
304 outline: none;
305}
306.ant-tree .ant-tree-treenode-disabled .ant-tree-node-content-wrapper {
307 color: rgba(0, 0, 0, 0.25);
308 cursor: not-allowed;
309}
310.ant-tree .ant-tree-treenode-disabled .ant-tree-node-content-wrapper:hover {
311 background: transparent;
312}
313.ant-tree .ant-tree-treenode-active .ant-tree-node-content-wrapper {
314 background: #f5f5f5;
315}
316.ant-tree .ant-tree-treenode:not(.ant-tree .ant-tree-treenode-disabled).filter-node .ant-tree-title {
317 color: inherit;
318 font-weight: 500;
319}
320.ant-tree-indent {
321 align-self: stretch;
322 white-space: nowrap;
323 -webkit-user-select: none;
324 -moz-user-select: none;
325 -ms-user-select: none;
326 user-select: none;
327}
328.ant-tree-indent-unit {
329 display: inline-block;
330 width: 24px;
331}
332.ant-tree-switcher {
333 position: relative;
334 flex: none;
335 align-self: stretch;
336 width: 24px;
337 margin: 0;
338 line-height: 24px;
339 text-align: center;
340 cursor: pointer;
341 -webkit-user-select: none;
342 -moz-user-select: none;
343 -ms-user-select: none;
344 user-select: none;
345}
346.ant-tree-switcher .ant-tree-switcher-icon,
347.ant-tree-switcher .ant-select-tree-switcher-icon {
348 display: inline-block;
349 font-size: 10px;
350 vertical-align: baseline;
351}
352.ant-tree-switcher .ant-tree-switcher-icon svg,
353.ant-tree-switcher .ant-select-tree-switcher-icon svg {
354 transition: transform 0.3s;
355}
356.ant-tree-switcher-noop {
357 cursor: default;
358}
359.ant-tree-switcher_close .ant-tree-switcher-icon svg {
360 transform: rotate(-90deg);
361}
362.ant-tree-switcher-loading-icon {
363 color: #1890ff;
364}
365.ant-tree-switcher-leaf-line {
366 position: relative;
367 z-index: 1;
368 display: inline-block;
369 width: 100%;
370 height: 100%;
371}
372.ant-tree-switcher-leaf-line::before {
373 position: absolute;
374 top: 0;
375 bottom: -4px;
376 margin-left: -1px;
377 border-left: 1px solid #d9d9d9;
378 content: ' ';
379}
380.ant-tree-switcher-leaf-line::after {
381 position: absolute;
382 width: 10px;
383 height: 14px;
384 margin-left: -1px;
385 border-bottom: 1px solid #d9d9d9;
386 content: ' ';
387}
388.ant-tree-checkbox {
389 top: initial;
390 margin: 4px 8px 0 0;
391}
392.ant-tree .ant-tree-node-content-wrapper {
393 position: relative;
394 z-index: auto;
395 min-height: 24px;
396 margin: 0;
397 padding: 0 4px;
398 color: inherit;
399 line-height: 24px;
400 background: transparent;
401 border-radius: 2px;
402 cursor: pointer;
403 transition: all 0.3s, border 0s, line-height 0s, box-shadow 0s;
404}
405.ant-tree .ant-tree-node-content-wrapper:hover {
406 background-color: #f5f5f5;
407}
408.ant-tree .ant-tree-node-content-wrapper.ant-tree-node-selected {
409 background-color: #bae7ff;
410}
411.ant-tree .ant-tree-node-content-wrapper .ant-tree-iconEle {
412 display: inline-block;
413 width: 24px;
414 height: 24px;
415 line-height: 24px;
416 text-align: center;
417 vertical-align: top;
418}
419.ant-tree .ant-tree-node-content-wrapper .ant-tree-iconEle:empty {
420 display: none;
421}
422.ant-tree-unselectable .ant-tree-node-content-wrapper:hover {
423 background-color: transparent;
424}
425.ant-tree-node-content-wrapper[draggable='true'] {
426 line-height: 24px;
427 -webkit-user-select: none;
428 -moz-user-select: none;
429 -ms-user-select: none;
430 user-select: none;
431}
432.ant-tree-node-content-wrapper[draggable='true'] .ant-tree-drop-indicator {
433 position: absolute;
434 z-index: 1;
435 height: 2px;
436 background-color: #1890ff;
437 border-radius: 1px;
438 pointer-events: none;
439}
440.ant-tree-node-content-wrapper[draggable='true'] .ant-tree-drop-indicator::after {
441 position: absolute;
442 top: -3px;
443 left: -6px;
444 width: 8px;
445 height: 8px;
446 background-color: transparent;
447 border: 2px solid #1890ff;
448 border-radius: 50%;
449 content: '';
450}
451.ant-tree .ant-tree-treenode.drop-container > [draggable] {
452 box-shadow: 0 0 0 2px #1890ff;
453}
454.ant-tree-show-line .ant-tree-indent-unit {
455 position: relative;
456 height: 100%;
457}
458.ant-tree-show-line .ant-tree-indent-unit::before {
459 position: absolute;
460 top: 0;
461 right: 12px;
462 bottom: -4px;
463 border-right: 1px solid #d9d9d9;
464 content: '';
465}
466.ant-tree-show-line .ant-tree-indent-unit-end::before {
467 display: none;
468}
469.ant-tree-show-line .ant-tree-switcher {
470 background: #fff;
471}
472.ant-tree-show-line .ant-tree-switcher-line-icon {
473 vertical-align: -0.225em;
474}
475.ant-tree-rtl {
476 direction: rtl;
477}
478.ant-tree-rtl .ant-tree-node-content-wrapper[draggable='true'] .ant-tree-drop-indicator::after {
479 right: -6px;
480 left: unset;
481}
482.ant-tree .ant-tree-treenode-rtl {
483 direction: rtl;
484}
485.ant-tree-rtl .ant-tree-switcher_close .ant-tree-switcher-icon svg {
486 transform: rotate(90deg);
487}
488.ant-tree-rtl.ant-tree-show-line .ant-tree-indent-unit::before {
489 right: auto;
490 left: -13px;
491 border-right: none;
492 border-left: 1px solid #d9d9d9;
493}
494.ant-tree-rtl.ant-tree-checkbox {
495 margin: 4px 0 0 8px;
496}
497.ant-tree-select-dropdown-rtl .ant-select-tree-checkbox {
498 margin: 4px 0 0 8px;
499}