Back to home page

EIC code displayed by LXR

 
 

    


Warning, /iDDS/monitor/data/scss/bootstrap/_containers.scss is written in an unsupported language. File is not indexed.

0001 // Container widths
0002 //
0003 // Set the container width, and override it for fixed navbars in media queries.
0004 
0005 @if $enable-grid-classes {
0006   // Single container class with breakpoint max-widths
0007   .container,
0008   // 100% wide container at all breakpoints
0009   .container-fluid {
0010     @include make-container();
0011   }
0012 
0013   // Responsive containers that are 100% wide until a breakpoint
0014   @each $breakpoint, $container-max-width in $container-max-widths {
0015     .container-#{$breakpoint} {
0016       @extend .container-fluid;
0017     }
0018 
0019     @include media-breakpoint-up($breakpoint, $grid-breakpoints) {
0020       %responsive-container-#{$breakpoint} {
0021         max-width: $container-max-width;
0022       }
0023 
0024       // Extend each breakpoint which is smaller or equal to the current breakpoint
0025       $extend-breakpoint: true;
0026 
0027       @each $name, $width in $grid-breakpoints {
0028         @if ($extend-breakpoint) {
0029           .container#{breakpoint-infix($name, $grid-breakpoints)} {
0030             @extend %responsive-container-#{$breakpoint};
0031           }
0032 
0033           // Once the current breakpoint is reached, stop extending
0034           @if ($breakpoint == $name) {
0035             $extend-breakpoint: false;
0036           }
0037         }
0038       }
0039     }
0040   }
0041 }