2016-09-21 10:26:28 +02:00
|
|
|
/* Autogrid object */
|
|
|
|
@media (min-width: ($tiny + 1)) {
|
|
|
|
[class^="autogrid"],
|
|
|
|
[class*=" autogrid"] {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
[class^="autogrid"] > *,
|
|
|
|
[class*=" autogrid"] > * {
|
|
|
|
flex: 1;
|
|
|
|
min-width: 0; /* avoid min-width:auto */
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Autogrid variants */
|
|
|
|
@media (min-width: ($tiny + 1)) {
|
|
|
|
.has-gutter > *:not(:first-child) {
|
|
|
|
margin-left: 1rem;
|
|
|
|
}
|
|
|
|
[class*="--reverse"] {
|
2016-09-27 16:10:21 +02:00
|
|
|
flex-direction: row-reverse;
|
2016-09-21 10:26:28 +02:00
|
|
|
}
|
|
|
|
}
|