File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed
src/components/form-spinbutton Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change
1
+ // This should be moved tp /src/utilities.scss
2
+ .form-control {
3
+ & .focus {
4
+ color : $input-focus-color ;
5
+ background-color : $input-focus-bg ;
6
+ border-color : $input-focus-border-color ;
7
+ outline : 0 ;
8
+ @if $enable-shadows {
9
+ box-shadow : $input-box-shadow , $input-focus-box-shadow ;
10
+ } @else {
11
+ box-shadow : $input-focus-box-shadow ;
12
+ }
13
+
14
+ & .is-valid {
15
+ box-shadow : 0 0 0 $input-focus-width rgba ($form-feedback-valid-color , 0.25 );
16
+ }
17
+
18
+ & .is-invalid {
19
+ box-shadow : 0 0 0 $input-focus-width rgba ($form-feedback-invalid-color , 0.25 );
20
+ }
21
+ }
22
+ }
23
+
24
+ // Handle validation icon (i.e. hide it)
25
+ .b-spinbutton.form-control {
26
+ padding : 0 ;
27
+ background-image : none ;
28
+
29
+ & .disabled
30
+ & .readonly {
31
+ background-color : $input-disabled-bg-color ;
32
+ }
33
+ }
You can’t perform that action at this time.
0 commit comments