@fishawack/lab-velocity 2.0.0-beta.4 → 2.0.0-beta.6
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/form/Select.vue +2 -2
- package/_Build/vue/components/form/Spinner.vue +5 -0
- package/_Build/vue/modules/AuthModule/adminRoutes/PCompanies/Children/Upload/upload.vue +19 -11
- package/_Build/vue/modules/AuthModule/adminRoutes/PCompanies/Children/partials/form.vue +19 -11
- package/_Build/vue/modules/AuthModule/adminRoutes/PCompanies/Children/show.vue +12 -8
- package/_Build/vue/modules/AuthModule/adminRoutes/PUsers/Children/partials/form.vue +11 -7
- package/_Build/vue/modules/AuthModule/adminRoutes/PUsers/Children/show.vue +7 -4
- package/_Build/vue/modules/AuthModule/components/FormRole.vue +3 -1
- package/_Build/vue/modules/AuthModule/components/VFormFooter.vue +12 -6
- package/_Build/vue/modules/AuthModule/components/VTable.vue +14 -5
- package/_Build/vue/modules/AuthModule/components/VTableSorter.vue +24 -12
- package/_defaults.scss +2 -13
- package/_variables.scss +9 -4
- package/components/_alert.scss +5 -0
- package/components/_auth.scss +205 -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/_footer.scss +46 -0
- package/components/_form.scss +24 -0
- package/components/_header.scss +54 -0
- package/components/_icon.scss +25 -0
- package/components/_input.scss +0 -0
- package/components/_inputNumber.scss +22 -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 +56 -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/package.json +3 -1
- package/vendor.scss +0 -1
|
@@ -0,0 +1,205 @@
|
|
|
1
|
+
// AuthModule
|
|
2
|
+
.AuthModule {
|
|
3
|
+
position: fixed;
|
|
4
|
+
background-color: black;
|
|
5
|
+
height: 100vh;
|
|
6
|
+
width: 100%;
|
|
7
|
+
background: url("../media/content/images/hero-auth-background-desktop.jpg")
|
|
8
|
+
center top no-repeat;
|
|
9
|
+
background-size: cover;
|
|
10
|
+
z-index: 10;
|
|
11
|
+
|
|
12
|
+
.logo {
|
|
13
|
+
width: 13.3rem;
|
|
14
|
+
z-index: 99;
|
|
15
|
+
}
|
|
16
|
+
@include breakpoint(max-width $tabletMax) {
|
|
17
|
+
background: url("../media/content/images/hero-auth-background-tablet.jpg")
|
|
18
|
+
center top no-repeat;
|
|
19
|
+
}
|
|
20
|
+
@include breakpoint(max-width $mobileMax) {
|
|
21
|
+
background: url("../media/content/images/hero-auth-background-mobile.jpg")
|
|
22
|
+
center top no-repeat;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.AuthModule__form {
|
|
27
|
+
position: absolute;
|
|
28
|
+
top: 50%;
|
|
29
|
+
left: 50%;
|
|
30
|
+
transform: translate(-50%, -50%);
|
|
31
|
+
background-color: white;
|
|
32
|
+
min-width: 320px;
|
|
33
|
+
width: 460px;
|
|
34
|
+
padding: 48px 40px 40px;
|
|
35
|
+
z-index: 1;
|
|
36
|
+
|
|
37
|
+
@include breakpoint(max-width $mobileMax) {
|
|
38
|
+
top: 84px;
|
|
39
|
+
transform: translate(-50%, 0);
|
|
40
|
+
padding: 24px;
|
|
41
|
+
width: calc(100% - 80px);
|
|
42
|
+
h2 .h2 {
|
|
43
|
+
font-size: 24px;
|
|
44
|
+
line-height: 32px;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
h2,
|
|
49
|
+
.h2 {
|
|
50
|
+
line-height: 50px;
|
|
51
|
+
font-size: 48px;
|
|
52
|
+
}
|
|
53
|
+
.h2--small {
|
|
54
|
+
font-size: 36px;
|
|
55
|
+
line-height: 44px;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
p {
|
|
59
|
+
font-size: 14px;
|
|
60
|
+
line-height: 20px;
|
|
61
|
+
margin-bottom: 24px;
|
|
62
|
+
letter-spacing: -0.1px;
|
|
63
|
+
&.disclaimer {
|
|
64
|
+
font-size: 12px;
|
|
65
|
+
color: rgba($color1, 0.5);
|
|
66
|
+
margin: 0;
|
|
67
|
+
}
|
|
68
|
+
a {
|
|
69
|
+
color: $color1;
|
|
70
|
+
}
|
|
71
|
+
&.form__error {
|
|
72
|
+
font-size: 12px;
|
|
73
|
+
line-height: 18px;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.vel-button {
|
|
78
|
+
max-width: 200px;
|
|
79
|
+
width: 200px;
|
|
80
|
+
padding: 9px 23.5px;
|
|
81
|
+
font-size: 14px;
|
|
82
|
+
@include breakpoint(max-width $mobileMax) {
|
|
83
|
+
max-width: unset;
|
|
84
|
+
width: 100%;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.form {
|
|
89
|
+
&.error {
|
|
90
|
+
.form__input {
|
|
91
|
+
.el-input__wrapper {
|
|
92
|
+
border: 0.4px solid red;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
.form__input.error {
|
|
96
|
+
border: none;
|
|
97
|
+
.el-input__wrapper {
|
|
98
|
+
border: 0.4px solid red;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
// &__icon-container{
|
|
103
|
+
// position: absolute;
|
|
104
|
+
// top: 50%;
|
|
105
|
+
// right: $spacing * 1.5;
|
|
106
|
+
// transform: translateY(-50%);
|
|
107
|
+
// display: flex;
|
|
108
|
+
// }
|
|
109
|
+
// &__action-icon {
|
|
110
|
+
// margin-left: $spacing * 0.5;
|
|
111
|
+
// cursor: pointer;
|
|
112
|
+
// }
|
|
113
|
+
}
|
|
114
|
+
.vel-basic__label {
|
|
115
|
+
font-size: 12px;
|
|
116
|
+
color: rgba($color1, 0.5);
|
|
117
|
+
}
|
|
118
|
+
.vel-basic__textbox {
|
|
119
|
+
--el-border-color: #cfd8dd;
|
|
120
|
+
--el-input-text-color: #666666;
|
|
121
|
+
--el-input-focus-border-color: #cfd8dd;
|
|
122
|
+
--el-input-hover-border-color: #cfd8dd;
|
|
123
|
+
font-size: 14px;
|
|
124
|
+
padding-bottom: $am-spacing * 2.5;
|
|
125
|
+
.el-input__inner {
|
|
126
|
+
--el-input-inner-height: 38px;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
.el-button--primary {
|
|
130
|
+
--el-button-text-color: #ffffff;
|
|
131
|
+
}
|
|
132
|
+
input,
|
|
133
|
+
input:focus {
|
|
134
|
+
@extend .el-input__inner;
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.AuthModule__logo__container {
|
|
139
|
+
position: absolute;
|
|
140
|
+
top: 48px;
|
|
141
|
+
left: 0%;
|
|
142
|
+
}
|
|
143
|
+
.AuthModule__logo {
|
|
144
|
+
position: relative;
|
|
145
|
+
}
|
|
146
|
+
.AuthModule__Content {
|
|
147
|
+
position: absolute;
|
|
148
|
+
z-index: 1;
|
|
149
|
+
top: 50%;
|
|
150
|
+
left: 50%;
|
|
151
|
+
transform: translate(-50%, -50%);
|
|
152
|
+
max-width: 1024px;
|
|
153
|
+
width: 100%;
|
|
154
|
+
height: 100%;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.AM-mb {
|
|
158
|
+
margin-bottom: $am-spacing !important;
|
|
159
|
+
}
|
|
160
|
+
.AM-mt {
|
|
161
|
+
margin-top: $am-spacing !important;
|
|
162
|
+
}
|
|
163
|
+
.AM-pb {
|
|
164
|
+
padding-bottom: $am-spacing !important;
|
|
165
|
+
}
|
|
166
|
+
.AM-pt {
|
|
167
|
+
padding-top: $am-spacing !important;
|
|
168
|
+
}
|
|
169
|
+
@for $i from 1 through 5 {
|
|
170
|
+
.AM-mb-#{$i - 1} {
|
|
171
|
+
margin-bottom: ($i - 1) * $am-spacing !important;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.AM-mb-#{$i - 1}\.5 {
|
|
175
|
+
margin-bottom: ($i - 0.5) * $am-spacing !important;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.AM-mt-#{$i - 1} {
|
|
179
|
+
margin-top: ($i - 1) * $am-spacing !important;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.AM-mt-#{$i - 1}\.5 {
|
|
183
|
+
margin-top: ($i - 0.5) * $am-spacing !important;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.AM-pt-#{$i - 1} {
|
|
187
|
+
padding-top: ($i - 1) * $am-spacing !important;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
.AM-pt-#{$i - 1}\.5 {
|
|
191
|
+
padding-top: ($i - 0.5) * $am-spacing !important;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
.AM-pb-#{$i - 1} {
|
|
195
|
+
padding-bottom: ($i - 1) * $am-spacing !important;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
.AM-pb-#{$i - 1}\.5 {
|
|
199
|
+
padding-bottom: ($i - 0.5) * $am-spacing !important;
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
.AM-color-highlight {
|
|
204
|
+
color: $am-highlight;
|
|
205
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
@import "element-plus/theme-chalk/el-input";
|
|
2
|
+
|
|
3
|
+
.el-input {
|
|
4
|
+
font-size: 1rem;
|
|
5
|
+
|
|
6
|
+
.el-input__wrapper {
|
|
7
|
+
// padding: .5 * $spacing $spacing;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.el-input__inner {
|
|
11
|
+
--el-input-inner-height: 46px;
|
|
12
|
+
}
|
|
13
|
+
.el-input-group__append,
|
|
14
|
+
.el-input-group__prepend {
|
|
15
|
+
padding: 0 2 * $spacing;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.vel-basic {
|
|
20
|
+
&__error {
|
|
21
|
+
color: $colorAlert;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.form__icon-container {
|
|
26
|
+
position: absolute;
|
|
27
|
+
top: 50%;
|
|
28
|
+
right: 12px;
|
|
29
|
+
transform: translateY(-50%);
|
|
30
|
+
display: flex;
|
|
31
|
+
|
|
32
|
+
.icon {
|
|
33
|
+
display: flex;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.input--password {
|
|
38
|
+
.el-input-group__append {
|
|
39
|
+
border: none;
|
|
40
|
+
box-shadow: none;
|
|
41
|
+
background-color: transparent;
|
|
42
|
+
position: absolute;
|
|
43
|
+
right: 0px;
|
|
44
|
+
top: 0px;
|
|
45
|
+
padding: 0px;
|
|
46
|
+
height: 40px;
|
|
47
|
+
min-height: fit-content;
|
|
48
|
+
}
|
|
49
|
+
.icon {
|
|
50
|
+
width: 24px;
|
|
51
|
+
min-width: 24px;
|
|
52
|
+
padding: 0px !important;
|
|
53
|
+
fill: #cfd8dd !important;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
@import "element-plus/theme-chalk/el-breadcrumb";
|
|
2
|
+
@import "element-plus/theme-chalk/el-breadcrumb-item";
|
|
3
|
+
.vel-breadcrumb {
|
|
4
|
+
.el-breadcrumb__separator {
|
|
5
|
+
display: none;
|
|
6
|
+
margin: 0px $spacing;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.el-breadcrumb__separator,
|
|
10
|
+
.el-breadcrumb__inner {
|
|
11
|
+
font-size: get-ratio(16px);
|
|
12
|
+
line-height: get-ratio(24px);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.el-breadcrumb__inner {
|
|
16
|
+
&.is-link {
|
|
17
|
+
text-decoration: underline;
|
|
18
|
+
font-weight: 500;
|
|
19
|
+
color: $color2;
|
|
20
|
+
text-transform: capitalize;
|
|
21
|
+
|
|
22
|
+
&:hover {
|
|
23
|
+
color: $color12;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.el-breadcrumb__item {
|
|
29
|
+
&:last-child {
|
|
30
|
+
.el-breadcrumb__inner {
|
|
31
|
+
&.is-link {
|
|
32
|
+
color: $color2;
|
|
33
|
+
font-weight: 400;
|
|
34
|
+
text-decoration: none;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
@@ -0,0 +1,304 @@
|
|
|
1
|
+
@import "element-plus/theme-chalk/el-button";
|
|
2
|
+
|
|
3
|
+
.vel-button {
|
|
4
|
+
height: auto;
|
|
5
|
+
--el-border-radius-base: 0px;
|
|
6
|
+
--el-font-size-base: get-ratio(16px);
|
|
7
|
+
|
|
8
|
+
.is-round {
|
|
9
|
+
--el-border-radius-base: 999px;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
// colors
|
|
13
|
+
&.el-button--default {
|
|
14
|
+
--el-color-primary: #ffffff;
|
|
15
|
+
|
|
16
|
+
// text color
|
|
17
|
+
--el-text-color-regular: #{$color2};
|
|
18
|
+
--el-button-hover-text-color: #{$color1};
|
|
19
|
+
--el-button-active-text-color: #{$color1};
|
|
20
|
+
--el-button-disabled-text-color: #bdbdbd;
|
|
21
|
+
|
|
22
|
+
// background color
|
|
23
|
+
--el-button-bg-color: #ffffff;
|
|
24
|
+
--el-button-hover-bg-color: #{$color8};
|
|
25
|
+
--el-button-active-text-color: #{$color1};
|
|
26
|
+
--el-button-disabled-bg-color: #ffffff;
|
|
27
|
+
|
|
28
|
+
// border color
|
|
29
|
+
--el-button-border-color: #{$color5};
|
|
30
|
+
--el-button-hover-border-color: #afafaf;
|
|
31
|
+
--el-button-active-border-color: #{$color1};
|
|
32
|
+
--el-button-disabled-border-color: #{$color4};
|
|
33
|
+
|
|
34
|
+
&.is-loading {
|
|
35
|
+
--el-text-color-regular: #a4a4a4;
|
|
36
|
+
--el-button-border-color: #{$color4};
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
&.is-plain {
|
|
40
|
+
--el-color-primary: #ffffff;
|
|
41
|
+
|
|
42
|
+
// text color
|
|
43
|
+
--el-text-color-regular: #{$color2};
|
|
44
|
+
--el-button-hover-text-color: #{$color1};
|
|
45
|
+
--el-button-active-text-color: #{$color1};
|
|
46
|
+
--el-button-disabled-text-color: #bdbdbd;
|
|
47
|
+
|
|
48
|
+
// background color
|
|
49
|
+
--el-button-bg-color: #ffffff;
|
|
50
|
+
--el-button-hover-bg-color: ##ffffff;
|
|
51
|
+
--el-button-active-text-color: #{$color1};
|
|
52
|
+
--el-button-disabled-bg-color: #ffffff;
|
|
53
|
+
|
|
54
|
+
// border color
|
|
55
|
+
--el-button-border-color: #{$color5};
|
|
56
|
+
--el-button-hover-border-color: #{$color1};
|
|
57
|
+
--el-button-active-border-color: #{$color1};
|
|
58
|
+
--el-button-disabled-border-color: #{$color4};
|
|
59
|
+
|
|
60
|
+
&.is-loading {
|
|
61
|
+
--el-text-color-regular: #a4a4a4;
|
|
62
|
+
--el-button-border-color: #{$color4};
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
&.el-button--primary {
|
|
68
|
+
--el-color-primary: #{$color1};
|
|
69
|
+
|
|
70
|
+
// text color
|
|
71
|
+
--el-text-color-regular: #ffffff;
|
|
72
|
+
--el-button-hover-text-color: #ffffff;
|
|
73
|
+
--el-button-active-text-color: #ffffff;
|
|
74
|
+
--el-button-disabled-text-color: #ffffff;
|
|
75
|
+
|
|
76
|
+
// background color
|
|
77
|
+
--el-button-bg-color: #{$color1};
|
|
78
|
+
--el-button-hover-bg-color: #{$color12};
|
|
79
|
+
--el-button-active-bg-color: #090909;
|
|
80
|
+
--el-button-disabled-bg-color: #afafaf;
|
|
81
|
+
|
|
82
|
+
// border color
|
|
83
|
+
--el-button-border-color: transparent;
|
|
84
|
+
--el-button-hover-border-color: transparent;
|
|
85
|
+
--el-button-active-border-color: transparent;
|
|
86
|
+
--el-button-disabled-border-color: transparent;
|
|
87
|
+
|
|
88
|
+
&.is-loading {
|
|
89
|
+
--el-text-color-regular: #a4a4a4;
|
|
90
|
+
--el-button-border-color: transparent;
|
|
91
|
+
--el-button-bg-color: #5c5c5c;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
&.is-plain {
|
|
95
|
+
--el-color-primary: #{$color1};
|
|
96
|
+
|
|
97
|
+
// text color
|
|
98
|
+
--el-text-color-regular: #{$color1};
|
|
99
|
+
--el-button-hover-text-color: #ffffff;
|
|
100
|
+
--el-button-active-text-color: #ffffff;
|
|
101
|
+
--el-button-disabled-text-color: #ffffff;
|
|
102
|
+
--el-color-primary-light-5: #757575;
|
|
103
|
+
|
|
104
|
+
// background color
|
|
105
|
+
--el-button-bg-color: #f2f2f2;
|
|
106
|
+
--el-button-hover-bg-color: #{$color1};
|
|
107
|
+
--el-button-active-bg-color: #090909;
|
|
108
|
+
--el-button-disabled-bg-color: #{$color8};
|
|
109
|
+
--el-color-primary-light-9: #{$color8};
|
|
110
|
+
|
|
111
|
+
// border color
|
|
112
|
+
--el-button-border-color: #757575;
|
|
113
|
+
--el-button-hover-border-color: transparent;
|
|
114
|
+
--el-button-active-border-color: transparent;
|
|
115
|
+
--el-button-disabled-border-color: #d5d5d5;
|
|
116
|
+
--el-color-primary-light-8: #d5d5d5;
|
|
117
|
+
|
|
118
|
+
&.is-loading {
|
|
119
|
+
--el-text-color-regular: #{$color12};
|
|
120
|
+
--el-button-border-color: #757575;
|
|
121
|
+
--el-button-bg-color: #{$color8};
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
&.is-text,
|
|
126
|
+
&.is-link {
|
|
127
|
+
// text color
|
|
128
|
+
--el-button-hover-link-text-color: #{$color12};
|
|
129
|
+
--el-button-active-color: #090909;
|
|
130
|
+
|
|
131
|
+
&.is-disabled {
|
|
132
|
+
--el-color-primary-light-5: #bdbdbd;
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
&.el-button--danger {
|
|
138
|
+
--el-color-primary: #{$colorAlert};
|
|
139
|
+
|
|
140
|
+
// text color
|
|
141
|
+
--el-text-color-regular: #ffffff;
|
|
142
|
+
--el-button-hover-text-color: #ffffff;
|
|
143
|
+
--el-button-active-text-color: #ffffff;
|
|
144
|
+
--el-button-disabled-text-color: #ffffff;
|
|
145
|
+
|
|
146
|
+
// background color
|
|
147
|
+
--el-button-bg-color: #{$colorAlert};
|
|
148
|
+
--el-button-hover-bg-color: #df6b6b;
|
|
149
|
+
--el-button-active-bg-color: #b42929;
|
|
150
|
+
--el-button-disabled-bg-color: #ea9c9c;
|
|
151
|
+
|
|
152
|
+
// border color
|
|
153
|
+
--el-button-border-color: transparent;
|
|
154
|
+
--el-button-hover-border-color: transparent;
|
|
155
|
+
--el-button-active-border-color: transparent;
|
|
156
|
+
--el-button-disabled-border-color: transparent;
|
|
157
|
+
|
|
158
|
+
&.is-loading {
|
|
159
|
+
--el-text-color-regular: #ffffff;
|
|
160
|
+
--el-button-border-color: transparent;
|
|
161
|
+
--el-button-bg-color: #df6b6b;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
&.is-plain {
|
|
165
|
+
// border: 2px solid orange !important;
|
|
166
|
+
--el-color-primary: #{$colorAlert};
|
|
167
|
+
|
|
168
|
+
// text color
|
|
169
|
+
--el-button-text-color: #d53a3a;
|
|
170
|
+
--el-text-color-regular: #d53a3a;
|
|
171
|
+
--el-button-hover-text-color: #ffffff;
|
|
172
|
+
--el-button-active-text-color: #ffffff;
|
|
173
|
+
--el-button-disabled-text-color: ##ea9c9c;
|
|
174
|
+
|
|
175
|
+
// background color
|
|
176
|
+
--el-button-bg-color: #fcf1f1;
|
|
177
|
+
--el-button-hover-bg-color: #d53a3a;
|
|
178
|
+
--el-button-active-bg-color: #b42929;
|
|
179
|
+
--el-button-disabled-bg-color: #fcf1f1;
|
|
180
|
+
|
|
181
|
+
// border color
|
|
182
|
+
--el-button-border-color: #ea9c9c;
|
|
183
|
+
--el-button-hover-border-color: transparent;
|
|
184
|
+
--el-button-active-border-color: transparent;
|
|
185
|
+
--el-button-disabled-border-color: #f9e1e1;
|
|
186
|
+
|
|
187
|
+
&.is-loading {
|
|
188
|
+
--el-text-color-regular: ##df6b6b;
|
|
189
|
+
--el-button-border-color: #ea9c9c;
|
|
190
|
+
--el-button-bg-color: #fcf1f1;
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
&.el-button--success {
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
&.el-button--info {
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
&.el-button--warning {
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
.vel-icon {
|
|
205
|
+
fill: currentColor;
|
|
206
|
+
path {
|
|
207
|
+
fill: currentColor;
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
// sizes & spacing
|
|
212
|
+
&.el-button--default,
|
|
213
|
+
&.el-button--primary,
|
|
214
|
+
&.el-button--danger,
|
|
215
|
+
&.el-button--success,
|
|
216
|
+
&.el-button--warning,
|
|
217
|
+
&.el-button--info {
|
|
218
|
+
// line-height: 1;
|
|
219
|
+
padding: get-ratio(11px) $spacing * 2;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
&.el-button--large {
|
|
223
|
+
// line-height: 1;
|
|
224
|
+
padding: get-ratio(15px) $spacing * 2;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
&.el-button--small {
|
|
228
|
+
// line-height: 1;
|
|
229
|
+
padding: get-ratio(5px) $spacing;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
// shapes
|
|
233
|
+
|
|
234
|
+
&.is-circle,
|
|
235
|
+
&.is-square {
|
|
236
|
+
width: auto;
|
|
237
|
+
& [class*="el-icon"] + span {
|
|
238
|
+
margin-left: 0;
|
|
239
|
+
}
|
|
240
|
+
&.el-button--default,
|
|
241
|
+
&.el-button--primary,
|
|
242
|
+
&.el-button--danger,
|
|
243
|
+
&.el-button--success,
|
|
244
|
+
&.el-button--warning,
|
|
245
|
+
&.el-button--info {
|
|
246
|
+
padding: get-ratio(11px);
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
&.el-button--large {
|
|
250
|
+
padding: get-ratio(15px);
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
&.el-button--small {
|
|
254
|
+
padding: get-ratio(5px);
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
// Fix for improper spacing
|
|
258
|
+
.el-icon.is-loading {
|
|
259
|
+
+ span:empty {
|
|
260
|
+
margin-left: 0px;
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
.vel-button {
|
|
266
|
+
&[disabled="true"] {
|
|
267
|
+
pointer-events: none !important;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
&--iconRight {
|
|
271
|
+
.el-icon {
|
|
272
|
+
order: 2;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
> span {
|
|
276
|
+
order: 1;
|
|
277
|
+
margin: 0 0.5rem 0 0;
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
&--iconOnly1 {
|
|
282
|
+
> span {
|
|
283
|
+
margin: 0;
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
.vel-icon {
|
|
287
|
+
width: 1.5 * $spacing;
|
|
288
|
+
height: 1.5 * $spacing;
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
svg {
|
|
292
|
+
width: 100%;
|
|
293
|
+
height: 100%;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
&.el-button--small {
|
|
297
|
+
padding: $spacing $spacing * 2;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
&.el-button--large {
|
|
301
|
+
padding: 2 * $spacing 2.5 * $spacing;
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
@import "element-plus/theme-chalk/el-cascader";
|
|
2
|
+
@import "element-plus/theme-chalk/el-cascader-panel";
|
|
3
|
+
@import "element-plus/theme-chalk/el-popper";
|
|
4
|
+
|
|
5
|
+
.el-cascader-panel {
|
|
6
|
+
font-size: 1rem;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.el-cascader-node {
|
|
10
|
+
line-height: get-ratio(40px);
|
|
11
|
+
height: get-ratio(40px);
|
|
12
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
@import "element-plus/theme-chalk/el-checkbox";
|
|
2
|
+
@import "element-plus/theme-chalk/el-checkbox-button";
|
|
3
|
+
|
|
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
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
&__error {
|
|
27
|
+
order: 3;
|
|
28
|
+
flex-basis: 100%;
|
|
29
|
+
color: $colorAlert;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.vel-checkbox-group,
|
|
34
|
+
.vel-checkbox {
|
|
35
|
+
&--vertical {
|
|
36
|
+
.vel-checkbox-group__wrapper {
|
|
37
|
+
display: flex;
|
|
38
|
+
flex-direction: column;
|
|
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
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
@import "element-plus/theme-chalk/el-collapse";
|
|
2
|
+
@import "element-plus/theme-chalk/el-collapse-item";
|
|
3
|
+
|
|
4
|
+
.el-collapse-item__header {
|
|
5
|
+
align-items: center;
|
|
6
|
+
--el-collapse-header-font-size: get-ratio(16px);
|
|
7
|
+
.vel-icon {
|
|
8
|
+
vertical-align: middle;
|
|
9
|
+
width: 13px;
|
|
10
|
+
min-width: 13px;
|
|
11
|
+
fill: currentColor;
|
|
12
|
+
margin-right: 0.25rem;
|
|
13
|
+
|
|
14
|
+
svg {
|
|
15
|
+
vertical-align: middle;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.el-collapse {
|
|
21
|
+
--el-collapse-header-bg-color: transparent;
|
|
22
|
+
--el-collapse-content-bg-color: transparent;
|
|
23
|
+
--el-collapse-border-color: transparent;
|
|
24
|
+
}
|