Skip to content

Commit 2ccb549

Browse files
zalogXhmikosR
authored andcommitted
style: align some vars (#25785)
1 parent 817b80d commit 2ccb549

File tree

1 file changed

+38
-38
lines changed

1 file changed

+38
-38
lines changed

scss/_variables.scss

Lines changed: 38 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -88,11 +88,11 @@ $theme-colors: map-merge((
8888
$theme-color-interval: 8% !default;
8989

9090
// The yiq lightness value that determines when the lightness of color changes from "dark" to "light". Acceptable values are between 0 and 255.
91-
$yiq-contrasted-threshold: 150 !default;
91+
$yiq-contrasted-threshold: 150 !default;
9292

9393
// Customize the light and dark text colors for use in our YIQ color contrast function.
94-
$yiq-text-dark: $gray-900 !default;
95-
$yiq-text-light: $white !default;
94+
$yiq-text-dark: $gray-900 !default;
95+
$yiq-text-light: $white !default;
9696

9797
// Options
9898
//
@@ -456,7 +456,7 @@ $custom-control-indicator-bg-size: 50% 50% !default;
456456
$custom-control-indicator-box-shadow: inset 0 .25rem .25rem rgba($black, .1) !default;
457457

458458
$custom-control-indicator-disabled-bg: $gray-200 !default;
459-
$custom-control-label-disabled-color: $gray-600 !default;
459+
$custom-control-label-disabled-color: $gray-600 !default;
460460

461461
$custom-control-indicator-checked-color: $component-active-color !default;
462462
$custom-control-indicator-checked-bg: $component-active-bg !default;
@@ -472,16 +472,16 @@ $custom-control-indicator-active-box-shadow: none !default;
472472
$custom-checkbox-indicator-border-radius: $border-radius !default;
473473
$custom-checkbox-indicator-icon-checked: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='#{$custom-control-indicator-checked-color}' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3E%3C/svg%3E"), "#", "%23") !default;
474474

475-
$custom-checkbox-indicator-indeterminate-bg: $component-active-bg !default;
476-
$custom-checkbox-indicator-indeterminate-color: $custom-control-indicator-checked-color !default;
477-
$custom-checkbox-indicator-icon-indeterminate: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 4'%3E%3Cpath stroke='#{$custom-checkbox-indicator-indeterminate-color}' d='M0 2h4'/%3E%3C/svg%3E"), "#", "%23") !default;
478-
$custom-checkbox-indicator-indeterminate-box-shadow: none !default;
475+
$custom-checkbox-indicator-indeterminate-bg: $component-active-bg !default;
476+
$custom-checkbox-indicator-indeterminate-color: $custom-control-indicator-checked-color !default;
477+
$custom-checkbox-indicator-icon-indeterminate: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 4'%3E%3Cpath stroke='#{$custom-checkbox-indicator-indeterminate-color}' d='M0 2h4'/%3E%3C/svg%3E"), "#", "%23") !default;
478+
$custom-checkbox-indicator-indeterminate-box-shadow: none !default;
479479

480480
$custom-radio-indicator-border-radius: 50% !default;
481481
$custom-radio-indicator-icon-checked: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3E%3Ccircle r='3' fill='#{$custom-control-indicator-checked-color}'/%3E%3C/svg%3E"), "#", "%23") !default;
482482

483483
$custom-select-padding-y: .375rem !default;
484-
$custom-select-padding-x: .75rem !default;
484+
$custom-select-padding-x: .75rem !default;
485485
$custom-select-height: $input-height !default;
486486
$custom-select-indicator-padding: 1rem !default; // Extra padding to account for the presence of the background-image based indicator
487487
$custom-select-line-height: $input-btn-line-height !default;
@@ -701,19 +701,19 @@ $card-columns-margin: $card-spacer-y !default;
701701

702702
// Tooltips
703703

704-
$tooltip-font-size: $font-size-sm !default;
705-
$tooltip-max-width: 200px !default;
706-
$tooltip-color: $white !default;
707-
$tooltip-bg: $black !default;
708-
$tooltip-border-radius: $border-radius !default;
709-
$tooltip-opacity: .9 !default;
710-
$tooltip-padding-y: .25rem !default;
711-
$tooltip-padding-x: .5rem !default;
712-
$tooltip-margin: 0 !default;
704+
$tooltip-font-size: $font-size-sm !default;
705+
$tooltip-max-width: 200px !default;
706+
$tooltip-color: $white !default;
707+
$tooltip-bg: $black !default;
708+
$tooltip-border-radius: $border-radius !default;
709+
$tooltip-opacity: .9 !default;
710+
$tooltip-padding-y: .25rem !default;
711+
$tooltip-padding-x: .5rem !default;
712+
$tooltip-margin: 0 !default;
713713

714-
$tooltip-arrow-width: .8rem !default;
715-
$tooltip-arrow-height: .4rem !default;
716-
$tooltip-arrow-color: $tooltip-bg !default;
714+
$tooltip-arrow-width: .8rem !default;
715+
$tooltip-arrow-height: .4rem !default;
716+
$tooltip-arrow-color: $tooltip-bg !default;
717717

718718

719719
// Popovers
@@ -759,27 +759,27 @@ $badge-pill-border-radius: 10rem !default;
759759
// Modals
760760

761761
// Padding applied to the modal body
762-
$modal-inner-padding: 1rem !default;
762+
$modal-inner-padding: 1rem !default;
763763

764-
$modal-dialog-margin: .5rem !default;
765-
$modal-dialog-margin-y-sm-up: 1.75rem !default;
764+
$modal-dialog-margin: .5rem !default;
765+
$modal-dialog-margin-y-sm-up: 1.75rem !default;
766766

767767
$modal-title-line-height: $line-height-base !default;
768768

769-
$modal-content-bg: $white !default;
770-
$modal-content-border-color: rgba($black, .2) !default;
771-
$modal-content-border-width: $border-width !default;
772-
$modal-content-border-radius: $border-radius-lg !default;
773-
$modal-content-box-shadow-xs: 0 .25rem .5rem rgba($black, .5) !default;
774-
$modal-content-box-shadow-sm-up: 0 .5rem 1rem rgba($black, .5) !default;
775-
776-
$modal-backdrop-bg: $black !default;
777-
$modal-backdrop-opacity: .5 !default;
778-
$modal-header-border-color: $gray-200 !default;
779-
$modal-footer-border-color: $modal-header-border-color !default;
780-
$modal-header-border-width: $modal-content-border-width !default;
781-
$modal-footer-border-width: $modal-header-border-width !default;
782-
$modal-header-padding: 1rem !default;
769+
$modal-content-bg: $white !default;
770+
$modal-content-border-color: rgba($black, .2) !default;
771+
$modal-content-border-width: $border-width !default;
772+
$modal-content-border-radius: $border-radius-lg !default;
773+
$modal-content-box-shadow-xs: 0 .25rem .5rem rgba($black, .5) !default;
774+
$modal-content-box-shadow-sm-up: 0 .5rem 1rem rgba($black, .5) !default;
775+
776+
$modal-backdrop-bg: $black !default;
777+
$modal-backdrop-opacity: .5 !default;
778+
$modal-header-border-color: $gray-200 !default;
779+
$modal-footer-border-color: $modal-header-border-color !default;
780+
$modal-header-border-width: $modal-content-border-width !default;
781+
$modal-footer-border-width: $modal-header-border-width !default;
782+
$modal-header-padding: 1rem !default;
783783

784784
$modal-lg: 800px !default;
785785
$modal-md: 500px !default;

0 commit comments

Comments
 (0)