@wlydfe/pro-ui 0.2.17 → 0.2.19
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/README.md +119 -119
- package/es/components/form-item/src/index.vue.d.ts +2 -6
- package/es/components/form-item/src/index.vue2.mjs +6 -6
- package/es/components/page/index.d.ts +48 -3
- package/es/components/page/src/index.vue.d.ts +64 -61
- package/es/components/page/src/index.vue2.mjs +2 -3
- package/es/components/radio/src/index.vue2.mjs +1 -1
- package/es/components/render/src/index.vue2.mjs +1 -1
- package/es/components/search/index.d.ts +19 -0
- package/es/components/search/src/index.vue.d.ts +3 -0
- package/es/components/search/src/index.vue2.mjs +3 -2
- package/es/components/search/src/type.d.ts +6 -0
- package/es/index.css +11 -11
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/global.d.ts +29 -29
- package/index.js +15 -15
- package/index.min.js +2 -2
- package/index.min.mjs +2 -2
- package/index.mjs +15 -15
- package/lib/components/form-item/src/index.vue.d.ts +2 -6
- package/lib/components/form-item/src/index.vue2.js +6 -6
- package/lib/components/page/index.d.ts +48 -3
- package/lib/components/page/src/index.vue.d.ts +64 -61
- package/lib/components/page/src/index.vue2.js +2 -3
- package/lib/components/radio/src/index.vue2.js +1 -1
- package/lib/components/render/src/index.vue2.js +1 -1
- package/lib/components/search/index.d.ts +19 -0
- package/lib/components/search/src/index.vue.d.ts +3 -0
- package/lib/components/search/src/index.vue2.js +3 -2
- package/lib/components/search/src/type.d.ts +6 -0
- package/lib/{index.css → form.css} +12 -12
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/locale/en.js +1 -1
- package/locale/en.min.js +1 -1
- package/locale/en.min.mjs +1 -1
- package/locale/en.mjs +1 -1
- package/locale/ja.js +1 -1
- package/locale/ja.min.js +1 -1
- package/locale/ja.min.mjs +1 -1
- package/locale/ja.mjs +1 -1
- package/locale/ko.js +1 -1
- package/locale/ko.min.js +1 -1
- package/locale/ko.min.mjs +1 -1
- package/locale/ko.mjs +1 -1
- package/locale/zh-cn.js +1 -1
- package/locale/zh-cn.min.js +1 -1
- package/locale/zh-cn.min.mjs +1 -1
- package/locale/zh-cn.mjs +1 -1
- package/locale/zh-tw.js +1 -1
- package/locale/zh-tw.min.js +1 -1
- package/locale/zh-tw.min.mjs +1 -1
- package/locale/zh-tw.mjs +1 -1
- package/package.json +1 -1
- package/theme-chalk/src/breadcrumb.scss +9 -9
- package/theme-chalk/src/date-picker.scss +96 -96
- package/theme-chalk/src/descriptions.scss +41 -41
- package/theme-chalk/src/display-item.scss +82 -82
- package/theme-chalk/src/drawer-form.scss +16 -16
- package/theme-chalk/src/form.scss +34 -34
- package/theme-chalk/src/input-tag.scss +91 -91
- package/theme-chalk/src/layout.scss +36 -36
- package/theme-chalk/src/mixins/function.scss +73 -73
- package/theme-chalk/src/search.scss +49 -49
- package/theme-chalk/src/sidebar.scss +93 -93
- package/theme-chalk/src/steps-form.scss +18 -18
- package/theme-chalk/src/table.scss +170 -170
- package/theme-chalk/src/var/index.scss +6 -6
|
@@ -1,93 +1,93 @@
|
|
|
1
|
-
@use 'mixins/mixins' as *;
|
|
2
|
-
@use 'mixins/function' as *;
|
|
3
|
-
@use 'mixins/config' as *;
|
|
4
|
-
@use 'var/index';
|
|
5
|
-
|
|
6
|
-
@include b(sidebar) {
|
|
7
|
-
height: 100%;
|
|
8
|
-
|
|
9
|
-
&.is-vertical {
|
|
10
|
-
min-height: 400px;
|
|
11
|
-
|
|
12
|
-
&:not(.#{$el-namespace + -menu--collapse}) {
|
|
13
|
-
width: var(--plus-sidebar-width);
|
|
14
|
-
flex-shrink: 0;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
&.#{$el-namespace + -menu--collapse} {
|
|
18
|
-
.#{$el-namespace + -menu-item} {
|
|
19
|
-
width: calc(var(--plus-sidebar-min-width) - 2px);
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.#{$el-namespace + -scrollbar__wrap} {
|
|
24
|
-
overflow-x: hidden;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
&.#{$el-namespace + -menu--collapse} {
|
|
28
|
-
.#{$plus-namespace + -sidebar__item-title} {
|
|
29
|
-
height: 0;
|
|
30
|
-
width: 0;
|
|
31
|
-
overflow: hidden;
|
|
32
|
-
visibility: hidden;
|
|
33
|
-
display: inline-block;
|
|
34
|
-
}
|
|
35
|
-
.#{$el-namespace + -sub-menu__icon-arrow} {
|
|
36
|
-
display: none;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.#{$el-namespace + -scrollbar} {
|
|
41
|
-
height: calc(100% - var(--plus-sidebar-collapse-height));
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.#{$plus-namespace + -sidebar__collapse} {
|
|
45
|
-
width: calc(var(--plus-sidebar-width) - 2px);
|
|
46
|
-
background-color: getCssVar('menu-bg-color');
|
|
47
|
-
height: var(--plus-sidebar-collapse-height);
|
|
48
|
-
box-sizing: border-box;
|
|
49
|
-
position: absolute;
|
|
50
|
-
left: 0;
|
|
51
|
-
bottom: 0;
|
|
52
|
-
align-items: flex-start;
|
|
53
|
-
|
|
54
|
-
&.is-collapse {
|
|
55
|
-
width: calc(var(--plus-sidebar-min-width) - 2px);
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
&.is-active {
|
|
59
|
-
background-color: getCssVar('menu-bg-color');
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
[class*='-icon'] {
|
|
63
|
-
margin-top: 10px;
|
|
64
|
-
font-size: 20px;
|
|
65
|
-
user-select: none;
|
|
66
|
-
cursor: pointer;
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
&.is-horizontal {
|
|
72
|
-
width: 100%;
|
|
73
|
-
|
|
74
|
-
.#{$el-namespace + -scrollbar} {
|
|
75
|
-
width: 100%;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
.#{$el-namespace + -scrollbar__wrap} {
|
|
79
|
-
width: 100%;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.#{$el-namespace + -scrollbar__view} {
|
|
83
|
-
width: 100%;
|
|
84
|
-
height: 100%;
|
|
85
|
-
display: flex;
|
|
86
|
-
flex-wrap: nowrap;
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
@include e(item-title) {
|
|
91
|
-
user-select: none;
|
|
92
|
-
}
|
|
93
|
-
}
|
|
1
|
+
@use 'mixins/mixins' as *;
|
|
2
|
+
@use 'mixins/function' as *;
|
|
3
|
+
@use 'mixins/config' as *;
|
|
4
|
+
@use 'var/index';
|
|
5
|
+
|
|
6
|
+
@include b(sidebar) {
|
|
7
|
+
height: 100%;
|
|
8
|
+
|
|
9
|
+
&.is-vertical {
|
|
10
|
+
min-height: 400px;
|
|
11
|
+
|
|
12
|
+
&:not(.#{$el-namespace + -menu--collapse}) {
|
|
13
|
+
width: var(--plus-sidebar-width);
|
|
14
|
+
flex-shrink: 0;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
&.#{$el-namespace + -menu--collapse} {
|
|
18
|
+
.#{$el-namespace + -menu-item} {
|
|
19
|
+
width: calc(var(--plus-sidebar-min-width) - 2px);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.#{$el-namespace + -scrollbar__wrap} {
|
|
24
|
+
overflow-x: hidden;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
&.#{$el-namespace + -menu--collapse} {
|
|
28
|
+
.#{$plus-namespace + -sidebar__item-title} {
|
|
29
|
+
height: 0;
|
|
30
|
+
width: 0;
|
|
31
|
+
overflow: hidden;
|
|
32
|
+
visibility: hidden;
|
|
33
|
+
display: inline-block;
|
|
34
|
+
}
|
|
35
|
+
.#{$el-namespace + -sub-menu__icon-arrow} {
|
|
36
|
+
display: none;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.#{$el-namespace + -scrollbar} {
|
|
41
|
+
height: calc(100% - var(--plus-sidebar-collapse-height));
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.#{$plus-namespace + -sidebar__collapse} {
|
|
45
|
+
width: calc(var(--plus-sidebar-width) - 2px);
|
|
46
|
+
background-color: getCssVar('menu-bg-color');
|
|
47
|
+
height: var(--plus-sidebar-collapse-height);
|
|
48
|
+
box-sizing: border-box;
|
|
49
|
+
position: absolute;
|
|
50
|
+
left: 0;
|
|
51
|
+
bottom: 0;
|
|
52
|
+
align-items: flex-start;
|
|
53
|
+
|
|
54
|
+
&.is-collapse {
|
|
55
|
+
width: calc(var(--plus-sidebar-min-width) - 2px);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
&.is-active {
|
|
59
|
+
background-color: getCssVar('menu-bg-color');
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
[class*='-icon'] {
|
|
63
|
+
margin-top: 10px;
|
|
64
|
+
font-size: 20px;
|
|
65
|
+
user-select: none;
|
|
66
|
+
cursor: pointer;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
&.is-horizontal {
|
|
72
|
+
width: 100%;
|
|
73
|
+
|
|
74
|
+
.#{$el-namespace + -scrollbar} {
|
|
75
|
+
width: 100%;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.#{$el-namespace + -scrollbar__wrap} {
|
|
79
|
+
width: 100%;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.#{$el-namespace + -scrollbar__view} {
|
|
83
|
+
width: 100%;
|
|
84
|
+
height: 100%;
|
|
85
|
+
display: flex;
|
|
86
|
+
flex-wrap: nowrap;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
@include e(item-title) {
|
|
91
|
+
user-select: none;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
@use 'mixins/mixins' as *;
|
|
2
|
-
|
|
3
|
-
@include b(steps-form) {
|
|
4
|
-
@include elb(steps) {
|
|
5
|
-
margin-bottom: 20px;
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
@include b(steps-form-vertical) {
|
|
10
|
-
display: flex;
|
|
11
|
-
@include elb(steps--vertical) {
|
|
12
|
-
margin-right: 20px;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
@include b(form) {
|
|
16
|
-
flex: 1;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
1
|
+
@use 'mixins/mixins' as *;
|
|
2
|
+
|
|
3
|
+
@include b(steps-form) {
|
|
4
|
+
@include elb(steps) {
|
|
5
|
+
margin-bottom: 20px;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
@include b(steps-form-vertical) {
|
|
10
|
+
display: flex;
|
|
11
|
+
@include elb(steps--vertical) {
|
|
12
|
+
margin-right: 20px;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
@include b(form) {
|
|
16
|
+
flex: 1;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -1,170 +1,170 @@
|
|
|
1
|
-
@use 'mixins/config' as *;
|
|
2
|
-
@use 'mixins/mixins' as *;
|
|
3
|
-
@use 'mixins/function' as *;
|
|
4
|
-
|
|
5
|
-
@include b(table) {
|
|
6
|
-
/* 自定义列栏 */
|
|
7
|
-
@include b(table-column) {
|
|
8
|
-
@include e(header) {
|
|
9
|
-
@include e(header__icon) {
|
|
10
|
-
margin-top: -2px;
|
|
11
|
-
margin-left: 2px;
|
|
12
|
-
vertical-align: middle;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
/* 操作栏 */
|
|
18
|
-
@include b(table-action-bar) {
|
|
19
|
-
&.is-center {
|
|
20
|
-
.cell {
|
|
21
|
-
justify-content: center;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
&.is-right {
|
|
25
|
-
.cell {
|
|
26
|
-
justify-content: flex-end;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
&.#{$el-namespace + -table-fixed-column--right} {
|
|
31
|
-
background-color: getCssVar('bg-color');
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.cell {
|
|
35
|
-
display: flex;
|
|
36
|
-
align-items: center;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
@include e(dropdown__link) {
|
|
40
|
-
display: inline-flex;
|
|
41
|
-
cursor: pointer;
|
|
42
|
-
user-select: none;
|
|
43
|
-
}
|
|
44
|
-
@include e(more-text) {
|
|
45
|
-
margin-right: 2px;
|
|
46
|
-
}
|
|
47
|
-
@include e(column__link) {
|
|
48
|
-
margin-right: 10px;
|
|
49
|
-
}
|
|
50
|
-
@include e(dropdown) {
|
|
51
|
-
vertical-align: baseline;
|
|
52
|
-
cursor: pointer;
|
|
53
|
-
margin-left: 12px;
|
|
54
|
-
}
|
|
55
|
-
@include elb(link) {
|
|
56
|
-
& + .#{$el-namespace + -link} {
|
|
57
|
-
margin-left: 12px;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
@include elb(icon) {
|
|
61
|
-
cursor: pointer;
|
|
62
|
-
|
|
63
|
-
& + .#{$el-namespace + -icon} {
|
|
64
|
-
margin-left: 12px;
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
/* 排序 */
|
|
70
|
-
@include b(table-column-drag-sort) {
|
|
71
|
-
@include b(table-column-drag-icon) {
|
|
72
|
-
cursor: move;
|
|
73
|
-
padding: 4px;
|
|
74
|
-
box-sizing: border-box;
|
|
75
|
-
font-size: 18px;
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
/* 序号栏 */
|
|
80
|
-
@include b(table-column-index) {
|
|
81
|
-
@include b(table-index-column) {
|
|
82
|
-
display: inline-flex;
|
|
83
|
-
align-items: center;
|
|
84
|
-
justify-content: center;
|
|
85
|
-
word-break: keep-all;
|
|
86
|
-
white-space: nowrap;
|
|
87
|
-
width: 20px;
|
|
88
|
-
height: 20px;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
.cell {
|
|
92
|
-
@include b(table-column-index__content) {
|
|
93
|
-
align-items: center;
|
|
94
|
-
display: flex;
|
|
95
|
-
justify-content: center;
|
|
96
|
-
overflow: hidden;
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
/*工具栏*/
|
|
102
|
-
@include b(table-title-bar) {
|
|
103
|
-
display: flex;
|
|
104
|
-
justify-content: space-between;
|
|
105
|
-
align-items: center;
|
|
106
|
-
margin-bottom: 10px;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
@include e(toolbar) {
|
|
110
|
-
display: flex;
|
|
111
|
-
align-items: center;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
@include elb(popper) {
|
|
115
|
-
max-width: 200px;
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
/* 密度设置 */
|
|
120
|
-
@include b(table-title-bar__toolbar__density) {
|
|
121
|
-
display: flex;
|
|
122
|
-
flex-direction: column;
|
|
123
|
-
align-items: center;
|
|
124
|
-
|
|
125
|
-
@include elb(button) {
|
|
126
|
-
margin-top: 10px;
|
|
127
|
-
width: 80px;
|
|
128
|
-
|
|
129
|
-
& + .#{$el-namespace + -button} {
|
|
130
|
-
margin-left: 0;
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
@include b(table-title-bar__toolbar__icon) {
|
|
136
|
-
margin-left: 10px;
|
|
137
|
-
vertical-align: middle;
|
|
138
|
-
cursor: pointer;
|
|
139
|
-
color: getCssVar('text-color-regular');
|
|
140
|
-
}
|
|
141
|
-
/* 列设置 */
|
|
142
|
-
@include b(table-title-bar__toolbar__checkbox__item) {
|
|
143
|
-
margin-left: 6px;
|
|
144
|
-
}
|
|
145
|
-
/* 列设置 拖拽 item */
|
|
146
|
-
@include b(table-checkbox-item) {
|
|
147
|
-
display: flex;
|
|
148
|
-
align-items: center;
|
|
149
|
-
margin-left: 20px;
|
|
150
|
-
}
|
|
151
|
-
/* 列设置 拖拽handle */
|
|
152
|
-
@include b(table-checkbox-handle) {
|
|
153
|
-
font-size: 18px;
|
|
154
|
-
cursor: move;
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
@include b(table-ghost-class) {
|
|
158
|
-
padding: 0 5px;
|
|
159
|
-
border: 1px dashed getCssVar('color-primary');
|
|
160
|
-
background-color: #fff;
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
@include b(table-column__edit) {
|
|
164
|
-
cursor: pointer;
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
@include b(table-checkbox-checkAll) {
|
|
168
|
-
display: flex;
|
|
169
|
-
justify-content: space-between;
|
|
170
|
-
}
|
|
1
|
+
@use 'mixins/config' as *;
|
|
2
|
+
@use 'mixins/mixins' as *;
|
|
3
|
+
@use 'mixins/function' as *;
|
|
4
|
+
|
|
5
|
+
@include b(table) {
|
|
6
|
+
/* 自定义列栏 */
|
|
7
|
+
@include b(table-column) {
|
|
8
|
+
@include e(header) {
|
|
9
|
+
@include e(header__icon) {
|
|
10
|
+
margin-top: -2px;
|
|
11
|
+
margin-left: 2px;
|
|
12
|
+
vertical-align: middle;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
/* 操作栏 */
|
|
18
|
+
@include b(table-action-bar) {
|
|
19
|
+
&.is-center {
|
|
20
|
+
.cell {
|
|
21
|
+
justify-content: center;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
&.is-right {
|
|
25
|
+
.cell {
|
|
26
|
+
justify-content: flex-end;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&.#{$el-namespace + -table-fixed-column--right} {
|
|
31
|
+
background-color: getCssVar('bg-color');
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.cell {
|
|
35
|
+
display: flex;
|
|
36
|
+
align-items: center;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
@include e(dropdown__link) {
|
|
40
|
+
display: inline-flex;
|
|
41
|
+
cursor: pointer;
|
|
42
|
+
user-select: none;
|
|
43
|
+
}
|
|
44
|
+
@include e(more-text) {
|
|
45
|
+
margin-right: 2px;
|
|
46
|
+
}
|
|
47
|
+
@include e(column__link) {
|
|
48
|
+
margin-right: 10px;
|
|
49
|
+
}
|
|
50
|
+
@include e(dropdown) {
|
|
51
|
+
vertical-align: baseline;
|
|
52
|
+
cursor: pointer;
|
|
53
|
+
margin-left: 12px;
|
|
54
|
+
}
|
|
55
|
+
@include elb(link) {
|
|
56
|
+
& + .#{$el-namespace + -link} {
|
|
57
|
+
margin-left: 12px;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
@include elb(icon) {
|
|
61
|
+
cursor: pointer;
|
|
62
|
+
|
|
63
|
+
& + .#{$el-namespace + -icon} {
|
|
64
|
+
margin-left: 12px;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
/* 排序 */
|
|
70
|
+
@include b(table-column-drag-sort) {
|
|
71
|
+
@include b(table-column-drag-icon) {
|
|
72
|
+
cursor: move;
|
|
73
|
+
padding: 4px;
|
|
74
|
+
box-sizing: border-box;
|
|
75
|
+
font-size: 18px;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
/* 序号栏 */
|
|
80
|
+
@include b(table-column-index) {
|
|
81
|
+
@include b(table-index-column) {
|
|
82
|
+
display: inline-flex;
|
|
83
|
+
align-items: center;
|
|
84
|
+
justify-content: center;
|
|
85
|
+
word-break: keep-all;
|
|
86
|
+
white-space: nowrap;
|
|
87
|
+
width: 20px;
|
|
88
|
+
height: 20px;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.cell {
|
|
92
|
+
@include b(table-column-index__content) {
|
|
93
|
+
align-items: center;
|
|
94
|
+
display: flex;
|
|
95
|
+
justify-content: center;
|
|
96
|
+
overflow: hidden;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
/*工具栏*/
|
|
102
|
+
@include b(table-title-bar) {
|
|
103
|
+
display: flex;
|
|
104
|
+
justify-content: space-between;
|
|
105
|
+
align-items: center;
|
|
106
|
+
margin-bottom: 10px;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
@include e(toolbar) {
|
|
110
|
+
display: flex;
|
|
111
|
+
align-items: center;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
@include elb(popper) {
|
|
115
|
+
max-width: 200px;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
/* 密度设置 */
|
|
120
|
+
@include b(table-title-bar__toolbar__density) {
|
|
121
|
+
display: flex;
|
|
122
|
+
flex-direction: column;
|
|
123
|
+
align-items: center;
|
|
124
|
+
|
|
125
|
+
@include elb(button) {
|
|
126
|
+
margin-top: 10px;
|
|
127
|
+
width: 80px;
|
|
128
|
+
|
|
129
|
+
& + .#{$el-namespace + -button} {
|
|
130
|
+
margin-left: 0;
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
@include b(table-title-bar__toolbar__icon) {
|
|
136
|
+
margin-left: 10px;
|
|
137
|
+
vertical-align: middle;
|
|
138
|
+
cursor: pointer;
|
|
139
|
+
color: getCssVar('text-color-regular');
|
|
140
|
+
}
|
|
141
|
+
/* 列设置 */
|
|
142
|
+
@include b(table-title-bar__toolbar__checkbox__item) {
|
|
143
|
+
margin-left: 6px;
|
|
144
|
+
}
|
|
145
|
+
/* 列设置 拖拽 item */
|
|
146
|
+
@include b(table-checkbox-item) {
|
|
147
|
+
display: flex;
|
|
148
|
+
align-items: center;
|
|
149
|
+
margin-left: 20px;
|
|
150
|
+
}
|
|
151
|
+
/* 列设置 拖拽handle */
|
|
152
|
+
@include b(table-checkbox-handle) {
|
|
153
|
+
font-size: 18px;
|
|
154
|
+
cursor: move;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
@include b(table-ghost-class) {
|
|
158
|
+
padding: 0 5px;
|
|
159
|
+
border: 1px dashed getCssVar('color-primary');
|
|
160
|
+
background-color: #fff;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
@include b(table-column__edit) {
|
|
164
|
+
cursor: pointer;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
@include b(table-checkbox-checkAll) {
|
|
168
|
+
display: flex;
|
|
169
|
+
justify-content: space-between;
|
|
170
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
:root {
|
|
2
|
-
--plus-header-height: 60px;
|
|
3
|
-
--plus-sidebar-collapse-height: 60px;
|
|
4
|
-
--plus-sidebar-width: 200px;
|
|
5
|
-
--plus-sidebar-min-width: 64px;
|
|
6
|
-
}
|
|
1
|
+
:root {
|
|
2
|
+
--plus-header-height: 60px;
|
|
3
|
+
--plus-sidebar-collapse-height: 60px;
|
|
4
|
+
--plus-sidebar-width: 200px;
|
|
5
|
+
--plus-sidebar-min-width: 64px;
|
|
6
|
+
}
|