]>
Commit | Line | Data |
---|---|---|
4d1bf0ab JW |
1 | // Foundation for Sites |
2 | // https://get.foundation | |
fb511a60 BM |
3 | // Licensed under MIT Open Source |
4 | ||
5 | //// | |
c514fb4b | 6 | /// @group xy-grid |
fb511a60 BM |
7 | //// |
8 | ||
c514fb4b | 9 | /// Enables the XY grid. |
fb511a60 | 10 | /// @type Boolean |
c514fb4b | 11 | $xy-grid: true !default; |
fb511a60 BM |
12 | |
13 | /// The maximum width of a grid container. | |
14 | /// @type Number | |
15 | $grid-container: $global-width !default; | |
16 | ||
17 | /// The number of columns used in the grid. | |
18 | /// @type Number | |
19 | $grid-columns: 12 !default; | |
20 | ||
21 | /// The amount of margin between cells at different screen sizes when using the margin grid. To use just one size, set the variable to a number instead of a map. | |
22 | /// @type Map | Length | |
23 | $grid-margin-gutters: ( | |
e6ed962a JW |
24 | "small": 20px, |
25 | "medium": 30px | |
fb511a60 BM |
26 | ) !default; |
27 | ||
28 | /// The amount of padding in cells at different screen sizes when using the padding grid. To use just one size, set the variable to a number instead of a map. | |
29 | /// @type Map | Length | |
30 | $grid-padding-gutters: $grid-margin-gutters !default; | |
31 | ||
586ea7ca KB |
32 | /// The amount of padding to use when padding the grid-container. |
33 | /// @type Map | Length | |
864f4690 | 34 | $grid-container-padding: $grid-padding-gutters !default; |
586ea7ca | 35 | |
fbf64ee9 | 36 | /// The maximum width to apply to a grid container |
586ea7ca | 37 | /// @type Number |
864f4690 KB |
38 | $grid-container-max: $global-width !default; |
39 | ||
fbf64ee9 | 40 | /// The maximum number of cells in an XY block grid. |
53981ba2 | 41 | /// @type Number |
fbf64ee9 | 42 | $xy-block-grid-max: 8 !default; |
53981ba2 | 43 | |
fb511a60 BM |
44 | @import 'gutters'; |
45 | @import 'grid'; | |
46 | @import 'cell'; | |
aa50ffa7 | 47 | @import 'frame'; |
fb511a60 | 48 | @import 'position'; |
bd9bb550 | 49 | @import 'layout'; |
fb511a60 BM |
50 | @import 'collapse'; |
51 | @import 'classes'; |