2013-12-07 20:52:51 -08:00
|
|
|
// Container widths
|
|
|
|
//
|
|
|
|
// Set the container width, and override it for fixed navbars in media queries.
|
|
|
|
|
2015-12-27 00:14:01 +01:00
|
|
|
@if $enable-grid-classes {
|
|
|
|
.container {
|
|
|
|
@include make-container();
|
|
|
|
@include make-container-max-widths();
|
|
|
|
}
|
2012-11-30 12:42:37 -08:00
|
|
|
}
|
2012-01-29 13:06:57 -08:00
|
|
|
|
2013-12-07 20:52:51 -08:00
|
|
|
// Fluid container
|
|
|
|
//
|
|
|
|
// Utilizes the mixin meant for fixed width containers, but without any defined
|
|
|
|
// width for fluid, full width layouts.
|
|
|
|
|
2015-12-27 00:14:01 +01:00
|
|
|
@if $enable-grid-classes {
|
|
|
|
.container-fluid {
|
|
|
|
@include make-container();
|
|
|
|
}
|
2013-12-07 20:52:51 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
// Row
|
|
|
|
//
|
|
|
|
// Rows contain and clear the floats of your columns.
|
|
|
|
|
2015-08-23 22:13:58 -07:00
|
|
|
@if $enable-grid-classes {
|
|
|
|
.row {
|
|
|
|
@include make-row();
|
|
|
|
}
|
2013-01-15 17:55:14 -08:00
|
|
|
}
|
2013-04-26 23:59:51 -07:00
|
|
|
|
2013-12-07 20:52:51 -08:00
|
|
|
|
|
|
|
// Columns
|
|
|
|
//
|
2013-04-26 23:59:51 -07:00
|
|
|
// Common styles for small and large grid columns
|
2013-12-07 20:52:51 -08:00
|
|
|
|
2015-08-23 22:13:58 -07:00
|
|
|
@if $enable-grid-classes {
|
2016-02-06 00:45:29 -08:00
|
|
|
.col {
|
|
|
|
position: relative;
|
|
|
|
min-height: 1px;
|
|
|
|
padding-right: ($grid-gutter-width / 2);
|
|
|
|
padding-left: ($grid-gutter-width / 2);
|
|
|
|
|
|
|
|
// Allow `.col` to use an automatic, even width when flex mode is enabled
|
|
|
|
@if $enable-flex {
|
|
|
|
flex: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-08-23 22:13:58 -07:00
|
|
|
@include make-grid-columns();
|
|
|
|
}
|