-
Notifications
You must be signed in to change notification settings - Fork 27
/
style.scss
98 lines (95 loc) · 1.77 KB
/
style.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
$vxe-table-validate-error-color: #f56c6c;
%ResetBorder {
border: 0;
}
%SliderStyle {
.el-slider__runway {
margin: 8px 0;
.el-slider__button-wrapper {
z-index: auto;
}
}
}
%CompWidth {
& > .el-input,
& > .el-autocomplete,
& > .el-input-number,
& > .el-select,
& > .el-cascader,
& > .el-date-editor,
& > .el-slider {
width: 100%;
}
& > .el-color-picker {
vertical-align: middle;
}
}
.vxe-form {
.vxe-form--item-content {
@extend %CompWidth;
}
}
.vxe-table--filter-element-wrapper {
padding: 0.8em 1em;
& > .el-input,
& > .el-input-number,
& > .el-autocomplete,
& > .el-select,
& > .el-rate,
& > .el-slider {
width: 180px;
}
& > .el-slider {
@extend %SliderStyle;
}
}
.vxe-table {
.vxe-cell,
.vxe-tree-cell {
@extend %CompWidth;
& > .el-slider {
@extend %SliderStyle;
}
}
}
.col--valid-error {
& > .vxe-cell,
& > .vxe-tree-cell {
& > .el-input .el-input__inner,
& > .el-autocomplete .el-input__inner,
& > .el-input-number .el-input__inner,
& > .el-select .el-input__inner,
& > .el-cascader .el-input__inner,
& > .el-date-picker .el-input__inner {
border-color: $vxe-table-validate-error-color;
}
}
}
.vxe-table.cell--highlight {
.vxe-cell,
.vxe-tree-cell {
& > .el-input:not(.el-date-editor),
& > .el-autocomplete,
& > .el-select,
& > .el-cascader {
.el-input__inner {
padding: 0;
@extend %ResetBorder;
}
}
& > .el-input-number {
.el-input-number__decrease,
.el-input-number__increase {
@extend %ResetBorder;
}
.el-input__inner {
@extend %ResetBorder;
}
}
& > .el-date-editor {
.el-input__inner {
@extend %ResetBorder;
}
}
}
}