Skip to content

Commit eadcf20

Browse files
committed
Fix Sass properties order for newer stylelint-config-recess-order
1 parent d333d70 commit eadcf20

5 files changed

+11
-11
lines changed

scss/_reboot.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -531,8 +531,8 @@ legend {
531531
// https://github.com/twbs/bootstrap/issues/11586.
532532

533533
[type="search"] {
534-
outline-offset: -2px; // 1
535534
-webkit-appearance: textfield; // 2
535+
outline-offset: -2px; // 1
536536
}
537537

538538
// 1. A few input types should stay LTR

scss/forms/_form-check.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,13 @@
3333
height: $form-check-input-width;
3434
margin-top: ($line-height-base - $form-check-input-width) * .5; // line-height minus check height
3535
vertical-align: top;
36+
appearance: none;
3637
background-color: var(--#{$prefix}form-check-bg);
3738
background-image: var(--#{$prefix}form-check-bg-image);
3839
background-repeat: no-repeat;
3940
background-position: center;
4041
background-size: contain;
4142
border: $form-check-input-border;
42-
appearance: none;
4343
print-color-adjust: exact; // Keep themed appearance for print
4444
@include transition($form-check-transition);
4545

scss/forms/_form-control.scss

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77
width: 100%;
88
padding: $input-padding-y $input-padding-x;
99
font-family: $input-font-family;
10-
@include font-size($input-font-size);
1110
font-weight: $input-font-weight;
1211
line-height: $input-line-height;
1312
color: $input-color;
13+
appearance: none; // Fix appearance for date inputs in Safari
1414
background-color: $input-bg;
1515
background-clip: padding-box;
1616
border: $input-border-width solid $input-border-color;
17-
appearance: none; // Fix appearance for date inputs in Safari
17+
@include font-size($input-font-size);
1818

1919
// Note: This has no effect on <select>s in some browsers, due to the limited stylability of `<select>`s in CSS.
2020
@include border-radius($input-border-radius, 0);

scss/forms/_form-range.scss

+5-5
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
width: 100%;
99
height: add($form-range-thumb-height, $form-range-thumb-focus-box-shadow-width * 2);
1010
padding: 0; // Need to reset padding
11-
background-color: transparent;
1211
appearance: none;
12+
background-color: transparent;
1313

1414
&:focus {
1515
outline: 0;
@@ -28,12 +28,12 @@
2828
width: $form-range-thumb-width;
2929
height: $form-range-thumb-height;
3030
margin-top: ($form-range-track-height - $form-range-thumb-height) * .5; // Webkit specific
31-
@include gradient-bg($form-range-thumb-bg);
31+
appearance: none;
3232
border: $form-range-thumb-border;
33+
@include gradient-bg($form-range-thumb-bg);
3334
@include border-radius($form-range-thumb-border-radius);
3435
@include box-shadow($form-range-thumb-box-shadow);
3536
@include transition($form-range-thumb-transition);
36-
appearance: none;
3737

3838
&:active {
3939
@include gradient-bg($form-range-thumb-active-bg);
@@ -54,12 +54,12 @@
5454
&::-moz-range-thumb {
5555
width: $form-range-thumb-width;
5656
height: $form-range-thumb-height;
57-
@include gradient-bg($form-range-thumb-bg);
57+
appearance: none;
5858
border: $form-range-thumb-border;
59+
@include gradient-bg($form-range-thumb-bg);
5960
@include border-radius($form-range-thumb-border-radius);
6061
@include box-shadow($form-range-thumb-box-shadow);
6162
@include transition($form-range-thumb-transition);
62-
appearance: none;
6363

6464
&:active {
6565
@include gradient-bg($form-range-thumb-active-bg);

scss/forms/_form-select.scss

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,20 @@
1010
width: 100%;
1111
padding: $form-select-padding-y $form-select-indicator-padding $form-select-padding-y $form-select-padding-x;
1212
font-family: $form-select-font-family;
13-
@include font-size($form-select-font-size);
1413
font-weight: $form-select-font-weight;
1514
line-height: $form-select-line-height;
1615
color: $form-select-color;
16+
appearance: none;
1717
background-color: $form-select-bg;
1818
background-image: var(--#{$prefix}form-select-bg-img), var(--#{$prefix}form-select-bg-icon, none);
1919
background-repeat: no-repeat;
2020
background-position: $form-select-bg-position;
2121
background-size: $form-select-bg-size;
2222
border: $form-select-border-width solid $form-select-border-color;
23+
@include font-size($form-select-font-size);
2324
@include border-radius($form-select-border-radius, 0);
2425
@include box-shadow($form-select-box-shadow);
2526
@include transition($form-select-transition);
26-
appearance: none;
2727

2828
&:focus {
2929
border-color: $form-select-focus-border-color;

0 commit comments

Comments
 (0)