mirror of
https://github.com/danbulant/dribbblish-dynamic-theme
synced 2026-05-20 20:59:07 +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"] {
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue