canvas widget: pretty much working
This commit is contained in:
parent
df101eac0e
commit
3a872f6920
7 changed files with 213 additions and 38 deletions
|
|
@ -1,6 +1,7 @@
|
|||
.xy-container,
|
||||
.multixy-container,
|
||||
.rgb-container {
|
||||
.rgb-container,
|
||||
.canvas-container {
|
||||
width: 200rem;
|
||||
height: 200rem;
|
||||
}
|
||||
|
|
@ -125,3 +126,26 @@
|
|||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
.canvas-container {
|
||||
|
||||
--alpha-fill-off: 0.05;
|
||||
--alpha-fill: var(--alpha-fill-off);
|
||||
--widget-padding: 0rem;
|
||||
|
||||
inner {
|
||||
position: relative;
|
||||
flex: 1;
|
||||
display: flex;
|
||||
|
||||
@include pseudo-fill($z: -1);
|
||||
@include pseudo-stroke();
|
||||
}
|
||||
|
||||
canvas {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue