fix alignment of color inputs

This commit is contained in:
Send_Nukez 2021-12-01 06:07:59 +01:00
parent 0794a51b56
commit 3278f1fbe0

View file

@ -172,19 +172,11 @@ input {
&[type="color"] { &[type="color"] {
position: relative; position: relative;
padding: 0px; padding: 1px 3px;
background-color: spiceColor("selected-row", 0.4);
&::before { &:hover,
z-index: -1; &:active {
content: "";
position: absolute;
inset: -5px;
border-radius: 4px;
background-color: spiceColor("selected-row", 0.4);
}
&:hover::before,
&:active::before {
background-color: spiceColor("selected-row", 0.6); background-color: spiceColor("selected-row", 0.6);
} }
} }