| 1 |
@import "../utilities/mixins" |
| 2 |
|
| 3 |
$container-offset: (2 * $gap) !default |
| 4 |
$container-max-width: $fullhd !default |
| 5 |
|
| 6 |
.container |
| 7 |
flex-grow: 1 |
| 8 |
margin: 0 auto |
| 9 |
position: relative |
| 10 |
width: auto |
| 11 |
&.is-fluid |
| 12 |
max-width: none !important |
| 13 |
padding-left: $gap |
| 14 |
padding-right: $gap |
| 15 |
width: 100% |
| 16 |
+desktop |
| 17 |
max-width: $desktop - $container-offset |
| 18 |
+until-widescreen |
| 19 |
&.is-widescreen:not(.is-max-desktop) |
| 20 |
max-width: min($widescreen, $container-max-width) - $container-offset |
| 21 |
+until-fullhd |
| 22 |
&.is-fullhd:not(.is-max-desktop):not(.is-max-widescreen) |
| 23 |
max-width: min($fullhd, $container-max-width) - $container-offset |
| 24 |
+widescreen |
| 25 |
&:not(.is-max-desktop) |
| 26 |
max-width: min($widescreen, $container-max-width) - $container-offset |
| 27 |
+fullhd |
| 28 |
&:not(.is-max-desktop):not(.is-max-widescreen) |
| 29 |
max-width: min($fullhd, $container-max-width) - $container-offset |