pads: add multi-xy widget
This commit is contained in:
parent
057836082c
commit
bb8666cb82
4 changed files with 202 additions and 8 deletions
|
|
@ -1,3 +1,12 @@
|
|||
.xy-container, .rgb-container {
|
||||
width:200rem;
|
||||
height:250rem;
|
||||
flex-shrink: 0;
|
||||
display: flex;
|
||||
.label {
|
||||
flex-shrink: 0;
|
||||
}
|
||||
}
|
||||
.pad {
|
||||
height:100%;
|
||||
width: 100%;
|
||||
|
|
@ -86,12 +95,34 @@
|
|||
}
|
||||
}
|
||||
|
||||
.xy-container, .rgb-container {
|
||||
width:200rem;
|
||||
height:250rem;
|
||||
flex-shrink: 0;
|
||||
display: flex;
|
||||
.label {
|
||||
flex-shrink: 0;
|
||||
|
||||
.multixy-container {
|
||||
> .pad {
|
||||
> .wrapper {
|
||||
> .pad {
|
||||
position: absolute;
|
||||
width:100%;
|
||||
height:100%;
|
||||
pointer-events: none;
|
||||
.wrapper {
|
||||
background: transparent;
|
||||
}
|
||||
.row {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
> .handle {
|
||||
position: absolute;
|
||||
left:0;
|
||||
bottom:0;
|
||||
width:24rem;
|
||||
height: 24rem;
|
||||
margin:0 0 -12rem -12rem;
|
||||
text-align: center;
|
||||
line-height: 24rem;
|
||||
border-radius: 24rem;
|
||||
cursor: -webkit-grab;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue