@fishawack/lab-velocity 0.6.0 → 0.6.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/_base.scss +2 -1
- package/components/_basic.scss +13 -1
- package/components/_cascader.scss +10 -1
- package/components/_checkbox.scss +2 -2
- package/components/_form.scss +11 -0
- package/components/_input.scss +0 -0
- package/components/_link.scss +16 -4
- package/components/_select.scss +16 -0
- package/form/Select.vue +1 -1
- package/form/basic.vue +1 -0
- package/general.scss +4 -1
- package/package.json +1 -1
package/_base.scss
CHANGED
|
@@ -2,4 +2,5 @@
|
|
|
2
2
|
@import "element-plus/theme-chalk/el-message-box";
|
|
3
3
|
@import "element-plus/theme-chalk/el-message";
|
|
4
4
|
@import "element-plus/theme-chalk/el-notification";
|
|
5
|
-
@import "element-plus/theme-chalk/el-overlay";
|
|
5
|
+
@import "element-plus/theme-chalk/el-overlay";
|
|
6
|
+
@import "./components/input.scss";
|
package/components/_basic.scss
CHANGED
|
@@ -1 +1,13 @@
|
|
|
1
|
-
@import "element-plus/theme-chalk/el-input";
|
|
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:38px
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -1,3 +1,12 @@
|
|
|
1
1
|
@import "element-plus/theme-chalk/el-cascader";
|
|
2
2
|
@import "element-plus/theme-chalk/el-cascader-panel";
|
|
3
|
-
@import "element-plus/theme-chalk/el-popper";
|
|
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
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@import "element-plus/theme-chalk/el-checkbox";
|
|
2
2
|
@import "element-plus/theme-chalk/el-checkbox-button";
|
|
3
3
|
|
|
4
|
-
.vel-checkbox {
|
|
4
|
+
.vel-checkbox, .el-checkbox {
|
|
5
5
|
display: flex;
|
|
6
6
|
flex-direction: row;
|
|
7
7
|
align-items: center;
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
.vel-checkbox-group {
|
|
29
|
+
.vel-checkbox-group, .vel-checkbox {
|
|
30
30
|
&--vertical {
|
|
31
31
|
.vel-checkbox-group__wrapper {
|
|
32
32
|
display: flex;
|
package/components/_form.scss
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
// @import "element-plus/theme-chalk/el-form";
|
|
1
2
|
.form__group {
|
|
2
3
|
label {
|
|
3
4
|
margin-bottom: $spacing;
|
|
@@ -6,4 +7,14 @@
|
|
|
6
7
|
&:not(:last-child) {
|
|
7
8
|
margin-bottom: 2.5 * $spacing;
|
|
8
9
|
}
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.form__group--error {
|
|
13
|
+
|
|
14
|
+
.el-select__wrapper, .el-select__wrapper:hover, .el-input__wrapper, .el-input__wrapper:hover {
|
|
15
|
+
box-shadow: 0 0 0 1px $color9 inset;
|
|
16
|
+
.el-select__icon {
|
|
17
|
+
color: $color9;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
9
20
|
}
|
|
File without changes
|
package/components/_link.scss
CHANGED
|
@@ -1,17 +1,29 @@
|
|
|
1
1
|
@import "element-plus/theme-chalk/el-link";
|
|
2
2
|
|
|
3
|
-
.vel-link {
|
|
4
|
-
|
|
3
|
+
.vel-link.el-link--default {
|
|
4
|
+
&:hover{
|
|
5
|
+
color:$color12;
|
|
6
|
+
&:after{
|
|
7
|
+
border-color: $color12;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
5
10
|
}
|
|
6
|
-
.vel-link--underline {
|
|
11
|
+
.vel-link--underline.vel-link {
|
|
7
12
|
&:after {
|
|
8
|
-
border-bottom: 1px solid
|
|
13
|
+
border-bottom: 1px solid $color12;
|
|
9
14
|
bottom: 0;
|
|
10
15
|
content: "";
|
|
11
16
|
height: 0;
|
|
12
17
|
left: 0;
|
|
13
18
|
position: absolute;
|
|
14
19
|
right: 0;
|
|
20
|
+
border-color: $color12;
|
|
21
|
+
}
|
|
22
|
+
&:hover{
|
|
23
|
+
color:$color12;
|
|
24
|
+
&:after{
|
|
25
|
+
border-color: $color12;
|
|
26
|
+
}
|
|
15
27
|
}
|
|
16
28
|
}
|
|
17
29
|
|
package/components/_select.scss
CHANGED
|
@@ -6,4 +6,20 @@
|
|
|
6
6
|
@import "element-plus/theme-chalk/el-select";
|
|
7
7
|
|
|
8
8
|
.vel-select {
|
|
9
|
+
.el-select__wrapper {
|
|
10
|
+
font-size: get-ratio(16px);
|
|
11
|
+
padding: 1.5 * $spacing;
|
|
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
|
+
}
|
|
9
25
|
}
|
package/form/Select.vue
CHANGED
package/form/basic.vue
CHANGED
package/general.scss
CHANGED