File tree 12 files changed +91
-37
lines changed
12 files changed +91
-37
lines changed Original file line number Diff line number Diff line change 3
3
"stylelint-config-twbs-bootstrap/scss"
4
4
],
5
5
"rules": {
6
- "function-blacklist ": [
6
+ "function-disallowed-list ": [
7
7
"calc"
8
8
],
9
- "property-blacklist ": [
9
+ "property-disallowed-list ": [
10
10
"border-radius",
11
11
"border-top-left-radius",
12
12
"border-top-right-radius",
Original file line number Diff line number Diff line change 132
132
"rollup-plugin-istanbul" : " ^2.0.1" ,
133
133
"shelljs" : " ^0.8.4" ,
134
134
"sirv-cli" : " ^1.0.6" ,
135
- "stylelint" : " ^13.6.1 " ,
135
+ "stylelint" : " ^13.7.2 " ,
136
136
"stylelint-config-twbs-bootstrap" : " ^2.1.0" ,
137
137
"terser" : " ^5.1.0" ,
138
138
"vnu-jar" : " 20.6.30"
Original file line number Diff line number Diff line change 185
185
186
186
.card-img-top ,
187
187
.card-header {
188
- // stylelint-disable-next-line property-blacklist
188
+ // stylelint-disable-next-line property-disallowed-list
189
189
border-top-right-radius : 0 ;
190
190
}
191
191
.card-img-bottom ,
192
192
.card-footer {
193
- // stylelint-disable-next-line property-blacklist
193
+ // stylelint-disable-next-line property-disallowed-list
194
194
border-bottom-right-radius : 0 ;
195
195
}
196
196
}
200
200
201
201
.card-img-top ,
202
202
.card-header {
203
- // stylelint-disable-next-line property-blacklist
203
+ // stylelint-disable-next-line property-disallowed-list
204
204
border-top-left-radius : 0 ;
205
205
}
206
206
.card-img-bottom ,
207
207
.card-footer {
208
- // stylelint-disable-next-line property-blacklist
208
+ // stylelint-disable-next-line property-disallowed-list
209
209
border-bottom-left-radius : 0 ;
210
210
}
211
211
}
Original file line number Diff line number Diff line change @@ -402,7 +402,7 @@ label {
402
402
// See https://github.com/twbs/bootstrap/issues/24093
403
403
404
404
button {
405
- // stylelint-disable-next-line property-blacklist
405
+ // stylelint-disable-next-line property-disallowed-list
406
406
border-radius : 0 ;
407
407
}
408
408
Original file line number Diff line number Diff line change 13
13
vertical-align : text-bottom ;
14
14
border : $spinner-border-width solid currentColor ;
15
15
border-right-color : transparent ;
16
- // stylelint-disable-next-line property-blacklist
16
+ // stylelint-disable-next-line property-disallowed-list
17
17
border-radius : 50% ;
18
18
animation : spinner- border $spinner-animation-speed linear infinite ;
19
19
}
44
44
height : $spinner-height ;
45
45
vertical-align : text-bottom ;
46
46
background-color : currentColor ;
47
- // stylelint-disable-next-line property-blacklist
47
+ // stylelint-disable-next-line property-disallowed-list
48
48
border-radius : 50% ;
49
49
opacity : 0 ;
50
50
animation : spinner- grow $spinner-animation-speed linear infinite ;
Original file line number Diff line number Diff line change @@ -376,7 +376,7 @@ $transition-base: all .2s ease-in-out !default;
376
376
$transition-fade : opacity .15s linear !default ;
377
377
$transition-collapse : height .35s ease !default ;
378
378
379
- // stylelint-disable function-blacklist
379
+ // stylelint-disable function-disallowed-list
380
380
// scss-docs-start aspect-ratios
381
381
$aspect-ratios : (
382
382
" 1x1" : 100% ,
@@ -385,7 +385,7 @@ $aspect-ratios: (
385
385
" 21x9" : calc (9 / 21 * 100% )
386
386
) !default ;
387
387
// scss-docs-end aspect-ratios
388
- // stylelint-enable function-blacklist
388
+ // stylelint-enable function-disallowed-list
389
389
390
390
// Typography
391
391
//
Original file line number Diff line number Diff line change 33
33
}
34
34
35
35
& [type = " radio" ] {
36
- // stylelint-disable-next-line property-blacklist
36
+ // stylelint-disable-next-line property-disallowed-list
37
37
border-radius : $form-check-radio-border-radius ;
38
38
}
39
39
Original file line number Diff line number Diff line change 1
- // stylelint-disable property-blacklist
1
+ // stylelint-disable property-disallowed-list
2
2
// Single side border-radius
3
3
4
4
// Helper function to replace negative values with 0
Original file line number Diff line number Diff line change 4
4
--bs-gutter-x : #{$gutter } ;
5
5
6
6
width : 100% ;
7
- padding-right : calc (var (--bs-gutter-x ) / 2 ); // stylelint-disable-line function-blacklist
8
- padding-left : calc (var (--bs-gutter-x ) / 2 ); // stylelint-disable-line function-blacklist
7
+ padding-right : calc (var (--bs-gutter-x ) / 2 ); // stylelint-disable-line function-disallowed-list
8
+ padding-left : calc (var (--bs-gutter-x ) / 2 ); // stylelint-disable-line function-disallowed-list
9
9
margin-right : auto ;
10
10
margin-left : auto ;
11
11
}
Original file line number Diff line number Diff line change 7
7
--bs-gutter-y : 0 ;
8
8
display : flex ;
9
9
flex-wrap : wrap ;
10
- margin-top : calc (var (--bs-gutter-y ) * -1 ); // stylelint-disable-line function-blacklist
11
- margin-right : calc (var (--bs-gutter-x ) / -2 ); // stylelint-disable-line function-blacklist
12
- margin-left : calc (var (--bs-gutter-x ) / -2 ); // stylelint-disable-line function-blacklist
10
+ margin-top : calc (var (--bs-gutter-y ) * -1 ); // stylelint-disable-line function-disallowed-list
11
+ margin-right : calc (var (--bs-gutter-x ) / -2 ); // stylelint-disable-line function-disallowed-list
12
+ margin-left : calc (var (--bs-gutter-x ) / -2 ); // stylelint-disable-line function-disallowed-list
13
13
}
14
14
15
15
@mixin make-col-ready ($gutter : $grid-gutter-width ) {
21
21
flex-shrink : 0 ;
22
22
width : 100% ;
23
23
max-width : 100% ; // Prevent `.col-auto`, `.col` (& responsive variants) from breaking out the grid
24
- padding-right : calc (var (--bs-gutter-x ) / 2 ); // stylelint-disable-line function-blacklist
25
- padding-left : calc (var (--bs-gutter-x ) / 2 ); // stylelint-disable-line function-blacklist
24
+ padding-right : calc (var (--bs-gutter-x ) / 2 ); // stylelint-disable-line function-disallowed-list
25
+ padding-left : calc (var (--bs-gutter-x ) / 2 ); // stylelint-disable-line function-disallowed-list
26
26
margin-top : var (--bs-gutter-y );
27
27
}
28
28
Original file line number Diff line number Diff line change 1
- // stylelint-disable property-blacklist
1
+ // stylelint-disable property-disallowed-list
2
2
@mixin transition ($transition ...) {
3
3
@if length ($transition ) == 0 {
4
4
$transition : $transition-base ;
You can’t perform that action at this time.
0 commit comments