kui-vue 3.3.10 → 3.3.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/_tool/clone.js +1 -2
- package/components/_tool/utils.js +3 -3
- package/components/alert/styles/index.less +2 -2
- package/components/avatar/AvatarGroup.jsx +2 -2
- package/components/backtop/styles/index.less +44 -47
- package/components/base/drop.jsx +3 -2
- package/components/base/pop.jsx +34 -20
- package/components/button/button.jsx +5 -11
- package/components/button/index.js +1 -8
- package/components/button/styles/index.less +2 -2
- package/components/collapse/styles/index.less +3 -16
- package/components/colorPicker/colorpicker.jsx +1 -1
- package/components/colorPicker/styles/index.less +23 -21
- package/components/datePicker/datecalendar.jsx +5 -2
- package/components/datePicker/datepicker.jsx +30 -53
- package/components/datePicker/demo/format.md +1 -1
- package/components/datePicker/styles/calendar.less +31 -10
- package/components/datePicker/styles/datepicker.less +7 -16
- package/components/drawer/drawer.jsx +1 -1
- package/components/dropdown/demo/base.md +1 -1
- package/components/dropdown/demo/rightmenu.md +5 -5
- package/components/dropdown/dropdown.jsx +11 -3
- package/components/dropdown/styles/index.less +31 -13
- package/components/form/demo/valid.md +1 -1
- package/components/form/form.jsx +1 -1
- package/components/form/styles/index.less +3 -14
- package/components/fragment/component.js +98 -0
- package/components/fragment/frag.js +362 -0
- package/components/fragment/fragment.js +19 -0
- package/components/fragment/index.js +104 -0
- package/components/fragment/ssr.js +4 -0
- package/components/icon/demo/search.vue +1 -1
- package/components/image/styles/index.less +41 -17
- package/components/index.js +2 -2
- package/components/inputNumber/styles/index.less +5 -1
- package/components/menu/menuitem.jsx +12 -7
- package/components/menu/styles/index.less +189 -202
- package/components/menu/submenu.jsx +106 -37
- package/components/message/styles/index.less +11 -14
- package/components/modal/index.js +1 -1
- package/components/modal/modal.jsx +2 -2
- package/components/modal/styles/index.less +227 -221
- package/components/notice/styles/index.less +19 -5
- package/components/page/styles/index.less +7 -4
- package/components/popconfirm/styles/index.less +33 -14
- package/components/poptip/styles/index.less +3 -14
- package/components/radio/button.jsx +1 -1
- package/components/select/styles/index.less +13 -33
- package/components/styles/color.less +111 -111
- package/components/switch/styles/index.less +10 -10
- package/components/table/table.jsx +1 -1
- package/components/tabs/styles/index.less +3 -2
- package/components/tag/styles/index.less +3 -15
- package/components/tooltip/styles/index.less +45 -16
- package/components/tooltip/tooltip.jsx +3 -3
- package/components/tree/node.jsx +1 -1
- package/dist/k-ui.css +2 -2
- package/dist/k-ui.js +2 -2
- package/package.json +3 -3
- package/components/menu/styles/dropmenu.less +0 -119
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
@import '../../styles/var.less';
|
|
2
|
+
|
|
2
3
|
.k-popconfirm {
|
|
3
4
|
display: inline-block;
|
|
4
5
|
// position: relative;
|
|
@@ -9,56 +10,67 @@
|
|
|
9
10
|
position: absolute;
|
|
10
11
|
z-index: 1001;
|
|
11
12
|
color: var(--kui-color-font);
|
|
13
|
+
|
|
12
14
|
&[k-placement^=top] {
|
|
13
15
|
.k-popconfirm-arrow {
|
|
14
16
|
bottom: -7px;
|
|
15
17
|
height: 9px;
|
|
16
18
|
}
|
|
19
|
+
|
|
17
20
|
.k-popconfirm-content {
|
|
18
21
|
margin-bottom: 12px;
|
|
19
22
|
}
|
|
20
23
|
}
|
|
24
|
+
|
|
21
25
|
&[k-placement=top] {
|
|
22
26
|
.k-popconfirm-arrow {
|
|
23
27
|
left: 50%;
|
|
24
28
|
transform: translateX(-50%);
|
|
25
29
|
}
|
|
26
30
|
}
|
|
31
|
+
|
|
27
32
|
&[k-placement=top-right] {
|
|
28
33
|
.k-popconfirm-arrow {
|
|
29
34
|
right: 10px;
|
|
30
35
|
}
|
|
31
36
|
}
|
|
37
|
+
|
|
32
38
|
&[k-placement=top-left] {
|
|
33
39
|
.k-popconfirm-arrow {
|
|
34
40
|
left: 10px;
|
|
35
41
|
}
|
|
36
42
|
}
|
|
43
|
+
|
|
37
44
|
&[k-placement^=bottom] {
|
|
38
45
|
.k-popconfirm-arrow {
|
|
39
46
|
top: -6px;
|
|
40
47
|
height: 7px;
|
|
41
48
|
transform: rotate(180deg);
|
|
42
49
|
}
|
|
50
|
+
|
|
43
51
|
.k-popconfirm-content {
|
|
44
52
|
margin-top: 12px;
|
|
45
53
|
}
|
|
46
54
|
}
|
|
55
|
+
|
|
47
56
|
&[k-placement=bottom] {
|
|
48
57
|
.k-popconfirm-arrow {
|
|
49
58
|
left: 50%;
|
|
50
59
|
}
|
|
51
60
|
}
|
|
61
|
+
|
|
52
62
|
&[k-placement=bottom-left] {
|
|
53
63
|
.k-popconfirm-arrow {
|
|
54
64
|
left: 10px;
|
|
55
65
|
}
|
|
56
66
|
}
|
|
67
|
+
|
|
57
68
|
&[k-placement=bottom-right] {
|
|
58
69
|
.k-popconfirm-arrow {
|
|
59
70
|
right: 10px;
|
|
60
71
|
}
|
|
61
72
|
}
|
|
73
|
+
|
|
62
74
|
&[k-placement^=left] {
|
|
63
75
|
.k-popconfirm-arrow {
|
|
64
76
|
right: -14px;
|
|
@@ -66,26 +78,31 @@
|
|
|
66
78
|
height: 7px;
|
|
67
79
|
transform: rotate(-90deg);
|
|
68
80
|
}
|
|
81
|
+
|
|
69
82
|
.k-popconfirm-content {
|
|
70
83
|
margin-right: 12px;
|
|
71
84
|
}
|
|
72
85
|
}
|
|
86
|
+
|
|
73
87
|
&[k-placement=left] {
|
|
74
88
|
.k-popconfirm-arrow {
|
|
75
89
|
top: 50%;
|
|
76
90
|
transform: translateY(-50%) rotate(-90deg);
|
|
77
91
|
}
|
|
78
92
|
}
|
|
93
|
+
|
|
79
94
|
&[k-placement=left-bottom] {
|
|
80
95
|
.k-popconfirm-arrow {
|
|
81
96
|
bottom: 17px;
|
|
82
97
|
}
|
|
83
98
|
}
|
|
99
|
+
|
|
84
100
|
&[k-placement=left-top] {
|
|
85
101
|
.k-popconfirm-arrow {
|
|
86
102
|
top: 17px;
|
|
87
103
|
}
|
|
88
104
|
}
|
|
105
|
+
|
|
89
106
|
&[k-placement^=right] {
|
|
90
107
|
.k-popconfirm-arrow {
|
|
91
108
|
left: -14px;
|
|
@@ -93,21 +110,25 @@
|
|
|
93
110
|
height: 7px;
|
|
94
111
|
transform: rotate(90deg);
|
|
95
112
|
}
|
|
113
|
+
|
|
96
114
|
.k-popconfirm-content {
|
|
97
115
|
margin-left: 12px;
|
|
98
116
|
}
|
|
99
117
|
}
|
|
118
|
+
|
|
100
119
|
&[k-placement=right] {
|
|
101
120
|
.k-popconfirm-arrow {
|
|
102
121
|
top: 50%;
|
|
103
122
|
transform: translateY(-50%) rotate(90deg);
|
|
104
123
|
}
|
|
105
124
|
}
|
|
125
|
+
|
|
106
126
|
&[k-placement=right-top] {
|
|
107
127
|
.k-popconfirm-arrow {
|
|
108
128
|
top: 17px;
|
|
109
129
|
}
|
|
110
130
|
}
|
|
131
|
+
|
|
111
132
|
&[k-placement=right-bottom] {
|
|
112
133
|
.k-popconfirm-arrow {
|
|
113
134
|
bottom: 17px;
|
|
@@ -119,28 +140,33 @@
|
|
|
119
140
|
// .k-popconfirm-inner {
|
|
120
141
|
background: var(--kui-color-control-10);
|
|
121
142
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
|
|
122
|
-
border-radius: 12px
|
|
143
|
+
border-radius: 12px; //var(--kui-border-radius);
|
|
123
144
|
position: relative;
|
|
145
|
+
|
|
124
146
|
// }
|
|
125
147
|
.k-popconfirm-body {
|
|
126
148
|
padding: 18px 18px 10px 18px;
|
|
127
149
|
box-sizing: border-box;
|
|
128
150
|
position: relative;
|
|
129
151
|
}
|
|
152
|
+
|
|
130
153
|
.k-icon {
|
|
131
154
|
position: absolute;
|
|
132
155
|
font-size: 18px;
|
|
133
156
|
color: var(--kui-color-warning);
|
|
134
157
|
top: 19px;
|
|
135
158
|
}
|
|
159
|
+
|
|
136
160
|
.k-popconfirm-footer {
|
|
137
161
|
text-align: right;
|
|
138
162
|
padding-top: 10px;
|
|
139
163
|
}
|
|
164
|
+
|
|
140
165
|
.k-popconfirm-title {
|
|
141
166
|
padding: 0 0 0 24px;
|
|
142
167
|
font-size: 14px;
|
|
143
168
|
}
|
|
169
|
+
|
|
144
170
|
.k-popconfirm-arrow {
|
|
145
171
|
position: absolute;
|
|
146
172
|
box-sizing: border-box;
|
|
@@ -149,43 +175,36 @@
|
|
|
149
175
|
width: 24px;
|
|
150
176
|
height: 7px;
|
|
151
177
|
}
|
|
178
|
+
|
|
152
179
|
.k-popconfirm-footer {
|
|
153
180
|
text-align: right;
|
|
154
181
|
padding: 8px 16px 16px;
|
|
182
|
+
|
|
155
183
|
.k-btn {
|
|
156
184
|
margin-left: 10px;
|
|
157
185
|
}
|
|
158
186
|
}
|
|
159
187
|
}
|
|
160
188
|
|
|
161
|
-
@keyframes pop-zoom
|
|
189
|
+
@keyframes k-pop-zoom {
|
|
162
190
|
from {
|
|
163
191
|
opacity: 0;
|
|
164
192
|
transform: scale(.8, .8);
|
|
165
193
|
}
|
|
194
|
+
|
|
166
195
|
to {
|
|
167
196
|
opacity: 1;
|
|
168
197
|
transform: scale(1, 1);
|
|
169
198
|
}
|
|
170
199
|
}
|
|
171
200
|
|
|
172
|
-
@keyframes pop-zoom-out {
|
|
173
|
-
from {
|
|
174
|
-
opacity: 1;
|
|
175
|
-
transform: scale(1, 1);
|
|
176
|
-
}
|
|
177
|
-
to {
|
|
178
|
-
opacity: 0;
|
|
179
|
-
transform: scale(.8, .8);
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
201
|
|
|
183
202
|
.k-popconfirm-enter-active {
|
|
184
203
|
// transform-origin: center bottom;
|
|
185
|
-
animation: pop-zoom
|
|
204
|
+
animation: k-pop-zoom .3s;
|
|
186
205
|
}
|
|
187
206
|
|
|
188
207
|
.k-popconfirm-leave-active {
|
|
189
208
|
// transform-origin: center bottom;
|
|
190
|
-
animation: pop-zoom
|
|
209
|
+
animation: k-pop-zoom .3s reverse;
|
|
191
210
|
}
|
|
@@ -183,7 +183,7 @@
|
|
|
183
183
|
}
|
|
184
184
|
}
|
|
185
185
|
|
|
186
|
-
@keyframes pop-zoom
|
|
186
|
+
@keyframes k-pop-zoom {
|
|
187
187
|
from {
|
|
188
188
|
opacity: 0;
|
|
189
189
|
transform: scale(.8, .8);
|
|
@@ -195,24 +195,13 @@
|
|
|
195
195
|
}
|
|
196
196
|
}
|
|
197
197
|
|
|
198
|
-
@keyframes pop-zoom-out {
|
|
199
|
-
from {
|
|
200
|
-
opacity: 1;
|
|
201
|
-
transform: scale(1, 1);
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
to {
|
|
205
|
-
opacity: 0;
|
|
206
|
-
transform: scale(.8, .8);
|
|
207
|
-
}
|
|
208
|
-
}
|
|
209
198
|
|
|
210
199
|
.k-poptip-enter-active {
|
|
211
200
|
// transform-origin: center bottom;
|
|
212
|
-
animation: pop-zoom
|
|
201
|
+
animation: k-pop-zoom .3s;
|
|
213
202
|
}
|
|
214
203
|
|
|
215
204
|
.k-poptip-leave-active {
|
|
216
205
|
// transform-origin: center bottom;
|
|
217
|
-
animation: pop-zoom
|
|
206
|
+
animation: k-pop-zoom .3s reverse;
|
|
218
207
|
}
|
|
@@ -334,6 +334,10 @@
|
|
|
334
334
|
background: var(--kui-color-hover);
|
|
335
335
|
}
|
|
336
336
|
|
|
337
|
+
&:active {
|
|
338
|
+
background: var(--kui-color-actived);
|
|
339
|
+
}
|
|
340
|
+
|
|
337
341
|
.k-icon {
|
|
338
342
|
position: absolute;
|
|
339
343
|
top: 0;
|
|
@@ -353,8 +357,8 @@
|
|
|
353
357
|
|
|
354
358
|
.k-select-item-selected {
|
|
355
359
|
background: var(--kui-color-selected);
|
|
356
|
-
color: var(--kui-color-main);
|
|
357
|
-
font-weight:
|
|
360
|
+
// color: var(--kui-color-main);
|
|
361
|
+
font-weight: bold;
|
|
358
362
|
|
|
359
363
|
&:hover {
|
|
360
364
|
background: var(--kui-color-selected);
|
|
@@ -531,7 +535,7 @@
|
|
|
531
535
|
.k-select-selection {
|
|
532
536
|
border-color: var(--kui-color-main); // border-color: #3bb4f2;
|
|
533
537
|
// box-shadow: 0 0 5px rgba(59, 180, 242, 0.55);
|
|
534
|
-
box-shadow: 0 0
|
|
538
|
+
box-shadow: 0 0 0 2px var(--kui-color-main-90);
|
|
535
539
|
}
|
|
536
540
|
|
|
537
541
|
// .k-select-arrow {
|
|
@@ -597,7 +601,7 @@
|
|
|
597
601
|
}
|
|
598
602
|
}
|
|
599
603
|
|
|
600
|
-
@keyframes
|
|
604
|
+
@keyframes k-select-slide {
|
|
601
605
|
from {
|
|
602
606
|
opacity: 0;
|
|
603
607
|
transform: scale(0, 0);
|
|
@@ -609,27 +613,15 @@
|
|
|
609
613
|
}
|
|
610
614
|
}
|
|
611
615
|
|
|
612
|
-
@keyframes zoomOut {
|
|
613
|
-
from {
|
|
614
|
-
opacity: 1;
|
|
615
|
-
transform: scale(1, 1);
|
|
616
|
-
}
|
|
617
|
-
|
|
618
|
-
to {
|
|
619
|
-
opacity: 0;
|
|
620
|
-
transform: scale(0, 0);
|
|
621
|
-
}
|
|
622
|
-
}
|
|
623
|
-
|
|
624
616
|
.k-select-tag-enter-active {
|
|
625
|
-
animation:
|
|
617
|
+
animation: k-select-slide .3s ease-out;
|
|
626
618
|
}
|
|
627
619
|
|
|
628
620
|
.k-select-tag-leave-active {
|
|
629
|
-
animation:
|
|
621
|
+
animation: k-select-slide .3s ease-out reverse;
|
|
630
622
|
}
|
|
631
623
|
|
|
632
|
-
@keyframes
|
|
624
|
+
@keyframes drop-down {
|
|
633
625
|
0% {
|
|
634
626
|
opacity: 0;
|
|
635
627
|
transform: scaleY(0)
|
|
@@ -641,24 +633,12 @@
|
|
|
641
633
|
}
|
|
642
634
|
}
|
|
643
635
|
|
|
644
|
-
@keyframes dropDownOut {
|
|
645
|
-
0% {
|
|
646
|
-
opacity: 1;
|
|
647
|
-
transform: scaleY(1)
|
|
648
|
-
}
|
|
649
|
-
|
|
650
|
-
to {
|
|
651
|
-
opacity: 0;
|
|
652
|
-
transform: scaleY(0)
|
|
653
|
-
}
|
|
654
|
-
}
|
|
655
|
-
|
|
656
636
|
.k-select-enter-active {
|
|
657
637
|
transform-origin: 0 0;
|
|
658
|
-
animation:
|
|
638
|
+
animation: drop-down .3s;
|
|
659
639
|
}
|
|
660
640
|
|
|
661
641
|
.k-select-leave-active {
|
|
662
642
|
transform-origin: 0 0;
|
|
663
|
-
animation:
|
|
643
|
+
animation: drop-down .3s reverse
|
|
664
644
|
}
|
|
@@ -2,122 +2,122 @@
|
|
|
2
2
|
|
|
3
3
|
//颜色
|
|
4
4
|
@main: #3a95ff; //主体色
|
|
5
|
-
@main-hover: darken(@main,10%);
|
|
6
|
-
@main-actived: darken(@main,25%);
|
|
7
|
-
@main-10: fadeout(@main,10%);
|
|
8
|
-
@main-30: fadeout(@main,30%);
|
|
9
|
-
@main-60: fadeout(@main,60%);
|
|
10
|
-
@main-80: fadeout(@main,80%);
|
|
11
|
-
@main-90: fadeout(@main,90%);
|
|
5
|
+
@main-hover: darken(@main, 10%);
|
|
6
|
+
@main-actived: darken(@main, 25%);
|
|
7
|
+
@main-10: fadeout(@main, 10%);
|
|
8
|
+
@main-30: fadeout(@main, 30%);
|
|
9
|
+
@main-60: fadeout(@main, 60%);
|
|
10
|
+
@main-80: fadeout(@main, 80%);
|
|
11
|
+
@main-90: fadeout(@main, 90%);
|
|
12
12
|
@success: #00bb5d; //成功
|
|
13
|
-
@success-hover: darken(@success,10%);
|
|
14
|
-
@success-actived: darken(@success,25%);
|
|
15
|
-
@success-30: fadeout(@success,30%);
|
|
16
|
-
@success-60: fadeout(@success,60%);
|
|
17
|
-
@success-80: fadeout(@success,80%);
|
|
18
|
-
@success-90: fadeout(@success,90%);
|
|
13
|
+
@success-hover: darken(@success, 10%);
|
|
14
|
+
@success-actived: darken(@success, 25%);
|
|
15
|
+
@success-30: fadeout(@success, 30%);
|
|
16
|
+
@success-60: fadeout(@success, 60%);
|
|
17
|
+
@success-80: fadeout(@success, 80%);
|
|
18
|
+
@success-90: fadeout(@success, 90%);
|
|
19
19
|
@danger: #ff3300;
|
|
20
|
-
@danger-hover: darken(@danger,10%);
|
|
21
|
-
@danger-actived: darken(@danger,25%);
|
|
22
|
-
@danger-30: fadeout(@danger,30%);
|
|
23
|
-
@danger-60: fadeout(@danger,60%);
|
|
24
|
-
@danger-80: fadeout(@danger,80%);
|
|
25
|
-
@danger-90: fadeout(@danger,90%);
|
|
26
|
-
@dark-danger: darken(#ff3300,20%);
|
|
20
|
+
@danger-hover: darken(@danger, 10%);
|
|
21
|
+
@danger-actived: darken(@danger, 25%);
|
|
22
|
+
@danger-30: fadeout(@danger, 30%);
|
|
23
|
+
@danger-60: fadeout(@danger, 60%);
|
|
24
|
+
@danger-80: fadeout(@danger, 80%);
|
|
25
|
+
@danger-90: fadeout(@danger, 90%);
|
|
26
|
+
@dark-danger: darken(#ff3300, 20%);
|
|
27
27
|
@warning: #ffa500;
|
|
28
|
-
@warning-hover: darken(@warning,10%);
|
|
29
|
-
@warning-actived: darken(@warning,25%);
|
|
30
|
-
@warning-30: fadeout(@warning,30%);
|
|
31
|
-
@warning-60: fadeout(@warning,60%);
|
|
32
|
-
@warning-80: fadeout(@warning,80%);
|
|
33
|
-
@warning-90: fadeout(@warning,90%);
|
|
34
|
-
|
|
35
|
-
@pink: lighten(
|
|
36
|
-
@pink-30: fadeout(@pink,30%);
|
|
37
|
-
@pink-60: fadeout(@pink,60%);
|
|
38
|
-
@pink-80: fadeout(@pink,80%);
|
|
39
|
-
@pink-90: fadeout(@pink,90%);
|
|
28
|
+
@warning-hover: darken(@warning, 10%);
|
|
29
|
+
@warning-actived: darken(@warning, 25%);
|
|
30
|
+
@warning-30: fadeout(@warning, 30%);
|
|
31
|
+
@warning-60: fadeout(@warning, 60%);
|
|
32
|
+
@warning-80: fadeout(@warning, 80%);
|
|
33
|
+
@warning-90: fadeout(@warning, 90%);
|
|
34
|
+
|
|
35
|
+
@pink: lighten(purple, 45%);
|
|
36
|
+
@pink-30: fadeout(@pink, 30%);
|
|
37
|
+
@pink-60: fadeout(@pink, 60%);
|
|
38
|
+
@pink-80: fadeout(@pink, 80%);
|
|
39
|
+
@pink-90: fadeout(@pink, 90%);
|
|
40
40
|
|
|
41
41
|
@red: lighten(red, 5%);
|
|
42
|
-
@red-30: fadeout(@red,30%);
|
|
43
|
-
@red-60: fadeout(@red,60%);
|
|
44
|
-
@red-80: fadeout(@red,80%);
|
|
45
|
-
@red-90: fadeout(@red,90%);
|
|
42
|
+
@red-30: fadeout(@red, 30%);
|
|
43
|
+
@red-60: fadeout(@red, 60%);
|
|
44
|
+
@red-80: fadeout(@red, 80%);
|
|
45
|
+
@red-90: fadeout(@red, 90%);
|
|
46
46
|
|
|
47
47
|
@yellow: mix(yellow, orange, 50%);
|
|
48
|
-
@yellow-30: fadeout(@yellow,30%);
|
|
49
|
-
@yellow-60: fadeout(@yellow,60%);
|
|
50
|
-
@yellow-80: fadeout(@yellow,80%);
|
|
51
|
-
@yellow-90: fadeout(@yellow,90%);
|
|
48
|
+
@yellow-30: fadeout(@yellow, 30%);
|
|
49
|
+
@yellow-60: fadeout(@yellow, 60%);
|
|
50
|
+
@yellow-80: fadeout(@yellow, 80%);
|
|
51
|
+
@yellow-90: fadeout(@yellow, 90%);
|
|
52
52
|
|
|
53
53
|
@orange: lighten(orange, 8%);
|
|
54
|
-
@orange-30: fadeout(@orange,30%);
|
|
55
|
-
@orange-60: fadeout(@orange,60%);
|
|
56
|
-
@orange-80: fadeout(@orange,80%);
|
|
57
|
-
@orange-90: fadeout(@orange,90%);
|
|
54
|
+
@orange-30: fadeout(@orange, 30%);
|
|
55
|
+
@orange-60: fadeout(@orange, 60%);
|
|
56
|
+
@orange-80: fadeout(@orange, 80%);
|
|
57
|
+
@orange-90: fadeout(@orange, 90%);
|
|
58
58
|
|
|
59
59
|
@cyan: darken(cyan, 10%);
|
|
60
|
-
@cyan-30: fadeout(@cyan,30%);
|
|
61
|
-
@cyan-60: fadeout(@cyan,60%);
|
|
62
|
-
@cyan-80: fadeout(@cyan,80%);
|
|
63
|
-
@cyan-90: fadeout(@cyan,90%);
|
|
60
|
+
@cyan-30: fadeout(@cyan, 30%);
|
|
61
|
+
@cyan-60: fadeout(@cyan, 60%);
|
|
62
|
+
@cyan-80: fadeout(@cyan, 80%);
|
|
63
|
+
@cyan-90: fadeout(@cyan, 90%);
|
|
64
64
|
|
|
65
65
|
@green: lighten(green, 15%);
|
|
66
|
-
@green-30: fadeout(@green,30%);
|
|
67
|
-
@green-60: fadeout(@green,60%);
|
|
68
|
-
@green-80: fadeout(@green,80%);
|
|
69
|
-
@green-90: fadeout(@green,90%);
|
|
66
|
+
@green-30: fadeout(@green, 30%);
|
|
67
|
+
@green-60: fadeout(@green, 60%);
|
|
68
|
+
@green-80: fadeout(@green, 80%);
|
|
69
|
+
@green-90: fadeout(@green, 90%);
|
|
70
70
|
|
|
71
71
|
@blue: mix(blue, cyan, 50%);
|
|
72
|
-
@blue-30: fadeout(@blue,30%);
|
|
73
|
-
@blue-60: fadeout(@blue,60%);
|
|
74
|
-
@blue-80: fadeout(@blue,80%);
|
|
75
|
-
@blue-90: fadeout(@blue,90%);
|
|
72
|
+
@blue-30: fadeout(@blue, 30%);
|
|
73
|
+
@blue-60: fadeout(@blue, 60%);
|
|
74
|
+
@blue-80: fadeout(@blue, 80%);
|
|
75
|
+
@blue-90: fadeout(@blue, 90%);
|
|
76
76
|
|
|
77
|
-
@purple: lighten(mix(purple,blue, 60%),30%);
|
|
78
|
-
@purple-30: fadeout(@purple,30%);
|
|
79
|
-
@purple-60: fadeout(@purple,60%);
|
|
80
|
-
@purple-80: fadeout(@purple,80%);
|
|
81
|
-
@purple-90: fadeout(@purple,90%);
|
|
77
|
+
@purple: lighten(mix(purple, blue, 60%), 30%);
|
|
78
|
+
@purple-30: fadeout(@purple, 30%);
|
|
79
|
+
@purple-60: fadeout(@purple, 60%);
|
|
80
|
+
@purple-80: fadeout(@purple, 80%);
|
|
81
|
+
@purple-90: fadeout(@purple, 90%);
|
|
82
82
|
|
|
83
83
|
@geekblue: mix(blue, cyan, 70%); //极客蓝
|
|
84
|
-
@geekblue-30: fadeout(@geekblue,30%);
|
|
85
|
-
@geekblue-60: fadeout(@geekblue,60%);
|
|
86
|
-
@geekblue-80: fadeout(@geekblue,80%);
|
|
87
|
-
@geekblue-90: fadeout(@geekblue,90%);
|
|
84
|
+
@geekblue-30: fadeout(@geekblue, 30%);
|
|
85
|
+
@geekblue-60: fadeout(@geekblue, 60%);
|
|
86
|
+
@geekblue-80: fadeout(@geekblue, 80%);
|
|
87
|
+
@geekblue-90: fadeout(@geekblue, 90%);
|
|
88
88
|
|
|
89
89
|
@magenta: mix(pink, red, 40%); //洋红
|
|
90
|
-
@magenta-30: fadeout(@magenta,30%);
|
|
91
|
-
@magenta-60: fadeout(@magenta,60%);
|
|
92
|
-
@magenta-80: fadeout(@magenta,80%);
|
|
93
|
-
@magenta-90: fadeout(@magenta,90%);
|
|
90
|
+
@magenta-30: fadeout(@magenta, 30%);
|
|
91
|
+
@magenta-60: fadeout(@magenta, 60%);
|
|
92
|
+
@magenta-80: fadeout(@magenta, 80%);
|
|
93
|
+
@magenta-90: fadeout(@magenta, 90%);
|
|
94
94
|
|
|
95
95
|
@volcano: mix(red, orange, 60%); //火红
|
|
96
|
-
@volcano-30: fadeout(@volcano,30%);
|
|
97
|
-
@volcano-60: fadeout(@volcano,60%);
|
|
98
|
-
@volcano-80: fadeout(@volcano,80%);
|
|
99
|
-
@volcano-90: fadeout(@volcano,90%);
|
|
96
|
+
@volcano-30: fadeout(@volcano, 30%);
|
|
97
|
+
@volcano-60: fadeout(@volcano, 60%);
|
|
98
|
+
@volcano-80: fadeout(@volcano, 80%);
|
|
99
|
+
@volcano-90: fadeout(@volcano, 90%);
|
|
100
100
|
|
|
101
101
|
@gold: lighten(gold, 10%);
|
|
102
|
-
@gold-30: fadeout(@gold,30%);
|
|
103
|
-
@gold-60: fadeout(@gold,60%);
|
|
104
|
-
@gold-80: fadeout(@gold,80%);
|
|
105
|
-
@gold-90: fadeout(@gold,90%);
|
|
102
|
+
@gold-30: fadeout(@gold, 30%);
|
|
103
|
+
@gold-60: fadeout(@gold, 60%);
|
|
104
|
+
@gold-80: fadeout(@gold, 80%);
|
|
105
|
+
@gold-90: fadeout(@gold, 90%);
|
|
106
106
|
|
|
107
107
|
@lime: mix(green, yellow, 40%); //绿黄色
|
|
108
|
-
@lime-30: fadeout(@lime,30%);
|
|
109
|
-
@lime-60: fadeout(@lime,60%);
|
|
110
|
-
@lime-80: fadeout(@lime,80%);
|
|
111
|
-
@lime-90: fadeout(@lime,90%);
|
|
108
|
+
@lime-30: fadeout(@lime, 30%);
|
|
109
|
+
@lime-60: fadeout(@lime, 60%);
|
|
110
|
+
@lime-80: fadeout(@lime, 80%);
|
|
111
|
+
@lime-90: fadeout(@lime, 90%);
|
|
112
112
|
|
|
113
113
|
@gray: #969696;
|
|
114
|
-
@gray-30: fadeout(@gray,30%);
|
|
115
|
-
@gray-40: fadeout(@gray,40%);
|
|
116
|
-
@gray-50: fadeout(@gray,50%);
|
|
117
|
-
@gray-60: fadeout(@gray,60%);
|
|
118
|
-
@gray-70: fadeout(@gray,70%);
|
|
119
|
-
@gray-80: fadeout(@gray,80%);
|
|
120
|
-
@gray-90: fadeout(@gray,90%);
|
|
114
|
+
@gray-30: fadeout(@gray, 30%);
|
|
115
|
+
@gray-40: fadeout(@gray, 40%);
|
|
116
|
+
@gray-50: fadeout(@gray, 50%);
|
|
117
|
+
@gray-60: fadeout(@gray, 60%);
|
|
118
|
+
@gray-70: fadeout(@gray, 70%);
|
|
119
|
+
@gray-80: fadeout(@gray, 80%);
|
|
120
|
+
@gray-90: fadeout(@gray, 90%);
|
|
121
121
|
|
|
122
122
|
@dark: rgba(0, 0, 0, .75);
|
|
123
123
|
|
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
@dark-spin-color: rgba(0, 0, 0, .6); //蒙层背景
|
|
130
130
|
|
|
131
131
|
//字体颜色
|
|
132
|
-
@font-color: rgba(0, 0, 0, .75);
|
|
132
|
+
@font-color: rgba(0, 0, 0, .75);
|
|
133
133
|
@dark-font-color: rgba(255, 255, 255, .9);
|
|
134
134
|
|
|
135
135
|
@title-color: rgba(0, 0, 0, .85); //标题凸显颜色
|
|
@@ -139,40 +139,40 @@
|
|
|
139
139
|
@dark-sub-title-color: rgba(255, 255, 255, .65);
|
|
140
140
|
|
|
141
141
|
@back-color: #fff; //组件背景
|
|
142
|
-
@back-color-10: #fff;
|
|
143
|
-
@back-color-30: darken(#fff,30%);
|
|
144
|
-
@back-color-50: darken(#fff,50%);
|
|
145
|
-
@back-color-60: darken(#fff,60%);
|
|
146
|
-
@back-color-70: darken(#fff,70%);
|
|
147
|
-
@back-color-80: darken(#fff,80%);
|
|
148
|
-
@back-color-90: darken(#fff,90%);
|
|
142
|
+
@back-color-10: #fff;
|
|
143
|
+
@back-color-30: darken(#fff, 30%);
|
|
144
|
+
@back-color-50: darken(#fff, 50%);
|
|
145
|
+
@back-color-60: darken(#fff, 60%);
|
|
146
|
+
@back-color-70: darken(#fff, 70%);
|
|
147
|
+
@back-color-80: darken(#fff, 80%);
|
|
148
|
+
@back-color-90: darken(#fff, 90%);
|
|
149
149
|
|
|
150
|
-
@skeleton-color
|
|
151
|
-
@skeleton-min-color
|
|
150
|
+
@skeleton-color: @gray-90;
|
|
151
|
+
@skeleton-min-color: @gray-60;
|
|
152
152
|
|
|
153
153
|
@dark-back-color: #1f1f1f;
|
|
154
|
-
@dark-back-color-10: lighten(#1f1f1f,10%);
|
|
155
|
-
@dark-back-color-30: lighten(#1f1f1f,30%);
|
|
156
|
-
@dark-back-color-60: lighten(#1f1f1f,60%);
|
|
157
|
-
@dark-back-color-70: lighten(#1f1f1f,70%);
|
|
158
|
-
@dark-back-color-80: lighten(#1f1f1f,80%);
|
|
159
|
-
@dark-back-color-90: lighten(#1f1f1f,90%);
|
|
154
|
+
@dark-back-color-10: lighten(#1f1f1f, 10%);
|
|
155
|
+
@dark-back-color-30: lighten(#1f1f1f, 30%);
|
|
156
|
+
@dark-back-color-60: lighten(#1f1f1f, 60%);
|
|
157
|
+
@dark-back-color-70: lighten(#1f1f1f, 70%);
|
|
158
|
+
@dark-back-color-80: lighten(#1f1f1f, 80%);
|
|
159
|
+
@dark-back-color-90: lighten(#1f1f1f, 90%);
|
|
160
160
|
|
|
161
161
|
@icon-color: rgba(0, 0, 0, .4); //图标颜色
|
|
162
162
|
@dark-icon-color: rgba(255, 255, 255, .4);
|
|
163
163
|
|
|
164
|
-
@hover-color:fadeout(@
|
|
165
|
-
@actived-color:fadeout(@
|
|
166
|
-
@selected-color:fadeout(@main,
|
|
164
|
+
@hover-color: fadeout(@gray, 90%); //item 的 hover 颜色
|
|
165
|
+
@actived-color: fadeout(@gray, 80%); //item 的 hover 颜色
|
|
166
|
+
@selected-color: fadeout(@main, 90%); //item 的 selected 颜色
|
|
167
167
|
|
|
168
168
|
@border-color: rgba(216, 216, 216, 0.5); //边框颜色
|
|
169
169
|
@dark-border-color: rgba(83, 83, 83, 0.5);
|
|
170
170
|
|
|
171
|
-
@disable-border: rgba(216, 216, 216, 0.4)
|
|
171
|
+
@disable-border: rgba(216, 216, 216, 0.4); //禁用边框颜色
|
|
172
172
|
@dark-disable-border: rgba(83, 83, 83, 0.4);
|
|
173
173
|
|
|
174
|
-
@disable-back: #f5f5f5
|
|
175
|
-
@dark-disable-back: fadeout(@back-color,90%);
|
|
174
|
+
@disable-back: #f5f5f5; //禁用背景颜色
|
|
175
|
+
@dark-disable-back: fadeout(@back-color, 90%);
|
|
176
176
|
|
|
177
177
|
@disable-color: rgba(0, 0, 0, .3); //禁用文字颜色
|
|
178
|
-
@dark-disable-color: rgba(255, 255, 255, .3);
|
|
178
|
+
@dark-disable-color: rgba(255, 255, 255, .3);
|
|
@@ -134,16 +134,16 @@
|
|
|
134
134
|
right: 4px;
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
&:hover,
|
|
138
|
-
&:focus {
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
&:active {
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
}
|
|
137
|
+
// &:hover,
|
|
138
|
+
// &:focus {
|
|
139
|
+
// border-color: var(--kui-color-main-hover);
|
|
140
|
+
// background: var(--kui-color-main-hover);
|
|
141
|
+
// }
|
|
142
|
+
|
|
143
|
+
// &:active {
|
|
144
|
+
// border-color: var(--kui-color-main-actived);
|
|
145
|
+
// background: var(--kui-color-main-actived);
|
|
146
|
+
// }
|
|
147
147
|
}
|
|
148
148
|
|
|
149
149
|
.k-switch-disabled {
|
|
@@ -32,7 +32,7 @@ export default {
|
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
34
|
render() {
|
|
35
|
-
let { $slots, data, $scopedSlots, loading, height, width, sticky } = this
|
|
35
|
+
let { $slots, data, $scopedSlots = {}, loading, height, width, sticky } = this
|
|
36
36
|
// bordered = true
|
|
37
37
|
const { header, footer } = $slots
|
|
38
38
|
let isTableFixed = width || height
|
|
@@ -61,8 +61,9 @@
|
|
|
61
61
|
}
|
|
62
62
|
.k-tabs-close {
|
|
63
63
|
margin: 0 -5px 0 0;
|
|
64
|
-
width: 16px;
|
|
65
64
|
text-align: center;
|
|
65
|
+
font-size: 16px;
|
|
66
|
+
margin-left: 5px;
|
|
66
67
|
color: var(--kui-color-icon);
|
|
67
68
|
&:hover {
|
|
68
69
|
color: var(--kui-color-danger);
|
|
@@ -77,7 +78,7 @@
|
|
|
77
78
|
}
|
|
78
79
|
.k-tabs-tab-active {
|
|
79
80
|
color: var(--kui-color-main);
|
|
80
|
-
|
|
81
|
+
text-shadow: 0 0 0.5px currentcolor;
|
|
81
82
|
}
|
|
82
83
|
.k-tabs-tab-disabled {
|
|
83
84
|
color: var(--kui-color-disable-color);
|