@jetlinks-web/components 2.7.0 → 2.7.1
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/es/AMap/Map.js +1 -2
- package/es/AutoComplete/AutoComplete.js +0 -1
- package/es/BadgeStatus/Badge.js +1 -2
- package/es/CardSelect/CardSelect.js +1 -2
- package/es/CardSelect/style/css.js +1 -0
- package/es/CheckButton/CheckButton.js +1 -2
- package/es/CheckButton/style/css.js +1 -0
- package/es/DragModal/DragModal.js +0 -1
- package/es/DragModal/style/css.js +1 -0
- package/es/Echarts/Echarts.js +1 -2
- package/es/EditTable/EditTable.js +4 -6
- package/es/EditTable/FormItem.js +0 -1
- package/es/EditTable/Header.js +5 -3
- package/es/EditTable/components/ContextMenu/Menu.js +1 -2
- package/es/EditTable/components/Search/search.js +1 -2
- package/es/EditTable/components/Search/sort.js +1 -3
- package/es/EditTable/group.js +7 -10
- package/es/EditTable/hooks/useValidate.js +1 -1
- package/es/EditTable/style/css.js +1 -0
- package/es/EditTable/utils.js +1 -1
- package/es/Ellipsis/style/css.js +1 -0
- package/es/FullPage/FullPage.js +1 -2
- package/es/Icon/icon.js +3 -3
- package/es/LocaleProvider/index.js +1 -2
- package/es/MonacoEditor/style/css.js +1 -0
- package/es/PermissionButton/index.js +6 -7
- package/es/ProLayout/Basic/BasicLayout.js +34 -39
- package/es/ProLayout/Basic/Header.js +3 -7
- package/es/ProLayout/PageContainer/index.js +8 -12
- package/es/ProLayout/SiderMenu/BaseMenu.js +16 -39
- package/es/ProLayout/SiderMenu/SiderMenu.js +14 -34
- package/es/ProLayout/TopHeader/index.js +1 -9
- package/es/ProLayout/style/css.js +1 -0
- package/es/ProLayout/util.js +5 -5
- package/es/ProTable/Content.js +5 -5
- package/es/ProTable/hooks/useTableSelection.js +2 -0
- package/es/ProTable/style/css.js +1 -0
- package/es/RadioButton/RadioButton.js +0 -1
- package/es/RadioButton/style/css.js +1 -0
- package/es/Scrollbar/style/css.js +1 -0
- package/es/Search/Advanced/SaveHistory.js +1 -2
- package/es/Search/Item.js +1 -2
- package/es/Search/style/css.js +2 -0
- package/es/Title/style/css.js +1 -0
- package/es/Title/title.js +0 -1
- package/es/style/css.js +3 -0
- package/es/style/index.less +13 -13
- package/lib/AMap/Map.js +1 -2
- package/lib/AutoComplete/AutoComplete.js +0 -1
- package/lib/BadgeStatus/Badge.js +1 -2
- package/lib/CardSelect/CardSelect.js +1 -2
- package/lib/CardSelect/style/css.js +3 -0
- package/lib/CheckButton/CheckButton.js +1 -2
- package/lib/CheckButton/style/css.js +3 -0
- package/lib/DragModal/DragModal.js +0 -1
- package/lib/DragModal/style/css.js +3 -0
- package/lib/Echarts/Echarts.js +1 -2
- package/lib/EditTable/EditTable.js +4 -6
- package/lib/EditTable/FormItem.js +0 -1
- package/lib/EditTable/Header.js +5 -3
- package/lib/EditTable/components/ContextMenu/Menu.js +1 -2
- package/lib/EditTable/components/Search/search.js +1 -2
- package/lib/EditTable/components/Search/sort.js +1 -3
- package/lib/EditTable/group.js +7 -10
- package/lib/EditTable/hooks/useValidate.js +1 -1
- package/lib/EditTable/style/css.js +3 -0
- package/lib/EditTable/utils.js +1 -1
- package/lib/Ellipsis/style/css.js +3 -0
- package/lib/FullPage/FullPage.js +1 -2
- package/lib/Icon/icon.js +4 -5
- package/lib/LocaleProvider/index.js +1 -2
- package/lib/MonacoEditor/style/css.js +3 -0
- package/lib/PermissionButton/index.js +6 -7
- package/lib/ProLayout/Basic/BasicLayout.js +34 -40
- package/lib/ProLayout/Basic/Header.js +2 -6
- package/lib/ProLayout/PageContainer/index.js +7 -11
- package/lib/ProLayout/SiderMenu/BaseMenu.js +17 -39
- package/lib/ProLayout/SiderMenu/SiderMenu.js +14 -35
- package/lib/ProLayout/TopHeader/index.js +2 -9
- package/lib/ProLayout/style/css.js +3 -0
- package/lib/ProLayout/util.js +5 -5
- package/lib/ProTable/Content.js +5 -5
- package/lib/ProTable/hooks/useTableSelection.js +2 -0
- package/lib/ProTable/style/css.js +3 -0
- package/lib/RadioButton/RadioButton.js +0 -1
- package/lib/RadioButton/style/css.js +3 -0
- package/lib/Scrollbar/style/css.js +3 -0
- package/lib/Search/Advanced/SaveHistory.js +1 -2
- package/lib/Search/Item.js +1 -2
- package/lib/Search/style/css.js +4 -0
- package/lib/Title/style/css.js +3 -0
- package/lib/Title/title.js +0 -1
- package/lib/components.js +1 -2
- package/lib/index.js +1 -2
- package/lib/style/css.js +4 -0
- package/lib/style/index.less +13 -13
- package/package.json +5 -5
- package/es/CardSelect/style/index.css +0 -24
- package/es/CardSelect/style/index.less +0 -26
- package/es/CheckButton/style/index.css +0 -37
- package/es/CheckButton/style/index.less +0 -40
- package/es/DragModal/style/index.css +0 -82
- package/es/DragModal/style/index.less +0 -97
- package/es/EditTable/style/body.less +0 -66
- package/es/EditTable/style/form.less +0 -33
- package/es/EditTable/style/group.less +0 -32
- package/es/EditTable/style/header.less +0 -77
- package/es/EditTable/style/index.css +0 -267
- package/es/EditTable/style/index.less +0 -41
- package/es/EditTable/style/menu.less +0 -25
- package/es/EditTable/style/table.less +0 -47
- package/es/Ellipsis/style/index.css +0 -17
- package/es/Ellipsis/style/index.less +0 -20
- package/es/MonacoEditor/style/index.css +0 -4
- package/es/MonacoEditor/style/index.less +0 -4
- package/es/ProLayout/Basic/BasicLayout.less +0 -66
- package/es/ProLayout/Basic/Header.less +0 -8
- package/es/ProLayout/PageContainer/index.less +0 -103
- package/es/ProLayout/SiderMenu/index.less +0 -231
- package/es/ProLayout/TopHeader/index.less +0 -174
- package/es/ProLayout/style/default.less +0 -4
- package/es/ProLayout/style/style.less +0 -7
- package/es/ProTable/style/ProTable.less +0 -141
- package/es/RadioButton/style/index.css +0 -20
- package/es/RadioButton/style/index.less +0 -19
- package/es/Scrollbar/style/index.css +0 -65
- package/es/Scrollbar/style/index.less +0 -83
- package/es/Search/style/Item.less +0 -33
- package/es/Search/style/Search.less +0 -179
- package/es/Title/style/index.css +0 -23
- package/es/Title/style/index.less +0 -25
- package/es/style/index.css +0 -5197
- package/es/style/variable.css +0 -4
- package/es/style/variable.less +0 -4
- package/lib/CardSelect/style/index.css +0 -24
- package/lib/CardSelect/style/index.less +0 -26
- package/lib/CheckButton/style/index.css +0 -37
- package/lib/CheckButton/style/index.less +0 -40
- package/lib/DragModal/style/index.css +0 -82
- package/lib/DragModal/style/index.less +0 -97
- package/lib/EditTable/style/body.less +0 -66
- package/lib/EditTable/style/form.less +0 -33
- package/lib/EditTable/style/group.less +0 -32
- package/lib/EditTable/style/header.less +0 -77
- package/lib/EditTable/style/index.css +0 -267
- package/lib/EditTable/style/index.less +0 -41
- package/lib/EditTable/style/menu.less +0 -25
- package/lib/EditTable/style/table.less +0 -47
- package/lib/Ellipsis/style/index.css +0 -17
- package/lib/Ellipsis/style/index.less +0 -20
- package/lib/MonacoEditor/style/index.css +0 -4
- package/lib/MonacoEditor/style/index.less +0 -4
- package/lib/ProLayout/Basic/BasicLayout.less +0 -66
- package/lib/ProLayout/Basic/Header.less +0 -8
- package/lib/ProLayout/PageContainer/index.less +0 -103
- package/lib/ProLayout/SiderMenu/index.less +0 -231
- package/lib/ProLayout/TopHeader/index.less +0 -174
- package/lib/ProLayout/style/default.less +0 -4
- package/lib/ProLayout/style/style.less +0 -7
- package/lib/ProTable/style/ProTable.less +0 -141
- package/lib/RadioButton/style/index.css +0 -20
- package/lib/RadioButton/style/index.less +0 -19
- package/lib/Scrollbar/style/index.css +0 -65
- package/lib/Scrollbar/style/index.less +0 -83
- package/lib/Search/style/Item.less +0 -33
- package/lib/Search/style/Search.less +0 -179
- package/lib/Title/style/index.css +0 -23
- package/lib/Title/style/index.less +0 -25
- package/lib/style/components.less +0 -9
- package/lib/style/index.css +0 -5197
- package/lib/style/variable.css +0 -4
- package/lib/style/variable.less +0 -4
|
@@ -1,231 +0,0 @@
|
|
|
1
|
-
@import '../style/default.less';
|
|
2
|
-
|
|
3
|
-
@pro-layout-sider-menu-prefix-cls: ~'@{ant-prefix}-pro-sider';
|
|
4
|
-
|
|
5
|
-
@nav-header-height: @pro-layout-header-height;
|
|
6
|
-
|
|
7
|
-
.@{pro-layout-sider-menu-prefix-cls} {
|
|
8
|
-
position: relative;
|
|
9
|
-
background-color: @layout-sider-background;
|
|
10
|
-
border-right: 0;
|
|
11
|
-
// FIXME: 临时修正(可能不会做兼容)
|
|
12
|
-
z-index: 20;
|
|
13
|
-
|
|
14
|
-
// 这里关掉了动画,不然使用无法兼容
|
|
15
|
-
.@{ant-prefix}-menu {
|
|
16
|
-
background: transparent;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
&.@{ant-prefix}-layout-sider-light {
|
|
20
|
-
.@{ant-prefix}-menu-item a {
|
|
21
|
-
color: @heading-color;
|
|
22
|
-
}
|
|
23
|
-
.@{ant-prefix}-menu-item-selected a,
|
|
24
|
-
.@{ant-prefix}-menu-item a:hover {
|
|
25
|
-
color: @primary-color;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
&-logo {
|
|
30
|
-
position: relative;
|
|
31
|
-
display: flex;
|
|
32
|
-
align-items: center;
|
|
33
|
-
padding: 16px 16px;
|
|
34
|
-
cursor: pointer;
|
|
35
|
-
transition: padding 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
|
|
36
|
-
|
|
37
|
-
> a {
|
|
38
|
-
display: flex;
|
|
39
|
-
align-items: center;
|
|
40
|
-
justify-content: center;
|
|
41
|
-
min-height: 32px;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
img {
|
|
45
|
-
display: inline-block;
|
|
46
|
-
height: 32px;
|
|
47
|
-
vertical-align: middle;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
h1 {
|
|
51
|
-
display: inline-block;
|
|
52
|
-
height: 32px;
|
|
53
|
-
margin: 0 0 0 12px;
|
|
54
|
-
color: white;
|
|
55
|
-
font-weight: 600;
|
|
56
|
-
font-size: 18px;
|
|
57
|
-
line-height: 32px;
|
|
58
|
-
vertical-align: middle;
|
|
59
|
-
animation: pro-layout-title-hide 0.3s;
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
&-logo-card {
|
|
64
|
-
padding: 16px 0;
|
|
65
|
-
justify-content: center;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
&-extra {
|
|
69
|
-
margin-bottom: 16px;
|
|
70
|
-
padding: 0 16px;
|
|
71
|
-
&-no-logo {
|
|
72
|
-
margin-top: 16px;
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
&-menu {
|
|
77
|
-
position: relative;
|
|
78
|
-
z-index: 10;
|
|
79
|
-
min-height: 100%;
|
|
80
|
-
box-shadow: 2px 0 6px rgba(0, 21, 41, 0.35);
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
.@{ant-prefix}-layout-sider-children {
|
|
84
|
-
display: flex;
|
|
85
|
-
flex-direction: column;
|
|
86
|
-
height: 100%;
|
|
87
|
-
|
|
88
|
-
::-webkit-scrollbar {
|
|
89
|
-
width: 6px;
|
|
90
|
-
height: 6px;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
::-webkit-scrollbar-track {
|
|
94
|
-
background: rgba(255, 255, 255, 0.15);
|
|
95
|
-
border-radius: 3px;
|
|
96
|
-
box-shadow: inset 0 0 5px rgba(37, 37, 37, 0.05);
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
/* 滚动条滑块 */
|
|
100
|
-
::-webkit-scrollbar-thumb {
|
|
101
|
-
background: rgba(255, 255, 255, 0.2);
|
|
102
|
-
border-radius: 3px;
|
|
103
|
-
box-shadow: inset 0 0 5px rgba(255, 255, 255, 0.05);
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
&.@{ant-prefix}-layout-sider-collapsed {
|
|
108
|
-
.@{ant-prefix}-menu-inline-collapsed {
|
|
109
|
-
width: 48px;
|
|
110
|
-
}
|
|
111
|
-
.@{pro-layout-sider-menu-prefix-cls} {
|
|
112
|
-
&-logo {
|
|
113
|
-
padding: 16px 8px;
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
&.@{ant-prefix}-layout-sider.@{pro-layout-sider-menu-prefix-cls}-fixed {
|
|
119
|
-
position: fixed;
|
|
120
|
-
top: 0;
|
|
121
|
-
left: 0;
|
|
122
|
-
z-index: 99; // react pro-components: z-index: 100;
|
|
123
|
-
height: 100%;
|
|
124
|
-
overflow: auto;
|
|
125
|
-
overflow-x: hidden;
|
|
126
|
-
box-shadow: 2px 0 8px 0 rgba(29, 35, 41, 0.05);
|
|
127
|
-
> .@{ant-prefix}-menu-root {
|
|
128
|
-
:not(.@{pro-layout-sider-menu-prefix-cls}-link-menu) {
|
|
129
|
-
height: ~'calc(100vh - @{nav-header-height})';
|
|
130
|
-
overflow-y: auto;
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
&-light {
|
|
136
|
-
background-color: @component-background;
|
|
137
|
-
box-shadow: 2px 0 8px 0 rgba(29, 35, 41, 0.05);
|
|
138
|
-
|
|
139
|
-
.@{ant-prefix}-layout-sider-children {
|
|
140
|
-
::-webkit-scrollbar-track {
|
|
141
|
-
background: rgba(0, 0, 0, 0.06);
|
|
142
|
-
border-radius: 3px;
|
|
143
|
-
box-shadow: inset 0 0 5px rgba(0, 21, 41, 0.05);
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
/* 滚动条滑块 */
|
|
147
|
-
::-webkit-scrollbar-thumb {
|
|
148
|
-
background: rgba(0, 0, 0, 0.12);
|
|
149
|
-
border-radius: 3px;
|
|
150
|
-
box-shadow: inset 0 0 5px rgba(0, 21, 41, 0.05);
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
.@{pro-layout-sider-menu-prefix-cls}-logo {
|
|
155
|
-
h1 {
|
|
156
|
-
color: @primary-color;
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
.@{ant-prefix}-menu-light {
|
|
160
|
-
border-right-color: transparent;
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
.@{pro-layout-sider-menu-prefix-cls}-collapsed-button {
|
|
164
|
-
border-top: @border-width-base @border-style-base
|
|
165
|
-
@border-color-split;
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
&-icon {
|
|
170
|
-
width: 14px;
|
|
171
|
-
vertical-align: baseline;
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
&-links {
|
|
175
|
-
width: 100%;
|
|
176
|
-
ul.@{ant-prefix}-menu-root {
|
|
177
|
-
height: auto;
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
&-collapsed-button {
|
|
182
|
-
border-top: @border-width-base @border-style-base rgba(0, 0, 0, 0.25);
|
|
183
|
-
.anticon {
|
|
184
|
-
font-size: 16px;
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
.top-nav-menu li.@{ant-prefix}-menu-item {
|
|
189
|
-
height: 100%;
|
|
190
|
-
line-height: 1;
|
|
191
|
-
}
|
|
192
|
-
.drawer .drawer-content {
|
|
193
|
-
background: @layout-sider-background;
|
|
194
|
-
}
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
// 修正菜单 collapsed 时,icon 与 title 的间距
|
|
198
|
-
.@{ant-prefix}-pro-menu-item {
|
|
199
|
-
.anticon + .@{ant-prefix}-pro-menu-item-title {
|
|
200
|
-
margin-left: 10px;
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
.sider-app-menus {
|
|
205
|
-
width: 100px;
|
|
206
|
-
background-color: #fff;
|
|
207
|
-
cursor: pointer;
|
|
208
|
-
padding: 6px;
|
|
209
|
-
transition: all .3s;
|
|
210
|
-
border-radius: 4px;
|
|
211
|
-
color: #333;
|
|
212
|
-
|
|
213
|
-
&:hover {
|
|
214
|
-
background-color: #efefef;
|
|
215
|
-
}
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
@keyframes pro-layout-title-hide {
|
|
219
|
-
0% {
|
|
220
|
-
display: none;
|
|
221
|
-
opacity: 0;
|
|
222
|
-
}
|
|
223
|
-
80% {
|
|
224
|
-
display: none;
|
|
225
|
-
opacity: 0;
|
|
226
|
-
}
|
|
227
|
-
100% {
|
|
228
|
-
display: unset;
|
|
229
|
-
opacity: 1;
|
|
230
|
-
}
|
|
231
|
-
}
|
|
@@ -1,174 +0,0 @@
|
|
|
1
|
-
@import '../style/default.less';
|
|
2
|
-
|
|
3
|
-
@top-nav-header-prefix-cls: ~'@{ant-prefix}-pro-top-nav-header';
|
|
4
|
-
@pro-layout-global-header-prefix-cls: ~'@{ant-prefix}-pro-global-header';
|
|
5
|
-
|
|
6
|
-
@pro-layout-header-bg: @component-background;
|
|
7
|
-
@pro-layout-header-hover-bg: @component-background;
|
|
8
|
-
@pro-layout-header-box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08);
|
|
9
|
-
|
|
10
|
-
.@{pro-layout-global-header-prefix-cls} {
|
|
11
|
-
position: relative;
|
|
12
|
-
display: flex;
|
|
13
|
-
align-items: center;
|
|
14
|
-
height: 100%;
|
|
15
|
-
padding: 0 16px;
|
|
16
|
-
background: @pro-layout-header-bg;
|
|
17
|
-
box-shadow: @pro-layout-header-box-shadow;
|
|
18
|
-
> * {
|
|
19
|
-
height: 100%;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
&-collapsed-button {
|
|
23
|
-
display: flex;
|
|
24
|
-
align-items: center;
|
|
25
|
-
margin-left: 16px;
|
|
26
|
-
font-size: 20px;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
&-layout {
|
|
30
|
-
&-mix {
|
|
31
|
-
background-color: @layout-sider-background;
|
|
32
|
-
.@{pro-layout-global-header-prefix-cls}-logo {
|
|
33
|
-
h1 {
|
|
34
|
-
color: @btn-primary-color;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
.anticon {
|
|
38
|
-
color: @btn-primary-color;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
&-logo {
|
|
44
|
-
position: relative;
|
|
45
|
-
overflow: hidden;
|
|
46
|
-
a {
|
|
47
|
-
display: flex;
|
|
48
|
-
align-items: center;
|
|
49
|
-
height: 100%;
|
|
50
|
-
img {
|
|
51
|
-
height: 28px;
|
|
52
|
-
}
|
|
53
|
-
h1 {
|
|
54
|
-
height: 32px;
|
|
55
|
-
margin: 0 0 0 8px;
|
|
56
|
-
margin: 0 0 0 12px;
|
|
57
|
-
color: @primary-color;
|
|
58
|
-
font-weight: 600;
|
|
59
|
-
font-size: 18px;
|
|
60
|
-
line-height: 32px;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
&-menu {
|
|
66
|
-
.anticon {
|
|
67
|
-
margin-right: 8px;
|
|
68
|
-
}
|
|
69
|
-
.@{ant-prefix}-dropdown-menu-item {
|
|
70
|
-
min-width: 160px;
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.dark {
|
|
75
|
-
height: @pro-layout-header-height;
|
|
76
|
-
.action {
|
|
77
|
-
color: rgba(255, 255, 255, 0.85);
|
|
78
|
-
> i {
|
|
79
|
-
color: rgba(255, 255, 255, 0.85);
|
|
80
|
-
}
|
|
81
|
-
&:hover,
|
|
82
|
-
&.opened {
|
|
83
|
-
background: @primary-color;
|
|
84
|
-
}
|
|
85
|
-
.@{ant-prefix}-badge {
|
|
86
|
-
color: rgba(255, 255, 255, 0.85);
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
.@{top-nav-header-prefix-cls} {
|
|
93
|
-
position: relative;
|
|
94
|
-
width: 100%;
|
|
95
|
-
height: 100%;
|
|
96
|
-
box-shadow: 0 1px 4px 0 rgba(0, 21, 41, 0.12);
|
|
97
|
-
transition: background 0.3s, width 0.2s;
|
|
98
|
-
|
|
99
|
-
.@{ant-prefix}-menu {
|
|
100
|
-
background: transparent;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
&.light {
|
|
104
|
-
background-color: @component-background;
|
|
105
|
-
.@{top-nav-header-prefix-cls}-logo {
|
|
106
|
-
h1 {
|
|
107
|
-
color: @heading-color;
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
.anticon {
|
|
111
|
-
color: inherit;
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
&-main {
|
|
116
|
-
display: flex;
|
|
117
|
-
height: 100%;
|
|
118
|
-
padding-left: 16px;
|
|
119
|
-
&-left {
|
|
120
|
-
display: flex;
|
|
121
|
-
min-width: 192px;
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
.anticon {
|
|
126
|
-
color: @btn-primary-color;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
&-logo {
|
|
130
|
-
position: relative;
|
|
131
|
-
min-width: 165px;
|
|
132
|
-
height: 100%;
|
|
133
|
-
overflow: hidden;
|
|
134
|
-
|
|
135
|
-
img {
|
|
136
|
-
display: inline-block;
|
|
137
|
-
height: 32px;
|
|
138
|
-
vertical-align: middle;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
h1 {
|
|
142
|
-
display: inline-block;
|
|
143
|
-
margin: 0 0 0 12px;
|
|
144
|
-
color: @btn-primary-color;
|
|
145
|
-
font-weight: 600;
|
|
146
|
-
font-size: 16px;
|
|
147
|
-
vertical-align: top;
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
&-menu {
|
|
152
|
-
min-width: 0;
|
|
153
|
-
|
|
154
|
-
.@{ant-prefix}-menu.@{ant-prefix}-menu-horizontal {
|
|
155
|
-
height: 100%;
|
|
156
|
-
border: none;
|
|
157
|
-
|
|
158
|
-
.@{ant-prefix}-menu-item {
|
|
159
|
-
height: 100%;
|
|
160
|
-
|
|
161
|
-
.@{ant-prefix}-badge {
|
|
162
|
-
color: unset;
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
// replace sub.item
|
|
170
|
-
.@{ant-prefix}-pro-menu-popup {
|
|
171
|
-
.@{ant-prefix}-badge {
|
|
172
|
-
color: unset;
|
|
173
|
-
}
|
|
174
|
-
}
|
|
@@ -1,141 +0,0 @@
|
|
|
1
|
-
@import '../../style/variable.less';
|
|
2
|
-
@import 'ant-design-vue/lib/pagination/style/index.less';
|
|
3
|
-
@import 'ant-design-vue/lib/table/style/index.less';
|
|
4
|
-
@import 'ant-design-vue/lib/button/style/index.less';
|
|
5
|
-
@import 'ant-design-vue/lib/alert/style/index.less';
|
|
6
|
-
@import 'ant-design-vue/lib/radio/style/index.less';
|
|
7
|
-
@import 'ant-design-vue/lib/spin/style/index.less';
|
|
8
|
-
|
|
9
|
-
.jtable-body-spin {
|
|
10
|
-
height: 100%;
|
|
11
|
-
width: 100%;
|
|
12
|
-
background-color: #fff;
|
|
13
|
-
|
|
14
|
-
.ant-spin-nested-loading {
|
|
15
|
-
height: 100%;
|
|
16
|
-
|
|
17
|
-
.ant-spin-container {
|
|
18
|
-
height: 100%;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.jtable-body {
|
|
23
|
-
width: 100%;
|
|
24
|
-
box-sizing: border-box;
|
|
25
|
-
height: 100%;
|
|
26
|
-
display: flex;
|
|
27
|
-
flex-direction: column;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.jtable-body-header {
|
|
32
|
-
display: flex;
|
|
33
|
-
justify-content: space-between;
|
|
34
|
-
align-items: center;
|
|
35
|
-
margin-bottom: 16px;
|
|
36
|
-
width: 100%;
|
|
37
|
-
gap: 8px;
|
|
38
|
-
|
|
39
|
-
.jtable-body-header-left {
|
|
40
|
-
flex: 1;
|
|
41
|
-
min-width: 0;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.jtable-body-header-right {
|
|
45
|
-
display: flex;
|
|
46
|
-
gap: 8px;
|
|
47
|
-
align-items: center;
|
|
48
|
-
|
|
49
|
-
.jtable-body-header-right-button {
|
|
50
|
-
width: 62px;
|
|
51
|
-
|
|
52
|
-
.right-button-icon {
|
|
53
|
-
font-size: 16px;
|
|
54
|
-
color: #d9d9d9;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.ant-radio-button-wrapper {
|
|
58
|
-
padding: 0 8px;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
:deep(.ant-radio-button-wrapper-checked) {
|
|
62
|
-
color: @primary-color;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
.jtable-box {
|
|
69
|
-
flex: 1;
|
|
70
|
-
min-height: 0;
|
|
71
|
-
|
|
72
|
-
.jtable-card {
|
|
73
|
-
height: 100%;
|
|
74
|
-
display: flex;
|
|
75
|
-
flex-direction: column;
|
|
76
|
-
|
|
77
|
-
.jtable-card-items {
|
|
78
|
-
height: 100%;
|
|
79
|
-
overflow-y: auto;
|
|
80
|
-
display: grid;
|
|
81
|
-
grid-gap: 26px;
|
|
82
|
-
|
|
83
|
-
.jtable-card-item {
|
|
84
|
-
display: flex;
|
|
85
|
-
min-width: 0;
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.j-table-empty {
|
|
90
|
-
margin-top: 100px;
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
.ant-table-wrapper {
|
|
95
|
-
height: 100%;
|
|
96
|
-
.ant-table {
|
|
97
|
-
height: 100%;
|
|
98
|
-
|
|
99
|
-
.ant-table-container {
|
|
100
|
-
height: 100%;
|
|
101
|
-
|
|
102
|
-
.ant-table-content {
|
|
103
|
-
height: 100%;
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
.j-table-scroll {
|
|
110
|
-
|
|
111
|
-
.ant-table-container {
|
|
112
|
-
display: flex;
|
|
113
|
-
flex-direction: column;
|
|
114
|
-
|
|
115
|
-
.ant-table-body {
|
|
116
|
-
flex: 1;
|
|
117
|
-
min-height: 0;
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
.jtable-alert {
|
|
124
|
-
margin-bottom: 16px;
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
.jtable-pagination {
|
|
128
|
-
width: 100%;
|
|
129
|
-
display: flex;
|
|
130
|
-
justify-content: flex-end;
|
|
131
|
-
margin-top: 16px;
|
|
132
|
-
|
|
133
|
-
.hide-content {
|
|
134
|
-
.@{ant-prefix}-pagination-item,
|
|
135
|
-
& .@{ant-prefix}-pagination-jump-prev,
|
|
136
|
-
& .@{ant-prefix}-pagination-jump-next {
|
|
137
|
-
display: none;
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
|
|
2
|
-
/* stylelint-disable no-duplicate-selectors */
|
|
3
|
-
/* stylelint-disable */
|
|
4
|
-
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
|
|
5
|
-
.j-radio-button {
|
|
6
|
-
display: grid;
|
|
7
|
-
gap: 16px;
|
|
8
|
-
}
|
|
9
|
-
.j-radio-button .j-radio-button-item {
|
|
10
|
-
padding: 6px 12px;
|
|
11
|
-
text-align: center;
|
|
12
|
-
height: 100%;
|
|
13
|
-
border-radius: 2px;
|
|
14
|
-
background-color: #f5f5f5;
|
|
15
|
-
cursor: pointer;
|
|
16
|
-
}
|
|
17
|
-
.j-radio-button .j-radio-button-item.active {
|
|
18
|
-
color: #fff;
|
|
19
|
-
background-color: #1890ff;
|
|
20
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
@import '../../style/variable.less';
|
|
2
|
-
.j-radio-button {
|
|
3
|
-
display: grid;
|
|
4
|
-
gap: 16px;
|
|
5
|
-
|
|
6
|
-
.j-radio-button-item {
|
|
7
|
-
padding: 6px 12px;
|
|
8
|
-
text-align: center;
|
|
9
|
-
height: 100%;
|
|
10
|
-
border-radius: 2px;
|
|
11
|
-
background-color: #f5f5f5;
|
|
12
|
-
cursor: pointer;
|
|
13
|
-
|
|
14
|
-
&.active {
|
|
15
|
-
color: #fff;
|
|
16
|
-
background-color: @primary-color;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
}
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
|
|
2
|
-
/* stylelint-disable no-duplicate-selectors */
|
|
3
|
-
/* stylelint-disable */
|
|
4
|
-
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
|
|
5
|
-
.j-scrollbar {
|
|
6
|
-
overflow: hidden;
|
|
7
|
-
position: relative;
|
|
8
|
-
height: 100%;
|
|
9
|
-
}
|
|
10
|
-
.j-scrollbar__wrap {
|
|
11
|
-
overflow: auto;
|
|
12
|
-
height: 100%;
|
|
13
|
-
}
|
|
14
|
-
.j-scrollbar__wrap--hidden-default {
|
|
15
|
-
scrollbar-width: none;
|
|
16
|
-
}
|
|
17
|
-
.j-scrollbar__wrap--hidden-default::-webkit-scrollbar {
|
|
18
|
-
display: none;
|
|
19
|
-
}
|
|
20
|
-
.j-scrollbar__thumb {
|
|
21
|
-
position: relative;
|
|
22
|
-
display: block;
|
|
23
|
-
width: 0;
|
|
24
|
-
height: 0;
|
|
25
|
-
cursor: pointer;
|
|
26
|
-
border-radius: inherit;
|
|
27
|
-
background-color: #909399;
|
|
28
|
-
transition: 0.3s background-color;
|
|
29
|
-
opacity: 0.3;
|
|
30
|
-
}
|
|
31
|
-
.j-scrollbar__thumb:hover {
|
|
32
|
-
background-color: #909399;
|
|
33
|
-
opacity: 0.5;
|
|
34
|
-
}
|
|
35
|
-
.j-scrollbar__bar {
|
|
36
|
-
position: absolute;
|
|
37
|
-
right: 2px;
|
|
38
|
-
bottom: 2px;
|
|
39
|
-
z-index: 1;
|
|
40
|
-
border-radius: 4px;
|
|
41
|
-
}
|
|
42
|
-
.j-scrollbar__bar--vertical {
|
|
43
|
-
width: 6px;
|
|
44
|
-
top: 2px;
|
|
45
|
-
}
|
|
46
|
-
.j-scrollbar__bar--vertical > div {
|
|
47
|
-
width: 100%;
|
|
48
|
-
}
|
|
49
|
-
.j-scrollbar__bar--horizontal {
|
|
50
|
-
height: 6px;
|
|
51
|
-
left: 2px;
|
|
52
|
-
}
|
|
53
|
-
.j-scrollbar__bar--horizontal > div {
|
|
54
|
-
height: 100%;
|
|
55
|
-
}
|
|
56
|
-
.j-scrollbar-fade-enter-active {
|
|
57
|
-
transition: opacity 340ms ease-out;
|
|
58
|
-
}
|
|
59
|
-
.j-scrollbar-fade-leave-active {
|
|
60
|
-
transition: opacity 120ms ease-out;
|
|
61
|
-
}
|
|
62
|
-
.j-scrollbar-fade-enter-from,
|
|
63
|
-
.j-scrollbar-fade-leave-active {
|
|
64
|
-
opacity: 0;
|
|
65
|
-
}
|