File size: 1,582 Bytes
77374e1 7961ffa 77374e1 7961ffa 77374e1 7961ffa 77374e1 7961ffa 77374e1 7961ffa 77374e1 7961ffa 25df395 77374e1 | 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 52 53 54 55 56 57 58 59 60 61 62 | /* Base styles */
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
overscroll-behavior: none;
}
#drawingCanvas {
cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><circle cx="8" cy="8" r="4" fill="black"/></svg>') 8 8, auto;
}
#drawingCanvas.eraser {
cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><rect x="8" y="8" width="16" height="16" fill="white" stroke="black" stroke-width="1"/></svg>') 8 8, auto;
}
.tool-btn.active {
background-color: #3b82f6 !important;
color: white !important;
}
/* Mobile specific styles */
@media (max-width: 768px) {
#cameraControls {
padding-bottom: env(safe-area-inset-bottom);
}
button {
touch-action: manipulation;
}
}
/* Loading state */
#loadingOverlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.7);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
color: white;
z-index: 1000;
}
/* Processing screen animations */
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
#processingIndicator:after {
content: "";
display: inline-block;
width: 40px;
height: 40px;
border: 4px solid rgba(255, 255, 255, 0.3);
border-radius: 50%;
border-top-color: white;
animation: spin 1s ease-in-out infinite;
margin-left: 10px;
} |