Implement final design for collection editor account dropdown menu (#38767)

This commit is contained in:
diondiondion authored and GitHub committed 2026-04-21 14:12:44 +00:00
1 parent 57c5d1c8dd
commit a706fce678
7 files changed
+121 -55

No files matched your search

@@ -26,7 +26,6 @@
z-index: 9999;
box-sizing: border-box;
max-height: min(320px, 50dvh);
padding: 4px;
border-radius: 4px;
color: var(--color-text-primary);
background: var(--color-bg-primary);
@@ -38,22 +37,18 @@
overscroll-behavior-y: contain;
}
.groupLabel {
padding-block: 12px 4px;
padding-inline: 12px;
.groupTitle {
padding: 8px 16px 4px;
font-size: 13px;
font-weight: bold;
text-transform: uppercase;
ul:first-child > & {
padding-top: 4px;
}
}
.menuItem {
display: flex;
align-items: center;
padding: 8px 12px;
margin-inline: 4px;
gap: 12px;
font-size: 14px;
line-height: 20px;
@@ -62,6 +57,14 @@
cursor: pointer;
user-select: none;
&:first-child {
margin-top: 4px;
}
&:last-child {
margin-bottom: 4px;
}
&[data-highlighted='true'] {
background: var(--color-bg-overlay-highlight);
}