Loading assets/scss/_card.scss +7 −5 Original line number Diff line number Diff line @use 'sass:math'; // // Base styles // Loading Loading @@ -43,7 +45,7 @@ } .card-subtitle { margin-top: -($card-spacer-y / 2); margin-top: -1 * math.div($card-spacer-y, 2); margin-bottom: 0; } Loading Loading @@ -98,15 +100,15 @@ // .card-header-tabs { margin-right: -($card-spacer-x / 2); margin-right: -1 * math.div($card-spacer-x, 2); margin-bottom: -$card-spacer-y; margin-left: -($card-spacer-x / 2); margin-left: -1 * math.div($card-spacer-x, 2); border-bottom: 0; } .card-header-pills { margin-right: -($card-spacer-x / 2); margin-left: -($card-spacer-x / 2); margin-right: -1 * math.div($card-spacer-x, 2); margin-left: -1 * math.div($card-spacer-x, 2); } // Card image Loading assets/scss/_carousel.scss +4 −2 Original line number Diff line number Diff line @use 'sass:math'; // Wrapper for the slide container and indicators .carousel { position: relative; Loading Loading @@ -180,9 +182,9 @@ .carousel-caption { position: absolute; right: ((100% - $carousel-caption-width) / 2); right: math.div((100% - $carousel-caption-width), 2); bottom: 20px; left: ((100% - $carousel-caption-width) / 2); left: math.div((100% - $carousel-caption-width), 2); z-index: 10; padding-top: 20px; padding-bottom: 20px; Loading assets/scss/_component-examples.scss +5 −3 Original line number Diff line number Diff line @use 'sass:math'; // stylelint-disable no-duplicate-selectors, selector-no-qualifying-type // Loading Loading @@ -117,7 +119,7 @@ .bd-example { position: relative; padding: 1rem; margin: 1rem (-$grid-gutter-width / 2); margin: 1rem math.div(-$grid-gutter-width, 2); overflow: auto; border: solid #f7f7f9; border-width: .2rem 0 0; Loading Loading @@ -414,8 +416,8 @@ } .bd-content .highlight { margin-right: (-$grid-gutter-width / 2); margin-left: (-$grid-gutter-width / 2); margin-right: math.div(-$grid-gutter-width, 2); margin-left: math.div(-$grid-gutter-width, 2); @include media-breakpoint-up(sm) { margin-right: 0; Loading assets/scss/_custom-forms.scss +3 −1 Original line number Diff line number Diff line @use 'sass:math'; // Embedded icons from Open Iconic. // Released under MIT and copyright 2014 Waybury. // https://useiconic.com/open Loading Loading @@ -54,7 +56,7 @@ .custom-control-indicator { position: absolute; top: (($line-height-base - $custom-control-indicator-size) / 2); top: math.div(($line-height-base - $custom-control-indicator-size), 2); left: 0; display: block; width: $custom-control-indicator-size; Loading assets/scss/_functions.scss +3 −1 Original line number Diff line number Diff line @use 'sass:math'; // Bootstrap functions // // Utility mixins and functions for evalutating source code across our variables, maps, and mixins. Loading Loading @@ -54,7 +56,7 @@ $g: green($color); $b: blue($color); $yiq: (($r * 299) + ($g * 587) + ($b * 114)) / 1000; $yiq: math.div((($r * 299) + ($g * 587) + ($b * 114)), 1000); @if ($yiq >= 150) { @return #111; Loading Loading
assets/scss/_card.scss +7 −5 Original line number Diff line number Diff line @use 'sass:math'; // // Base styles // Loading Loading @@ -43,7 +45,7 @@ } .card-subtitle { margin-top: -($card-spacer-y / 2); margin-top: -1 * math.div($card-spacer-y, 2); margin-bottom: 0; } Loading Loading @@ -98,15 +100,15 @@ // .card-header-tabs { margin-right: -($card-spacer-x / 2); margin-right: -1 * math.div($card-spacer-x, 2); margin-bottom: -$card-spacer-y; margin-left: -($card-spacer-x / 2); margin-left: -1 * math.div($card-spacer-x, 2); border-bottom: 0; } .card-header-pills { margin-right: -($card-spacer-x / 2); margin-left: -($card-spacer-x / 2); margin-right: -1 * math.div($card-spacer-x, 2); margin-left: -1 * math.div($card-spacer-x, 2); } // Card image Loading
assets/scss/_carousel.scss +4 −2 Original line number Diff line number Diff line @use 'sass:math'; // Wrapper for the slide container and indicators .carousel { position: relative; Loading Loading @@ -180,9 +182,9 @@ .carousel-caption { position: absolute; right: ((100% - $carousel-caption-width) / 2); right: math.div((100% - $carousel-caption-width), 2); bottom: 20px; left: ((100% - $carousel-caption-width) / 2); left: math.div((100% - $carousel-caption-width), 2); z-index: 10; padding-top: 20px; padding-bottom: 20px; Loading
assets/scss/_component-examples.scss +5 −3 Original line number Diff line number Diff line @use 'sass:math'; // stylelint-disable no-duplicate-selectors, selector-no-qualifying-type // Loading Loading @@ -117,7 +119,7 @@ .bd-example { position: relative; padding: 1rem; margin: 1rem (-$grid-gutter-width / 2); margin: 1rem math.div(-$grid-gutter-width, 2); overflow: auto; border: solid #f7f7f9; border-width: .2rem 0 0; Loading Loading @@ -414,8 +416,8 @@ } .bd-content .highlight { margin-right: (-$grid-gutter-width / 2); margin-left: (-$grid-gutter-width / 2); margin-right: math.div(-$grid-gutter-width, 2); margin-left: math.div(-$grid-gutter-width, 2); @include media-breakpoint-up(sm) { margin-right: 0; Loading
assets/scss/_custom-forms.scss +3 −1 Original line number Diff line number Diff line @use 'sass:math'; // Embedded icons from Open Iconic. // Released under MIT and copyright 2014 Waybury. // https://useiconic.com/open Loading Loading @@ -54,7 +56,7 @@ .custom-control-indicator { position: absolute; top: (($line-height-base - $custom-control-indicator-size) / 2); top: math.div(($line-height-base - $custom-control-indicator-size), 2); left: 0; display: block; width: $custom-control-indicator-size; Loading
assets/scss/_functions.scss +3 −1 Original line number Diff line number Diff line @use 'sass:math'; // Bootstrap functions // // Utility mixins and functions for evalutating source code across our variables, maps, and mixins. Loading Loading @@ -54,7 +56,7 @@ $g: green($color); $b: blue($color); $yiq: (($r * 299) + ($g * 587) + ($b * 114)) / 1000; $yiq: math.div((($r * 299) + ($g * 587) + ($b * 114)), 1000); @if ($yiq >= 150) { @return #111; Loading