2013-12-07 23:52:51 -05:00
|
|
|
// Container widths
|
|
|
|
//
|
|
|
|
// Set the container width, and override it for fixed navbars in media queries.
|
|
|
|
|
2012-11-30 15:42:37 -05:00
|
|
|
.container {
|
2014-12-02 17:02:35 -05:00
|
|
|
@include make-container();
|
2015-08-27 01:56:46 -04:00
|
|
|
@include make-container-max-widths();
|
2013-11-28 17:22:31 -05:00
|
|
|
|
2012-11-30 15:42:37 -05:00
|
|
|
}
|
2012-01-29 16:06:57 -05:00
|
|
|
|
2013-12-07 23:52:51 -05:00
|
|
|
|
|
|
|
// Fluid container
|
|
|
|
//
|
|
|
|
// Utilizes the mixin meant for fixed width containers, but without any defined
|
|
|
|
// width for fluid, full width layouts.
|
|
|
|
|
|
|
|
.container-fluid {
|
2014-12-02 17:02:35 -05:00
|
|
|
@include make-container();
|
2013-12-07 23:52:51 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Row
|
|
|
|
//
|
|
|
|
// Rows contain and clear the floats of your columns.
|
|
|
|
|
2015-08-24 01:13:58 -04:00
|
|
|
@if $enable-grid-classes {
|
|
|
|
.row {
|
|
|
|
@include make-row();
|
|
|
|
}
|
2013-01-15 20:55:14 -05:00
|
|
|
}
|
2013-04-27 02:59:51 -04:00
|
|
|
|
2013-12-07 23:52:51 -05:00
|
|
|
|
|
|
|
// Columns
|
|
|
|
//
|
2013-04-27 02:59:51 -04:00
|
|
|
// Common styles for small and large grid columns
|
2013-12-07 23:52:51 -05:00
|
|
|
|
2015-08-24 01:13:58 -04:00
|
|
|
@if $enable-grid-classes {
|
|
|
|
@include make-grid-columns();
|
|
|
|
}
|
2013-01-15 20:55:14 -05:00
|
|
|
|
2015-04-27 17:11:07 -04:00
|
|
|
|
|
|
|
// Flex variation
|
|
|
|
//
|
|
|
|
// Custom styles for additional flex alignment options.
|
|
|
|
|
2015-08-24 01:13:58 -04:00
|
|
|
@if $enable-flex and $enable-grid-classes {
|
2015-04-27 17:11:07 -04:00
|
|
|
|
|
|
|
// Flex column reordering
|
|
|
|
|
2015-10-23 15:05:12 -04:00
|
|
|
@each $breakpoint in map-keys($grid-breakpoints) {
|
|
|
|
@include media-breakpoint-up($breakpoint) {
|
|
|
|
.col-#{$breakpoint}-first { order: -1; }
|
|
|
|
.col-#{$breakpoint}-last { order: 1; }
|
|
|
|
}
|
2015-04-27 04:43:14 -04:00
|
|
|
}
|
2015-04-27 17:11:07 -04:00
|
|
|
|
|
|
|
// Alignment for every column in row
|
|
|
|
|
2015-10-23 15:05:12 -04:00
|
|
|
@each $breakpoint in map-keys($grid-breakpoints) {
|
|
|
|
@include media-breakpoint-up($breakpoint) {
|
|
|
|
.row-#{$breakpoint}-top { align-items: flex-start; }
|
|
|
|
.row-#{$breakpoint}-center { align-items: center; }
|
|
|
|
.row-#{$breakpoint}-bottom { align-items: flex-end; }
|
|
|
|
}
|
2015-04-27 17:11:07 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
// Alignment per column
|
|
|
|
|
2015-10-23 15:05:12 -04:00
|
|
|
@each $breakpoint in map-keys($grid-breakpoints) {
|
|
|
|
@include media-breakpoint-up($breakpoint) {
|
|
|
|
.col-#{$breakpoint}-top { align-self: flex-start; }
|
|
|
|
.col-#{$breakpoint}-center { align-self: center; }
|
|
|
|
.col-#{$breakpoint}-bottom { align-self: flex-end; }
|
|
|
|
}
|
2015-04-27 17:11:07 -04:00
|
|
|
}
|
|
|
|
|
2015-05-27 18:49:55 -04:00
|
|
|
}
|