@fishawack/lab-velocity 2.0.0-beta.2 → 2.0.0-beta.20
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 +439 -37
- package/_Build/vue/components/basic/Button.vue +1 -1
- package/_Build/vue/components/form/Select.vue +2 -2
- package/_Build/vue/components/form/Spinner.vue +5 -0
- package/_Build/vue/components/layout/Alert.vue +5 -5
- package/_Build/vue/{modules/AuthModule/components/VBreadcrumbs.vue → components/layout/Breadcrumbs.vue} +5 -4
- package/_Build/vue/{modules/AuthModule/components → components/layout}/Chips.vue +2 -2
- package/_Build/vue/components/layout/Footer.vue +11 -10
- package/_Build/vue/{modules/AuthModule/components/VFormFooter.vue → components/layout/FormFooter.vue} +13 -7
- package/_Build/vue/{modules/AuthModule/components → components/layout}/FormRole.vue +9 -7
- package/_Build/vue/components/layout/Layout.vue +76 -0
- package/_Build/vue/components/layout/Navigation.vue +77 -0
- package/_Build/vue/{modules/AuthModule/components/VPageHeader.vue → components/layout/PageHeader.vue} +7 -2
- package/_Build/vue/components/layout/SideBar.vue +26 -0
- package/_Build/vue/{modules/AuthModule/components/VTable.vue → components/layout/Table.vue} +19 -17
- package/_Build/vue/{modules/AuthModule/components/VTableSorter.vue → components/layout/TableSorter.vue} +32 -22
- package/_Build/vue/components/layout/pageTitle.vue +1 -1
- package/_Build/vue/components/navigation/MenuItem.vue +7 -2
- package/_Build/vue/components/navigation/MenuItemGroup.vue +7 -2
- package/_Build/vue/modules/AuthModule/js/axios.js +19 -0
- package/_Build/vue/modules/AuthModule/js/router.js +21 -89
- package/_Build/vue/modules/AuthModule/js/store.js +15 -6
- package/_Build/vue/modules/AuthModule/{adminRoutes/PCompanies/Children/partials → routes/PCompanies}/form.vue +32 -17
- package/_Build/vue/modules/AuthModule/routes/PCompanies/resource.js +168 -0
- package/_Build/vue/modules/AuthModule/{adminRoutes/PUsers/Children/partials → routes/PUsers}/form.vue +30 -18
- package/_Build/vue/modules/AuthModule/routes/PUsers/resource.js +202 -0
- package/_Build/vue/modules/AuthModule/routes/account-exists.vue +3 -3
- package/_Build/vue/modules/AuthModule/routes/change-password.vue +23 -24
- package/_Build/vue/modules/AuthModule/routes/container.vue +2 -11
- package/_Build/vue/modules/AuthModule/routes/expired-reset.vue +6 -6
- package/_Build/vue/modules/AuthModule/routes/expired-verification.vue +11 -10
- package/_Build/vue/modules/AuthModule/routes/force-reset.vue +24 -28
- package/_Build/vue/modules/AuthModule/routes/forgot.vue +6 -6
- package/_Build/vue/modules/AuthModule/routes/login.vue +9 -13
- package/_Build/vue/modules/AuthModule/routes/logincallback.vue +2 -4
- package/_Build/vue/modules/AuthModule/routes/loginsso.vue +9 -11
- package/_Build/vue/modules/AuthModule/routes/logout.vue +1 -3
- package/_Build/vue/modules/AuthModule/routes/logoutheadless.vue +1 -3
- package/_Build/vue/modules/AuthModule/routes/register.vue +19 -21
- package/_Build/vue/modules/AuthModule/routes/reset.vue +14 -13
- package/_Build/vue/modules/AuthModule/routes/success-forgot.vue +10 -9
- package/_Build/vue/modules/AuthModule/routes/success-reset.vue +3 -3
- package/_Build/vue/modules/AuthModule/routes/success-verify.vue +2 -4
- package/_Build/vue/modules/AuthModule/routes/verify.vue +13 -16
- package/_Build/vue/modules/resource/Children/create.vue +76 -0
- package/_Build/vue/modules/resource/Children/edit.vue +110 -0
- package/_Build/vue/modules/resource/Children/index.vue +47 -0
- package/_Build/vue/modules/resource/Children/partials/form.vue +57 -0
- package/_Build/vue/modules/resource/Children/show.vue +97 -0
- package/_Build/vue/modules/resource/index.js +280 -0
- package/_Build/vue/modules/resource/parent.vue +41 -0
- package/_base.scss +0 -1
- package/_defaults.scss +2 -13
- package/_variables.scss +9 -4
- package/components/_alert.scss +5 -0
- package/components/_auth.scss +163 -0
- package/components/_basic.scss +55 -0
- package/components/_breadcrumbs.scss +39 -0
- package/components/_button.scss +304 -0
- package/components/_cascader.scss +12 -0
- package/components/_checkbox.scss +41 -0
- package/components/_chip.scss +24 -0
- package/components/_collapse.scss +24 -0
- package/components/_datepicker.scss +52 -0
- package/components/_descriptions.scss +2 -0
- package/components/_footer.scss +47 -0
- package/components/_form.scss +24 -0
- package/components/_header.scss +30 -0
- package/components/_icon.scss +25 -0
- package/components/_inputNumber.scss +22 -0
- package/components/_layout.scss +56 -0
- package/components/_link.scss +44 -0
- package/components/_loader.scss +43 -0
- package/components/_menu.scss +112 -0
- package/components/_modal.scss +24 -0
- package/components/_pageTitle.scss +8 -0
- package/components/_permissionLegend.scss +18 -0
- package/components/_select.scss +29 -0
- package/components/_sidebar.scss +41 -0
- package/components/_switch.scss +14 -0
- package/components/_table.scss +20 -0
- package/components/_tooltip.scss +4 -0
- package/components/_typography.scss +162 -0
- package/components/_upload.scss +15 -0
- package/components/_wysiwyg.scss +7 -0
- package/components/_wysiwyg2.scss +142 -0
- package/index.js +7 -1
- package/package.json +4 -2
- package/vendor.scss +0 -1
- package/_Build/vue/components/layout/sideBar.vue +0 -25
- package/_Build/vue/modules/AuthModule/adminRoutes/PCompanies/Children/Upload/upload.vue +0 -251
- package/_Build/vue/modules/AuthModule/adminRoutes/PCompanies/Children/create.vue +0 -62
- package/_Build/vue/modules/AuthModule/adminRoutes/PCompanies/Children/edit.vue +0 -98
- package/_Build/vue/modules/AuthModule/adminRoutes/PCompanies/Children/index.vue +0 -90
- package/_Build/vue/modules/AuthModule/adminRoutes/PCompanies/Children/show.vue +0 -262
- package/_Build/vue/modules/AuthModule/adminRoutes/PCompanies/parent.vue +0 -36
- package/_Build/vue/modules/AuthModule/adminRoutes/PUsers/Children/create.vue +0 -112
- package/_Build/vue/modules/AuthModule/adminRoutes/PUsers/Children/edit.vue +0 -103
- package/_Build/vue/modules/AuthModule/adminRoutes/PUsers/Children/index.vue +0 -112
- package/_Build/vue/modules/AuthModule/adminRoutes/PUsers/Children/show.vue +0 -120
- package/_Build/vue/modules/AuthModule/adminRoutes/PUsers/parent.vue +0 -36
- /package/_Build/vue/{modules/AuthModule/components → components/layout}/AuthModal.vue +0 -0
- /package/_Build/vue/{modules/AuthModule/components → components/layout}/Chip.vue +0 -0
- /package/_Build/vue/{modules/AuthModule/components/VPasswordValidation.vue → components/layout/PasswordValidation.vue} +0 -0
- /package/_Build/vue/{modules/AuthModule/components/VRoleLegend.vue → components/layout/RoleLegend.vue} +0 -0
|
@@ -0,0 +1,47 @@
|
|
|
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
|
+
margin-top: 6 * $spacing;
|
|
7
|
+
|
|
8
|
+
svg {
|
|
9
|
+
// width: 3 * $spacing;
|
|
10
|
+
// max-width: 3 * $spacing;
|
|
11
|
+
// height: 3 * $spacing;
|
|
12
|
+
display: inline-block;
|
|
13
|
+
margin-right: $spacing;
|
|
14
|
+
}
|
|
15
|
+
* {
|
|
16
|
+
font-size: get-ratio(14px);
|
|
17
|
+
line-height: get-ratio(21px);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.vel-footer__bottom {
|
|
22
|
+
display: flex;
|
|
23
|
+
flex-wrap: wrap;
|
|
24
|
+
align-items: stretch;
|
|
25
|
+
align-content: stretch;
|
|
26
|
+
flex-basis: 100%;
|
|
27
|
+
justify-content: space-between;
|
|
28
|
+
margin-top: 3.5 * $spacing;
|
|
29
|
+
|
|
30
|
+
> * {
|
|
31
|
+
max-width: 50%;
|
|
32
|
+
flex-basis: 50%;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
.vel-footer__bottom__links {
|
|
36
|
+
display: flex;
|
|
37
|
+
flex-wrap: wrap;
|
|
38
|
+
align-items: self-end;
|
|
39
|
+
flex-basis: 100%;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.vel-footer__bottom__end {
|
|
43
|
+
justify-content: end;
|
|
44
|
+
flex-wrap: wrap;
|
|
45
|
+
align-items: self-end;
|
|
46
|
+
display: flex;
|
|
47
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
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
|
+
.el-select__wrapper,
|
|
16
|
+
.el-select__wrapper:hover,
|
|
17
|
+
.el-input__wrapper,
|
|
18
|
+
.el-input__wrapper:hover {
|
|
19
|
+
box-shadow: 0 0 0 1px $colorAlert inset;
|
|
20
|
+
.el-select__icon {
|
|
21
|
+
color: $colorAlert;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
.vel-header {
|
|
2
|
+
border-bottom: solid get-ratio(1px) $color4;
|
|
3
|
+
background-color: $color0;
|
|
4
|
+
display: flex;
|
|
5
|
+
align-items: center;
|
|
6
|
+
justify-content: space-between;
|
|
7
|
+
padding: 1.5 * $spacing 3 * $spacing;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.vel-header__list {
|
|
11
|
+
display: flex;
|
|
12
|
+
|
|
13
|
+
> div {
|
|
14
|
+
align-items: center;
|
|
15
|
+
|
|
16
|
+
&:not(:last-child) {
|
|
17
|
+
position: relative;
|
|
18
|
+
|
|
19
|
+
&::after {
|
|
20
|
+
position: absolute;
|
|
21
|
+
content: "";
|
|
22
|
+
border-right: solid get-ratio(1px) $color4;
|
|
23
|
+
height: 75%;
|
|
24
|
+
transform: translateY(-50%);
|
|
25
|
+
top: 50%;
|
|
26
|
+
right: 0;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
// @import "@fishawack/lab-ui/_icon.scss";
|
|
2
|
+
|
|
3
|
+
.vel-icon {
|
|
4
|
+
.vel-link &,
|
|
5
|
+
.vel-button &,
|
|
6
|
+
.vel-basic & {
|
|
7
|
+
width: get-ratio(16px);
|
|
8
|
+
min-width: get-ratio(16px);
|
|
9
|
+
max-height: get-ratio(16px);
|
|
10
|
+
padding-bottom: 0px;
|
|
11
|
+
line-height: 0px;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.vel-button.el-button--small & {
|
|
15
|
+
width: get-ratio(12px);
|
|
16
|
+
min-width: get-ratio(12px);
|
|
17
|
+
max-height: get-ratio(12px);
|
|
18
|
+
}
|
|
19
|
+
.vel-side-bar__button & {
|
|
20
|
+
width: get-ratio(20px);
|
|
21
|
+
min-width: get-ratio(20px);
|
|
22
|
+
padding-bottom: 0px;
|
|
23
|
+
line-height: 0px;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
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,
|
|
15
|
+
.el-input-group__prepend {
|
|
16
|
+
padding: 0 2 * $spacing;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
&__error {
|
|
20
|
+
color: $colorAlert;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
html,
|
|
2
|
+
body {
|
|
3
|
+
height: 100%;
|
|
4
|
+
margin: 0;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.vel-app {
|
|
8
|
+
display: flex;
|
|
9
|
+
flex-direction: column;
|
|
10
|
+
height: 100dvh;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.vel-header {
|
|
14
|
+
flex: 0 0 auto;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.vel-content {
|
|
18
|
+
flex: 1 1 auto;
|
|
19
|
+
min-height: 0; /* allow shrinking */
|
|
20
|
+
display: flex;
|
|
21
|
+
overflow: auto; /* main scroll container */
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.vel-sidebar {
|
|
25
|
+
min-height: 0;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.vel-sidebar__inner {
|
|
29
|
+
position: sticky;
|
|
30
|
+
top: 0;
|
|
31
|
+
display: flex;
|
|
32
|
+
flex-direction: column;
|
|
33
|
+
max-height: 100%;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.vel-sidebar__top {
|
|
37
|
+
flex: 1 1 auto;
|
|
38
|
+
min-height: 0;
|
|
39
|
+
overflow: auto; /* optional scroll */
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.vel-sidebar__bottom {
|
|
43
|
+
flex: 0 0 auto;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.vel-main {
|
|
47
|
+
flex: 1 1 auto;
|
|
48
|
+
min-height: 0;
|
|
49
|
+
overflow: auto;
|
|
50
|
+
display: flex;
|
|
51
|
+
flex-direction: column;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.vel-main__inner {
|
|
55
|
+
flex-grow: 1;
|
|
56
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
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
|
+
@keyframes spinning {
|
|
36
|
+
from {
|
|
37
|
+
transform: rotate(0);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
to {
|
|
41
|
+
transform: rotate(2turn);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -0,0 +1,112 @@
|
|
|
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,
|
|
11
|
+
a,
|
|
12
|
+
.el-menu-item > * {
|
|
13
|
+
font-size: get-ratio(18px);
|
|
14
|
+
border-left: solid 0.5 * $spacing transparent;
|
|
15
|
+
padding: 0 2.5 * $spacing;
|
|
16
|
+
width: 100%;
|
|
17
|
+
display: flex;
|
|
18
|
+
align-items: center;
|
|
19
|
+
overflow: hidden;
|
|
20
|
+
.vel-icon {
|
|
21
|
+
vertical-align: middle;
|
|
22
|
+
width: 2.5 * $spacing;
|
|
23
|
+
min-width: 2.5 * $spacing;
|
|
24
|
+
fill: currentColor;
|
|
25
|
+
margin-right: 0.5 * $spacing;
|
|
26
|
+
* {
|
|
27
|
+
vertical-align: middle;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.el-sub-menu__title {
|
|
33
|
+
padding: 0 2.5 * $spacing !important;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
a {
|
|
37
|
+
height: 100%;
|
|
38
|
+
box-sizing: border-box;
|
|
39
|
+
border-left: solid 0.5 * $spacing $color8;
|
|
40
|
+
.vel-icon {
|
|
41
|
+
width: 2.5 * $spacing;
|
|
42
|
+
max-width: 2.5 * $spacing;
|
|
43
|
+
min-width: 2.5 * $spacing;
|
|
44
|
+
padding-bottom: 0px;
|
|
45
|
+
}
|
|
46
|
+
&.active {
|
|
47
|
+
border-left-color: $color1;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
span,
|
|
52
|
+
.el-sub-menu__icon-arrow {
|
|
53
|
+
opacity: 0;
|
|
54
|
+
transition: 0.2s ease-in-out opacity;
|
|
55
|
+
margin-left: 0.5 * $spacing;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.active & {
|
|
59
|
+
span,
|
|
60
|
+
.el-sub-menu__icon-arrow {
|
|
61
|
+
opacity: 1;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.el-icon {
|
|
66
|
+
flex-shrink: 1;
|
|
67
|
+
width: auto;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.vel-sub-menu {
|
|
72
|
+
--el-menu-level-padding: 0;
|
|
73
|
+
.el-menu-item,
|
|
74
|
+
.vel-sub-menu {
|
|
75
|
+
padding-left: 5 * $spacing !important;
|
|
76
|
+
}
|
|
77
|
+
.el-sub-menu__title {
|
|
78
|
+
height: auto;
|
|
79
|
+
line-height: get-ratio(48px);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.vel-menu-item {
|
|
84
|
+
height: auto;
|
|
85
|
+
line-height: get-ratio(48px);
|
|
86
|
+
* {
|
|
87
|
+
vertical-align: middle;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.vel-menu {
|
|
92
|
+
display: flex;
|
|
93
|
+
flex-direction: column;
|
|
94
|
+
height: 100%;
|
|
95
|
+
|
|
96
|
+
li:last-child {
|
|
97
|
+
margin-top: auto;
|
|
98
|
+
margin-bottom: 0px;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.el-sub-menu {
|
|
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
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
@import "@fishawack/lab-ui/_modal.scss";
|
|
2
|
+
|
|
3
|
+
.modal--auth {
|
|
4
|
+
background-color: transparent;
|
|
5
|
+
|
|
6
|
+
transition: all 500ms ease-in-out;
|
|
7
|
+
|
|
8
|
+
&::before {
|
|
9
|
+
content: "";
|
|
10
|
+
pointer-events: none;
|
|
11
|
+
z-index: 0 !important;
|
|
12
|
+
position: fixed;
|
|
13
|
+
width: 100%;
|
|
14
|
+
height: 100%;
|
|
15
|
+
background: #00000066;
|
|
16
|
+
backdrop-filter: blur(1.5rem);
|
|
17
|
+
top: 0;
|
|
18
|
+
left: 0;
|
|
19
|
+
right: 0;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
.AuthModule__form.modal__box {
|
|
23
|
+
position: absolute;
|
|
24
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
.vel-page-title {
|
|
2
|
+
padding: 3 * $spacing 6 * $spacing;
|
|
3
|
+
background-color: $color0;
|
|
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
|
+
margin-bottom: 2.5 * $spacing;
|
|
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
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
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,
|
|
14
|
+
.el-select__selected-item {
|
|
15
|
+
line-height: get-ratio(16px);
|
|
16
|
+
height: get-ratio(16px);
|
|
17
|
+
}
|
|
18
|
+
.el-tag--default {
|
|
19
|
+
font-size: get-ratio(12px);
|
|
20
|
+
line-height: get-ratio(12px);
|
|
21
|
+
height: get-ratio(18px);
|
|
22
|
+
}
|
|
23
|
+
.el-select__selection.is-near {
|
|
24
|
+
margin-left: 0px;
|
|
25
|
+
}
|
|
26
|
+
&__error {
|
|
27
|
+
color: $colorAlert;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
.vel-sidebar {
|
|
2
|
+
width: $spacing * 7.5;
|
|
3
|
+
padding-top: $spacing * 2;
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
box-shadow: 0 $spacing * 0.5 $spacing * 0.5 0 hsla(0, 0, 0, 0.251);
|
|
7
|
+
transition: width 0.3s ease-in-out;
|
|
8
|
+
background-color: $color0;
|
|
9
|
+
|
|
10
|
+
> div {
|
|
11
|
+
&:first-child {
|
|
12
|
+
flex: 1;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
&.active {
|
|
17
|
+
width: 31.5 * $spacing;
|
|
18
|
+
|
|
19
|
+
.vel-sidebar__button {
|
|
20
|
+
transform: rotateY(180deg);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.vel-sidebar__button {
|
|
26
|
+
outline: none;
|
|
27
|
+
background-color: transparent;
|
|
28
|
+
border: none;
|
|
29
|
+
cursor: pointer;
|
|
30
|
+
|
|
31
|
+
&:focus {
|
|
32
|
+
outline: 1px solid;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.vel-sidebar__bottom {
|
|
37
|
+
display: flex;
|
|
38
|
+
justify-content: flex-end;
|
|
39
|
+
border-top: solid 1px #e6e6e6;
|
|
40
|
+
padding: $spacing * 2;
|
|
41
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
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
|
+
}
|