fenkod2001's picture
mobile.html:10 Uncaught ReferenceError: onOpenCvReady is not defined
25df395 verified
Raw History Blame Contribute Delete
1.58 kB
/* 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;
}