File tree Expand file tree Collapse file tree 2 files changed +22
-13
lines changed Expand file tree Collapse file tree 2 files changed +22
-13
lines changed Original file line number Diff line number Diff line change 5
5
6
6
&__minus ,
7
7
&__plus {
8
- width : 40 px ;
9
- height : 30 px ;
8
+ width : 28 px ;
9
+ height : 28 px ;
10
10
box-sizing : border-box ;
11
- background-color : @white ;
12
- border : 1px solid @border-color ;
11
+ background-color : @stepper-background-color ;
12
+ border : 0 ;
13
+ margin : 1px ;
13
14
position : relative ;
14
15
padding : 5px ;
15
16
vertical-align : middle ;
33
34
left : 0 ;
34
35
right : 0 ;
35
36
bottom : 0 ;
36
- background-color : @gray-darker ;
37
+ background-color : @text-color ;
37
38
}
38
39
39
40
& :active {
40
41
background-color : @active-color ;
41
42
}
42
43
43
44
&--disabled {
44
- background-color : @background -color ;
45
+ background-color : @stepper-button-disabled -color ;
45
46
46
47
& ::before ,
47
48
& ::after {
50
51
}
51
52
52
53
&--disabled :active {
53
- background-color : @background -color ;
54
+ background-color : @stepper-button-disabled -color ;
54
55
}
55
56
}
56
57
57
58
&__minus {
58
- border-radius : 2 px 0 0 2 px ;
59
+ border-radius : @stepper-border-radius 0 0 @stepper-border-radius ;
59
60
60
61
& ::after {
61
62
display : none ;
62
63
}
63
64
}
64
65
65
66
&__plus {
66
- border-radius : 0 2 px 2 px 0 ;
67
+ border-radius : 0 @stepper-border-radius @stepper-border-radius 0 ;
67
68
}
68
69
69
70
&__input {
70
- width : 33 px ;
71
+ width : 30 px ;
71
72
height : 26px ;
72
73
padding : 1px ;
73
- border : 1px solid @border-color ;
74
+ border : 0 ;
75
+ margin : 1px ;
76
+ background-color : @stepper-background-color ;
74
77
border-width : 1px 0 ;
75
78
border-radius : 0 ;
76
79
box-sizing : content-box ;
77
- color : @gray-darker ;
80
+ color : @text-color ;
78
81
font-size : 14px ;
79
82
vertical-align : middle ;
80
83
text-align : center ;
81
84
-webkit-appearance : none ;
82
85
83
86
& [disabled ] {
84
87
color : @gray ;
85
- background-color : @background -color ;
88
+ background-color : @stepper-input-disabled -color ;
86
89
}
87
90
}
88
91
Original file line number Diff line number Diff line change 148
148
149
149
// Search
150
150
@search-background-color : #f7f8fA ;
151
+
152
+ // Stepper
153
+ @stepper-background-color : #f2f3f5 ;
154
+ @stepper-button-disabled-color : #f7f8fa ;
155
+ @stepper-border-radius : 4px ;
156
+ @stepper-input-disabled-color : #f2f3f5 ;
You can’t perform that action at this time.
0 commit comments