3
// Set the container width, and override it for fixed navbars in media queries.
5
@if $enable-grid-classes {
6
// Single container class with breakpoint max-widths
8
// 100% wide container at all breakpoints
10
@include make-container();
13
// Responsive containers that are 100% wide until a breakpoint
14
@each $breakpoint, $container-max-width in $container-max-widths {
15
.container-#{$breakpoint} {
16
@extend .container-fluid;
19
@include media-breakpoint-up($breakpoint, $grid-breakpoints) {
20
%responsive-container-#{$breakpoint} {
21
max-width: $container-max-width;
24
// Extend each breakpoint which is smaller or equal to the current breakpoint
25
$extend-breakpoint: true;
27
@each $name, $width in $grid-breakpoints {
28
@if ($extend-breakpoint) {
29
.container#{breakpoint-infix($name, $grid-breakpoints)} {
30
@extend %responsive-container-#{$breakpoint};
33
// Once the current breakpoint is reached, stop extending
34
@if ($breakpoint == $name) {
35
$extend-breakpoint: false;
46
// Rows contain your columns.
48
@if $enable-grid-classes {
53
// Remove the negative margin from default .row, then the horizontal padding
54
// from all immediate children columns (to prevent runaway style inheritance).
69
// Common styles for small and large grid columns
71
@if $enable-grid-classes {
72
@include make-grid-columns();