customer-portal/src/features/shell/top.module.css
chris b509508ee6
All checks were successful
Test action / Print hello world (push) Successful in 6m22s
too lazy to think of a message, so enjoy this pointless text. Good luck future me...
2025-09-23 11:13:23 +00:00

37 lines
788 B
CSS
Executable file

.top {
grid-area: 1 / 1 / 2 / 3;
display: block grid;
grid-auto-flow: column;
justify-content: end;
z-index: 1;
background-color: inherit;
padding: 0.5em;
}
.accountTrigger {
anchor-name: --account-trigger;
background: transparent;
padding: 0;
margin: 0;
border-radius: var(--radius-round);
}
.accountMenu {
position-anchor: --account-trigger;
position: absolute;
inset: auto;
inset-inline-end: anchor(end);
inset-block-start: anchor(start);
display: block grid;
grid-auto-flow: row;
gap: var(--size-3);
padding: var(--size-3);
background-color: light-dark(var(--gray-1), var(--gray-9));
border-radius: var(--radius-2);
box-shadow: var(--shadow-2);
&:not(:popover-open) {
display: none;
}
}