@fishawack/lab-velocity 1.11.1 → 2.0.0-beta.2
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 +13 -7
- package/_Build/vue/components/Icon.vue +33 -0
- package/_Build/vue/components/Svg.vue +45 -0
- package/{basic → _Build/vue/components/basic}/Button.vue +16 -18
- 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 +8 -9
- 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 +251 -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 +173 -0
- package/_Build/vue/modules/AuthModule/adminRoutes/PCompanies/Children/show.vue +262 -0
- package/_Build/vue/modules/AuthModule/adminRoutes/PCompanies/parent.vue +36 -0
- package/_Build/vue/modules/AuthModule/adminRoutes/PUsers/Children/create.vue +112 -0
- package/_Build/vue/modules/AuthModule/adminRoutes/PUsers/Children/edit.vue +103 -0
- package/_Build/vue/modules/AuthModule/adminRoutes/PUsers/Children/index.vue +112 -0
- package/_Build/vue/modules/AuthModule/adminRoutes/PUsers/Children/partials/form.vue +169 -0
- package/_Build/vue/modules/AuthModule/adminRoutes/PUsers/Children/show.vue +120 -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 +115 -0
- package/_Build/vue/modules/AuthModule/components/VBreadcrumbs.vue +32 -0
- package/_Build/vue/modules/AuthModule/components/VFormFooter.vue +46 -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 +127 -0
- package/_Build/vue/modules/AuthModule/components/VTableSorter.vue +240 -0
- package/_Build/vue/modules/AuthModule/js/FakeAPI.js +78 -0
- package/_Build/vue/modules/AuthModule/js/axios.js +62 -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 +5 -7
- package/{AuthModule → _Build/vue/modules/AuthModule}/routes/change-password.vue +28 -25
- package/{AuthModule → _Build/vue/modules/AuthModule}/routes/container.vue +4 -8
- package/{AuthModule → _Build/vue/modules/AuthModule}/routes/expired-reset.vue +13 -11
- package/{AuthModule → _Build/vue/modules/AuthModule}/routes/expired-verification.vue +12 -12
- package/{AuthModule → _Build/vue/modules/AuthModule}/routes/force-reset.vue +36 -26
- package/{AuthModule → _Build/vue/modules/AuthModule}/routes/forgot.vue +11 -7
- package/{AuthModule → _Build/vue/modules/AuthModule}/routes/login.vue +20 -15
- package/{AuthModule → _Build/vue/modules/AuthModule}/routes/logincallback.vue +5 -10
- package/_Build/vue/modules/AuthModule/routes/loginheadless.vue +21 -0
- package/{AuthModule → _Build/vue/modules/AuthModule}/routes/loginsso.vue +32 -25
- package/{AuthModule → _Build/vue/modules/AuthModule}/routes/logout.vue +6 -6
- package/_Build/vue/modules/AuthModule/routes/logoutheadless.vue +27 -0
- package/{AuthModule → _Build/vue/modules/AuthModule}/routes/register.vue +43 -25
- package/{AuthModule → _Build/vue/modules/AuthModule}/routes/reset.vue +24 -14
- package/{AuthModule → _Build/vue/modules/AuthModule}/routes/success-forgot.vue +14 -12
- package/{AuthModule → _Build/vue/modules/AuthModule}/routes/success-reset.vue +4 -4
- package/{AuthModule → _Build/vue/modules/AuthModule}/routes/success-verify.vue +10 -7
- package/{AuthModule → _Build/vue/modules/AuthModule}/routes/verify.vue +15 -12
- package/_base.scss +1 -1
- package/_defaults.scss +2 -3
- package/_variables.scss +16 -18
- package/general.scss +1 -2
- package/index.js +38 -30
- package/package.json +103 -102
- package/vendor.scss +2 -2
- 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/Icon.vue +0 -33
- package/Svg.vue +0 -40
- package/components/_alert.scss +0 -5
- package/components/_basic.scss +0 -54
- package/components/_breadcrumbs.scss +0 -40
- package/components/_button.scss +0 -305
- package/components/_cascader.scss +0 -12
- package/components/_checkbox.scss +0 -40
- package/components/_collapse.scss +0 -25
- package/components/_datepicker.scss +0 -51
- package/components/_footer.scss +0 -46
- package/components/_form.scss +0 -22
- package/components/_header.scss +0 -55
- package/components/_icon.scss +0 -24
- package/components/_input.scss +0 -0
- package/components/_inputNumber.scss +0 -21
- package/components/_link.scss +0 -44
- package/components/_loader.scss +0 -44
- package/components/_menu.scss +0 -112
- package/components/_pageTitle.scss +0 -8
- package/components/_select.scss +0 -28
- package/components/_sidebar.scss +0 -57
- package/components/_switch.scss +0 -14
- package/components/_table.scss +0 -20
- package/components/_tooltip.scss +0 -4
- package/components/_typography.scss +0 -153
- package/components/_upload.scss +0 -15
- package/components/_wysiwyg.scss +0 -6
- package/components/_wysiwyg2.scss +0 -136
- 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/modules/_modal.scss +0 -24
- 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
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
@import "element-plus/theme-chalk/el-checkbox";
|
|
2
|
-
@import "element-plus/theme-chalk/el-checkbox-button";
|
|
3
|
-
|
|
4
|
-
.vel-checkbox, .el-checkbox {
|
|
5
|
-
display: flex;
|
|
6
|
-
flex-direction: row;
|
|
7
|
-
align-items: center;
|
|
8
|
-
gap: $spacing * .5;
|
|
9
|
-
flex-wrap: wrap ;
|
|
10
|
-
align-items: baseline;
|
|
11
|
-
|
|
12
|
-
&__label{
|
|
13
|
-
order: 2;
|
|
14
|
-
}
|
|
15
|
-
&__checkbox {
|
|
16
|
-
order: 1;
|
|
17
|
-
.el-checkbox__input {
|
|
18
|
-
&.is-checked {
|
|
19
|
-
.el-checkbox__inner {
|
|
20
|
-
background-color: black;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
&__error {
|
|
26
|
-
order: 3;
|
|
27
|
-
flex-basis: 100%;
|
|
28
|
-
color: $colorAlert;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.vel-checkbox-group, .vel-checkbox {
|
|
33
|
-
&--vertical {
|
|
34
|
-
.vel-checkbox-group__wrapper {
|
|
35
|
-
display: flex;
|
|
36
|
-
flex-direction: column;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
@import "element-plus/theme-chalk/el-collapse";
|
|
3
|
-
@import "element-plus/theme-chalk/el-collapse-item";
|
|
4
|
-
|
|
5
|
-
.el-collapse-item__header {
|
|
6
|
-
align-items: center;
|
|
7
|
-
--el-collapse-header-font-size:get-ratio(16px);
|
|
8
|
-
.vel-icon {
|
|
9
|
-
vertical-align: middle;
|
|
10
|
-
width: 13px;
|
|
11
|
-
min-width: 13px;
|
|
12
|
-
fill: currentColor;
|
|
13
|
-
margin-right: 0.25rem;
|
|
14
|
-
|
|
15
|
-
svg {
|
|
16
|
-
vertical-align: middle;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.el-collapse {
|
|
22
|
-
--el-collapse-header-bg-color: transparent;
|
|
23
|
-
--el-collapse-content-bg-color: transparent;
|
|
24
|
-
--el-collapse-border-color: transparent;
|
|
25
|
-
}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
@import "element-plus/theme-chalk/el-date-picker";
|
|
2
|
-
|
|
3
|
-
.vel-datepicker {
|
|
4
|
-
// --el-input-height:38px;
|
|
5
|
-
|
|
6
|
-
// &.el-input--large {
|
|
7
|
-
--el-input-height:46px;
|
|
8
|
-
// }
|
|
9
|
-
|
|
10
|
-
&__error {
|
|
11
|
-
color: $colorAlert;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.vel-popper {
|
|
16
|
-
@include breakpoint (max-width $mobileMax) {
|
|
17
|
-
min-width: 280px;
|
|
18
|
-
max-width: 325px;
|
|
19
|
-
width: auto;
|
|
20
|
-
.el-date-range-picker{
|
|
21
|
-
width: 100%;
|
|
22
|
-
.el-picker-panel__body {
|
|
23
|
-
width: 100%;
|
|
24
|
-
min-width: 100%;
|
|
25
|
-
&>div {
|
|
26
|
-
width: auto;
|
|
27
|
-
min-width: auto;
|
|
28
|
-
border: none;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.vel-date-picker, .el-date-picker {
|
|
36
|
-
&.has-sidebar {
|
|
37
|
-
width: auto;
|
|
38
|
-
|
|
39
|
-
.el-picker-panel__body-wrapper {
|
|
40
|
-
display: flex;
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
.el-picker-panel__sidebar {
|
|
44
|
-
width: auto;
|
|
45
|
-
position: relative;
|
|
46
|
-
}
|
|
47
|
-
.el-picker-panel__body {
|
|
48
|
-
margin-left: 0px;
|
|
49
|
-
position: relative !important;
|
|
50
|
-
}
|
|
51
|
-
}
|
package/components/_footer.scss
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
.vel-footer {
|
|
2
|
-
background-color: $color1;
|
|
3
|
-
padding: $spacing * 3 $spacing * 3 $spacing * 2 $spacing * 3;
|
|
4
|
-
box-sizing: border-box;
|
|
5
|
-
width: 100%;
|
|
6
|
-
|
|
7
|
-
svg {
|
|
8
|
-
// width: 3 * $spacing;
|
|
9
|
-
// max-width: 3 * $spacing;
|
|
10
|
-
// height: 3 * $spacing;
|
|
11
|
-
display: inline-block;
|
|
12
|
-
margin-right: $spacing;
|
|
13
|
-
}
|
|
14
|
-
* {
|
|
15
|
-
font-size: get-ratio(14px);
|
|
16
|
-
line-height: get-ratio(21px);
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.vel-footer__bottom {
|
|
21
|
-
display: flex;
|
|
22
|
-
flex-wrap: wrap;
|
|
23
|
-
align-items: stretch;
|
|
24
|
-
align-content: stretch;
|
|
25
|
-
flex-basis: 100%;
|
|
26
|
-
justify-content: space-between;
|
|
27
|
-
margin-top: 3.5 * $spacing;
|
|
28
|
-
|
|
29
|
-
> * {
|
|
30
|
-
max-width: 50%;
|
|
31
|
-
flex-basis: 50%;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
.vel-footer__bottom__links {
|
|
35
|
-
display: flex;
|
|
36
|
-
flex-wrap: wrap;
|
|
37
|
-
align-items: self-end;
|
|
38
|
-
flex-basis: 100%;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.vel-footer__bottom__end {
|
|
42
|
-
justify-content: end;
|
|
43
|
-
flex-wrap: wrap;
|
|
44
|
-
align-items: self-end;
|
|
45
|
-
display: flex;
|
|
46
|
-
}
|
package/components/_form.scss
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
// @import "element-plus/theme-chalk/el-form";
|
|
2
|
-
.form__group {
|
|
3
|
-
label {
|
|
4
|
-
margin-bottom: $spacing;
|
|
5
|
-
display: inline-block;
|
|
6
|
-
font-weight: 500;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
&:not(:last-child) {
|
|
10
|
-
margin-bottom: 2.5 * $spacing;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.form__group--error {
|
|
15
|
-
|
|
16
|
-
.el-select__wrapper, .el-select__wrapper:hover, .el-input__wrapper, .el-input__wrapper:hover {
|
|
17
|
-
box-shadow: 0 0 0 1px $colorAlert inset;
|
|
18
|
-
.el-select__icon {
|
|
19
|
-
color: $colorAlert;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
}
|
package/components/_header.scss
DELETED
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
.vel-header {
|
|
2
|
-
border-bottom: solid get-ratio(1px) $color4;
|
|
3
|
-
background-color: $color0;
|
|
4
|
-
width: 100%;
|
|
5
|
-
box-sizing: border-box;
|
|
6
|
-
display: flex;
|
|
7
|
-
flex-wrap: wrap;
|
|
8
|
-
align-items: center;
|
|
9
|
-
align-content: center;
|
|
10
|
-
flex-basis: 100%;
|
|
11
|
-
justify-content: space-between;
|
|
12
|
-
padding: 1.5 * $spacing 3 * $spacing;
|
|
13
|
-
|
|
14
|
-
> * {
|
|
15
|
-
max-width: 50%;
|
|
16
|
-
flex-basis: 50%;
|
|
17
|
-
justify-content: flex-end !important;
|
|
18
|
-
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.icon {
|
|
22
|
-
min-width: $spacing * 2.5;
|
|
23
|
-
max-width: $spacing * 2.5;
|
|
24
|
-
width: $spacing * 2.5;
|
|
25
|
-
height: $spacing * 2.5;
|
|
26
|
-
margin-right: .5 * $spacing;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.vel-header__list {
|
|
31
|
-
display: flex;
|
|
32
|
-
flex-wrap: wrap;
|
|
33
|
-
align-items: stretch;
|
|
34
|
-
align-content: stretch;
|
|
35
|
-
flex-basis: 100%;
|
|
36
|
-
padding-right: 1.5 * $spacing;
|
|
37
|
-
margin-left: -1.5 * $spacing;
|
|
38
|
-
margin-right: -1.5 * $spacing;
|
|
39
|
-
|
|
40
|
-
> div {
|
|
41
|
-
align-items: center;
|
|
42
|
-
&:not(:last-child) {
|
|
43
|
-
position: relative;
|
|
44
|
-
&::after {
|
|
45
|
-
position: absolute;
|
|
46
|
-
content:"";
|
|
47
|
-
border-right: solid get-ratio(1px) $color4;
|
|
48
|
-
height: 75%;
|
|
49
|
-
transform: translateY(-50%);
|
|
50
|
-
top: 50%;
|
|
51
|
-
right:0px;
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
}
|
package/components/_icon.scss
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
// @import "@fishawack/lab-ui/_icon.scss";
|
|
2
|
-
|
|
3
|
-
.vel-icon {
|
|
4
|
-
|
|
5
|
-
.vel-link &, .vel-button &, .vel-basic & {
|
|
6
|
-
width: get-ratio(16px);
|
|
7
|
-
min-width: get-ratio(16px);
|
|
8
|
-
max-height: get-ratio(16px);
|
|
9
|
-
padding-bottom: 0px;
|
|
10
|
-
line-height: 0px;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.vel-button.el-button--small & {
|
|
14
|
-
width: get-ratio(12px);
|
|
15
|
-
min-width: get-ratio(12px);
|
|
16
|
-
max-height: get-ratio(12px);
|
|
17
|
-
}
|
|
18
|
-
.vel-side-bar__button & {
|
|
19
|
-
width: get-ratio(20px);
|
|
20
|
-
min-width: get-ratio(20px);
|
|
21
|
-
padding-bottom: 0px;
|
|
22
|
-
line-height: 0px;
|
|
23
|
-
}
|
|
24
|
-
}
|
package/components/_input.scss
DELETED
|
File without changes
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
@import "element-plus/theme-chalk/el-input-number";
|
|
2
|
-
|
|
3
|
-
.vel-input-number {
|
|
4
|
-
display: block;
|
|
5
|
-
font-size: 1rem;
|
|
6
|
-
|
|
7
|
-
.el-input__wrapper {
|
|
8
|
-
// padding: .5 * $spacing $spacing;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.el-input__inner {
|
|
12
|
-
--el-input-inner-height:38px
|
|
13
|
-
}
|
|
14
|
-
.el-input-group__append, .el-input-group__prepend {
|
|
15
|
-
padding: 0 2 * $spacing;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
&__error {
|
|
19
|
-
color: $colorAlert;
|
|
20
|
-
}
|
|
21
|
-
}
|
package/components/_link.scss
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
@import "element-plus/theme-chalk/el-link";
|
|
2
|
-
|
|
3
|
-
.vel-link.el-link--default {
|
|
4
|
-
&:hover{
|
|
5
|
-
color:currentColor;
|
|
6
|
-
&:after{
|
|
7
|
-
border-color: currentColor;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
.vel-link--underline.vel-link {
|
|
12
|
-
&:after {
|
|
13
|
-
border-bottom: 1px solid currentColor;
|
|
14
|
-
bottom: 0;
|
|
15
|
-
content: "";
|
|
16
|
-
height: 0;
|
|
17
|
-
left: 0;
|
|
18
|
-
position: absolute;
|
|
19
|
-
right: 0;
|
|
20
|
-
border-color: currentColor;
|
|
21
|
-
}
|
|
22
|
-
&:hover{
|
|
23
|
-
color:currentColor;
|
|
24
|
-
&:after{
|
|
25
|
-
border-color: currentColor;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.vel-link--default {
|
|
31
|
-
font-size: get-ratio(16px);
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.vel-link--large {
|
|
35
|
-
font-size: get-ratio(18px);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.vel-link--small {
|
|
39
|
-
font-size: get-ratio(14px);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.vel-link--xsmall {
|
|
43
|
-
font-size: get-ratio(12px);
|
|
44
|
-
}
|
package/components/_loader.scss
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
.vel-loader {
|
|
2
|
-
position: relative;
|
|
3
|
-
display: block;
|
|
4
|
-
width: 6rem;
|
|
5
|
-
height: 6rem;
|
|
6
|
-
border-radius: 50%;
|
|
7
|
-
background-color: inherit;
|
|
8
|
-
|
|
9
|
-
svg {
|
|
10
|
-
.circle {
|
|
11
|
-
animation: 2s spinning cubic-bezier(0.41, 0.26, 0.2, 0.62) infinite;
|
|
12
|
-
transform-origin: center;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.vel-loader--l {
|
|
18
|
-
width: 10rem;
|
|
19
|
-
height: 10rem;
|
|
20
|
-
|
|
21
|
-
&::before {
|
|
22
|
-
border-width: 0.6rem;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
@include breakpoint (max-width $mobileMax) {
|
|
26
|
-
width: 6rem;
|
|
27
|
-
height: 6rem;
|
|
28
|
-
|
|
29
|
-
&::before {
|
|
30
|
-
border-width: 0.4rem;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
@keyframes spinning {
|
|
37
|
-
from {
|
|
38
|
-
transform: rotate(0);
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
to {
|
|
42
|
-
transform: rotate(2turn);
|
|
43
|
-
}
|
|
44
|
-
}
|
package/components/_menu.scss
DELETED
|
@@ -1,112 +0,0 @@
|
|
|
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
|
-
|
|
5
|
-
ul.vel-menu {
|
|
6
|
-
li {
|
|
7
|
-
--el-menu-level-padding : 0;
|
|
8
|
-
padding-right: 0px;
|
|
9
|
-
}
|
|
10
|
-
.el-sub-menu__title, a, .el-menu-item > * {
|
|
11
|
-
font-size: get-ratio(18px);
|
|
12
|
-
border-left: solid .5 * $spacing transparent;
|
|
13
|
-
padding: 0 2.5 * $spacing;
|
|
14
|
-
width: 100%;
|
|
15
|
-
display: flex;
|
|
16
|
-
align-items: center;
|
|
17
|
-
overflow: hidden;
|
|
18
|
-
.vel-icon {
|
|
19
|
-
vertical-align: middle;
|
|
20
|
-
width: 2.5 * $spacing;
|
|
21
|
-
min-width: 2.5 * $spacing;
|
|
22
|
-
fill: currentColor;
|
|
23
|
-
margin-right: .5 * $spacing;
|
|
24
|
-
* {
|
|
25
|
-
vertical-align: middle;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.el-sub-menu__title {
|
|
32
|
-
padding: 0 2.5 * $spacing !important;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
a {
|
|
36
|
-
height: 100%;
|
|
37
|
-
box-sizing: border-box;
|
|
38
|
-
border-left: solid .5 * $spacing $color8;
|
|
39
|
-
.vel-icon {
|
|
40
|
-
width: 2.5 * $spacing;
|
|
41
|
-
max-width: 2.5 * $spacing;
|
|
42
|
-
min-width: 2.5 * $spacing;
|
|
43
|
-
padding-bottom: 0px;
|
|
44
|
-
}
|
|
45
|
-
&.active{
|
|
46
|
-
border-left-color: $color1;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
span, .el-sub-menu__icon-arrow {
|
|
52
|
-
opacity: 0;
|
|
53
|
-
transition: .2s ease-in-out opacity;
|
|
54
|
-
margin-left: .5 * $spacing;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.active & {
|
|
58
|
-
span,.el-sub-menu__icon-arrow {
|
|
59
|
-
opacity: 1;
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.el-icon {
|
|
64
|
-
flex-shrink: 1;
|
|
65
|
-
width: auto;
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
.vel-sub-menu {
|
|
72
|
-
--el-menu-level-padding: 0;
|
|
73
|
-
.el-menu-item, .vel-sub-menu {
|
|
74
|
-
padding-left: 5 * $spacing !important;
|
|
75
|
-
}
|
|
76
|
-
.el-sub-menu__title {
|
|
77
|
-
height: auto;
|
|
78
|
-
line-height: get-ratio(48px);
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.vel-menu-item {
|
|
83
|
-
height: auto;
|
|
84
|
-
line-height: get-ratio(48px);
|
|
85
|
-
* {
|
|
86
|
-
vertical-align: middle;
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.vel-menu {
|
|
91
|
-
display: flex;
|
|
92
|
-
flex-direction: column;
|
|
93
|
-
height: 100%;
|
|
94
|
-
|
|
95
|
-
li:last-child {
|
|
96
|
-
margin-top: auto;
|
|
97
|
-
margin-bottom: 0px;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
.el-sub-menu {
|
|
101
|
-
|
|
102
|
-
.vel-menu-item {
|
|
103
|
-
a.active {
|
|
104
|
-
border-left-color: transparent;
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
.vel-menu-item a{
|
|
108
|
-
padding-left: 0px;
|
|
109
|
-
padding-right: 0px;
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
.vel-page-title {
|
|
2
|
-
padding: 3 * $spacing 6 * $spacing;
|
|
3
|
-
background-color: $color0;
|
|
4
|
-
border-bottom: .5 * $spacing solid;
|
|
5
|
-
border-image: linear-gradient(90deg, #FF558F 0%, #856DF6 100%) 1;
|
|
6
|
-
box-shadow: .5 * $spacing .5 * $spacing $spacing 0px #00000040;
|
|
7
|
-
margin-bottom: 2.5 * $spacing;
|
|
8
|
-
}
|
package/components/_select.scss
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
@import "element-plus/theme-chalk/el-tag";
|
|
2
|
-
@import "element-plus/theme-chalk/el-option";
|
|
3
|
-
@import "element-plus/theme-chalk/el-option-group";
|
|
4
|
-
@import "element-plus/theme-chalk/el-scrollbar";
|
|
5
|
-
@import "element-plus/theme-chalk/el-popper";
|
|
6
|
-
@import "element-plus/theme-chalk/el-select";
|
|
7
|
-
|
|
8
|
-
.vel-select {
|
|
9
|
-
.el-select__wrapper {
|
|
10
|
-
font-size: get-ratio(16px);
|
|
11
|
-
padding: get-ratio(17px) get-ratio(16px);
|
|
12
|
-
}
|
|
13
|
-
.el-select__input, .el-select__selected-item {
|
|
14
|
-
line-height: get-ratio(16px);
|
|
15
|
-
height: get-ratio(16px);
|
|
16
|
-
}
|
|
17
|
-
.el-tag--default {
|
|
18
|
-
font-size: get-ratio(12px);
|
|
19
|
-
line-height: get-ratio(12px);
|
|
20
|
-
height: get-ratio(18px);
|
|
21
|
-
}
|
|
22
|
-
.el-select__selection.is-near {
|
|
23
|
-
margin-left: 0px;
|
|
24
|
-
}
|
|
25
|
-
&__error {
|
|
26
|
-
color: $colorAlert;
|
|
27
|
-
}
|
|
28
|
-
}
|
package/components/_sidebar.scss
DELETED
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
.vel-side-bar {
|
|
2
|
-
flex-basis: $spacing * 7.5;
|
|
3
|
-
display: flex;
|
|
4
|
-
flex-direction: column;
|
|
5
|
-
box-shadow: 0px $spacing * .5 $spacing * .5 0px hsla(0, 0%, 0%, 0.251);
|
|
6
|
-
min-height: 10vh;
|
|
7
|
-
max-height: 100vh;
|
|
8
|
-
overflow: hidden;
|
|
9
|
-
transition: flex-basis .3s ease-in-out;
|
|
10
|
-
background-color: $color0;
|
|
11
|
-
|
|
12
|
-
position: sticky;
|
|
13
|
-
top: 0vh;
|
|
14
|
-
padding-top: 2 * $spacing;
|
|
15
|
-
min-width: get-ratio(64px);
|
|
16
|
-
flex-basis: get-ratio(64px);
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
> div {
|
|
20
|
-
&:first-child {
|
|
21
|
-
flex-grow: .80;
|
|
22
|
-
}
|
|
23
|
-
&:last-child {
|
|
24
|
-
margin-bottom: 5.5vh;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
&.active {
|
|
29
|
-
flex-basis: 31.5 * $spacing;
|
|
30
|
-
min-width: 31.5 * $spacing;
|
|
31
|
-
|
|
32
|
-
.vel-side-bar__button {
|
|
33
|
-
transform: rotateY(180deg);
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.vel-side-bar__button {
|
|
39
|
-
outline: none;
|
|
40
|
-
background-color: transparent;
|
|
41
|
-
border: none;
|
|
42
|
-
cursor: pointer;
|
|
43
|
-
&:focus {
|
|
44
|
-
outline: 1px solid;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.vel-side-bar__bottom {
|
|
49
|
-
display: flex;
|
|
50
|
-
justify-content: flex-end;
|
|
51
|
-
border-top: solid 1px #E6E6E6;
|
|
52
|
-
padding: $spacing $spacing * 1.5;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
main {
|
|
56
|
-
overflow: hidden;
|
|
57
|
-
}
|
package/components/_switch.scss
DELETED
package/components/_table.scss
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
@import "element-plus/theme-chalk/el-table-column";
|
|
2
|
-
@import "element-plus/theme-chalk/el-table";
|
|
3
|
-
@import "element-plus/theme-chalk/el-pagination";
|
|
4
|
-
|
|
5
|
-
.el-table {
|
|
6
|
-
padding: get-ratio(8px);
|
|
7
|
-
thead tr .el-table__cell{
|
|
8
|
-
background-color: #F7F7F7;
|
|
9
|
-
}
|
|
10
|
-
.el-table__cell {
|
|
11
|
-
padding: get-ratio(8px) get-ratio(12px);
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.table-wrapper {
|
|
16
|
-
// display: flex;
|
|
17
|
-
display: flex;
|
|
18
|
-
width: 100%;
|
|
19
|
-
max-width: 100%;
|
|
20
|
-
}
|
package/components/_tooltip.scss
DELETED