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"] {
position: relative;
padding: 0px;
padding: 1px 3px;
background-color: spiceColor("selected-row", 0.4);
&::before {
z-index: -1;
content: "";
position: absolute;
inset: -5px;
border-radius: 4px;
background-color: spiceColor("selected-row", 0.4);
}
&:hover::before,
&:active::before {
&:hover,
&:active {
background-color: spiceColor("selected-row", 0.6);
}
}