@fishawack/lab-velocity 2.0.0-beta.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/_Build/vue/components/Icon.vue +33 -0
- package/_Build/vue/components/Svg.vue +45 -0
- package/_Build/vue/components/basic/Button.vue +109 -0
- package/_Build/vue/components/basic/link.vue +64 -0
- package/_Build/vue/components/form/Cascader.vue +85 -0
- package/_Build/vue/components/form/Checkbox.vue +39 -0
- package/_Build/vue/components/form/CheckboxGroup.vue +91 -0
- package/_Build/vue/components/form/DatePicker.vue +116 -0
- package/_Build/vue/components/form/InputNumber.vue +89 -0
- package/_Build/vue/components/form/Select.vue +109 -0
- package/_Build/vue/components/form/Switch.vue +63 -0
- package/_Build/vue/components/form/Upload.vue +101 -0
- package/_Build/vue/components/form/Wysiwyg.vue +127 -0
- package/_Build/vue/components/form/Wysiwyg2.vue +577 -0
- package/_Build/vue/components/form/basic.vue +106 -0
- package/_Build/vue/components/form/color.vue +22 -0
- package/_Build/vue/components/form/file.vue +89 -0
- package/_Build/vue/components/form/input.js +79 -0
- package/_Build/vue/components/form/input.vue +105 -0
- package/_Build/vue/components/layout/Alert.vue +38 -0
- package/_Build/vue/components/layout/Footer.vue +50 -0
- package/_Build/vue/components/layout/Header.vue +13 -0
- package/_Build/vue/components/layout/Loader.vue +59 -0
- package/_Build/vue/components/layout/Tooltip.vue +46 -0
- package/_Build/vue/components/layout/pageTitle.vue +18 -0
- package/_Build/vue/components/layout/sideBar.vue +25 -0
- package/_Build/vue/components/navigation/Breadcrumbs.vue +37 -0
- package/_Build/vue/components/navigation/BreadcrumbsItem.vue +19 -0
- 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/_Build/vue/modules/AuthModule/components/AuthModal.vue +105 -0
- 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/_Build/vue/modules/AuthModule/routes/account-exists.vue +33 -0
- package/_Build/vue/modules/AuthModule/routes/change-password.vue +165 -0
- package/_Build/vue/modules/AuthModule/routes/container.vue +34 -0
- package/_Build/vue/modules/AuthModule/routes/expired-reset.vue +78 -0
- package/_Build/vue/modules/AuthModule/routes/expired-verification.vue +100 -0
- package/_Build/vue/modules/AuthModule/routes/force-reset.vue +152 -0
- package/_Build/vue/modules/AuthModule/routes/forgot.vue +91 -0
- package/_Build/vue/modules/AuthModule/routes/login.vue +143 -0
- package/_Build/vue/modules/AuthModule/routes/logincallback.vue +41 -0
- package/_Build/vue/modules/AuthModule/routes/loginheadless.vue +21 -0
- package/_Build/vue/modules/AuthModule/routes/loginsso.vue +134 -0
- package/_Build/vue/modules/AuthModule/routes/logout.vue +21 -0
- package/_Build/vue/modules/AuthModule/routes/logoutheadless.vue +27 -0
- package/_Build/vue/modules/AuthModule/routes/register.vue +174 -0
- package/_Build/vue/modules/AuthModule/routes/reset.vue +133 -0
- package/_Build/vue/modules/AuthModule/routes/success-forgot.vue +119 -0
- package/_Build/vue/modules/AuthModule/routes/success-reset.vue +35 -0
- package/_Build/vue/modules/AuthModule/routes/success-verify.vue +32 -0
- package/_Build/vue/modules/AuthModule/routes/verify.vue +113 -0
- package/package.json +3 -9
- package/components/_alert.scss +0 -5
- package/components/_basic.scss +0 -55
- package/components/_breadcrumbs.scss +0 -39
- package/components/_button.scss +0 -304
- package/components/_cascader.scss +0 -12
- package/components/_checkbox.scss +0 -41
- package/components/_chip.scss +0 -24
- package/components/_collapse.scss +0 -24
- package/components/_datepicker.scss +0 -52
- package/components/_footer.scss +0 -46
- package/components/_form.scss +0 -24
- package/components/_header.scss +0 -54
- package/components/_icon.scss +0 -25
- package/components/_input.scss +0 -0
- package/components/_inputNumber.scss +0 -22
- package/components/_link.scss +0 -44
- package/components/_loader.scss +0 -43
- package/components/_menu.scss +0 -112
- package/components/_pageTitle.scss +0 -8
- package/components/_permissionLegend.scss +0 -18
- package/components/_select.scss +0 -29
- package/components/_sidebar.scss +0 -56
- package/components/_switch.scss +0 -14
- package/components/_table.scss +0 -20
- package/components/_tooltip.scss +0 -4
- package/components/_typography.scss +0 -162
- package/components/_upload.scss +0 -15
- package/components/_wysiwyg.scss +0 -7
- package/components/_wysiwyg2.scss +0 -142
- package/modules/_AuthModule.scss +0 -212
- package/modules/_AuthVariables.scss +0 -7
- package/modules/_modal.scss +0 -24
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,24 +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
|
-
.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
|
-
}
|
package/components/_header.scss
DELETED
|
@@ -1,54 +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
|
-
.icon {
|
|
21
|
-
min-width: $spacing * 2.5;
|
|
22
|
-
max-width: $spacing * 2.5;
|
|
23
|
-
width: $spacing * 2.5;
|
|
24
|
-
height: $spacing * 2.5;
|
|
25
|
-
margin-right: 0.5 * $spacing;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.vel-header__list {
|
|
30
|
-
display: flex;
|
|
31
|
-
flex-wrap: wrap;
|
|
32
|
-
align-items: stretch;
|
|
33
|
-
align-content: stretch;
|
|
34
|
-
flex-basis: 100%;
|
|
35
|
-
padding-right: 1.5 * $spacing;
|
|
36
|
-
margin-left: -1.5 * $spacing;
|
|
37
|
-
margin-right: -1.5 * $spacing;
|
|
38
|
-
|
|
39
|
-
> div {
|
|
40
|
-
align-items: center;
|
|
41
|
-
&:not(:last-child) {
|
|
42
|
-
position: relative;
|
|
43
|
-
&::after {
|
|
44
|
-
position: absolute;
|
|
45
|
-
content: "";
|
|
46
|
-
border-right: solid get-ratio(1px) $color4;
|
|
47
|
-
height: 75%;
|
|
48
|
-
transform: translateY(-50%);
|
|
49
|
-
top: 50%;
|
|
50
|
-
right: 0px;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
}
|
package/components/_icon.scss
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
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
|
-
}
|
package/components/_input.scss
DELETED
|
File without changes
|
|
@@ -1,22 +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,
|
|
15
|
-
.el-input-group__prepend {
|
|
16
|
-
padding: 0 2 * $spacing;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
&__error {
|
|
20
|
-
color: $colorAlert;
|
|
21
|
-
}
|
|
22
|
-
}
|
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,43 +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
|
-
@keyframes spinning {
|
|
36
|
-
from {
|
|
37
|
-
transform: rotate(0);
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
to {
|
|
41
|
-
transform: rotate(2turn);
|
|
42
|
-
}
|
|
43
|
-
}
|
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,
|
|
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
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
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
DELETED
|
@@ -1,29 +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,
|
|
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
|
-
}
|
package/components/_sidebar.scss
DELETED
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
.vel-side-bar {
|
|
2
|
-
flex-basis: $spacing * 7.5;
|
|
3
|
-
display: flex;
|
|
4
|
-
flex-direction: column;
|
|
5
|
-
box-shadow: 0px $spacing * 0.5 $spacing * 0.5 0px hsla(0, 0%, 0%, 0.251);
|
|
6
|
-
min-height: 10vh;
|
|
7
|
-
max-height: 100vh;
|
|
8
|
-
overflow: hidden;
|
|
9
|
-
transition: flex-basis 0.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
|
-
> div {
|
|
19
|
-
&:first-child {
|
|
20
|
-
flex-grow: 0.8;
|
|
21
|
-
}
|
|
22
|
-
&:last-child {
|
|
23
|
-
margin-bottom: 5.5vh;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
&.active {
|
|
28
|
-
flex-basis: 31.5 * $spacing;
|
|
29
|
-
min-width: 31.5 * $spacing;
|
|
30
|
-
|
|
31
|
-
.vel-side-bar__button {
|
|
32
|
-
transform: rotateY(180deg);
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.vel-side-bar__button {
|
|
38
|
-
outline: none;
|
|
39
|
-
background-color: transparent;
|
|
40
|
-
border: none;
|
|
41
|
-
cursor: pointer;
|
|
42
|
-
&:focus {
|
|
43
|
-
outline: 1px solid;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.vel-side-bar__bottom {
|
|
48
|
-
display: flex;
|
|
49
|
-
justify-content: flex-end;
|
|
50
|
-
border-top: solid 1px #e6e6e6;
|
|
51
|
-
padding: $spacing $spacing * 1.5;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
main {
|
|
55
|
-
overflow: hidden;
|
|
56
|
-
}
|
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
|
@@ -1,162 +0,0 @@
|
|
|
1
|
-
@import "@fishawack/lab-ui/_typography.scss";
|
|
2
|
-
/* Primary font
|
|
3
|
-
-------------------------------------------------- */
|
|
4
|
-
@font-face {
|
|
5
|
-
font-family: $primaryFont;
|
|
6
|
-
font-weight: 400;
|
|
7
|
-
font-style: normal;
|
|
8
|
-
|
|
9
|
-
src:
|
|
10
|
-
resolve($primaryFontRegular + ".woff2") format("woff2"),
|
|
11
|
-
resolve($primaryFontRegular + ".woff") format("woff");
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
@font-face {
|
|
15
|
-
font-family: $primaryFont;
|
|
16
|
-
font-weight: 100;
|
|
17
|
-
font-style: normal;
|
|
18
|
-
|
|
19
|
-
src:
|
|
20
|
-
resolve($primaryFontThin + ".woff2") format("woff2"),
|
|
21
|
-
resolve($primaryFontThin + ".woff") format("woff");
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
@font-face {
|
|
25
|
-
font-family: $primaryFont;
|
|
26
|
-
font-weight: 200;
|
|
27
|
-
font-style: normal;
|
|
28
|
-
|
|
29
|
-
src:
|
|
30
|
-
resolve($primaryFontExtraLight + ".woff2") format("woff2"),
|
|
31
|
-
resolve($primaryFontExtraLight + ".woff") format("woff");
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
@font-face {
|
|
35
|
-
font-family: $primaryFont;
|
|
36
|
-
font-weight: 300;
|
|
37
|
-
font-style: normal;
|
|
38
|
-
|
|
39
|
-
src:
|
|
40
|
-
resolve($primaryFontLight + ".woff2") format("woff2"),
|
|
41
|
-
resolve($primaryFontLight + ".woff") format("woff");
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
@font-face {
|
|
45
|
-
font-family: $primaryFont;
|
|
46
|
-
font-weight: 500;
|
|
47
|
-
font-style: normal;
|
|
48
|
-
|
|
49
|
-
src:
|
|
50
|
-
resolve($primaryFontMedium + ".woff2") format("woff2"),
|
|
51
|
-
resolve($primaryFontMedium + ".woff") format("woff");
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
@font-face {
|
|
55
|
-
font-family: $primaryFont;
|
|
56
|
-
font-weight: 600;
|
|
57
|
-
font-style: normal;
|
|
58
|
-
|
|
59
|
-
src:
|
|
60
|
-
resolve($primaryFontSemiBold + ".woff2") format("woff2"),
|
|
61
|
-
resolve($primaryFontSemiBold + ".woff") format("woff");
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
@font-face {
|
|
65
|
-
font-family: $primaryFont;
|
|
66
|
-
font-weight: 700;
|
|
67
|
-
font-style: normal;
|
|
68
|
-
|
|
69
|
-
src:
|
|
70
|
-
resolve($primaryFontBold + ".woff2") format("woff2"),
|
|
71
|
-
resolve($primaryFontBold + ".woff2") format("woff2");
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
@font-face {
|
|
75
|
-
font-family: $secondaryFont;
|
|
76
|
-
font-weight: 500;
|
|
77
|
-
font-style: normal;
|
|
78
|
-
|
|
79
|
-
src: resolve($secondaryFontMedium + ".ttf") format("truetype");
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
h1,
|
|
83
|
-
.h1 {
|
|
84
|
-
font-size: get-ratio(48px);
|
|
85
|
-
line-height: get-ratio(56px);
|
|
86
|
-
font-family: $primaryFont;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
h2,
|
|
90
|
-
.h2 {
|
|
91
|
-
font-size: get-ratio(36px);
|
|
92
|
-
line-height: get-ratio(48px);
|
|
93
|
-
font-family: $secondaryFont;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
h3,
|
|
97
|
-
.h3 {
|
|
98
|
-
font-size: get-ratio(32px);
|
|
99
|
-
line-height: get-ratio(42px);
|
|
100
|
-
font-family: $primaryFont;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
h4,
|
|
104
|
-
.h4 {
|
|
105
|
-
font-size: get-ratio(24px);
|
|
106
|
-
line-height: get-ratio(32px);
|
|
107
|
-
font-family: $primaryFont;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
h5,
|
|
111
|
-
.h5 {
|
|
112
|
-
font-size: get-ratio(20px);
|
|
113
|
-
line-height: get-ratio(24px);
|
|
114
|
-
font-weight: 700;
|
|
115
|
-
font-family: $primaryFont;
|
|
116
|
-
}
|
|
117
|
-
h1,
|
|
118
|
-
.h1,
|
|
119
|
-
h2,
|
|
120
|
-
.h2,
|
|
121
|
-
h3,
|
|
122
|
-
.h3,
|
|
123
|
-
h4,
|
|
124
|
-
.h4,
|
|
125
|
-
h5,
|
|
126
|
-
.h5 {
|
|
127
|
-
font-weight: 500;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
// may be project specific
|
|
131
|
-
|
|
132
|
-
.font-secondary {
|
|
133
|
-
font-family: $secondaryFont;
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
.font-primary {
|
|
137
|
-
font-family: $primaryFont;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
.text-10 {
|
|
141
|
-
font-size: get-ratio(10px);
|
|
142
|
-
line-height: get-ratio(16px);
|
|
143
|
-
}
|
|
144
|
-
.text-12 {
|
|
145
|
-
font-size: get-ratio(12px);
|
|
146
|
-
line-height: get-ratio(18px);
|
|
147
|
-
}
|
|
148
|
-
.text-14 {
|
|
149
|
-
font-size: get-ratio(14px);
|
|
150
|
-
line-height: get-ratio(20px);
|
|
151
|
-
}
|
|
152
|
-
.font-16 {
|
|
153
|
-
font-size: get-ratio(16px);
|
|
154
|
-
line-height: get-ratio(24px);
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
.text-60 {
|
|
158
|
-
font-size: get-ratio(60px);
|
|
159
|
-
line-height: get-ratio(68px);
|
|
160
|
-
font-weight: 500;
|
|
161
|
-
font-family: $primaryFont;
|
|
162
|
-
}
|