widgets: expose stroke width (wip)
This commit is contained in:
parent
7fb857e670
commit
3041c4e9e3
15 changed files with 67 additions and 50 deletions
|
|
@ -2,7 +2,7 @@
|
|||
&:before {
|
||||
content:"";
|
||||
position: absolute;
|
||||
border: 1rem solid var(--color-stroke);
|
||||
border: var(--stroke-width) solid var(--color-stroke);
|
||||
opacity: var(--alpha-stroke);
|
||||
top: 0;
|
||||
left: 0;
|
||||
|
|
@ -20,10 +20,10 @@
|
|||
position: absolute;
|
||||
background: var(--color-fill);
|
||||
opacity: var(--alpha-fill);
|
||||
top: 1rem;
|
||||
left: 1rem;
|
||||
right: 1rem;
|
||||
bottom: 1rem;
|
||||
top: var(--stroke-width);
|
||||
left: var(--stroke-width);
|
||||
right: var(--stroke-width);
|
||||
bottom: var(--stroke-width);
|
||||
pointer-events: none;
|
||||
margin: var(--widget-padding);
|
||||
z-index: $z;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue