2013-12-07 23:52:51 -05:00
|
|
|
// Row
|
|
|
|
//
|
2019-07-27 02:30:39 -04:00
|
|
|
// Rows contain your columns.
|
2013-12-07 23:52:51 -05:00
|
|
|
|
2015-08-24 01:13:58 -04:00
|
|
|
@if $enable-grid-classes {
|
|
|
|
.row {
|
|
|
|
@include make-row();
|
2019-09-28 10:13:36 -04:00
|
|
|
|
|
|
|
> * {
|
|
|
|
@include make-col-ready();
|
|
|
|
}
|
2015-08-24 01:13:58 -04:00
|
|
|
}
|
2019-09-28 10:13:36 -04:00
|
|
|
}
|
|
|
|
|
2021-06-22 22:51:16 -04:00
|
|
|
@if $enable-cssgrid {
|
|
|
|
.grid {
|
|
|
|
display: grid;
|
|
|
|
grid-template-rows: repeat(var(--#{$variable-prefix}rows, 1), 1fr);
|
|
|
|
grid-template-columns: repeat(var(--#{$variable-prefix}columns, #{$grid-columns}), 1fr);
|
|
|
|
gap: var(--#{$variable-prefix}gap, #{$grid-gutter-width});
|
|
|
|
|
|
|
|
@include make-cssgrid();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
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();
|
|
|
|
}
|