File tree 5 files changed +10
-10
lines changed
5 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -524,15 +524,15 @@ legend {
524
524
height : auto ;
525
525
}
526
526
527
- // 1. Correct the outline style in Safari.
528
- // 2. This overrides the extra rounded corners on search inputs in iOS so that our
527
+ // 1. This overrides the extra rounded corners on search inputs in iOS so that our
529
528
// `.form-control` class can properly style them. Note that this cannot simply
530
529
// be added to `.form-control` as it's not specific enough. For details, see
531
530
// https://github.com/twbs/bootstrap/issues/11586.
531
+ // 2. Correct the outline style in Safari.
532
532
533
533
[type = " search" ] {
534
- outline-offset : -2 px ; // 1
535
- -webkit-appearance : textfield ; // 2
534
+ -webkit-appearance : textfield ; // 1
535
+ outline-offset : -2 px ; // 2
536
536
}
537
537
538
538
// 1. A few input types should stay LTR
Original file line number Diff line number Diff line change 33
33
height : $form-check-input-width ;
34
34
margin-top : ($line-height-base - $form-check-input-width ) * .5 ; // line-height minus check height
35
35
vertical-align : top ;
36
+ appearance : none ;
36
37
background-color : var (--#{$prefix}form-check-bg );
37
38
background-image : var (--#{$prefix}form-check-bg-image );
38
39
background-repeat : no-repeat ;
39
40
background-position : center ;
40
41
background-size : contain ;
41
42
border : $form-check-input-border ;
42
- appearance : none ;
43
43
print-color-adjust : exact ; // Keep themed appearance for print
44
44
@include transition ($form-check-transition );
45
45
Original file line number Diff line number Diff line change 11
11
font-weight : $input-font-weight ;
12
12
line-height : $input-line-height ;
13
13
color : $input-color ;
14
+ appearance : none ; // Fix appearance for date inputs in Safari
14
15
background-color : $input-bg ;
15
16
background-clip : padding-box ;
16
17
border : $input-border-width solid $input-border-color ;
17
- appearance : none ; // Fix appearance for date inputs in Safari
18
18
19
19
// Note: This has no effect on <select>s in some browsers, due to the limited stylability of `<select>`s in CSS.
20
20
@include border-radius ($input-border-radius , 0 );
Original file line number Diff line number Diff line change 8
8
width : 100% ;
9
9
height : add ($form-range-thumb-height , $form-range-thumb-focus-box-shadow-width * 2 );
10
10
padding : 0 ; // Need to reset padding
11
- background-color : transparent ;
12
11
appearance : none ;
12
+ background-color : transparent ;
13
13
14
14
& :focus {
15
15
outline : 0 ;
28
28
width : $form-range-thumb-width ;
29
29
height : $form-range-thumb-height ;
30
30
margin-top : ($form-range-track-height - $form-range-thumb-height ) * .5 ; // Webkit specific
31
+ appearance : none ;
31
32
@include gradient-bg ($form-range-thumb-bg );
32
33
border : $form-range-thumb-border ;
33
34
@include border-radius ($form-range-thumb-border-radius );
34
35
@include box-shadow ($form-range-thumb-box-shadow );
35
36
@include transition ($form-range-thumb-transition );
36
- appearance : none ;
37
37
38
38
& :active {
39
39
@include gradient-bg ($form-range-thumb-active-bg );
54
54
& ::-moz-range-thumb {
55
55
width : $form-range-thumb-width ;
56
56
height : $form-range-thumb-height ;
57
+ appearance : none ;
57
58
@include gradient-bg ($form-range-thumb-bg );
58
59
border : $form-range-thumb-border ;
59
60
@include border-radius ($form-range-thumb-border-radius );
60
61
@include box-shadow ($form-range-thumb-box-shadow );
61
62
@include transition ($form-range-thumb-transition );
62
- appearance : none ;
63
63
64
64
& :active {
65
65
@include gradient-bg ($form-range-thumb-active-bg );
Original file line number Diff line number Diff line change 14
14
font-weight : $form-select-font-weight ;
15
15
line-height : $form-select-line-height ;
16
16
color : $form-select-color ;
17
+ appearance : none ;
17
18
background-color : $form-select-bg ;
18
19
background-image : var (--#{$prefix}form-select-bg-img ), var (--#{$prefix}form-select-bg-icon , none );
19
20
background-repeat : no-repeat ;
23
24
@include border-radius ($form-select-border-radius , 0 );
24
25
@include box-shadow ($form-select-box-shadow );
25
26
@include transition ($form-select-transition );
26
- appearance : none ;
27
27
28
28
& :focus {
29
29
border-color : $form-select-focus-border-color ;
You can’t perform that action at this time.
0 commit comments