fixed shadow preview, added more safeguards for spread on separateInset shadows

This commit is contained in:
Henry Jameson 2024-09-16 00:03:40 +03:00
commit a0c303efb6
7 changed files with 56 additions and 47 deletions

View file

@ -27,11 +27,6 @@
label.Select {
padding: 0;
&.disabled,
&:disabled {
background-color: var(--background);
}
select {
appearance: none;
background: transparent;
@ -52,7 +47,7 @@ label.Select {
padding: 0.2em;
option {
background: transparent;
background-color: transparent;
&.-active {
color: var(--selectionText);
@ -62,6 +57,22 @@ label.Select {
}
}
&.disabled,
&:disabled {
background-color: var(--background);
opacity: 1; /* override browser */
select {
&[multiple],
&[size] {
option.-active {
color: var(--text);
background: transparent;
}
}
}
}
.select-down-icon {
position: absolute;
top: 0;