custom color picker

This commit is contained in:
bordun 2020-02-27 14:35:08 +01:00
parent c67c2b4c50
commit 7b8af3eeea
53 changed files with 988 additions and 519 deletions

View file

@ -13,8 +13,14 @@
height: 100rem;
contain: strict;
@supports not (contain: strict) {
transform: rotateZ(0); // force new stacking context
}
-webkit-tap-highlight-color:transparent;
// transform-origin: top left;
--widget-padding: 1rem;
--color-stroke:var(--color-widget);
@ -60,13 +66,16 @@
canvas {
flex: 1;
height: auto;
min-height: 0;
min-width: 0;
}
> inner {
overflow: hidden;
position: relative;
flex: 1;
border-radius: inherit;
}
&.no-interaction {