Spaces:
Running
Running
File size: 804 Bytes
f2bee8a |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 |
@import "../../css/units.css";
@import "../../css/colors.css";
@import "../../css/z-index.css";
.drag-layer {
position: fixed;
pointer-events: none;
z-index: $z-index-drag-layer;
left: 0;
top: 0;
width: 100%;
height: 100%;
direction: ltr;
}
.image-wrapper {
/* Absolute allows wrapper to snuggly fit image */
position: absolute;
}
.image {
max-width: 80px;
max-height: 80px;
min-width: 50px;
min-height: 50px;
/* Center the dragging image on the given position */
margin-left: -50%;
margin-top: -50%;
padding: 0.25rem;
border: 2px solid $motion-primary;
background: $ui-white;
border-radius: 0.5rem;
/* Use the same drop shadow as stage dragging */
box-shadow: 5px 5px 5px $ui-black-transparent-default;
}
|