@@ -300,7 +300,7 @@ $h4-font-size: $font-size-base * 1.5 !default;
300300$h5-font-size : $font-size-base * 1.25 !default ;
301301$h6-font-size : $font-size-base !default ;
302302
303- $headings-margin-bottom : $spacer / 2 !default ;
303+ $headings-margin-bottom : math . div ( $spacer , 2 ) !default ;
304304$headings-font-family : inherit !default ;
305305$headings-font-weight : 500 !default ;
306306$headings-line-height : 1.2 !default ;
@@ -556,7 +556,7 @@ $custom-radio-indicator-border-radius: 50% !default;
556556$custom-radio-indicator-icon-checked : str-replace (url (" data:image/svg+xml,%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 ;
557557
558558$custom-switch-width : $custom-control-indicator-size * 1.75 !default ;
559- $custom-switch-indicator-border-radius : $custom-control-indicator-size / 2 !default ;
559+ $custom-switch-indicator-border-radius : math . div ( $custom-control-indicator-size , 2 ) !default ;
560560$custom-switch-indicator-size : calc (#{$custom-control-indicator-size } - #{$custom-control-indicator-border-width * 4 } ) !default ;
561561
562562$custom-select-padding-y : $input-btn-padding-y !default ;
@@ -574,9 +574,9 @@ $custom-select-indicator-color: $gray-800 !default;
574574$custom-select-indicator : str-replace (url (" data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3e%3cpath fill='#{$custom-select-indicator-color } ' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e" ), " #" , " %23" ) !default ;
575575$custom-select-background : $custom-select-indicator no-repeat right $custom-select-padding-x center / $custom-select-bg-size !default ; // Used so we can have multiple background elements (e.g., arrow and feedback icon)
576576
577- $custom-select-feedback-icon-padding-right : $input-height-inner * 3 / 4 + $custom-select-padding-x + $custom-select-indicator-padding !default ;
577+ $custom-select-feedback-icon-padding-right : math . div ( $input-height-inner * 3 , 4 ) + $custom-select-padding-x + $custom-select-indicator-padding !default ;
578578$custom-select-feedback-icon-position : center right ($custom-select-padding-x + $custom-select-indicator-padding ) !default ;
579- $custom-select-feedback-icon-size : ($input-height-inner / 2 ) ($input-height-inner / 2 ) !default ;
579+ $custom-select-feedback-icon-size : math . div ($input-height-inner , 2 ) math . div ($input-height-inner , 2 ) !default ;
580580
581581$custom-select-border-width : $input-border-width !default ;
582582$custom-select-border-color : $input-border-color !default ;
@@ -714,12 +714,12 @@ $nav-pills-link-active-color: $component-active-color !default;
714714$nav-pills-link-active-bg : $component-active-bg !default ;
715715
716716$nav-divider-color : $gray-200 !default ;
717- $nav-divider-margin-y : $spacer / 2 !default ;
717+ $nav-divider-margin-y : math . div ( $spacer , 2 ) !default ;
718718
719719
720720// Navbar
721721
722- $navbar-padding-y : $spacer / 2 !default ;
722+ $navbar-padding-y : math . div ( $spacer , 2 ) !default ;
723723$navbar-padding-x : $spacer !default ;
724724
725725$navbar-nav-link-padding-x : .5rem !default ;
@@ -728,7 +728,7 @@ $navbar-brand-font-size: $font-size-lg !default;
728728// Compute the navbar-brand padding-y so the navbar-brand will have the same height as navbar-text and nav-link
729729$nav-link-height : $font-size-base * $line-height-base + $nav-link-padding-y * 2 !default ;
730730$navbar-brand-height : $navbar-brand-font-size * $line-height-base !default ;
731- $navbar-brand-padding-y : ($nav-link-height - $navbar-brand-height ) / 2 !default ;
731+ $navbar-brand-padding-y : math . div ($nav-link-height - $navbar-brand-height , 2 ) !default ;
732732
733733$navbar-toggler-padding-y : .25rem !default ;
734734$navbar-toggler-padding-x : .75rem !default ;
@@ -806,7 +806,7 @@ $card-bg: $white !default;
806806
807807$card-img-overlay-padding : 1.25rem !default ;
808808
809- $card-group-margin : $grid-gutter-width / 2 !default ;
809+ $card-group-margin : math . div ( $grid-gutter-width , 2 ) !default ;
810810$card-deck-margin : $card-group-margin !default ;
811811
812812$card-columns-count : 3 !default ;
0 commit comments