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,7 +1,7 @@
|
|
|
1
1
|
@import '../../styles/var.less';
|
|
2
|
-
@import 'dropmenu.less';
|
|
3
2
|
|
|
4
|
-
.k-menu
|
|
3
|
+
.k-menu,
|
|
4
|
+
.k-dropdown-menu {
|
|
5
5
|
display: block;
|
|
6
6
|
margin: 0;
|
|
7
7
|
padding: 0;
|
|
@@ -15,13 +15,7 @@
|
|
|
15
15
|
// transition: background-color .3s cubic-bezier(.645, .045, .355, 1), width .3s cubic-bezier(.645, .045, .355, 1);
|
|
16
16
|
transition: width .3s cubic-bezier(.645, .045, .355, 1);
|
|
17
17
|
user-select: none;
|
|
18
|
-
|
|
19
|
-
ol,
|
|
20
|
-
ul,
|
|
21
|
-
li {
|
|
22
|
-
list-style: none !important;
|
|
23
|
-
margin: 0;
|
|
24
|
-
}
|
|
18
|
+
box-sizing: border-box;
|
|
25
19
|
|
|
26
20
|
// &:after, &:before {
|
|
27
21
|
// content: "";
|
|
@@ -35,25 +29,30 @@
|
|
|
35
29
|
background-color: var(--kui-color-border);
|
|
36
30
|
}
|
|
37
31
|
|
|
38
|
-
.k-menu-icon-temp {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
32
|
+
// .k-menu-icon-temp {
|
|
33
|
+
// display: inline-block;
|
|
34
|
+
// width: 20px;
|
|
35
|
+
// height: 20px;
|
|
36
|
+
// margin-right: 8px;
|
|
37
|
+
// flex-shrink: 0;
|
|
38
|
+
// }
|
|
39
|
+
|
|
40
|
+
.k-menu-title-content {
|
|
41
|
+
overflow: hidden;
|
|
42
|
+
text-overflow: ellipsis;
|
|
43
|
+
opacity: 1;
|
|
44
|
+
white-space: nowrap;
|
|
45
|
+
transition: all .3s ease-in-out;
|
|
44
46
|
}
|
|
45
47
|
|
|
46
|
-
.k-menu-item-icon
|
|
47
|
-
.k-menu-submenu-inner .k-icon {
|
|
48
|
+
.k-menu-item-icon {
|
|
48
49
|
margin-right: 8px;
|
|
49
|
-
font-size:
|
|
50
|
-
|
|
51
|
-
}
|
|
50
|
+
font-size: 14px;
|
|
51
|
+
transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
|
|
52
52
|
|
|
53
|
-
.k-menu-item-icon+a {
|
|
54
|
-
display: inline-block;
|
|
55
53
|
}
|
|
56
54
|
|
|
55
|
+
|
|
57
56
|
&-submenu-arrow {
|
|
58
57
|
transition: all .3s;
|
|
59
58
|
// position: absolute;
|
|
@@ -64,21 +63,36 @@
|
|
|
64
63
|
text-indent: 0;
|
|
65
64
|
}
|
|
66
65
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
// }
|
|
72
|
-
// }
|
|
66
|
+
.k-menu-submenu {
|
|
67
|
+
margin: 0;
|
|
68
|
+
}
|
|
69
|
+
|
|
73
70
|
&-item,
|
|
74
|
-
.k-menu-submenu-title
|
|
71
|
+
.k-menu-submenu-title,
|
|
72
|
+
.k-dropdown-menu-item,
|
|
73
|
+
.k-dropdown-menu-submenu-title {
|
|
74
|
+
padding: 10px 12px;
|
|
75
|
+
box-sizing: border-box;
|
|
75
76
|
cursor: pointer;
|
|
76
77
|
overflow: hidden;
|
|
77
78
|
text-overflow: ellipsis;
|
|
78
79
|
white-space: nowrap;
|
|
79
80
|
position: relative;
|
|
80
|
-
transition: font-size .3s cubic-bezier(.215, .61, .355, 1), padding .3s cubic-bezier(.215, .61, .355, 1);
|
|
81
|
+
// transition: font-size .3s cubic-bezier(.215, .61, .355, 1), padding .3s cubic-bezier(.215, .61, .355, 1);
|
|
81
82
|
// transition: all .3s cubic-bezier(.215, .61, .355, 1);
|
|
83
|
+
transition: border .3s ease-in-out;
|
|
84
|
+
list-style: none;
|
|
85
|
+
height: 40px;
|
|
86
|
+
display: flex;
|
|
87
|
+
align-items: center;
|
|
88
|
+
line-height: 40px;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.k-dropdown-menu-submenu-title,
|
|
92
|
+
.k-menu-submenu-title {
|
|
93
|
+
.k-menu-title-content {
|
|
94
|
+
width: calc(100% - 20px);
|
|
95
|
+
}
|
|
82
96
|
}
|
|
83
97
|
|
|
84
98
|
//light
|
|
@@ -87,23 +101,18 @@
|
|
|
87
101
|
color: var(--kui-color-icon);
|
|
88
102
|
}
|
|
89
103
|
|
|
90
|
-
|
|
104
|
+
a {
|
|
91
105
|
color: var(--kui-color-font);
|
|
92
|
-
display: block;
|
|
93
106
|
text-decoration: none;
|
|
107
|
+
|
|
94
108
|
&:hover {
|
|
95
|
-
|
|
109
|
+
text-decoration: none;
|
|
96
110
|
}
|
|
97
111
|
}
|
|
98
112
|
|
|
99
113
|
.k-menu-item-active {
|
|
100
|
-
color: var(--kui-color-main);
|
|
114
|
+
// color: var(--kui-color-main);
|
|
101
115
|
background-color: var(--kui-color-hover);
|
|
102
|
-
|
|
103
|
-
a {
|
|
104
|
-
color: var(--kui-color-main);
|
|
105
|
-
}
|
|
106
|
-
|
|
107
116
|
}
|
|
108
117
|
|
|
109
118
|
.k-menu-item-selected {
|
|
@@ -115,8 +124,9 @@
|
|
|
115
124
|
}
|
|
116
125
|
}
|
|
117
126
|
|
|
118
|
-
>.k-menu-submenu-selected
|
|
119
|
-
|
|
127
|
+
>.k-menu-submenu-selected {
|
|
128
|
+
|
|
129
|
+
// >.k-menu-submenu-active {
|
|
120
130
|
>.k-menu-submenu-title {
|
|
121
131
|
color: var(--kui-color-main);
|
|
122
132
|
}
|
|
@@ -124,15 +134,45 @@
|
|
|
124
134
|
|
|
125
135
|
.k-menu-item-disabled,
|
|
126
136
|
.k-menu-submenu-disabled {
|
|
127
|
-
|
|
128
|
-
|
|
137
|
+
* {
|
|
138
|
+
color: var(--kui-color-disable-color);
|
|
139
|
+
cursor: not-allowed;
|
|
140
|
+
}
|
|
129
141
|
}
|
|
142
|
+
}
|
|
130
143
|
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
144
|
+
.k-dropdown-menu {
|
|
145
|
+
box-shadow: 0 1px 6px rgba(0, 0, 0, .2);
|
|
146
|
+
border-radius: var(--kui-border-radius);
|
|
147
|
+
display: inline-block;
|
|
148
|
+
|
|
149
|
+
.k-dropdown-menu-item,
|
|
150
|
+
.k-dropdown-menu-submenu-title {
|
|
151
|
+
margin: 4px;
|
|
152
|
+
padding: 10px 12px;
|
|
153
|
+
box-sizing: border-box;
|
|
154
|
+
border-radius: var(--kui-border-radius);
|
|
155
|
+
|
|
156
|
+
&:hover {
|
|
157
|
+
background-color: var(--kui-color-hover);
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
&:active {
|
|
161
|
+
background-color: var(--kui-color-actived);
|
|
162
|
+
}
|
|
134
163
|
}
|
|
135
164
|
|
|
165
|
+
.k-dropdown-menu-item-disabled,
|
|
166
|
+
.k-dropdown-menu-submenu-disabled {
|
|
167
|
+
* {
|
|
168
|
+
color: var(--kui-color-disable-color);
|
|
169
|
+
cursor: not-allowed;
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.k-menu {
|
|
175
|
+
|
|
136
176
|
//light-end
|
|
137
177
|
&-inline {
|
|
138
178
|
border-right: 1px solid var(--kui-color-border);
|
|
@@ -144,16 +184,11 @@
|
|
|
144
184
|
line-height: 1;
|
|
145
185
|
font-size: 14px;
|
|
146
186
|
list-style: none;
|
|
147
|
-
|
|
148
|
-
a {
|
|
149
|
-
display: block;
|
|
150
|
-
margin: 0 -24px 0 -48px;
|
|
151
|
-
padding: 0 24px 0 48px;
|
|
152
|
-
}
|
|
153
187
|
}
|
|
154
188
|
|
|
155
189
|
.k-menu-item-group-title {
|
|
156
190
|
padding: 0 16px 0 32px;
|
|
191
|
+
box-sizing: border-box;
|
|
157
192
|
}
|
|
158
193
|
|
|
159
194
|
.k-menu {
|
|
@@ -169,10 +204,11 @@
|
|
|
169
204
|
// width:100%;
|
|
170
205
|
box-sizing: border-box;
|
|
171
206
|
position: relative;
|
|
172
|
-
margin:
|
|
207
|
+
margin: 4px;
|
|
173
208
|
border-radius: var(--kui-border-radius);
|
|
174
209
|
display: flex;
|
|
175
210
|
align-items: center;
|
|
211
|
+
height: 40px;
|
|
176
212
|
|
|
177
213
|
&::after {
|
|
178
214
|
content: '';
|
|
@@ -184,43 +220,32 @@
|
|
|
184
220
|
right: 0;
|
|
185
221
|
transition: all .3s cubic-bezier(.215, .61, .355, 1);
|
|
186
222
|
}
|
|
187
|
-
|
|
223
|
+
|
|
224
|
+
&:active {
|
|
188
225
|
background: var(--kui-color-actived);
|
|
189
226
|
}
|
|
190
227
|
}
|
|
191
|
-
|
|
228
|
+
|
|
229
|
+
.k-menu-submenu-active .k-menu-submenu-title:active {
|
|
192
230
|
background: var(--kui-color-actived);
|
|
193
231
|
}
|
|
232
|
+
|
|
194
233
|
.k-menu-submenu {
|
|
195
234
|
.k-menu-item {
|
|
196
|
-
padding: 10px 24px 10px 12px;
|
|
197
235
|
|
|
236
|
+
// padding: 10px 24px 10px 12px;
|
|
198
237
|
&:first-child {
|
|
199
238
|
margin-top: 0;
|
|
200
239
|
}
|
|
201
240
|
}
|
|
202
|
-
|
|
203
|
-
.k-menu-submenu {
|
|
204
|
-
|
|
205
|
-
//doto:
|
|
206
|
-
// text-indent: 12px;
|
|
207
|
-
// padding-left: 12px;
|
|
208
|
-
.k-menu-submenu-title {
|
|
209
|
-
padding-left: 40px;
|
|
210
|
-
}
|
|
211
|
-
}
|
|
212
241
|
}
|
|
213
242
|
|
|
214
243
|
.k-menu-submenu-title {
|
|
215
244
|
padding: 10px 36px 10px 12px;
|
|
216
|
-
height: 40px;
|
|
217
245
|
box-sizing: border-box;
|
|
218
|
-
display: flex;
|
|
219
|
-
align-items: center;
|
|
220
246
|
position: relative;
|
|
221
|
-
margin: 0
|
|
247
|
+
margin: 0 4px 4px 4px;
|
|
222
248
|
border-radius: var(--kui-border-radius);
|
|
223
|
-
font-weight: 600;
|
|
224
249
|
|
|
225
250
|
.k-menu-submenu-arrow {
|
|
226
251
|
position: absolute;
|
|
@@ -230,18 +255,14 @@
|
|
|
230
255
|
}
|
|
231
256
|
|
|
232
257
|
&:hover {
|
|
233
|
-
background-color: var(--kui-color-
|
|
258
|
+
background-color: var(--kui-color-hover);
|
|
234
259
|
}
|
|
235
260
|
}
|
|
236
261
|
|
|
237
|
-
.k-menu-submenu-
|
|
262
|
+
.k-menu-submenu-sub {
|
|
238
263
|
transition: all 0.3s cubic-bezier(.215, .61, .355, 1);
|
|
239
264
|
overflow: hidden;
|
|
240
265
|
position: static;
|
|
241
|
-
|
|
242
|
-
.k-menu {
|
|
243
|
-
// background-color: var(--kui-color-gray-90);
|
|
244
|
-
}
|
|
245
266
|
}
|
|
246
267
|
|
|
247
268
|
>.k-menu-submenu-opened>.k-menu-submenu-title>.k-menu-submenu-arrow {
|
|
@@ -256,6 +277,7 @@
|
|
|
256
277
|
display: none;
|
|
257
278
|
}
|
|
258
279
|
}
|
|
280
|
+
|
|
259
281
|
}
|
|
260
282
|
|
|
261
283
|
&-vertical {
|
|
@@ -274,11 +296,6 @@
|
|
|
274
296
|
}
|
|
275
297
|
}
|
|
276
298
|
|
|
277
|
-
.k-menu-submenu-inner {
|
|
278
|
-
white-space: nowrap;
|
|
279
|
-
padding-right: 16px;
|
|
280
|
-
}
|
|
281
|
-
|
|
282
299
|
>.k-menu-item,
|
|
283
300
|
>.k-menu-submenu {
|
|
284
301
|
line-height: 1;
|
|
@@ -292,21 +309,24 @@
|
|
|
292
309
|
.k-menu-item,
|
|
293
310
|
.k-menu-submenu-title {
|
|
294
311
|
padding: 10px 12px;
|
|
295
|
-
margin:
|
|
312
|
+
margin: 4px;
|
|
313
|
+
// height: 40px;
|
|
314
|
+
box-sizing: border-box;
|
|
296
315
|
line-height: 1;
|
|
297
316
|
border-radius: var(--kui-border-radius);
|
|
298
|
-
display: flex;
|
|
299
|
-
align-items: center;
|
|
317
|
+
// display: flex;
|
|
318
|
+
// align-items: center;
|
|
300
319
|
|
|
301
320
|
&:hover {
|
|
302
|
-
background-color: var(--kui-color-
|
|
321
|
+
background-color: var(--kui-color-hover);
|
|
303
322
|
}
|
|
304
|
-
|
|
323
|
+
|
|
324
|
+
&:active {
|
|
305
325
|
background-color: var(--kui-color-actived);
|
|
306
326
|
}
|
|
307
327
|
}
|
|
308
328
|
|
|
309
|
-
.k-menu-submenu-
|
|
329
|
+
.k-menu-submenu-sub {
|
|
310
330
|
position: absolute;
|
|
311
331
|
top: 0;
|
|
312
332
|
box-sizing: content-box;
|
|
@@ -314,9 +334,6 @@
|
|
|
314
334
|
z-index: 1001;
|
|
315
335
|
min-width: 160px;
|
|
316
336
|
|
|
317
|
-
// box-shadow: 0 1px 6px rgba(0, 0, 0, .2);
|
|
318
|
-
// border-radius: var(--kui-border-radius);
|
|
319
|
-
// margin-left: 5px;
|
|
320
337
|
>.k-menu {
|
|
321
338
|
border-radius: var(--kui-border-radius);
|
|
322
339
|
border: none;
|
|
@@ -326,6 +343,7 @@
|
|
|
326
343
|
.k-menu-item-group-title {
|
|
327
344
|
line-height: 1;
|
|
328
345
|
padding: 0 12px;
|
|
346
|
+
box-sizing: border-box;
|
|
329
347
|
}
|
|
330
348
|
|
|
331
349
|
.k-menu-item-group-list .k-menu-item {
|
|
@@ -393,12 +411,14 @@
|
|
|
393
411
|
>.k-menu-submenu-title {
|
|
394
412
|
// margin: 0 16px;
|
|
395
413
|
padding: 10px 0;
|
|
414
|
+
box-sizing: border-box;
|
|
396
415
|
}
|
|
397
416
|
|
|
398
417
|
.k-menu-submenu-title {
|
|
399
418
|
padding: 10px 0;
|
|
400
|
-
|
|
401
|
-
|
|
419
|
+
box-sizing: border-box;
|
|
420
|
+
// display: flex;
|
|
421
|
+
// align-items: center;
|
|
402
422
|
}
|
|
403
423
|
|
|
404
424
|
.k-menu-submenu {
|
|
@@ -417,7 +437,7 @@
|
|
|
417
437
|
// position: absolute;
|
|
418
438
|
// right: 16px;
|
|
419
439
|
// }
|
|
420
|
-
.k-menu-submenu-
|
|
440
|
+
.k-menu-submenu-sub {
|
|
421
441
|
top: 0;
|
|
422
442
|
// transform: translateX(100%);
|
|
423
443
|
margin-left: 5px;
|
|
@@ -425,11 +445,6 @@
|
|
|
425
445
|
}
|
|
426
446
|
}
|
|
427
447
|
|
|
428
|
-
>.k-menu-submenu>.k-menu-submenu-title>.k-menu-submenu-arrow {
|
|
429
|
-
// top: 50%;
|
|
430
|
-
// transform: translateY(-50%);
|
|
431
|
-
}
|
|
432
|
-
|
|
433
448
|
>.k-menu-submenu-active>.k-menu-submenu-title>.k-menu-submenu-arrow {
|
|
434
449
|
transform: rotate(-180deg);
|
|
435
450
|
}
|
|
@@ -438,6 +453,7 @@
|
|
|
438
453
|
font-size: 12px;
|
|
439
454
|
line-height: 1;
|
|
440
455
|
padding: 0 12px;
|
|
456
|
+
box-sizing: border-box;
|
|
441
457
|
}
|
|
442
458
|
|
|
443
459
|
//light
|
|
@@ -456,66 +472,25 @@
|
|
|
456
472
|
}
|
|
457
473
|
}
|
|
458
474
|
|
|
459
|
-
&-inline-collapased {
|
|
460
|
-
width: 60px;
|
|
461
|
-
|
|
462
|
-
>.k-menu-submenu {
|
|
463
|
-
padding: 0;
|
|
464
|
-
}
|
|
465
|
-
|
|
466
|
-
>.k-menu-item,
|
|
467
|
-
>.k-menu-submenu>.k-menu-submenu-title {
|
|
468
|
-
// padding: 0 ;
|
|
469
|
-
text-overflow: clip;
|
|
470
|
-
overflow: hidden;
|
|
471
|
-
// text-align: center;
|
|
472
|
-
padding: 10px 12px;
|
|
473
|
-
|
|
474
|
-
.k-icon {
|
|
475
|
-
// font-size: 16px;
|
|
476
|
-
// margin-right: 0;
|
|
477
|
-
}
|
|
478
|
-
}
|
|
479
|
-
|
|
480
|
-
&>.k-menu-submenu>.k-menu-submenu-title>.k-menu-submenu-arrow {
|
|
481
|
-
display: none;
|
|
482
|
-
}
|
|
483
|
-
|
|
484
|
-
.k-icon {
|
|
485
|
-
&+span {
|
|
486
|
-
// width: 0;
|
|
487
|
-
opacity: 0;
|
|
488
|
-
// display: inline-block;
|
|
489
|
-
animation: toa .3s;
|
|
490
|
-
}
|
|
491
|
-
}
|
|
492
|
-
}
|
|
493
|
-
|
|
494
475
|
.k-menu-item-group-list {
|
|
495
476
|
margin: 0;
|
|
496
477
|
}
|
|
497
478
|
}
|
|
498
479
|
|
|
499
|
-
@keyframes toa {
|
|
500
|
-
from {
|
|
501
|
-
opacity: 1;
|
|
502
|
-
}
|
|
503
|
-
|
|
504
|
-
to {
|
|
505
|
-
opacity: 0;
|
|
506
|
-
}
|
|
507
|
-
}
|
|
508
480
|
|
|
509
|
-
.k-menu-submenu-popup
|
|
481
|
+
.k-menu-submenu-popup,
|
|
482
|
+
.k-dropdown-menu-submenu-popup {
|
|
510
483
|
position: absolute;
|
|
511
484
|
z-index: 1001;
|
|
512
485
|
|
|
513
|
-
>.k-menu-submenu-
|
|
486
|
+
>.k-menu-submenu-sub {
|
|
514
487
|
box-sizing: content-box;
|
|
515
488
|
min-width: 160px;
|
|
489
|
+
// margin-left: 5px;
|
|
516
490
|
|
|
517
491
|
.k-menu-item-group-title {
|
|
518
492
|
padding: 0 16px 0 12px;
|
|
493
|
+
box-sizing: border-box;
|
|
519
494
|
}
|
|
520
495
|
|
|
521
496
|
.k-menu-item-group-list {
|
|
@@ -557,18 +532,14 @@
|
|
|
557
532
|
}
|
|
558
533
|
}
|
|
559
534
|
}
|
|
560
|
-
|
|
561
|
-
.k-menu-item-icon+a {
|
|
562
|
-
display: inline-block;
|
|
563
|
-
}
|
|
564
535
|
}
|
|
565
536
|
|
|
566
537
|
.k-menu-submenu {
|
|
567
538
|
position: relative;
|
|
568
539
|
|
|
569
|
-
.k-menu-submenu-
|
|
570
|
-
padding-left: 5px;
|
|
571
|
-
left: 100
|
|
540
|
+
.k-menu-submenu-sub {
|
|
541
|
+
// padding-left: 5px;
|
|
542
|
+
left: calc(100% + 5px);
|
|
572
543
|
}
|
|
573
544
|
}
|
|
574
545
|
|
|
@@ -581,27 +552,57 @@
|
|
|
581
552
|
}
|
|
582
553
|
}
|
|
583
554
|
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
555
|
+
|
|
556
|
+
.k-menu-inline-collapased {
|
|
557
|
+
width: 60px;
|
|
558
|
+
|
|
559
|
+
.k-menu-item,
|
|
560
|
+
.k-menu-submenu-title {
|
|
561
|
+
// overflow: visible;
|
|
562
|
+
// display: block;
|
|
563
|
+
padding-left: calc(50% - 12px);
|
|
564
|
+
transition: padding 200ms 200ms ease-in-out;
|
|
565
|
+
// padding-right: calc(50% - 12px);
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
.k-menu-submenu-selected {
|
|
569
|
+
.k-menu-submenu-title {
|
|
570
|
+
background-color: var(--kui-color-selected);
|
|
571
|
+
}
|
|
572
|
+
}
|
|
573
|
+
|
|
574
|
+
>.k-menu-submenu {
|
|
575
|
+
padding: 0;
|
|
576
|
+
}
|
|
577
|
+
|
|
578
|
+
.k-menu-item-icon {
|
|
579
|
+
font-size: 16px;
|
|
580
|
+
transition: all .3s ease-in-out;
|
|
581
|
+
margin-right: 0;
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
.k-menu-submenu-arrow {
|
|
587
585
|
opacity: 0;
|
|
588
586
|
}
|
|
589
587
|
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
opacity:
|
|
588
|
+
|
|
589
|
+
.k-menu-title-content {
|
|
590
|
+
opacity: 0;
|
|
591
|
+
flex: auto;
|
|
592
|
+
min-width: 0;
|
|
593
593
|
}
|
|
594
594
|
}
|
|
595
595
|
|
|
596
|
-
|
|
596
|
+
|
|
597
|
+
@keyframes k-menu-zoom {
|
|
597
598
|
0% {
|
|
598
|
-
transform: scale(
|
|
599
|
-
opacity:
|
|
599
|
+
transform: scale(.8);
|
|
600
|
+
opacity: 0;
|
|
600
601
|
}
|
|
601
602
|
|
|
602
603
|
100% {
|
|
603
|
-
transform: scale(
|
|
604
|
-
opacity:
|
|
604
|
+
transform: scale(1);
|
|
605
|
+
opacity: 1;
|
|
605
606
|
}
|
|
606
607
|
}
|
|
607
608
|
|
|
@@ -609,17 +610,17 @@
|
|
|
609
610
|
.k-dropdown-menu-submenu-fade-enter-active {
|
|
610
611
|
animation-fill-mode: both;
|
|
611
612
|
transform-origin: 0% 0%;
|
|
612
|
-
animation: k-menu-zoom
|
|
613
|
+
animation: k-menu-zoom 0.2s cubic-bezier(.215, .61, .355, 1);
|
|
613
614
|
}
|
|
614
615
|
|
|
615
616
|
.k-menu-submenu-fade-leave-active,
|
|
616
617
|
.k-dropdown-menu-submenu-fade-leave-active {
|
|
617
618
|
animation-fill-mode: both;
|
|
618
619
|
transform-origin: 0% 0%;
|
|
619
|
-
animation: k-menu-zoom
|
|
620
|
+
animation: k-menu-zoom 0.2s cubic-bezier(.215, .61, .355, 1) reverse;
|
|
620
621
|
}
|
|
621
622
|
|
|
622
|
-
@keyframes
|
|
623
|
+
@keyframes drop-down {
|
|
623
624
|
0% {
|
|
624
625
|
opacity: 0;
|
|
625
626
|
transform: scaleY(0)
|
|
@@ -631,64 +632,64 @@
|
|
|
631
632
|
}
|
|
632
633
|
}
|
|
633
634
|
|
|
634
|
-
@keyframes dropDownOut {
|
|
635
|
-
0% {
|
|
636
|
-
opacity: 1;
|
|
637
|
-
transform: scaleY(1)
|
|
638
|
-
}
|
|
639
|
-
|
|
640
|
-
to {
|
|
641
|
-
opacity: 0;
|
|
642
|
-
transform: scaleY(0)
|
|
643
|
-
}
|
|
644
|
-
}
|
|
645
635
|
|
|
646
636
|
.k-dropdown-enter-active {
|
|
647
|
-
animation:
|
|
637
|
+
animation: drop-down .3s;
|
|
648
638
|
}
|
|
649
639
|
|
|
650
640
|
.k-dropdown-leave-active {
|
|
651
|
-
animation:
|
|
641
|
+
animation: drop-down .3s reverse;
|
|
652
642
|
}
|
|
653
643
|
|
|
644
|
+
.k-dropdown-menu-submenu-popup-enter-active,
|
|
654
645
|
.k-menu-submenu-popup-enter-active {
|
|
655
|
-
|
|
656
|
-
|
|
646
|
+
|
|
647
|
+
&[k-placement="bottom-left"],
|
|
648
|
+
&[k-placement="bottom-right"] ,
|
|
649
|
+
&[k-placement="top-left"],
|
|
650
|
+
&[k-placement="top-right"] {
|
|
651
|
+
animation: drop-down .3s;
|
|
657
652
|
}
|
|
658
653
|
|
|
659
654
|
&[k-placement="left-bottom"],
|
|
660
655
|
&[k-placement="right-top"],
|
|
656
|
+
&[k-placement="left-top"],
|
|
661
657
|
&[k-placement="right-bottom"] {
|
|
662
658
|
animation-fill-mode: both;
|
|
663
|
-
animation: k-menu-zoom
|
|
659
|
+
animation: k-menu-zoom 0.2s cubic-bezier(.215, .61, .355, 1);
|
|
664
660
|
}
|
|
665
661
|
}
|
|
666
662
|
|
|
663
|
+
.k-dropdown-menu-submenu-popup-leave-active,
|
|
667
664
|
.k-menu-submenu-popup-leave-active {
|
|
668
665
|
|
|
669
666
|
&[k-placement="left-bottom"],
|
|
670
667
|
&[k-placement="right-top"],
|
|
668
|
+
&[k-placement="left-top"],
|
|
671
669
|
&[k-placement="right-bottom"] {
|
|
672
670
|
animation-fill-mode: both;
|
|
673
|
-
animation: k-menu-zoom
|
|
671
|
+
animation: k-menu-zoom 0.2s cubic-bezier(.215, .61, .355, 1) reverse;
|
|
674
672
|
}
|
|
675
673
|
|
|
676
|
-
&[k-placement="
|
|
677
|
-
|
|
674
|
+
&[k-placement="top-left"],
|
|
675
|
+
&[k-placement="top-right"],
|
|
676
|
+
&[k-placement="bottom-left"],
|
|
677
|
+
&[k-placement="bottom-right"] {
|
|
678
|
+
animation: drop-down .3s reverse;
|
|
678
679
|
}
|
|
679
680
|
}
|
|
680
681
|
|
|
681
682
|
.k-collaplse-slide-enter-active {
|
|
682
|
-
animation:
|
|
683
|
+
animation: slide 0.15s ease-in-out;
|
|
683
684
|
animation-fill-mode: both;
|
|
684
685
|
}
|
|
685
686
|
|
|
686
687
|
.k-collaplse-slide-leave-active {
|
|
687
|
-
animation:
|
|
688
|
+
animation: slide 0.3s ease-in-out reverse;
|
|
688
689
|
animation-fill-mode: both;
|
|
689
690
|
}
|
|
690
691
|
|
|
691
|
-
@keyframes
|
|
692
|
+
@keyframes slide {
|
|
692
693
|
0% {
|
|
693
694
|
transform: scaleY(0);
|
|
694
695
|
transform-origin: 0% 0%;
|
|
@@ -700,18 +701,4 @@
|
|
|
700
701
|
transform-origin: 0% 0%;
|
|
701
702
|
opacity: 1;
|
|
702
703
|
}
|
|
703
|
-
}
|
|
704
|
-
|
|
705
|
-
@keyframes slideOut {
|
|
706
|
-
0% {
|
|
707
|
-
transform: scaleY(1);
|
|
708
|
-
transform-origin: 0% 0%;
|
|
709
|
-
opacity: 1;
|
|
710
|
-
}
|
|
711
|
-
|
|
712
|
-
100% {
|
|
713
|
-
transform: scaleY(0);
|
|
714
|
-
transform-origin: 0% 0%;
|
|
715
|
-
opacity: 0;
|
|
716
|
-
}
|
|
717
704
|
}
|