kui-vue 3.2.11 → 3.3.0
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/scroll.js +1 -1
- package/components/alert/alert.jsx +10 -8
- package/components/avatar/AvatarGroup.jsx +22 -0
- package/components/avatar/avatar.jsx +10 -3
- package/components/avatar/demo/base.md +8 -8
- package/components/avatar/demo/types.md +17 -4
- package/components/avatar/styles/index.less +6 -2
- package/components/backtop/backtop.jsx +2 -1
- package/components/badge/demo/color.md +2 -2
- package/components/badge/demo/dot.md +11 -1
- package/components/badge/demo/dynamic.md +5 -3
- package/components/base/input.jsx +6 -5
- package/components/base/pop.jsx +2 -1
- package/components/breadcrumb/breadcrumbItem.jsx +1 -1
- package/components/breadcrumb/demo/icon.md +13 -3
- package/components/breadcrumb/demo/separator.md +13 -3
- package/components/breadcrumb/styles/index.less +3 -1
- package/components/button/button.jsx +3 -2
- package/components/button/demo/group.md +12 -2
- package/components/button/demo/light.md +18 -8
- package/components/button/demo/loading.md +8 -6
- package/components/button/demo/normal.md +18 -8
- package/components/button/demo/size.md +8 -6
- package/components/button/demo/with-icon.md +17 -7
- package/components/button/styles/index.less +5 -5
- package/components/card/card.jsx +1 -1
- package/components/card/demo/base.md +11 -1
- package/components/card/demo/border.md +11 -1
- package/components/carousel/carousel.jsx +4 -2
- package/components/carousel/styles/index.less +7 -1
- package/components/checkbox/checkbox.jsx +2 -1
- package/components/checkbox/demo/base.md +2 -2
- package/components/checkbox/demo/disabled.md +2 -2
- package/components/collapse/demo/accrodion.md +1 -1
- package/components/collapse/demo/base.md +1 -1
- package/components/collapse/demo/extra.md +6 -4
- package/components/collapse/demo/nesting.md +1 -1
- package/components/collapse/demo/sample.md +1 -1
- package/components/collapse/panel.jsx +2 -1
- package/components/collapse/styles/index.less +2 -2
- package/components/colorPicker/colorpicker.jsx +5 -5
- package/components/colorPicker/demo/shape.md +3 -1
- package/components/colorPicker/styles/index.less +13 -1
- package/components/datePicker/datecalendar.jsx +9 -5
- package/components/datePicker/datepicker.jsx +6 -6
- package/components/datePicker/demo/format.md +2 -2
- package/components/datePicker/demo/inside.md +4 -2
- package/components/datePicker/demo/size.md +2 -2
- package/components/datePicker/demo/theme.md +6 -4
- package/components/datePicker/styles/datepicker.less +5 -6
- package/components/descriptions/demo/size.md +2 -2
- package/components/drawer/demo/base.md +2 -2
- package/components/drawer/demo/custom.md +2 -2
- package/components/drawer/demo/form.md +2 -2
- package/components/drawer/demo/target.md +2 -2
- package/components/drawer/drawer.jsx +2 -1
- package/components/dropdown/demo/base.md +16 -6
- package/components/dropdown/demo/cascading.md +11 -1
- package/components/dropdown/demo/custom.md +3 -1
- package/components/dropdown/demo/divider.md +11 -3
- package/components/dropdown/demo/rightmenu.md +9 -3
- package/components/empty/demo/custom.md +12 -2
- package/components/empty/demo/use.md +2 -2
- package/components/empty/empty.jsx +2 -1
- package/components/form/demo/align.md +1 -1
- package/components/form/demo/base.md +3 -3
- package/components/form/demo/customvalid.md +1 -1
- package/components/form/demo/dynamicvalid.md +4 -2
- package/components/form/styles/index.less +0 -5
- package/components/grid/col.jsx +34 -5
- package/components/grid/demo/gutter.md +52 -11
- package/components/grid/index.md +7 -7
- package/components/grid/row.jsx +24 -4
- package/components/grid/styles/index.less +9 -23
- package/components/icon/demo/base.md +14 -4
- package/components/icon/demo/info.md +25 -1
- package/components/icon/demo/search.vue +43 -21
- package/components/icon/demo/stroke.md +17 -4
- package/components/icon/icon.jsx +6 -4
- package/components/icon/index.md +1 -1
- package/components/icon/lib/dist.json +1 -1
- package/components/icon/lib/kui-icons.js +1 -1
- package/components/icon/lib/sprite.svg +1 -1
- package/components/image/demo/errors.md +1 -1
- package/components/image/demo/extra.md +16 -14
- package/components/image/demo/extra_globle.md +8 -7
- package/components/image/image.jsx +3 -13
- package/components/image/preview.jsx +12 -12
- package/components/image/styles/index.less +8 -3
- package/components/input/demo/icon.md +10 -4
- package/components/input/demo/size.md +13 -3
- package/components/input/demo/suffix.md +7 -5
- package/components/input/demo/theme.md +5 -3
- package/components/input/input.jsx +1 -1
- package/components/inputNumber/demo/ffix.md +12 -2
- package/components/inputNumber/demo/format.md +1 -1
- package/components/inputNumber/demo/size.md +13 -3
- package/components/inputNumber/inputNumber.jsx +13 -7
- package/components/inputNumber/styles/index.less +7 -0
- package/components/layout/demo/layout1.md +17 -7
- package/components/layout/demo/layout2.md +18 -17
- package/components/layout/demo/layout3.md +15 -15
- package/components/layout/demo/layout4.md +16 -15
- package/components/layout/demo/layout5.md +90 -67
- package/components/layout/styles/index.less +12 -12
- package/components/menu/demo/accrodion.md +6 -4
- package/components/menu/demo/base.md +7 -5
- package/components/menu/demo/collapsed.md +8 -6
- package/components/menu/demo/inline.md +6 -4
- package/components/menu/demo/mode.md +7 -5
- package/components/menu/demo/theme.md +7 -5
- package/components/menu/demo/vertical.md +7 -5
- package/components/menu/menuitem.jsx +3 -2
- package/components/menu/styles/dropmenu.less +12 -4
- package/components/menu/styles/index.less +501 -495
- package/components/menu/submenu.jsx +4 -3
- package/components/message/demo/icon.md +8 -2
- package/components/message/inner.jsx +8 -7
- package/components/modal/demo/base.md +2 -2
- package/components/modal/demo/custom.md +5 -3
- package/components/modal/demo/global.md +9 -3
- package/components/modal/demo/more.md +2 -2
- package/components/modal/modal.jsx +3 -3
- package/components/notice/demo/icon.md +10 -4
- package/components/page/demo/sizer.md +2 -2
- package/components/page/page.jsx +5 -4
- package/components/page/styles/index.less +21 -7
- package/components/popconfirm/demo/placement.md +2 -2
- package/components/poptip/demo/closeinside.md +2 -2
- package/components/poptip/demo/placement.md +2 -2
- package/components/progress/demo/color.md +5 -3
- package/components/progress/demo/dashboard.md +3 -3
- package/components/progress/demo/dynamic.md +5 -3
- package/components/progress/demo/size.md +4 -4
- package/components/progress/progress.jsx +6 -5
- package/components/radio/demo/base.md +2 -2
- package/components/radio/demo/button.md +2 -2
- package/components/radio/demo/disabled.md +2 -2
- package/components/radio/styles/index.less +3 -0
- package/components/rate/demo/base.md +12 -2
- package/components/rate/demo/character.md +11 -1
- package/components/rate/demo/custom.md +7 -6
- package/components/rate/demo/disabled.md +11 -1
- package/components/rate/demo/tips.md +1 -1
- package/components/rate/rate.jsx +2 -2
- package/components/rate/star.jsx +4 -3
- package/components/select/demo/clearable.md +2 -2
- package/components/select/demo/filterable.md +2 -2
- package/components/select/demo/icon.md +5 -3
- package/components/select/demo/multiple.md +2 -2
- package/components/select/demo/search.md +2 -2
- package/components/select/demo/size.md +7 -5
- package/components/select/demo/theme.md +6 -4
- package/components/select/option.jsx +2 -12
- package/components/select/select.jsx +9 -12
- package/components/select/styles/index.less +4 -15
- package/components/skeleton/demo/child.md +2 -2
- package/components/skeleton/demo/custom.md +1 -1
- package/components/skeleton/demo/list.md +1 -1
- package/components/skeleton/skeletonAvatar.jsx +1 -0
- package/components/skeleton/skeletonButton.jsx +1 -0
- package/components/skeleton/skeletonImage.jsx +1 -0
- package/components/skeleton/skeletonText.jsx +1 -0
- package/components/slider/demo/base.md +11 -6
- package/components/slider/demo/marks.md +37 -26
- package/components/slider/demo/reverse.md +1 -1
- package/components/slider/slider.jsx +79 -35
- package/components/slider/styles/index.less +6 -3
- package/components/slider/thumb.jsx +23 -39
- package/components/space/demo/base.md +11 -1
- package/components/space/demo/custom-size.md +1 -6
- package/components/space/demo/size.md +2 -2
- package/components/space/demo/vertical.md +12 -2
- package/components/space/space.jsx +2 -2
- package/components/spin/demo/container.md +2 -2
- package/components/spin/demo/mode.md +2 -2
- package/components/steps/step.vue +1 -1
- package/components/styles/sys.less +22 -20
- package/components/styles/var.less +140 -149
- package/components/switch/demo/base.md +2 -2
- package/components/switch/demo/disabled.md +2 -2
- package/components/switch/demo/text.md +10 -8
- package/components/switch/switch.jsx +2 -1
- package/components/table/demo/base-render.md +41 -38
- package/components/table/demo/base.md +3 -1
- package/components/table/demo/bordered.md +1 -1
- package/components/table/demo/custom-header.md +10 -8
- package/components/table/demo/edit.md +2 -2
- package/components/table/demo/ellipsis.md +5 -3
- package/components/table/demo/embed.md +2 -2
- package/components/table/demo/expand.md +5 -3
- package/components/table/demo/filter.md +2 -2
- package/components/table/demo/fixed-col.md +5 -5
- package/components/table/demo/fixed-head.md +3 -3
- package/components/table/demo/fixed.md +14 -6
- package/components/table/demo/fixedspan.md +2 -7
- package/components/table/demo/index.vue +1 -1
- package/components/table/demo/selection.md +6 -4
- package/components/table/demo/size.md +3 -1
- package/components/table/demo/span.md +2 -2
- package/components/table/extend.jsx +157 -55
- package/components/table/index.md +1 -0
- package/components/table/styles/index.less +85 -101
- package/components/table/table.jsx +37 -176
- package/components/table/utils.js +17 -13
- package/components/tabs/demo/base.md +2 -2
- package/components/tabs/demo/card.md +2 -2
- package/components/tabs/demo/centered.md +2 -2
- package/components/tabs/demo/closable.md +4 -2
- package/components/tabs/demo/disabled.md +2 -2
- package/components/tabs/demo/extra.md +2 -2
- package/components/tabs/demo/icon.md +6 -4
- package/components/tabs/demo/sample.md +2 -2
- package/components/tabs/styles/index.less +3 -2
- package/components/tabs/tabpane.jsx +1 -1
- package/components/tabs/tabs.jsx +4 -3
- package/components/tag/demo/color.md +2 -2
- package/components/tag/demo/dynamic.md +3 -1
- package/components/tag/tag.jsx +2 -1
- package/components/timeline/demo/icon.md +12 -2
- package/components/timeline/demo/mode.md +6 -4
- package/components/timeline/styles/index.less +8 -0
- package/components/timeline/timelineitem.jsx +2 -3
- package/components/tooltip/demo/base.md +2 -2
- package/components/tooltip/demo/color.md +2 -2
- package/components/tooltip/demo/placement.md +2 -2
- package/components/tree/demo/custom-render.md +8 -7
- package/components/tree/demo/directory.md +59 -47
- package/components/tree/demo/icon.md +13 -11
- package/components/tree/demo/treenode.md +3 -1
- package/components/tree/node.jsx +3 -3
- package/components/tree/styles/index.less +2 -2
- package/components/upload/demo/accept.md +6 -4
- package/components/upload/demo/avatar.md +4 -2
- package/components/upload/demo/base.md +4 -2
- package/components/upload/demo/custom.md +4 -2
- package/components/upload/demo/directory.md +4 -2
- package/components/upload/demo/draggable.md +4 -2
- package/components/upload/demo/exceed.md +4 -2
- package/components/upload/demo/file-list.md +4 -2
- package/components/upload/demo/form.md +5 -3
- package/components/upload/demo/picture.md +1 -1
- package/components/upload/upload.jsx +9 -5
- package/dist/k-ui.css +2 -3
- package/dist/k-ui.js +2 -3
- package/dist/locale/de.js +7 -0
- package/dist/locale/el.js +7 -0
- package/dist/locale/en.js +7 -0
- package/dist/locale/fr.js +7 -0
- package/dist/locale/it.js +7 -0
- package/dist/locale/ja.js +7 -0
- package/dist/locale/ko.js +7 -0
- package/dist/locale/ru.js +7 -0
- package/dist/locale/th.js +7 -0
- package/dist/locale/ua.js +7 -0
- package/dist/locale/vi.js +7 -0
- package/dist/locale/zhCN.js +7 -0
- package/dist/locale/zhTW.js +7 -0
- package/package.json +3 -2
- package/readme.md +39 -22
|
@@ -1,421 +1,264 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
@import '../../styles/var.less';
|
|
2
|
+
@import 'dropmenu.less';
|
|
3
|
+
.k-menu {
|
|
4
|
+
display: block;
|
|
5
|
+
margin: 0;
|
|
6
|
+
padding: 0;
|
|
7
|
+
outline: 0;
|
|
8
|
+
font-size: 14px;
|
|
9
|
+
position: relative;
|
|
10
|
+
zoom: 1;
|
|
11
|
+
background: var(--kui-color-back);
|
|
12
|
+
list-style: none;
|
|
13
|
+
color: var(--kui-color-font);
|
|
14
|
+
// transition: background-color .3s cubic-bezier(.645, .045, .355, 1), width .3s cubic-bezier(.645, .045, .355, 1);
|
|
15
|
+
transition: width .3s cubic-bezier(.645, .045, .355, 1);
|
|
16
|
+
user-select: none;
|
|
17
|
+
ol, ul, li {
|
|
18
|
+
list-style: none !important;
|
|
5
19
|
margin: 0;
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
20
|
+
}
|
|
21
|
+
// &:after, &:before {
|
|
22
|
+
// content: "";
|
|
23
|
+
// display: table;
|
|
24
|
+
// }
|
|
25
|
+
.k-menu-item-divider {
|
|
26
|
+
height: 1px;
|
|
27
|
+
margin: 4px 0;
|
|
28
|
+
overflow: hidden;
|
|
29
|
+
line-height: 0;
|
|
30
|
+
background-color: var(--kui-color-border);
|
|
31
|
+
}
|
|
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
|
+
.k-menu-item-icon, .k-menu-submenu-inner .k-icon {
|
|
40
|
+
margin-right: 8px;
|
|
41
|
+
font-size: 20px;
|
|
42
|
+
// vertical-align: middle;
|
|
43
|
+
}
|
|
44
|
+
.k-menu-item-icon+a {
|
|
45
|
+
display: inline-block;
|
|
46
|
+
}
|
|
47
|
+
&-submenu-arrow {
|
|
48
|
+
transition: all .3s;
|
|
49
|
+
// position: absolute;
|
|
50
|
+
// right: 16px;
|
|
51
|
+
margin-left: 6px;
|
|
52
|
+
width: 14px;
|
|
53
|
+
height: 14px;
|
|
54
|
+
text-indent: 0;
|
|
55
|
+
}
|
|
56
|
+
// .k-icon {
|
|
57
|
+
// &+span {
|
|
58
|
+
// opacity: 1;
|
|
59
|
+
// transition: all .3s cubic-bezier(.645, .045, .355, 1), width .3s cubic-bezier(.645, .045, .355, 1);
|
|
60
|
+
// }
|
|
61
|
+
// }
|
|
62
|
+
&-item, .k-menu-submenu-title {
|
|
63
|
+
cursor: pointer;
|
|
64
|
+
overflow: hidden;
|
|
65
|
+
text-overflow: ellipsis;
|
|
66
|
+
white-space: nowrap;
|
|
9
67
|
position: relative;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
68
|
+
transition: font-size .3s cubic-bezier(.215, .61, .355, 1), padding .3s cubic-bezier(.215, .61, .355, 1);
|
|
69
|
+
// transition: all .3s cubic-bezier(.215, .61, .355, 1);
|
|
70
|
+
}
|
|
71
|
+
//light
|
|
72
|
+
.k-menu-item-group-title {
|
|
73
|
+
font-size: 12px;
|
|
74
|
+
color: var(--kui-color-icon);
|
|
75
|
+
}
|
|
76
|
+
>.k-menu-item>a {
|
|
13
77
|
color: var(--kui-color-font);
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
ol, ul, li {
|
|
18
|
-
list-style: none !important;
|
|
19
|
-
margin: 0;
|
|
20
|
-
}
|
|
21
|
-
// &:after, &:before {
|
|
22
|
-
// content: "";
|
|
23
|
-
// display: table;
|
|
24
|
-
// }
|
|
25
|
-
.k-menu-item-divider {
|
|
26
|
-
height: 1px;
|
|
27
|
-
margin: 4px 0;
|
|
28
|
-
overflow: hidden;
|
|
29
|
-
line-height: 0;
|
|
30
|
-
background-color: var(--kui-color-border);
|
|
31
|
-
}
|
|
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
|
-
.k-menu-item-icon, .k-menu-submenu-inner .k-icon {
|
|
40
|
-
margin-right: 8px;
|
|
41
|
-
font-size: 20px;
|
|
42
|
-
// vertical-align: middle;
|
|
43
|
-
}
|
|
44
|
-
.k-menu-item-icon+a {
|
|
45
|
-
display: inline-block;
|
|
46
|
-
}
|
|
47
|
-
&-submenu-arrow {
|
|
48
|
-
transition: all .3s;
|
|
49
|
-
// position: absolute;
|
|
50
|
-
// right: 16px;
|
|
51
|
-
margin-left: 6px;
|
|
52
|
-
width: 14px;
|
|
53
|
-
height: 14px;
|
|
54
|
-
text-indent: 0;
|
|
55
|
-
}
|
|
56
|
-
// .k-icon {
|
|
57
|
-
// &+span {
|
|
58
|
-
// opacity: 1;
|
|
59
|
-
// transition: all .3s cubic-bezier(.645, .045, .355, 1), width .3s cubic-bezier(.645, .045, .355, 1);
|
|
60
|
-
// }
|
|
61
|
-
// }
|
|
62
|
-
&-item, .k-menu-submenu-title {
|
|
63
|
-
cursor: pointer;
|
|
64
|
-
overflow: hidden;
|
|
65
|
-
text-overflow: ellipsis;
|
|
66
|
-
white-space: nowrap;
|
|
67
|
-
position: relative;
|
|
68
|
-
transition: font-size .3s cubic-bezier(.215, .61, .355, 1), padding .3s cubic-bezier(.215, .61, .355, 1);
|
|
69
|
-
// transition: all .3s cubic-bezier(.215, .61, .355, 1);
|
|
70
|
-
}
|
|
71
|
-
//light
|
|
72
|
-
.k-menu-item-group-title {
|
|
73
|
-
font-size: 12px;
|
|
74
|
-
color: var(--kui-color-icon);
|
|
78
|
+
display: block;
|
|
79
|
+
&:hover {
|
|
80
|
+
color: var(--kui-color-main);
|
|
75
81
|
}
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
+
}
|
|
83
|
+
.k-menu-item-active, .k-menu-item-selected {
|
|
84
|
+
color: var(--kui-color-main);
|
|
85
|
+
background-color: var(--kui-color-hover);
|
|
86
|
+
a {
|
|
87
|
+
color: var(--kui-color-main);
|
|
82
88
|
}
|
|
83
|
-
|
|
89
|
+
}
|
|
90
|
+
>.k-menu-submenu-selected, >.k-menu-submenu-active {
|
|
91
|
+
>.k-menu-submenu-title {
|
|
84
92
|
color: var(--kui-color-main);
|
|
85
|
-
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
.k-menu-item-disabled, .k-menu-submenu-disabled {
|
|
96
|
+
color: var(--kui-color-disable-color);
|
|
97
|
+
cursor: not-allowed;
|
|
98
|
+
}
|
|
99
|
+
.k-menu-submenu-inner {
|
|
100
|
+
display: flex;
|
|
101
|
+
align-items: center;
|
|
102
|
+
}
|
|
103
|
+
//light-end
|
|
104
|
+
&-inline {
|
|
105
|
+
border-right: 1px solid var(--kui-color-border);
|
|
106
|
+
width: 100%;
|
|
107
|
+
display: inline-block;
|
|
108
|
+
.k-menu-item, .k-menu-submenu {
|
|
109
|
+
line-height: 1;
|
|
110
|
+
font-size: 14px;
|
|
111
|
+
list-style: none;
|
|
86
112
|
a {
|
|
87
|
-
|
|
113
|
+
display: block;
|
|
114
|
+
margin: 0 -24px 0 -48px;
|
|
115
|
+
padding: 0 24px 0 48px;
|
|
88
116
|
}
|
|
89
117
|
}
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
color: var(--kui-color-main);
|
|
93
|
-
}
|
|
118
|
+
.k-menu-item-group-title {
|
|
119
|
+
padding: 0 16px 0 32px;
|
|
94
120
|
}
|
|
95
|
-
.k-menu
|
|
96
|
-
|
|
97
|
-
|
|
121
|
+
.k-menu {
|
|
122
|
+
border: 0;
|
|
123
|
+
list-style: none;
|
|
124
|
+
margin: 0;
|
|
125
|
+
padding: 0;
|
|
98
126
|
}
|
|
99
|
-
.k-menu-
|
|
127
|
+
.k-menu-item {
|
|
128
|
+
padding: 10px 12px;
|
|
129
|
+
// width: calc(100% + 1px);
|
|
130
|
+
// width:100%;
|
|
131
|
+
box-sizing: border-box;
|
|
132
|
+
position: relative;
|
|
133
|
+
margin: 8px;
|
|
134
|
+
border-radius: var(--kui-border-radius);
|
|
100
135
|
display: flex;
|
|
101
136
|
align-items: center;
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
list-style: none;
|
|
112
|
-
a {
|
|
113
|
-
display: block;
|
|
114
|
-
margin: 0 -24px 0 -48px;
|
|
115
|
-
padding: 0 24px 0 48px;
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
.k-menu-item-group-title {
|
|
119
|
-
padding: 0 16px 0 32px;
|
|
120
|
-
}
|
|
121
|
-
.k-menu {
|
|
122
|
-
border: 0;
|
|
123
|
-
list-style: none;
|
|
124
|
-
margin: 0;
|
|
125
|
-
padding: 0;
|
|
137
|
+
&::after {
|
|
138
|
+
content: '';
|
|
139
|
+
position: absolute;
|
|
140
|
+
width: 0;
|
|
141
|
+
height: 0;
|
|
142
|
+
border-right: 3px solid var(--kui-color-main);
|
|
143
|
+
top: 50%;
|
|
144
|
+
right: 0;
|
|
145
|
+
transition: all .3s cubic-bezier(.215, .61, .355, 1);
|
|
126
146
|
}
|
|
147
|
+
}
|
|
148
|
+
.k-menu-submenu {
|
|
127
149
|
.k-menu-item {
|
|
128
|
-
padding: 10px 12px;
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
box-sizing: border-box;
|
|
132
|
-
position: relative;
|
|
133
|
-
margin: 8px;
|
|
134
|
-
border-radius: var(--kui-border-radius);
|
|
135
|
-
display: flex;
|
|
136
|
-
align-items: center;
|
|
137
|
-
&::after {
|
|
138
|
-
content: '';
|
|
139
|
-
position: absolute;
|
|
140
|
-
width: 0;
|
|
141
|
-
height: 0;
|
|
142
|
-
border-right: 3px solid var(--kui-color-main);
|
|
143
|
-
top: 50%;
|
|
144
|
-
right: 0;
|
|
145
|
-
transition: all .3s cubic-bezier(.215, .61, .355, 1);
|
|
150
|
+
padding: 10px 24px 10px 12px;
|
|
151
|
+
&:first-child {
|
|
152
|
+
margin-top: 0;
|
|
146
153
|
}
|
|
147
154
|
}
|
|
148
155
|
.k-menu-submenu {
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
margin-top: 0;
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
.k-menu-submenu {
|
|
156
|
-
//doto:
|
|
157
|
-
// text-indent: 12px;
|
|
158
|
-
// padding-left: 12px;
|
|
159
|
-
.k-menu-submenu-title {
|
|
160
|
-
padding-left: 40px;
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
.k-menu-submenu-title {
|
|
165
|
-
padding: 10px 36px 10px 12px;
|
|
166
|
-
height: 40px;
|
|
167
|
-
box-sizing: border-box;
|
|
168
|
-
display: flex;
|
|
169
|
-
align-items: center;
|
|
170
|
-
position: relative;
|
|
171
|
-
margin: 0 8px 8px 8px;
|
|
172
|
-
border-radius: var(--kui-border-radius);
|
|
173
|
-
font-weight: 600;
|
|
174
|
-
.k-menu-submenu-arrow {
|
|
175
|
-
position: absolute;
|
|
176
|
-
right: 16px;
|
|
177
|
-
top: 50%;
|
|
178
|
-
transform: translateY(-50%);
|
|
179
|
-
}
|
|
180
|
-
&:hover {
|
|
181
|
-
background-color: var(--kui-color-main-90);
|
|
182
|
-
}
|
|
183
|
-
}
|
|
184
|
-
.k-menu-submenu-popup {
|
|
185
|
-
transition: all 0.3s cubic-bezier(.215, .61, .355, 1);
|
|
186
|
-
overflow: hidden;
|
|
187
|
-
position: static;
|
|
188
|
-
.k-menu {
|
|
189
|
-
// background-color: var(--kui-color-gray-90);
|
|
190
|
-
}
|
|
191
|
-
}
|
|
192
|
-
>.k-menu-submenu-opened>.k-menu-submenu-title>.k-menu-submenu-arrow {
|
|
193
|
-
transform: rotate(-180deg) translateY(50%);
|
|
194
|
-
}
|
|
195
|
-
//light
|
|
196
|
-
.k-menu-item-selected {
|
|
197
|
-
background-color: var(--kui-color-selected);
|
|
198
|
-
&::after {
|
|
199
|
-
display: none;
|
|
200
|
-
}
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
|
-
&-vertical {
|
|
204
|
-
width: 100%;
|
|
205
|
-
border-right: 1px solid var(--kui-color-border);
|
|
206
|
-
display: inline-block;
|
|
207
|
-
.k-menu-item-selected {
|
|
208
|
-
background-color: var(--kui-color-selected);
|
|
209
|
-
}
|
|
210
|
-
.k-menu-submenu-active, .k-menu-submenu-selected {
|
|
156
|
+
//doto:
|
|
157
|
+
// text-indent: 12px;
|
|
158
|
+
// padding-left: 12px;
|
|
211
159
|
.k-menu-submenu-title {
|
|
212
|
-
|
|
213
|
-
}
|
|
214
|
-
}
|
|
215
|
-
.k-menu-submenu-inner {
|
|
216
|
-
white-space: nowrap;
|
|
217
|
-
padding-right: 16px;
|
|
218
|
-
}
|
|
219
|
-
>.k-menu-item, >.k-menu-submenu {
|
|
220
|
-
line-height: 1;
|
|
221
|
-
position: relative;
|
|
222
|
-
cursor: pointer;
|
|
223
|
-
font-size: 14px;
|
|
224
|
-
z-index: 3;
|
|
225
|
-
list-style: none;
|
|
226
|
-
}
|
|
227
|
-
.k-menu-item, .k-menu-submenu-title {
|
|
228
|
-
padding: 10px 12px;
|
|
229
|
-
margin: 8px;
|
|
230
|
-
line-height: 1;
|
|
231
|
-
border-radius: var(--kui-border-radius);
|
|
232
|
-
display: flex;
|
|
233
|
-
align-items: center;
|
|
234
|
-
&:hover {
|
|
235
|
-
background-color: var(--kui-color-main-90);
|
|
236
|
-
}
|
|
237
|
-
}
|
|
238
|
-
.k-menu-submenu-popup {
|
|
239
|
-
position: absolute;
|
|
240
|
-
top: 0;
|
|
241
|
-
box-sizing: content-box;
|
|
242
|
-
position: absolute;
|
|
243
|
-
z-index: 1001;
|
|
244
|
-
min-width: 160px;
|
|
245
|
-
// box-shadow: 0 1px 6px rgba(0, 0, 0, .2);
|
|
246
|
-
// border-radius: var(--kui-border-radius);
|
|
247
|
-
// margin-left: 5px;
|
|
248
|
-
>.k-menu {
|
|
249
|
-
border-radius: var(--kui-border-radius);
|
|
250
|
-
border: none;
|
|
251
|
-
margin: 0;
|
|
252
|
-
list-style: none;
|
|
253
|
-
.k-menu-item-group-title {
|
|
254
|
-
line-height: 1;
|
|
255
|
-
padding: 0 12px;
|
|
256
|
-
}
|
|
257
|
-
.k-menu-item-group-list .k-menu-item {
|
|
258
|
-
position: relative;
|
|
259
|
-
}
|
|
260
|
-
.k-menu-item {
|
|
261
|
-
line-height: 1;
|
|
262
|
-
&:first-child {
|
|
263
|
-
border-top-left-radius: var(--kui-border-radius);
|
|
264
|
-
border-top-right-radius: var(--kui-border-radius);
|
|
265
|
-
}
|
|
266
|
-
&:last-child {
|
|
267
|
-
border-bottom-left-radius: var(--kui-border-radius);
|
|
268
|
-
border-bottom-right-radius: var(--kui-border-radius);
|
|
269
|
-
}
|
|
270
|
-
}
|
|
271
|
-
}
|
|
272
|
-
.k-menu-submenu {
|
|
273
|
-
position: relative;
|
|
160
|
+
padding-left: 40px;
|
|
274
161
|
}
|
|
275
162
|
}
|
|
276
|
-
|
|
163
|
+
}
|
|
164
|
+
.k-menu-submenu-title {
|
|
165
|
+
padding: 10px 36px 10px 12px;
|
|
166
|
+
height: 40px;
|
|
167
|
+
box-sizing: border-box;
|
|
168
|
+
display: flex;
|
|
169
|
+
align-items: center;
|
|
170
|
+
position: relative;
|
|
171
|
+
margin: 0 8px 8px 8px;
|
|
172
|
+
border-radius: var(--kui-border-radius);
|
|
173
|
+
font-weight: 600;
|
|
174
|
+
.k-menu-submenu-arrow {
|
|
277
175
|
position: absolute;
|
|
278
176
|
right: 16px;
|
|
279
|
-
margin: 0;
|
|
280
177
|
top: 50%;
|
|
281
178
|
transform: translateY(-50%);
|
|
282
179
|
}
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
border-bottom: 1px solid var(--kui-color-border);
|
|
286
|
-
white-space: nowrap;
|
|
287
|
-
font-size: 0;
|
|
288
|
-
line-height: 1;
|
|
289
|
-
.k-menu-icon-temp {
|
|
290
|
-
display: none;
|
|
291
|
-
}
|
|
292
|
-
>.k-menu-item, >.k-menu-submenu {
|
|
293
|
-
line-height: 1;
|
|
294
|
-
margin: 0 16px;
|
|
295
|
-
position: relative;
|
|
296
|
-
cursor: pointer;
|
|
297
|
-
font-size: 14px;
|
|
298
|
-
z-index: 3;
|
|
299
|
-
display: inline-block;
|
|
300
|
-
list-style: none;
|
|
301
|
-
top: 1px;
|
|
302
|
-
vertical-align: bottom;
|
|
303
|
-
border-bottom: 2px solid transparent;
|
|
304
|
-
}
|
|
305
|
-
>.k-menu-item, >.k-menu-submenu-title {
|
|
306
|
-
// margin: 0 16px;
|
|
307
|
-
padding: 10px 0;
|
|
308
|
-
}
|
|
309
|
-
.k-menu-submenu-title {
|
|
310
|
-
padding: 10px 0;
|
|
311
|
-
display: flex;
|
|
312
|
-
align-items: center;
|
|
313
|
-
}
|
|
314
|
-
.k-menu-submenu {
|
|
315
|
-
.k-menu-item, .k-menu-submenu {
|
|
316
|
-
display: block;
|
|
317
|
-
}
|
|
318
|
-
.k-menu-submenu {
|
|
319
|
-
position: relative;
|
|
320
|
-
// .k-menu-submenu-arrow {
|
|
321
|
-
// transform: rotate(-90deg) translateX(50%);
|
|
322
|
-
// top: 50%;
|
|
323
|
-
// position: absolute;
|
|
324
|
-
// right: 16px;
|
|
325
|
-
// }
|
|
326
|
-
.k-menu-submenu-popup {
|
|
327
|
-
top: 0;
|
|
328
|
-
// transform: translateX(100%);
|
|
329
|
-
margin-left: 5px;
|
|
330
|
-
}
|
|
331
|
-
}
|
|
332
|
-
}
|
|
333
|
-
>.k-menu-submenu>.k-menu-submenu-title>.k-menu-submenu-arrow {
|
|
334
|
-
// top: 50%;
|
|
335
|
-
// transform: translateY(-50%);
|
|
336
|
-
}
|
|
337
|
-
>.k-menu-submenu-active>.k-menu-submenu-title>.k-menu-submenu-arrow {
|
|
338
|
-
transform: rotate(-180deg);
|
|
339
|
-
}
|
|
340
|
-
.k-menu-item-group-title {
|
|
341
|
-
font-size: 12px;
|
|
342
|
-
line-height: 1;
|
|
343
|
-
padding: 0 12px;
|
|
344
|
-
}
|
|
345
|
-
//light
|
|
346
|
-
>.k-menu-item-selected, >.k-menu-submenu-selected, >.k-menu-item-active, >.k-menu-submenu-active {
|
|
347
|
-
border-bottom-color: var(--kui-color-main);
|
|
348
|
-
background-color: transparent;
|
|
349
|
-
}
|
|
350
|
-
.k-menu-submenu {
|
|
351
|
-
.k-menu-item-selected {
|
|
352
|
-
background-color: var(--kui-color-selected);
|
|
353
|
-
}
|
|
180
|
+
&:hover {
|
|
181
|
+
background-color: var(--kui-color-main-90);
|
|
354
182
|
}
|
|
355
183
|
}
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
// padding: 0 ;
|
|
363
|
-
text-overflow: clip;
|
|
364
|
-
overflow: hidden;
|
|
365
|
-
// text-align: center;
|
|
366
|
-
padding: 10px 12px;
|
|
367
|
-
.k-icon {
|
|
368
|
-
// font-size: 16px;
|
|
369
|
-
// margin-right: 0;
|
|
370
|
-
}
|
|
184
|
+
.k-menu-submenu-popup {
|
|
185
|
+
transition: all 0.3s cubic-bezier(.215, .61, .355, 1);
|
|
186
|
+
overflow: hidden;
|
|
187
|
+
position: static;
|
|
188
|
+
.k-menu {
|
|
189
|
+
// background-color: var(--kui-color-gray-90);
|
|
371
190
|
}
|
|
372
|
-
|
|
191
|
+
}
|
|
192
|
+
>.k-menu-submenu-opened>.k-menu-submenu-title>.k-menu-submenu-arrow {
|
|
193
|
+
transform: rotate(-180deg) translateY(50%);
|
|
194
|
+
}
|
|
195
|
+
//light
|
|
196
|
+
.k-menu-item-selected {
|
|
197
|
+
background-color: var(--kui-color-selected);
|
|
198
|
+
&::after {
|
|
373
199
|
display: none;
|
|
374
200
|
}
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
&-vertical {
|
|
204
|
+
width: 100%;
|
|
205
|
+
border-right: 1px solid var(--kui-color-border);
|
|
206
|
+
display: inline-block;
|
|
207
|
+
.k-menu-item-selected {
|
|
208
|
+
background-color: var(--kui-color-selected);
|
|
209
|
+
}
|
|
210
|
+
.k-menu-submenu-active, .k-menu-submenu-selected {
|
|
211
|
+
.k-menu-submenu-title {
|
|
212
|
+
color: var(--kui-color-main);
|
|
382
213
|
}
|
|
383
214
|
}
|
|
384
|
-
.k-menu-
|
|
385
|
-
|
|
215
|
+
.k-menu-submenu-inner {
|
|
216
|
+
white-space: nowrap;
|
|
217
|
+
padding-right: 16px;
|
|
386
218
|
}
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
219
|
+
>.k-menu-item, >.k-menu-submenu {
|
|
220
|
+
line-height: 1;
|
|
221
|
+
position: relative;
|
|
222
|
+
cursor: pointer;
|
|
223
|
+
font-size: 14px;
|
|
224
|
+
z-index: 3;
|
|
225
|
+
list-style: none;
|
|
392
226
|
}
|
|
393
|
-
|
|
394
|
-
|
|
227
|
+
.k-menu-item, .k-menu-submenu-title {
|
|
228
|
+
padding: 10px 12px;
|
|
229
|
+
margin: 8px;
|
|
230
|
+
line-height: 1;
|
|
231
|
+
border-radius: var(--kui-border-radius);
|
|
232
|
+
display: flex;
|
|
233
|
+
align-items: center;
|
|
234
|
+
&:hover {
|
|
235
|
+
background-color: var(--kui-color-main-90);
|
|
236
|
+
}
|
|
395
237
|
}
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
position: absolute;
|
|
400
|
-
z-index: 1001;
|
|
401
|
-
>.k-menu-submenu-popup {
|
|
238
|
+
.k-menu-submenu-popup {
|
|
239
|
+
position: absolute;
|
|
240
|
+
top: 0;
|
|
402
241
|
box-sizing: content-box;
|
|
242
|
+
position: absolute;
|
|
243
|
+
z-index: 1001;
|
|
403
244
|
min-width: 160px;
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
margin: 0;
|
|
409
|
-
}
|
|
410
|
-
.k-menu {
|
|
411
|
-
margin: 0;
|
|
412
|
-
box-shadow: 0 1px 6px rgba(0, 0, 0, .2);
|
|
245
|
+
// box-shadow: 0 1px 6px rgba(0, 0, 0, .2);
|
|
246
|
+
// border-radius: var(--kui-border-radius);
|
|
247
|
+
// margin-left: 5px;
|
|
248
|
+
>.k-menu {
|
|
413
249
|
border-radius: var(--kui-border-radius);
|
|
414
|
-
|
|
415
|
-
|
|
250
|
+
border: none;
|
|
251
|
+
margin: 0;
|
|
252
|
+
list-style: none;
|
|
253
|
+
.k-menu-item-group-title {
|
|
254
|
+
line-height: 1;
|
|
255
|
+
padding: 0 12px;
|
|
256
|
+
}
|
|
257
|
+
.k-menu-item-group-list .k-menu-item {
|
|
258
|
+
position: relative;
|
|
259
|
+
}
|
|
260
|
+
.k-menu-item {
|
|
416
261
|
line-height: 1;
|
|
417
|
-
display: flex;
|
|
418
|
-
align-items: center;
|
|
419
262
|
&:first-child {
|
|
420
263
|
border-top-left-radius: var(--kui-border-radius);
|
|
421
264
|
border-top-right-radius: var(--kui-border-radius);
|
|
@@ -425,150 +268,313 @@
|
|
|
425
268
|
border-bottom-right-radius: var(--kui-border-radius);
|
|
426
269
|
}
|
|
427
270
|
}
|
|
428
|
-
.k-menu-item-group {
|
|
429
|
-
line-height: 1;
|
|
430
|
-
&:last-child {
|
|
431
|
-
.k-menu-item {
|
|
432
|
-
&:last-child {
|
|
433
|
-
border-bottom-left-radius: var(--kui-border-radius);
|
|
434
|
-
border-bottom-right-radius: var(--kui-border-radius);
|
|
435
|
-
}
|
|
436
|
-
}
|
|
437
|
-
}
|
|
438
|
-
}
|
|
439
271
|
}
|
|
440
|
-
.k-menu-
|
|
441
|
-
|
|
272
|
+
.k-menu-submenu {
|
|
273
|
+
position: relative;
|
|
442
274
|
}
|
|
443
275
|
}
|
|
444
|
-
|
|
276
|
+
>.k-menu-submenu>.k-menu-submenu-title>.k-menu-submenu-arrow {
|
|
277
|
+
position: absolute;
|
|
278
|
+
right: 16px;
|
|
279
|
+
margin: 0;
|
|
280
|
+
top: 50%;
|
|
281
|
+
transform: translateY(-50%);
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
&-horizontal {
|
|
285
|
+
border-bottom: 1px solid var(--kui-color-border);
|
|
286
|
+
white-space: nowrap;
|
|
287
|
+
font-size: 0;
|
|
288
|
+
line-height: 1;
|
|
289
|
+
.k-menu-icon-temp {
|
|
290
|
+
display: none;
|
|
291
|
+
}
|
|
292
|
+
>.k-menu-item, >.k-menu-submenu {
|
|
293
|
+
line-height: 1;
|
|
294
|
+
margin: 0 16px;
|
|
445
295
|
position: relative;
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
296
|
+
cursor: pointer;
|
|
297
|
+
font-size: 14px;
|
|
298
|
+
z-index: 3;
|
|
299
|
+
display: inline-block;
|
|
300
|
+
list-style: none;
|
|
301
|
+
top: 1px;
|
|
302
|
+
vertical-align: bottom;
|
|
303
|
+
border-bottom: 2px solid transparent;
|
|
304
|
+
display: inline-flex;
|
|
305
|
+
align-items: center;
|
|
306
|
+
min-height: 20px;
|
|
307
|
+
}
|
|
308
|
+
>.k-menu-item, >.k-menu-submenu-title {
|
|
309
|
+
// margin: 0 16px;
|
|
310
|
+
padding: 10px 0;
|
|
311
|
+
}
|
|
312
|
+
.k-menu-submenu-title {
|
|
313
|
+
padding: 10px 0;
|
|
314
|
+
display: flex;
|
|
315
|
+
align-items: center;
|
|
316
|
+
}
|
|
317
|
+
.k-menu-submenu {
|
|
318
|
+
.k-menu-item, .k-menu-submenu {
|
|
319
|
+
display: block;
|
|
320
|
+
}
|
|
321
|
+
.k-menu-submenu {
|
|
322
|
+
position: relative;
|
|
323
|
+
// .k-menu-submenu-arrow {
|
|
324
|
+
// transform: rotate(-90deg) translateX(50%);
|
|
325
|
+
// top: 50%;
|
|
326
|
+
// position: absolute;
|
|
327
|
+
// right: 16px;
|
|
328
|
+
// }
|
|
329
|
+
.k-menu-submenu-popup {
|
|
330
|
+
top: 0;
|
|
331
|
+
// transform: translateX(100%);
|
|
332
|
+
margin-left: 5px;
|
|
333
|
+
}
|
|
449
334
|
}
|
|
450
335
|
}
|
|
451
|
-
|
|
452
|
-
|
|
336
|
+
>.k-menu-submenu>.k-menu-submenu-title>.k-menu-submenu-arrow {
|
|
337
|
+
// top: 50%;
|
|
338
|
+
// transform: translateY(-50%);
|
|
453
339
|
}
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
340
|
+
>.k-menu-submenu-active>.k-menu-submenu-title>.k-menu-submenu-arrow {
|
|
341
|
+
transform: rotate(-180deg);
|
|
342
|
+
}
|
|
343
|
+
.k-menu-item-group-title {
|
|
344
|
+
font-size: 12px;
|
|
345
|
+
line-height: 1;
|
|
346
|
+
padding: 0 12px;
|
|
460
347
|
}
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
348
|
+
//light
|
|
349
|
+
>.k-menu-item-selected, >.k-menu-submenu-selected, >.k-menu-item-active, >.k-menu-submenu-active {
|
|
350
|
+
border-bottom-color: var(--kui-color-main);
|
|
351
|
+
background-color: transparent;
|
|
352
|
+
}
|
|
353
|
+
.k-menu-submenu {
|
|
354
|
+
.k-menu-item-selected {
|
|
355
|
+
background-color: var(--kui-color-selected);
|
|
356
|
+
}
|
|
464
357
|
}
|
|
465
358
|
}
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
359
|
+
&-inline-collapased {
|
|
360
|
+
width: 60px;
|
|
361
|
+
>.k-menu-submenu {
|
|
362
|
+
padding: 0;
|
|
363
|
+
}
|
|
364
|
+
>.k-menu-item, >.k-menu-submenu >.k-menu-submenu-title {
|
|
365
|
+
// padding: 0 ;
|
|
366
|
+
text-overflow: clip;
|
|
367
|
+
overflow: hidden;
|
|
368
|
+
// text-align: center;
|
|
369
|
+
padding: 10px 12px;
|
|
370
|
+
.k-icon {
|
|
371
|
+
// font-size: 16px;
|
|
372
|
+
// margin-right: 0;
|
|
373
|
+
}
|
|
374
|
+
}
|
|
375
|
+
&>.k-menu-submenu>.k-menu-submenu-title>.k-menu-submenu-arrow {
|
|
376
|
+
display: none;
|
|
471
377
|
}
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
378
|
+
.k-icon {
|
|
379
|
+
&+span {
|
|
380
|
+
// width: 0;
|
|
381
|
+
opacity: 0;
|
|
382
|
+
// display: inline-block;
|
|
383
|
+
animation: toa .3s;
|
|
384
|
+
}
|
|
475
385
|
}
|
|
476
386
|
}
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
animation-fill-mode: both;
|
|
480
|
-
transform-origin: 0% 0%;
|
|
481
|
-
animation: k-menu-zoom-in 0.2s cubic-bezier(.215, .61, .355, 1);
|
|
387
|
+
.k-menu-item-group-list {
|
|
388
|
+
margin: 0;
|
|
482
389
|
}
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
@keyframes toa {
|
|
393
|
+
from {
|
|
394
|
+
opacity: 1;
|
|
395
|
+
}
|
|
396
|
+
to {
|
|
397
|
+
opacity: 0;
|
|
488
398
|
}
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
.k-menu-submenu-popup {
|
|
402
|
+
position: absolute;
|
|
403
|
+
z-index: 1001;
|
|
404
|
+
>.k-menu-submenu-popup {
|
|
405
|
+
box-sizing: content-box;
|
|
406
|
+
min-width: 160px;
|
|
407
|
+
.k-menu-item-group-title {
|
|
408
|
+
padding: 0 16px 0 12px;
|
|
409
|
+
}
|
|
410
|
+
.k-menu-item-group-list {
|
|
411
|
+
margin: 0;
|
|
412
|
+
}
|
|
413
|
+
.k-menu {
|
|
414
|
+
margin: 0;
|
|
415
|
+
box-shadow: 0 1px 6px rgba(0, 0, 0, .2);
|
|
416
|
+
border-radius: var(--kui-border-radius);
|
|
417
|
+
background-color: var(--kui-color-control-10);
|
|
418
|
+
>.k-menu-item {
|
|
419
|
+
line-height: 1;
|
|
420
|
+
display: flex;
|
|
421
|
+
align-items: center;
|
|
422
|
+
&:first-child {
|
|
423
|
+
border-top-left-radius: var(--kui-border-radius);
|
|
424
|
+
border-top-right-radius: var(--kui-border-radius);
|
|
425
|
+
}
|
|
426
|
+
&:last-child {
|
|
427
|
+
border-bottom-left-radius: var(--kui-border-radius);
|
|
428
|
+
border-bottom-right-radius: var(--kui-border-radius);
|
|
429
|
+
}
|
|
430
|
+
}
|
|
431
|
+
.k-menu-item-group {
|
|
432
|
+
line-height: 1;
|
|
433
|
+
&:last-child {
|
|
434
|
+
.k-menu-item {
|
|
435
|
+
&:last-child {
|
|
436
|
+
border-bottom-left-radius: var(--kui-border-radius);
|
|
437
|
+
border-bottom-right-radius: var(--kui-border-radius);
|
|
438
|
+
}
|
|
439
|
+
}
|
|
440
|
+
}
|
|
441
|
+
}
|
|
494
442
|
}
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
transform: scaleY(1)
|
|
443
|
+
.k-menu-item-icon+a {
|
|
444
|
+
display: inline-block;
|
|
498
445
|
}
|
|
499
446
|
}
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
447
|
+
.k-menu-submenu {
|
|
448
|
+
position: relative;
|
|
449
|
+
.k-menu-submenu-popup {
|
|
450
|
+
padding-left: 5px;
|
|
451
|
+
left: 100%;
|
|
505
452
|
}
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
453
|
+
}
|
|
454
|
+
.k-menu-vertical {
|
|
455
|
+
border-right: none;
|
|
456
|
+
.k-menu-icon-temp {
|
|
457
|
+
display: none;
|
|
509
458
|
}
|
|
510
459
|
}
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
@keyframes k-menu-zoom-in {
|
|
463
|
+
0% {
|
|
464
|
+
transform: scale(.8);
|
|
465
|
+
opacity: 0;
|
|
514
466
|
}
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
467
|
+
100% {
|
|
468
|
+
transform: scale(1);
|
|
469
|
+
opacity: 1;
|
|
518
470
|
}
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
animation-fill-mode: both;
|
|
526
|
-
animation: k-menu-zoom-in 0.2s cubic-bezier(.215, .61, .355, 1);
|
|
527
|
-
}
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
@keyframes k-menu-zoom-out {
|
|
474
|
+
0% {
|
|
475
|
+
transform: scale(1);
|
|
476
|
+
opacity: 1;
|
|
528
477
|
}
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
478
|
+
100% {
|
|
479
|
+
transform: scale(.8);
|
|
480
|
+
opacity: 0;
|
|
481
|
+
}
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
.k-menu-submenu-fade-enter-active, .k-dropdown-menu-submenu-fade-enter-active {
|
|
485
|
+
animation-fill-mode: both;
|
|
486
|
+
transform-origin: 0% 0%;
|
|
487
|
+
animation: k-menu-zoom-in 0.2s cubic-bezier(.215, .61, .355, 1);
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
.k-menu-submenu-fade-leave-active, .k-dropdown-menu-submenu-fade-leave-active {
|
|
491
|
+
animation-fill-mode: both;
|
|
492
|
+
transform-origin: 0% 0%;
|
|
493
|
+
animation: k-menu-zoom-out 0.2s cubic-bezier(.215, .61, .355, 1);
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
@keyframes dropDownIn {
|
|
497
|
+
0% {
|
|
498
|
+
opacity: 0;
|
|
499
|
+
transform: scaleY(0)
|
|
500
|
+
}
|
|
501
|
+
to {
|
|
502
|
+
opacity: 1;
|
|
503
|
+
transform: scaleY(1)
|
|
504
|
+
}
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
@keyframes dropDownOut {
|
|
508
|
+
0% {
|
|
509
|
+
opacity: 1;
|
|
510
|
+
transform: scaleY(1)
|
|
538
511
|
}
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
512
|
+
to {
|
|
513
|
+
opacity: 0;
|
|
514
|
+
transform: scaleY(0)
|
|
515
|
+
}
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
.k-dropdown-enter-active {
|
|
519
|
+
animation: dropDownIn .3s;
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
.k-dropdown-leave-active {
|
|
523
|
+
animation: dropDownOut .3s;
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
.k-menu-submenu-popup-enter-active {
|
|
527
|
+
&[k-placement="bottom-left"] {
|
|
528
|
+
animation: dropDownIn .3s;
|
|
529
|
+
}
|
|
530
|
+
&[k-placement="left-bottom"], &[k-placement="right-top"], &[k-placement="right-bottom"] {
|
|
542
531
|
animation-fill-mode: both;
|
|
532
|
+
animation: k-menu-zoom-in 0.2s cubic-bezier(.215, .61, .355, 1);
|
|
543
533
|
}
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
.k-menu-submenu-popup-leave-active {
|
|
537
|
+
&[k-placement="left-bottom"], &[k-placement="right-top"], &[k-placement="right-bottom"] {
|
|
547
538
|
animation-fill-mode: both;
|
|
539
|
+
animation: k-menu-zoom-out 0.2s cubic-bezier(.215, .61, .355, 1);
|
|
548
540
|
}
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
0% {
|
|
552
|
-
transform: scaleY(0);
|
|
553
|
-
transform-origin: 0% 0%;
|
|
554
|
-
opacity: 0;
|
|
555
|
-
}
|
|
556
|
-
100% {
|
|
557
|
-
transform: scaleY(1);
|
|
558
|
-
transform-origin: 0% 0%;
|
|
559
|
-
opacity: 1;
|
|
560
|
-
}
|
|
541
|
+
&[k-placement="bottom-left"] {
|
|
542
|
+
animation: dropDownOut .3s;
|
|
561
543
|
}
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
544
|
+
}
|
|
545
|
+
|
|
546
|
+
.k-collaplse-slide-enter-active {
|
|
547
|
+
animation: slideIn 0.15s ease-in-out;
|
|
548
|
+
animation-fill-mode: both;
|
|
549
|
+
}
|
|
550
|
+
|
|
551
|
+
.k-collaplse-slide-leave-active {
|
|
552
|
+
animation: slideOut 0.3s ease-in-out;
|
|
553
|
+
animation-fill-mode: both;
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
@keyframes slideIn {
|
|
557
|
+
0% {
|
|
558
|
+
transform: scaleY(0);
|
|
559
|
+
transform-origin: 0% 0%;
|
|
560
|
+
opacity: 0;
|
|
561
|
+
}
|
|
562
|
+
100% {
|
|
563
|
+
transform: scaleY(1);
|
|
564
|
+
transform-origin: 0% 0%;
|
|
565
|
+
opacity: 1;
|
|
566
|
+
}
|
|
567
|
+
}
|
|
568
|
+
|
|
569
|
+
@keyframes slideOut {
|
|
570
|
+
0% {
|
|
571
|
+
transform: scaleY(1);
|
|
572
|
+
transform-origin: 0% 0%;
|
|
573
|
+
opacity: 1;
|
|
574
|
+
}
|
|
575
|
+
100% {
|
|
576
|
+
transform: scaleY(0);
|
|
577
|
+
transform-origin: 0% 0%;
|
|
578
|
+
opacity: 0;
|
|
579
|
+
}
|
|
580
|
+
}
|