Adding some opacity and stroke width control.
This commit is contained in:
parent
ce562d34de
commit
65beb3509c
4 changed files with 1089 additions and 991 deletions
40
inventory/static/css/components/draw.css
Normal file
40
inventory/static/css/components/draw.css
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
.grid-widget .grid-wrap {
|
||||
width: 100%;
|
||||
height: 80vh;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.grid-widget [data-grid] {
|
||||
position: relative;
|
||||
cursor: crosshair;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
touch-action: none;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.grid-widget [data-toolbar]::-webkit-scrollbar {
|
||||
height: 8px;
|
||||
}
|
||||
|
||||
.grid-widget [data-coords] {
|
||||
bottom: 10px;
|
||||
pointer-events: none;
|
||||
left: 10px;
|
||||
}
|
||||
|
||||
.grid-widget [data-canvas] {
|
||||
z-index: 9999;
|
||||
pointer-events: none;
|
||||
inset: 0;
|
||||
}
|
||||
|
||||
.grid-widget [data-toolbar] {
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.grid-widget [data-dot] {
|
||||
transform: translate(-50%, -50%);
|
||||
z-index: 10000;
|
||||
pointer-events: none;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue