mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-22 13:13:03 +02:00
Stylelint: remove redundant inline suppressions
This commit is contained in:
@@ -182,7 +182,6 @@
|
|||||||
// Place margin between footer elements
|
// Place margin between footer elements
|
||||||
// This solution is far from ideal because of the universal selector usage,
|
// This solution is far from ideal because of the universal selector usage,
|
||||||
// but is needed to fix https://github.com/twbs/bootstrap/issues/24800
|
// but is needed to fix https://github.com/twbs/bootstrap/issues/24800
|
||||||
// stylelint-disable-next-line selector-max-universal
|
|
||||||
> * {
|
> * {
|
||||||
margin: $modal-footer-margin-between / 2;
|
margin: $modal-footer-margin-between / 2;
|
||||||
}
|
}
|
||||||
|
@@ -18,7 +18,6 @@ $gray-900: #212529 !default;
|
|||||||
$black: #000 !default;
|
$black: #000 !default;
|
||||||
|
|
||||||
$grays: () !default;
|
$grays: () !default;
|
||||||
// stylelint-disable-next-line scss/dollar-variable-default
|
|
||||||
$grays: map-merge(
|
$grays: map-merge(
|
||||||
(
|
(
|
||||||
"100": $gray-100,
|
"100": $gray-100,
|
||||||
@@ -46,7 +45,6 @@ $teal: #20c997 !default;
|
|||||||
$cyan: #17a2b8 !default;
|
$cyan: #17a2b8 !default;
|
||||||
|
|
||||||
$colors: () !default;
|
$colors: () !default;
|
||||||
// stylelint-disable-next-line scss/dollar-variable-default
|
|
||||||
$colors: map-merge(
|
$colors: map-merge(
|
||||||
(
|
(
|
||||||
"blue": $blue,
|
"blue": $blue,
|
||||||
@@ -76,7 +74,6 @@ $light: $gray-100 !default;
|
|||||||
$dark: $gray-800 !default;
|
$dark: $gray-800 !default;
|
||||||
|
|
||||||
$theme-colors: () !default;
|
$theme-colors: () !default;
|
||||||
// stylelint-disable-next-line scss/dollar-variable-default
|
|
||||||
$theme-colors: map-merge(
|
$theme-colors: map-merge(
|
||||||
(
|
(
|
||||||
"primary": $primary,
|
"primary": $primary,
|
||||||
@@ -138,7 +135,6 @@ $enable-deprecation-messages: true !default;
|
|||||||
|
|
||||||
$spacer: 1rem !default;
|
$spacer: 1rem !default;
|
||||||
$spacers: () !default;
|
$spacers: () !default;
|
||||||
// stylelint-disable-next-line scss/dollar-variable-default
|
|
||||||
$spacers: map-merge(
|
$spacers: map-merge(
|
||||||
(
|
(
|
||||||
0: 0,
|
0: 0,
|
||||||
@@ -153,7 +149,6 @@ $spacers: map-merge(
|
|||||||
|
|
||||||
// This variable affects the `.h-*` and `.w-*` classes.
|
// This variable affects the `.h-*` and `.w-*` classes.
|
||||||
$sizes: () !default;
|
$sizes: () !default;
|
||||||
// stylelint-disable-next-line scss/dollar-variable-default
|
|
||||||
$sizes: map-merge(
|
$sizes: map-merge(
|
||||||
(
|
(
|
||||||
25: 25%,
|
25: 25%,
|
||||||
@@ -264,7 +259,6 @@ $transition-fade: opacity .15s linear !default;
|
|||||||
$transition-collapse: height .35s ease !default;
|
$transition-collapse: height .35s ease !default;
|
||||||
|
|
||||||
$embed-responsive-aspect-ratios: () !default;
|
$embed-responsive-aspect-ratios: () !default;
|
||||||
// stylelint-disable-next-line scss/dollar-variable-default
|
|
||||||
$embed-responsive-aspect-ratios: join(
|
$embed-responsive-aspect-ratios: join(
|
||||||
(
|
(
|
||||||
(21 9),
|
(21 9),
|
||||||
@@ -668,7 +662,6 @@ $form-feedback-icon-invalid-color: $form-feedback-invalid-color !default;
|
|||||||
$form-feedback-icon-invalid: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='#{$form-feedback-icon-invalid-color}' viewBox='0 0 12 12'><circle cx='6' cy='6' r='4.5'/><path stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/><circle cx='6' cy='8.2' r='.6' fill='#{$form-feedback-icon-invalid-color}' stroke='none'/></svg>") !default;
|
$form-feedback-icon-invalid: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='#{$form-feedback-icon-invalid-color}' viewBox='0 0 12 12'><circle cx='6' cy='6' r='4.5'/><path stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/><circle cx='6' cy='8.2' r='.6' fill='#{$form-feedback-icon-invalid-color}' stroke='none'/></svg>") !default;
|
||||||
|
|
||||||
$form-validation-states: () !default;
|
$form-validation-states: () !default;
|
||||||
// stylelint-disable-next-line scss/dollar-variable-default
|
|
||||||
$form-validation-states: map-merge(
|
$form-validation-states: map-merge(
|
||||||
(
|
(
|
||||||
"valid": (
|
"valid": (
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
// stylelint-disable scss/dollar-variable-default
|
|
||||||
|
|
||||||
// Local docs variables
|
// Local docs variables
|
||||||
$bd-purple: #563d7c;
|
$bd-purple: #563d7c;
|
||||||
$bd-purple-bright: lighten(saturate($bd-purple, 5%), 15%);
|
$bd-purple-bright: lighten(saturate($bd-purple, 5%), 15%);
|
||||||
|
Reference in New Issue
Block a user