main
Last change
on this file was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago |
Update repo after prototype presentation
|
-
Property mode
set to
100644
|
File size:
683 bytes
|
Line | |
---|
1 | // Row
|
---|
2 | //
|
---|
3 | // Rows contain your columns.
|
---|
4 |
|
---|
5 | :root {
|
---|
6 | @each $name, $value in $grid-breakpoints {
|
---|
7 | --#{$prefix}breakpoint-#{$name}: #{$value};
|
---|
8 | }
|
---|
9 | }
|
---|
10 |
|
---|
11 | @if $enable-grid-classes {
|
---|
12 | .row {
|
---|
13 | @include make-row();
|
---|
14 |
|
---|
15 | > * {
|
---|
16 | @include make-col-ready();
|
---|
17 | }
|
---|
18 | }
|
---|
19 | }
|
---|
20 |
|
---|
21 | @if $enable-cssgrid {
|
---|
22 | .grid {
|
---|
23 | display: grid;
|
---|
24 | grid-template-rows: repeat(var(--#{$prefix}rows, 1), 1fr);
|
---|
25 | grid-template-columns: repeat(var(--#{$prefix}columns, #{$grid-columns}), 1fr);
|
---|
26 | gap: var(--#{$prefix}gap, #{$grid-gutter-width});
|
---|
27 |
|
---|
28 | @include make-cssgrid();
|
---|
29 | }
|
---|
30 | }
|
---|
31 |
|
---|
32 |
|
---|
33 | // Columns
|
---|
34 | //
|
---|
35 | // Common styles for small and large grid columns
|
---|
36 |
|
---|
37 | @if $enable-grid-classes {
|
---|
38 | @include make-grid-columns();
|
---|
39 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.