@fishawack/lab-velocity 1.11.1 → 2.0.0-beta.10
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 +177 -49
- package/_Build/vue/components/Icon.vue +33 -0
- package/_Build/vue/components/Svg.vue +45 -0
- package/{basic → _Build/vue/components/basic}/Button.vue +17 -19
- package/{basic → _Build/vue/components/basic}/link.vue +8 -7
- package/{form → _Build/vue/components/form}/Cascader.vue +13 -13
- package/{form → _Build/vue/components/form}/CheckboxGroup.vue +28 -6
- package/{form → _Build/vue/components/form}/DatePicker.vue +23 -7
- package/{form → _Build/vue/components/form}/InputNumber.vue +1 -2
- package/{form → _Build/vue/components/form}/Select.vue +10 -11
- package/_Build/vue/components/form/Spinner.vue +5 -0
- package/{form → _Build/vue/components/form}/Switch.vue +2 -2
- package/{form → _Build/vue/components/form}/Upload.vue +4 -6
- package/{form → _Build/vue/components/form}/Wysiwyg.vue +14 -14
- package/_Build/vue/components/form/Wysiwyg2.vue +577 -0
- package/{form → _Build/vue/components/form}/basic.vue +25 -7
- package/{form → _Build/vue/components/form}/file.vue +1 -1
- package/{form → _Build/vue/components/form}/input.js +2 -2
- package/{form → _Build/vue/components/form}/input.vue +31 -11
- package/{layout → _Build/vue/components/layout}/Alert.vue +10 -10
- package/_Build/vue/components/layout/Footer.vue +50 -0
- package/{layout → _Build/vue/components/layout}/Header.vue +5 -7
- package/_Build/vue/components/layout/Loader.vue +59 -0
- package/{layout → _Build/vue/components/layout}/Tooltip.vue +12 -12
- package/{layout → _Build/vue/components/layout}/pageTitle.vue +4 -4
- package/{layout → _Build/vue/components/layout}/sideBar.vue +4 -6
- package/{navigation → _Build/vue/components/navigation}/Breadcrumbs.vue +15 -10
- package/{navigation → _Build/vue/components/navigation}/BreadcrumbsItem.vue +6 -6
- package/_Build/vue/components/navigation/Menu.vue +14 -0
- package/_Build/vue/components/navigation/MenuItem.vue +20 -0
- package/_Build/vue/components/navigation/MenuItemGroup.vue +20 -0
- package/_Build/vue/components/navigation/SubMenu.vue +20 -0
- package/_Build/vue/modules/AuthModule/adminRoutes/PCompanies/Children/Upload/upload.vue +259 -0
- package/_Build/vue/modules/AuthModule/adminRoutes/PCompanies/Children/create.vue +62 -0
- package/_Build/vue/modules/AuthModule/adminRoutes/PCompanies/Children/edit.vue +98 -0
- package/_Build/vue/modules/AuthModule/adminRoutes/PCompanies/Children/index.vue +90 -0
- package/_Build/vue/modules/AuthModule/adminRoutes/PCompanies/Children/partials/form.vue +181 -0
- package/_Build/vue/modules/AuthModule/adminRoutes/PCompanies/Children/show.vue +267 -0
- package/_Build/vue/modules/AuthModule/adminRoutes/PCompanies/parent.vue +36 -0
- package/_Build/vue/modules/AuthModule/adminRoutes/PUsers/Children/create.vue +113 -0
- package/_Build/vue/modules/AuthModule/adminRoutes/PUsers/Children/edit.vue +101 -0
- package/_Build/vue/modules/AuthModule/adminRoutes/PUsers/Children/index.vue +112 -0
- package/_Build/vue/modules/AuthModule/adminRoutes/PUsers/Children/partials/form.vue +174 -0
- package/_Build/vue/modules/AuthModule/adminRoutes/PUsers/Children/show.vue +123 -0
- package/_Build/vue/modules/AuthModule/adminRoutes/PUsers/parent.vue +36 -0
- package/{AuthModule → _Build/vue/modules/AuthModule}/components/AuthModal.vue +30 -35
- package/_Build/vue/modules/AuthModule/components/Chip.vue +70 -0
- package/_Build/vue/modules/AuthModule/components/Chips.vue +26 -0
- package/_Build/vue/modules/AuthModule/components/FormRole.vue +117 -0
- package/_Build/vue/modules/AuthModule/components/VBreadcrumbs.vue +33 -0
- package/_Build/vue/modules/AuthModule/components/VFormFooter.vue +52 -0
- package/_Build/vue/modules/AuthModule/components/VPageHeader.vue +38 -0
- package/_Build/vue/modules/AuthModule/components/VPasswordValidation.vue +106 -0
- package/_Build/vue/modules/AuthModule/components/VRoleLegend.vue +43 -0
- package/_Build/vue/modules/AuthModule/components/VTable.vue +136 -0
- package/_Build/vue/modules/AuthModule/components/VTableSorter.vue +252 -0
- package/_Build/vue/modules/AuthModule/js/FakeAPI.js +78 -0
- package/_Build/vue/modules/AuthModule/js/axios.js +81 -0
- package/_Build/vue/modules/AuthModule/js/router.js +295 -0
- package/_Build/vue/modules/AuthModule/js/store.js +62 -0
- package/{AuthModule → _Build/vue/modules/AuthModule}/routes/account-exists.vue +6 -8
- package/{AuthModule → _Build/vue/modules/AuthModule}/routes/change-password.vue +39 -38
- package/{AuthModule → _Build/vue/modules/AuthModule}/routes/container.vue +4 -8
- package/{AuthModule → _Build/vue/modules/AuthModule}/routes/expired-reset.vue +17 -15
- package/{AuthModule → _Build/vue/modules/AuthModule}/routes/expired-verification.vue +21 -20
- package/{AuthModule → _Build/vue/modules/AuthModule}/routes/force-reset.vue +45 -40
- package/{AuthModule → _Build/vue/modules/AuthModule}/routes/forgot.vue +15 -11
- package/{AuthModule → _Build/vue/modules/AuthModule}/routes/login.vue +27 -26
- package/{AuthModule → _Build/vue/modules/AuthModule}/routes/logincallback.vue +6 -13
- package/_Build/vue/modules/AuthModule/routes/loginheadless.vue +21 -0
- package/{AuthModule → _Build/vue/modules/AuthModule}/routes/loginsso.vue +34 -29
- package/_Build/vue/modules/AuthModule/routes/logout.vue +19 -0
- package/_Build/vue/modules/AuthModule/routes/logoutheadless.vue +25 -0
- package/{AuthModule → _Build/vue/modules/AuthModule}/routes/register.vue +52 -37
- package/{AuthModule → _Build/vue/modules/AuthModule}/routes/reset.vue +29 -19
- package/{AuthModule → _Build/vue/modules/AuthModule}/routes/success-forgot.vue +22 -19
- package/{AuthModule → _Build/vue/modules/AuthModule}/routes/success-reset.vue +6 -6
- package/_Build/vue/modules/AuthModule/routes/success-verify.vue +30 -0
- package/{AuthModule → _Build/vue/modules/AuthModule}/routes/verify.vue +26 -26
- package/_base.scss +0 -1
- package/_defaults.scss +3 -15
- package/_variables.scss +24 -21
- package/components/_alert.scss +2 -2
- package/components/_auth.scss +163 -0
- package/components/_basic.scss +5 -4
- package/components/_breadcrumbs.scss +7 -8
- package/components/_button.scss +11 -12
- package/components/_cascader.scss +1 -1
- package/components/_checkbox.scss +27 -26
- package/components/_chip.scss +24 -0
- package/components/_collapse.scss +2 -3
- package/components/_datepicker.scss +7 -6
- package/components/_footer.scss +1 -1
- package/components/_form.scss +6 -4
- package/components/_header.scss +4 -5
- package/components/_icon.scss +4 -3
- package/components/_inputNumber.scss +4 -3
- package/components/_link.scss +7 -7
- package/components/_loader.scss +3 -4
- package/components/_menu.scss +22 -22
- package/{modules → components}/_modal.scss +3 -3
- package/components/_pageTitle.scss +3 -3
- package/components/_permissionLegend.scss +18 -0
- package/components/_select.scss +3 -2
- package/components/_sidebar.scss +5 -6
- package/components/_switch.scss +2 -2
- package/components/_table.scss +3 -3
- package/components/_tooltip.scss +2 -2
- package/components/_typography.scss +71 -62
- package/components/_upload.scss +1 -1
- package/components/_wysiwyg.scss +3 -2
- package/components/_wysiwyg2.scss +37 -31
- package/general.scss +1 -2
- package/index.js +38 -30
- package/package.json +104 -102
- package/vendor.scss +2 -3
- package/AuthModule/components/VPasswordValidation.vue +0 -66
- package/AuthModule/js/AuthAxios.js +0 -59
- package/AuthModule/js/AuthRoutes.js +0 -186
- package/AuthModule/js/AuthStore.js +0 -99
- package/AuthModule/js/FakeAPI.js +0 -84
- package/AuthModule/routes/loginheadless.vue +0 -16
- package/AuthModule/routes/logout.vue +0 -21
- package/AuthModule/routes/success-verify.vue +0 -29
- package/Icon.vue +0 -33
- package/Svg.vue +0 -40
- package/components/_input.scss +0 -0
- package/form/Wysiwyg2.vue +0 -278
- package/layout/Footer.vue +0 -35
- package/layout/Loader.vue +0 -39
- package/modules/_AuthModule.scss +0 -209
- package/modules/_AuthVariables.scss +0 -7
- package/navigation/Menu.vue +0 -16
- package/navigation/MenuItem.vue +0 -20
- package/navigation/MenuItemGroup.vue +0 -20
- package/navigation/SubMenu.vue +0 -20
- /package/{form → _Build/vue/components/form}/Checkbox.vue +0 -0
- /package/{form → _Build/vue/components/form}/color.vue +0 -0
package/components/_basic.scss
CHANGED
|
@@ -8,9 +8,10 @@
|
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
.el-input__inner {
|
|
11
|
-
--el-input-inner-height:46px
|
|
11
|
+
--el-input-inner-height: 46px;
|
|
12
12
|
}
|
|
13
|
-
.el-input-group__append,
|
|
13
|
+
.el-input-group__append,
|
|
14
|
+
.el-input-group__prepend {
|
|
14
15
|
padding: 0 2 * $spacing;
|
|
15
16
|
}
|
|
16
17
|
}
|
|
@@ -49,6 +50,6 @@
|
|
|
49
50
|
width: 24px;
|
|
50
51
|
min-width: 24px;
|
|
51
52
|
padding: 0px !important;
|
|
52
|
-
fill: #cfd8dd !important
|
|
53
|
+
fill: #cfd8dd !important;
|
|
53
54
|
}
|
|
54
|
-
}
|
|
55
|
+
}
|
|
@@ -1,31 +1,30 @@
|
|
|
1
1
|
@import "element-plus/theme-chalk/el-breadcrumb";
|
|
2
2
|
@import "element-plus/theme-chalk/el-breadcrumb-item";
|
|
3
3
|
.vel-breadcrumb {
|
|
4
|
-
|
|
5
4
|
.el-breadcrumb__separator {
|
|
6
5
|
display: none;
|
|
7
|
-
margin:0px $spacing;
|
|
6
|
+
margin: 0px $spacing;
|
|
8
7
|
}
|
|
9
|
-
|
|
8
|
+
|
|
10
9
|
.el-breadcrumb__separator,
|
|
11
10
|
.el-breadcrumb__inner {
|
|
12
11
|
font-size: get-ratio(16px);
|
|
13
12
|
line-height: get-ratio(24px);
|
|
14
13
|
}
|
|
15
|
-
|
|
14
|
+
|
|
16
15
|
.el-breadcrumb__inner {
|
|
17
16
|
&.is-link {
|
|
18
17
|
text-decoration: underline;
|
|
19
18
|
font-weight: 500;
|
|
20
19
|
color: $color2;
|
|
21
20
|
text-transform: capitalize;
|
|
22
|
-
|
|
21
|
+
|
|
23
22
|
&:hover {
|
|
24
|
-
color
|
|
23
|
+
color: $color12;
|
|
25
24
|
}
|
|
26
25
|
}
|
|
27
26
|
}
|
|
28
|
-
|
|
27
|
+
|
|
29
28
|
.el-breadcrumb__item {
|
|
30
29
|
&:last-child {
|
|
31
30
|
.el-breadcrumb__inner {
|
|
@@ -37,4 +36,4 @@
|
|
|
37
36
|
}
|
|
38
37
|
}
|
|
39
38
|
}
|
|
40
|
-
}
|
|
39
|
+
}
|
package/components/_button.scss
CHANGED
|
@@ -231,10 +231,11 @@
|
|
|
231
231
|
|
|
232
232
|
// shapes
|
|
233
233
|
|
|
234
|
-
&.is-circle,
|
|
234
|
+
&.is-circle,
|
|
235
|
+
&.is-square {
|
|
235
236
|
width: auto;
|
|
236
|
-
& [class*=el-icon] + span {
|
|
237
|
-
|
|
237
|
+
& [class*="el-icon"] + span {
|
|
238
|
+
margin-left: 0;
|
|
238
239
|
}
|
|
239
240
|
&.el-button--default,
|
|
240
241
|
&.el-button--primary,
|
|
@@ -252,11 +253,9 @@
|
|
|
252
253
|
&.el-button--small {
|
|
253
254
|
padding: get-ratio(5px);
|
|
254
255
|
}
|
|
255
|
-
|
|
256
256
|
}
|
|
257
257
|
// Fix for improper spacing
|
|
258
258
|
.el-icon.is-loading {
|
|
259
|
-
|
|
260
259
|
+ span:empty {
|
|
261
260
|
margin-left: 0px;
|
|
262
261
|
}
|
|
@@ -269,14 +268,14 @@
|
|
|
269
268
|
}
|
|
270
269
|
|
|
271
270
|
&--iconRight {
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
271
|
+
.el-icon {
|
|
272
|
+
order: 2;
|
|
273
|
+
}
|
|
275
274
|
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
275
|
+
> span {
|
|
276
|
+
order: 1;
|
|
277
|
+
margin: 0 0.5rem 0 0;
|
|
278
|
+
}
|
|
280
279
|
}
|
|
281
280
|
|
|
282
281
|
&--iconOnly1 {
|
|
@@ -1,40 +1,41 @@
|
|
|
1
1
|
@import "element-plus/theme-chalk/el-checkbox";
|
|
2
2
|
@import "element-plus/theme-chalk/el-checkbox-button";
|
|
3
3
|
|
|
4
|
-
.vel-checkbox,
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
4
|
+
.vel-checkbox,
|
|
5
|
+
.el-checkbox {
|
|
6
|
+
display: flex;
|
|
7
|
+
flex-direction: row;
|
|
8
|
+
align-items: center;
|
|
9
|
+
gap: $spacing * 0.5;
|
|
10
|
+
flex-wrap: wrap;
|
|
11
|
+
align-items: baseline;
|
|
12
|
+
|
|
13
|
+
&__label {
|
|
14
|
+
order: 2;
|
|
15
|
+
}
|
|
16
|
+
&__checkbox {
|
|
17
|
+
order: 1;
|
|
18
|
+
.el-checkbox__input {
|
|
19
|
+
&.is-checked {
|
|
20
|
+
.el-checkbox__inner {
|
|
21
|
+
background-color: black;
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
25
|
+
}
|
|
26
|
+
&__error {
|
|
27
|
+
order: 3;
|
|
28
|
+
flex-basis: 100%;
|
|
29
|
+
color: $colorAlert;
|
|
30
|
+
}
|
|
30
31
|
}
|
|
31
32
|
|
|
32
|
-
.vel-checkbox-group,
|
|
33
|
+
.vel-checkbox-group,
|
|
34
|
+
.vel-checkbox {
|
|
33
35
|
&--vertical {
|
|
34
36
|
.vel-checkbox-group__wrapper {
|
|
35
37
|
display: flex;
|
|
36
38
|
flex-direction: column;
|
|
37
39
|
}
|
|
38
40
|
}
|
|
39
|
-
|
|
40
|
-
}
|
|
41
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
.chip {
|
|
2
|
+
border: solid 1px currentColor;
|
|
3
|
+
border-radius: 4px;
|
|
4
|
+
background-color: #f0f9eb;
|
|
5
|
+
padding: get-ratio(2px) get-ratio(10px);
|
|
6
|
+
font-size: get-ratio(12px);
|
|
7
|
+
line-height: get-ratio(18px);
|
|
8
|
+
box-sizing: border-box;
|
|
9
|
+
|
|
10
|
+
&.deactive,
|
|
11
|
+
&--inherited {
|
|
12
|
+
color: #909399 !important;
|
|
13
|
+
border-color: #dedfe0 !important;
|
|
14
|
+
background-color: #f4f4f5 !important;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.chip--round {
|
|
19
|
+
display: inline-block;
|
|
20
|
+
text-indent: -100000px;
|
|
21
|
+
width: get-ratio(22px);
|
|
22
|
+
height: get-ratio(22px);
|
|
23
|
+
border-radius: 100%;
|
|
24
|
+
}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
|
|
2
1
|
@import "element-plus/theme-chalk/el-collapse";
|
|
3
2
|
@import "element-plus/theme-chalk/el-collapse-item";
|
|
4
3
|
|
|
5
4
|
.el-collapse-item__header {
|
|
6
5
|
align-items: center;
|
|
7
|
-
--el-collapse-header-font-size:get-ratio(16px);
|
|
6
|
+
--el-collapse-header-font-size: get-ratio(16px);
|
|
8
7
|
.vel-icon {
|
|
9
8
|
vertical-align: middle;
|
|
10
9
|
width: 13px;
|
|
@@ -22,4 +21,4 @@
|
|
|
22
21
|
--el-collapse-header-bg-color: transparent;
|
|
23
22
|
--el-collapse-content-bg-color: transparent;
|
|
24
23
|
--el-collapse-border-color: transparent;
|
|
25
|
-
}
|
|
24
|
+
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
// --el-input-height:38px;
|
|
5
5
|
|
|
6
6
|
// &.el-input--large {
|
|
7
|
-
|
|
7
|
+
--el-input-height: 46px;
|
|
8
8
|
// }
|
|
9
9
|
|
|
10
10
|
&__error {
|
|
@@ -13,16 +13,16 @@
|
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
.vel-popper {
|
|
16
|
-
@include breakpoint
|
|
16
|
+
@include breakpoint(max-width $mobileMax) {
|
|
17
17
|
min-width: 280px;
|
|
18
18
|
max-width: 325px;
|
|
19
19
|
width: auto;
|
|
20
|
-
.el-date-range-picker{
|
|
20
|
+
.el-date-range-picker {
|
|
21
21
|
width: 100%;
|
|
22
22
|
.el-picker-panel__body {
|
|
23
23
|
width: 100%;
|
|
24
24
|
min-width: 100%;
|
|
25
|
-
|
|
25
|
+
& > div {
|
|
26
26
|
width: auto;
|
|
27
27
|
min-width: auto;
|
|
28
28
|
border: none;
|
|
@@ -32,7 +32,8 @@
|
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
.vel-date-picker,
|
|
35
|
+
.vel-date-picker,
|
|
36
|
+
.el-date-picker {
|
|
36
37
|
&.has-sidebar {
|
|
37
38
|
width: auto;
|
|
38
39
|
|
|
@@ -48,4 +49,4 @@
|
|
|
48
49
|
margin-left: 0px;
|
|
49
50
|
position: relative !important;
|
|
50
51
|
}
|
|
51
|
-
}
|
|
52
|
+
}
|
package/components/_footer.scss
CHANGED
package/components/_form.scss
CHANGED
|
@@ -7,16 +7,18 @@
|
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
&:not(:last-child) {
|
|
10
|
-
margin-bottom:
|
|
10
|
+
margin-bottom: 2.5 * $spacing;
|
|
11
11
|
}
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
.form__group--error {
|
|
15
|
-
|
|
16
|
-
.el-select__wrapper
|
|
15
|
+
.el-select__wrapper,
|
|
16
|
+
.el-select__wrapper:hover,
|
|
17
|
+
.el-input__wrapper,
|
|
18
|
+
.el-input__wrapper:hover {
|
|
17
19
|
box-shadow: 0 0 0 1px $colorAlert inset;
|
|
18
20
|
.el-select__icon {
|
|
19
21
|
color: $colorAlert;
|
|
20
22
|
}
|
|
21
23
|
}
|
|
22
|
-
}
|
|
24
|
+
}
|
package/components/_header.scss
CHANGED
|
@@ -15,7 +15,6 @@
|
|
|
15
15
|
max-width: 50%;
|
|
16
16
|
flex-basis: 50%;
|
|
17
17
|
justify-content: flex-end !important;
|
|
18
|
-
|
|
19
18
|
}
|
|
20
19
|
|
|
21
20
|
.icon {
|
|
@@ -23,7 +22,7 @@
|
|
|
23
22
|
max-width: $spacing * 2.5;
|
|
24
23
|
width: $spacing * 2.5;
|
|
25
24
|
height: $spacing * 2.5;
|
|
26
|
-
margin-right: .5 * $spacing;
|
|
25
|
+
margin-right: 0.5 * $spacing;
|
|
27
26
|
}
|
|
28
27
|
}
|
|
29
28
|
|
|
@@ -43,13 +42,13 @@
|
|
|
43
42
|
position: relative;
|
|
44
43
|
&::after {
|
|
45
44
|
position: absolute;
|
|
46
|
-
content:"";
|
|
45
|
+
content: "";
|
|
47
46
|
border-right: solid get-ratio(1px) $color4;
|
|
48
47
|
height: 75%;
|
|
49
48
|
transform: translateY(-50%);
|
|
50
49
|
top: 50%;
|
|
51
|
-
right:0px;
|
|
50
|
+
right: 0px;
|
|
52
51
|
}
|
|
53
52
|
}
|
|
54
53
|
}
|
|
55
|
-
}
|
|
54
|
+
}
|
package/components/_icon.scss
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
// @import "@fishawack/lab-ui/_icon.scss";
|
|
2
2
|
|
|
3
3
|
.vel-icon {
|
|
4
|
-
|
|
5
|
-
.vel-
|
|
4
|
+
.vel-link &,
|
|
5
|
+
.vel-button &,
|
|
6
|
+
.vel-basic & {
|
|
6
7
|
width: get-ratio(16px);
|
|
7
8
|
min-width: get-ratio(16px);
|
|
8
9
|
max-height: get-ratio(16px);
|
|
@@ -21,4 +22,4 @@
|
|
|
21
22
|
padding-bottom: 0px;
|
|
22
23
|
line-height: 0px;
|
|
23
24
|
}
|
|
24
|
-
}
|
|
25
|
+
}
|
|
@@ -9,13 +9,14 @@
|
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
.el-input__inner {
|
|
12
|
-
--el-input-inner-height:38px
|
|
12
|
+
--el-input-inner-height: 38px;
|
|
13
13
|
}
|
|
14
|
-
.el-input-group__append,
|
|
14
|
+
.el-input-group__append,
|
|
15
|
+
.el-input-group__prepend {
|
|
15
16
|
padding: 0 2 * $spacing;
|
|
16
17
|
}
|
|
17
18
|
|
|
18
19
|
&__error {
|
|
19
20
|
color: $colorAlert;
|
|
20
21
|
}
|
|
21
|
-
}
|
|
22
|
+
}
|
package/components/_link.scss
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
@import "element-plus/theme-chalk/el-link";
|
|
2
2
|
|
|
3
3
|
.vel-link.el-link--default {
|
|
4
|
-
&:hover{
|
|
5
|
-
color:currentColor;
|
|
6
|
-
&:after{
|
|
4
|
+
&:hover {
|
|
5
|
+
color: currentColor;
|
|
6
|
+
&:after {
|
|
7
7
|
border-color: currentColor;
|
|
8
8
|
}
|
|
9
9
|
}
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
right: 0;
|
|
20
20
|
border-color: currentColor;
|
|
21
21
|
}
|
|
22
|
-
&:hover{
|
|
23
|
-
color:currentColor;
|
|
24
|
-
&:after{
|
|
22
|
+
&:hover {
|
|
23
|
+
color: currentColor;
|
|
24
|
+
&:after {
|
|
25
25
|
border-color: currentColor;
|
|
26
26
|
}
|
|
27
27
|
}
|
|
@@ -41,4 +41,4 @@
|
|
|
41
41
|
|
|
42
42
|
.vel-link--xsmall {
|
|
43
43
|
font-size: get-ratio(12px);
|
|
44
|
-
}
|
|
44
|
+
}
|
package/components/_loader.scss
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
height: 6rem;
|
|
6
6
|
border-radius: 50%;
|
|
7
7
|
background-color: inherit;
|
|
8
|
-
|
|
8
|
+
|
|
9
9
|
svg {
|
|
10
10
|
.circle {
|
|
11
11
|
animation: 2s spinning cubic-bezier(0.41, 0.26, 0.2, 0.62) infinite;
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
border-width: 0.6rem;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
@include breakpoint
|
|
25
|
+
@include breakpoint(max-width $mobileMax) {
|
|
26
26
|
width: 6rem;
|
|
27
27
|
height: 6rem;
|
|
28
28
|
|
|
@@ -32,7 +32,6 @@
|
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
|
|
36
35
|
@keyframes spinning {
|
|
37
36
|
from {
|
|
38
37
|
transform: rotate(0);
|
|
@@ -41,4 +40,4 @@
|
|
|
41
40
|
to {
|
|
42
41
|
transform: rotate(2turn);
|
|
43
42
|
}
|
|
44
|
-
}
|
|
43
|
+
}
|
package/components/_menu.scss
CHANGED
|
@@ -1,15 +1,17 @@
|
|
|
1
|
-
@import
|
|
2
|
-
@import
|
|
3
|
-
@import
|
|
1
|
+
@import "element-plus/theme-chalk/el-menu";
|
|
2
|
+
@import "element-plus/theme-chalk/el-menu-item";
|
|
3
|
+
@import "element-plus/theme-chalk/el-sub-menu";
|
|
4
4
|
|
|
5
|
-
ul.vel-menu
|
|
5
|
+
ul.vel-menu {
|
|
6
6
|
li {
|
|
7
|
-
--el-menu-level-padding
|
|
7
|
+
--el-menu-level-padding: 0;
|
|
8
8
|
padding-right: 0px;
|
|
9
9
|
}
|
|
10
|
-
.el-sub-menu__title,
|
|
10
|
+
.el-sub-menu__title,
|
|
11
|
+
a,
|
|
12
|
+
.el-menu-item > * {
|
|
11
13
|
font-size: get-ratio(18px);
|
|
12
|
-
border-left: solid .5 * $spacing transparent;
|
|
14
|
+
border-left: solid 0.5 * $spacing transparent;
|
|
13
15
|
padding: 0 2.5 * $spacing;
|
|
14
16
|
width: 100%;
|
|
15
17
|
display: flex;
|
|
@@ -20,12 +22,11 @@ ul.vel-menu {
|
|
|
20
22
|
width: 2.5 * $spacing;
|
|
21
23
|
min-width: 2.5 * $spacing;
|
|
22
24
|
fill: currentColor;
|
|
23
|
-
margin-right: .5 * $spacing;
|
|
25
|
+
margin-right: 0.5 * $spacing;
|
|
24
26
|
* {
|
|
25
27
|
vertical-align: middle;
|
|
26
28
|
}
|
|
27
29
|
}
|
|
28
|
-
|
|
29
30
|
}
|
|
30
31
|
|
|
31
32
|
.el-sub-menu__title {
|
|
@@ -35,27 +36,28 @@ ul.vel-menu {
|
|
|
35
36
|
a {
|
|
36
37
|
height: 100%;
|
|
37
38
|
box-sizing: border-box;
|
|
38
|
-
border-left: solid .5 * $spacing $color8;
|
|
39
|
+
border-left: solid 0.5 * $spacing $color8;
|
|
39
40
|
.vel-icon {
|
|
40
41
|
width: 2.5 * $spacing;
|
|
41
42
|
max-width: 2.5 * $spacing;
|
|
42
43
|
min-width: 2.5 * $spacing;
|
|
43
44
|
padding-bottom: 0px;
|
|
44
45
|
}
|
|
45
|
-
&.active{
|
|
46
|
+
&.active {
|
|
46
47
|
border-left-color: $color1;
|
|
47
48
|
}
|
|
48
|
-
|
|
49
49
|
}
|
|
50
|
-
|
|
51
|
-
span,
|
|
50
|
+
|
|
51
|
+
span,
|
|
52
|
+
.el-sub-menu__icon-arrow {
|
|
52
53
|
opacity: 0;
|
|
53
|
-
transition: .2s ease-in-out opacity;
|
|
54
|
-
margin-left: .5 * $spacing;
|
|
54
|
+
transition: 0.2s ease-in-out opacity;
|
|
55
|
+
margin-left: 0.5 * $spacing;
|
|
55
56
|
}
|
|
56
57
|
|
|
57
58
|
.active & {
|
|
58
|
-
span
|
|
59
|
+
span,
|
|
60
|
+
.el-sub-menu__icon-arrow {
|
|
59
61
|
opacity: 1;
|
|
60
62
|
}
|
|
61
63
|
}
|
|
@@ -66,11 +68,10 @@ ul.vel-menu {
|
|
|
66
68
|
}
|
|
67
69
|
}
|
|
68
70
|
|
|
69
|
-
|
|
70
|
-
|
|
71
71
|
.vel-sub-menu {
|
|
72
72
|
--el-menu-level-padding: 0;
|
|
73
|
-
.el-menu-item,
|
|
73
|
+
.el-menu-item,
|
|
74
|
+
.vel-sub-menu {
|
|
74
75
|
padding-left: 5 * $spacing !important;
|
|
75
76
|
}
|
|
76
77
|
.el-sub-menu__title {
|
|
@@ -98,13 +99,12 @@ ul.vel-menu {
|
|
|
98
99
|
}
|
|
99
100
|
|
|
100
101
|
.el-sub-menu {
|
|
101
|
-
|
|
102
102
|
.vel-menu-item {
|
|
103
103
|
a.active {
|
|
104
104
|
border-left-color: transparent;
|
|
105
105
|
}
|
|
106
106
|
}
|
|
107
|
-
.vel-menu-item a{
|
|
107
|
+
.vel-menu-item a {
|
|
108
108
|
padding-left: 0px;
|
|
109
109
|
padding-right: 0px;
|
|
110
110
|
}
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
transition: all 500ms ease-in-out;
|
|
7
7
|
|
|
8
|
-
&::before{
|
|
9
|
-
content:
|
|
8
|
+
&::before {
|
|
9
|
+
content: "";
|
|
10
10
|
pointer-events: none;
|
|
11
11
|
z-index: 0 !important;
|
|
12
12
|
position: fixed;
|
|
@@ -21,4 +21,4 @@
|
|
|
21
21
|
}
|
|
22
22
|
.AuthModule__form.modal__box {
|
|
23
23
|
position: absolute;
|
|
24
|
-
}
|
|
24
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
.vel-page-title {
|
|
2
2
|
padding: 3 * $spacing 6 * $spacing;
|
|
3
3
|
background-color: $color0;
|
|
4
|
-
border-bottom: .5 * $spacing solid;
|
|
5
|
-
border-image: linear-gradient(90deg, #
|
|
6
|
-
box-shadow: .5 * $spacing .5 * $spacing $spacing 0px #00000040;
|
|
4
|
+
border-bottom: 0.5 * $spacing solid;
|
|
5
|
+
border-image: linear-gradient(90deg, #ff558f 0%, #856df6 100%) 1;
|
|
6
|
+
box-shadow: 0.5 * $spacing 0.5 * $spacing $spacing 0px #00000040;
|
|
7
7
|
margin-bottom: 2.5 * $spacing;
|
|
8
8
|
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
.permission-legend {
|
|
2
|
+
background-color: #f2f2f2;
|
|
3
|
+
border: 1px solid #e6e6e6;
|
|
4
|
+
padding: $spacing * 2;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.permission-legend__list {
|
|
8
|
+
list-style: none;
|
|
9
|
+
padding-left: 0;
|
|
10
|
+
|
|
11
|
+
& > li {
|
|
12
|
+
margin-bottom: $spacing;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.permission-legend__description {
|
|
17
|
+
padding-left: $spacing;
|
|
18
|
+
}
|
package/components/_select.scss
CHANGED
|
@@ -5,12 +5,13 @@
|
|
|
5
5
|
@import "element-plus/theme-chalk/el-popper";
|
|
6
6
|
@import "element-plus/theme-chalk/el-select";
|
|
7
7
|
|
|
8
|
-
.vel-select {
|
|
8
|
+
.vel-select {
|
|
9
9
|
.el-select__wrapper {
|
|
10
10
|
font-size: get-ratio(16px);
|
|
11
11
|
padding: get-ratio(17px) get-ratio(16px);
|
|
12
12
|
}
|
|
13
|
-
.el-select__input,
|
|
13
|
+
.el-select__input,
|
|
14
|
+
.el-select__selected-item {
|
|
14
15
|
line-height: get-ratio(16px);
|
|
15
16
|
height: get-ratio(16px);
|
|
16
17
|
}
|
package/components/_sidebar.scss
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
flex-basis: $spacing * 7.5;
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|
|
5
|
-
box-shadow: 0px $spacing * .5 $spacing * .5 0px hsla(0, 0%, 0%, 0.251);
|
|
5
|
+
box-shadow: 0px $spacing * 0.5 $spacing * 0.5 0px hsla(0, 0%, 0%, 0.251);
|
|
6
6
|
min-height: 10vh;
|
|
7
7
|
max-height: 100vh;
|
|
8
8
|
overflow: hidden;
|
|
9
|
-
transition: flex-basis .3s ease-in-out;
|
|
9
|
+
transition: flex-basis 0.3s ease-in-out;
|
|
10
10
|
background-color: $color0;
|
|
11
11
|
|
|
12
12
|
position: sticky;
|
|
@@ -15,10 +15,9 @@
|
|
|
15
15
|
min-width: get-ratio(64px);
|
|
16
16
|
flex-basis: get-ratio(64px);
|
|
17
17
|
|
|
18
|
-
|
|
19
18
|
> div {
|
|
20
19
|
&:first-child {
|
|
21
|
-
flex-grow: .
|
|
20
|
+
flex-grow: 0.8;
|
|
22
21
|
}
|
|
23
22
|
&:last-child {
|
|
24
23
|
margin-bottom: 5.5vh;
|
|
@@ -48,10 +47,10 @@
|
|
|
48
47
|
.vel-side-bar__bottom {
|
|
49
48
|
display: flex;
|
|
50
49
|
justify-content: flex-end;
|
|
51
|
-
border-top: solid 1px #
|
|
50
|
+
border-top: solid 1px #e6e6e6;
|
|
52
51
|
padding: $spacing $spacing * 1.5;
|
|
53
52
|
}
|
|
54
53
|
|
|
55
54
|
main {
|
|
56
55
|
overflow: hidden;
|
|
57
|
-
}
|
|
56
|
+
}
|
package/components/_switch.scss
CHANGED
package/components/_table.scss
CHANGED
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
.el-table {
|
|
6
6
|
padding: get-ratio(8px);
|
|
7
|
-
thead tr .el-table__cell{
|
|
8
|
-
background-color: #
|
|
7
|
+
thead tr .el-table__cell {
|
|
8
|
+
background-color: #f7f7f7;
|
|
9
9
|
}
|
|
10
10
|
.el-table__cell {
|
|
11
11
|
padding: get-ratio(8px) get-ratio(12px);
|
|
@@ -17,4 +17,4 @@
|
|
|
17
17
|
display: flex;
|
|
18
18
|
width: 100%;
|
|
19
19
|
max-width: 100%;
|
|
20
|
-
|
|
20
|
+
}
|