Interview module is refactored to use layouts and re-usable components along with domain components. Style remains identitical to previous design.
20 lines
1.4 KiB
PHP
20 lines
1.4 KiB
PHP
<div id="drawing-modal" class="fixed top-[70px] right-[360px] w-[550px] h-[420px] bg-slate-900 border-2 border-cyan-500 rounded-2xl shadow-2xl hidden flex-col z-50 overflow-hidden">
|
|
<div class="bg-slate-800 px-4 py-2.5 flex justify-between items-center border-b border-white/10">
|
|
<div class="font-bold text-xs text-white flex items-center gap-1.5">
|
|
<span>🎨</span>
|
|
<span>Candidate Live Drawing Board</span>
|
|
</div>
|
|
<div class="flex items-center gap-2">
|
|
<input type="color" id="draw-color" value="#38bdf8" class="w-6 h-6 border-none rounded-full cursor-pointer bg-transparent">
|
|
<button type="button" onclick="clearCanvasDraw()" class="px-2 py-0.5 text-[11px] font-semibold bg-white/10 hover:bg-white/20 text-white rounded border border-white/10 cursor-pointer transition-colors">Clear</button>
|
|
<button type="button" onclick="toggleDrawingModal()" class="bg-transparent border-none text-slate-400 hover:text-white text-lg cursor-pointer leading-none">×</button>
|
|
</div>
|
|
</div>
|
|
<div class="flex-1 bg-[#050811] relative">
|
|
<canvas id="drawing-canvas" width="550" height="340" class="cursor-crosshair block w-full h-full"></canvas>
|
|
</div>
|
|
<div class="px-3 py-1.5 bg-slate-900 text-[10.5px] text-cyan-400 text-right border-t border-white/5 font-medium">
|
|
🎨 Draw architecture / logic diagrams (Auto-synced to Interviewer)
|
|
</div>
|
|
</div>
|