mirror of
https://github.com/penpot/penpot.git
synced 2025-12-12 06:24:17 +01:00
💄 Fix minor style details on DS select ghost variant (#7707)
Some checks failed
Commit Message Check / Check Commit Message (push) Has been cancelled
Some checks failed
Commit Message Check / Check Commit Message (push) Has been cancelled
This commit is contained in:
@@ -58,14 +58,24 @@
|
||||
|
||||
.variant-ghost {
|
||||
--select-background-color: transparent;
|
||||
--select-text-color: var(--color-foreground-secondary);
|
||||
|
||||
inline-size: fit-content;
|
||||
padding-inline: var(--sp-xxs);
|
||||
|
||||
& .arrow {
|
||||
margin-inline-start: var(--sp-xs);
|
||||
}
|
||||
|
||||
&:is(:hover, [aria-expanded="true"]) {
|
||||
--select-text-color: var(--color-foreground-primary);
|
||||
--select-icon-color: var(--color-foreground-primary);
|
||||
}
|
||||
|
||||
&:is(:focus-visible, :disabled) {
|
||||
--select-background-color: transparent;
|
||||
--select-text-color: var(--color-foreground-primary);
|
||||
--select-icon-color: var(--color-foreground-primary);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user