mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-24 20:36:40 +07:00
47 lines
633 B
SCSS
47 lines
633 B
SCSS
.group {
|
|
display: flex;
|
|
flex: 1;
|
|
|
|
> :global(.group_filler) {
|
|
flex: 1;
|
|
}
|
|
|
|
&.vertical {
|
|
flex-direction: column;
|
|
|
|
& > * {
|
|
margin: $gap/2 0;
|
|
|
|
&:first-child { margin-top: 0; }
|
|
&:last-child { margin-bottom: 0; }
|
|
}
|
|
}
|
|
|
|
&.horizontal {
|
|
flex-direction: row;
|
|
align-items: center;
|
|
|
|
&.top {
|
|
align-items: flex-start;
|
|
}
|
|
|
|
&.bottom {
|
|
align-items: flex-end;
|
|
}
|
|
|
|
& > * {
|
|
margin: 0 $gap / 2;
|
|
|
|
&:first-child { margin-left: 0; }
|
|
&:last-child { margin-right: 0; }
|
|
}
|
|
}
|
|
|
|
&.wrap {
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
&.seamless > * {
|
|
margin: 0;
|
|
}
|
|
}
|