mirror of
https://github.com/jeffvli/feishin.git
synced 2026-08-08 13:23:16 +02:00
fix input clearable button styles
This commit is contained in:
@@ -17,6 +17,10 @@
|
||||
color: var(--theme-colors-foreground);
|
||||
background: var(--theme-colors-background);
|
||||
}
|
||||
|
||||
&.clearable {
|
||||
padding-right: 4rem;
|
||||
}
|
||||
}
|
||||
|
||||
.input:focus,
|
||||
@@ -63,3 +67,20 @@
|
||||
font-size: var(--theme-font-size-xs);
|
||||
color: var(--theme-colors-foreground-muted);
|
||||
}
|
||||
|
||||
.clear-button {
|
||||
color: var(--theme-colors-foreground) !important;
|
||||
background: transparent !important;
|
||||
|
||||
&:hover,
|
||||
&:active,
|
||||
&:focus-visible {
|
||||
@mixin dark {
|
||||
background-color: lighten(var(--theme-colors-background), 10%) !important;
|
||||
}
|
||||
|
||||
@mixin light {
|
||||
background-color: darken(var(--theme-colors-background), 5%) !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user