led: simplify
This commit is contained in:
parent
94864ac551
commit
95e7ad0382
1 changed files with 2 additions and 0 deletions
|
|
@ -8,12 +8,14 @@
|
|||
flex:1;
|
||||
background: var(--color-track);
|
||||
border:1rem solid var(--color-bg);
|
||||
border-radius: inherit;
|
||||
--opacity: 0;
|
||||
&:after {
|
||||
content:"";
|
||||
width:100%;
|
||||
height: 100%;
|
||||
background: var(--color-custom);
|
||||
border-radius: inherit;
|
||||
opacity: var(--opacity);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue