mirror of
https://github.com/danbulant/dribbblish-dynamic-theme
synced 2026-06-09 09:42:26 +00:00
fix alignment of color inputs
This commit is contained in:
parent
0794a51b56
commit
3278f1fbe0
1 changed files with 4 additions and 12 deletions
|
|
@ -172,19 +172,11 @@ input {
|
||||||
|
|
||||||
&[type="color"] {
|
&[type="color"] {
|
||||||
position: relative;
|
position: relative;
|
||||||
padding: 0px;
|
padding: 1px 3px;
|
||||||
|
|
||||||
&::before {
|
|
||||||
z-index: -1;
|
|
||||||
content: "";
|
|
||||||
position: absolute;
|
|
||||||
inset: -5px;
|
|
||||||
border-radius: 4px;
|
|
||||||
background-color: spiceColor("selected-row", 0.4);
|
background-color: spiceColor("selected-row", 0.4);
|
||||||
}
|
|
||||||
|
|
||||||
&:hover::before,
|
&:hover,
|
||||||
&:active::before {
|
&:active {
|
||||||
background-color: spiceColor("selected-row", 0.6);
|
background-color: spiceColor("selected-row", 0.6);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue