2023-11-23 17:07:49 +01:00
|
|
|
.flex {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
.flex__row {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
}
|
|
|
|
|
|
|
|
.flex__column {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
.flex__row--centered {
|
2024-04-30 12:16:09 +02:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
2023-11-23 17:07:49 +01:00
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.flex__column--centered {
|
2024-04-30 12:16:09 +02:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2023-11-23 17:07:49 +01:00
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.flex--centered {
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.flex--center-distributed {
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.flex--no-wrap {
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.flex--wrap {
|
|
|
|
flex-wrap: wrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.flex__right {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
.flex__grow {
|
|
|
|
flex: 1 0 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.flex__shrink {
|
|
|
|
flex: 0 1 auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.flex__fixed {
|
|
|
|
flex: 0 0 auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.flex--column {
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
.flex--spaced-out {
|
|
|
|
justify-content: space-between;
|
|
|
|
}
|
|
|
|
|
|
|
|
.flex--start-bunched {
|
|
|
|
justify-content: flex-start;
|
|
|
|
}
|
|
|
|
|
|
|
|
.flex--end-bunched {
|
|
|
|
justify-content: flex-end;
|
|
|
|
}
|
|
|
|
|
|
|
|
.flex__spacer {
|
|
|
|
flex: 1 0 auto;
|
|
|
|
}
|
|
|
|
|
2024-04-30 12:16:09 +02:00
|
|
|
@mixin if-desktop {
|
2023-11-23 17:07:49 +01:00
|
|
|
.flex--maybe-wrap {
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-04-30 12:16:09 +02:00
|
|
|
@mixin if-mobile {
|
2023-11-23 17:07:49 +01:00
|
|
|
.flex--maybe-wrap {
|
|
|
|
flex-wrap: wrap;
|
|
|
|
}
|
|
|
|
}
|