mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-06-23 21:22:04 -05:00
39 lines
847 B
CSS
39 lines
847 B
CSS
.rootCollapsed {
|
|
display: flex;
|
|
justify-content: center;
|
|
background-color: var(--color-bg-higher);
|
|
border-radius: 0 0 var(--radius-box) var(--radius-box);
|
|
padding: var(--s-2);
|
|
margin: var(--s-4) calc(-1 * var(--s-4)) calc(-1 * var(--s-6));
|
|
}
|
|
|
|
.root {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: var(--s-4);
|
|
background-color: var(--color-bg-higher);
|
|
border-radius: 0 0 var(--radius-box) var(--radius-box);
|
|
padding: var(--s-4);
|
|
margin: var(--s-4) calc(-1 * var(--s-4)) calc(-1 * var(--s-6));
|
|
container-type: inline-size;
|
|
position: relative;
|
|
|
|
&.standalone {
|
|
margin-block-start: calc(-1 * var(--s-6));
|
|
min-height: 200px;
|
|
justify-content: center;
|
|
}
|
|
}
|
|
|
|
.collapseButton {
|
|
position: absolute;
|
|
inset-block-start: var(--s-2);
|
|
inset-inline-end: var(--s-3);
|
|
|
|
& svg {
|
|
min-width: 22px;
|
|
max-width: 22px;
|
|
}
|
|
}
|