File tree Expand file tree Collapse file tree 1 file changed +12
-6
lines changed
src/components/form-spinbutton Expand file tree Collapse file tree 1 file changed +12
-6
lines changed Original file line number Diff line number Diff line change 2
2
text-align : center ;
3
3
// Quick way to get end buttons rounded on outside edges
4
4
overflow : hidden ;
5
- // Hide validation icon
5
+ // Hide validation icon, as there is no room for it
6
6
background-image : none ;
7
7
8
8
& .flex-column {
14
14
font-size : inherit ;
15
15
outline : 0 ;
16
16
border : 0 ;
17
+ background-color : transparent ;
17
18
18
19
> div {
19
20
min-width : 2em ;
31
32
line-height : 1 ;
32
33
box-shadow : none !important ;
33
34
35
+ & :disabled {
36
+ pointer-events : none ;
37
+ }
38
+
34
39
& :hover:not (:disabled ) > div {
35
40
transform : scale (1.25 );
36
41
}
58
63
}
59
64
}
60
65
61
- & .disabled
66
+ & .disabled ,
62
67
& .readonly {
63
- & ,
64
- output {
65
- background-color : $input-disabled-bg ;
66
- }
68
+ background-color : $input-disabled-bg ;
69
+ }
70
+
71
+ & .disabled {
72
+ pointer-events : none ;
67
73
}
68
74
}
You can’t perform that action at this time.
0 commit comments