Spaces:
Running
Running
File size: 990 Bytes
43a8c52 dba142c ec8641c 43a8c52 dba142c 43a8c52 dba142c ec4dbff 92c791d ec4dbff 92c791d 43a8c52 |
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 40 41 42 43 44 45 46 47 48 49 50 51 |
/* Custom styles that can't be done with Tailwind */
#dropZone.drag-over {
border-color: #3b82f6;
background-color: #f0f7ff;
}
.poster-page {
position: relative;
overflow: hidden;
aspect-ratio: 1/1.4142; /* A4 aspect ratio */
background-color: white;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.poster-page img {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
}
.cutting-guide {
position: absolute;
background-color: rgba(255, 0, 0, 0.3);
z-index: 10;
}
.poster-page canvas {
border: 1px dashed rgba(0, 0, 255, 0.5);
}
@media print {
body * {
visibility: hidden;
}
#posterPages, #posterPages * {
visibility: visible;
}
#posterPages {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: auto;
}
.poster-page {
page-break-after: always;
margin: 0;
box-shadow: none;
}
} |