Ulangan Matematika Kelas IV - Sistem Pemantauan
⏰ 120:00
📊 Pemantauan Ujian
Status:
Aktif
Wajah terdeteksi:
Mencari...
Peringatan:
0
📹 Sistem pemantauan dimulai
⚠️ PERINGATAN PEMANTAUAN
Wajah tidak terdeteksi! Pastikan Anda berada di depan kamera.
🎉 Ujian Selesai!
0/30
📝 Catatan Essay: Jawaban essay Anda telah tersimpan dan akan dinilai secara manual.
body {
box-sizing: border-box;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
margin: 0;
padding: 20px;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
min-height: 100%;
}
html {
height: 100%;
}
.container {
max-width: 1200px;
margin: 0 auto;
background: white;
border-radius: 20px;
box-shadow: 0 20px 40px rgba(0,0,0,0.1);
overflow: hidden;
}
.header {
background: linear-gradient(45deg, #ff6b6b, #ffa726);
color: white;
padding: 30px;
text-align: center;
position: relative;
}
.header h1 {
margin: 0;
font-size: 2.5rem;
font-weight: bold;
}
.header p {
margin: 10px 0 0 0;
font-size: 1.1rem;
opacity: 0.9;
}
.monitoring-panel {
position: fixed;
top: 20px;
right: 20px;
width: 250px;
background: white;
border-radius: 15px;
box-shadow: 0 10px 30px rgba(0,0,0,0.2);
z-index: 1000;
overflow: hidden;
}
.camera-container {
position: relative;
background: #000;
}
#cameraFeed {
width: 100%;
height: 150px;
object-fit: cover;
}
.camera-status {
position: absolute;
top: 10px;
left: 10px;
background: rgba(0,0,0,0.7);
color: white;
padding: 5px 10px;
border-radius: 15px;
font-size: 0.8rem;
}
.status-active {
background: rgba(76, 175, 80, 0.8);
}
.status-warning {
background: rgba(255, 152, 0, 0.8);
}
.status-error {
background: rgba(244, 67, 54, 0.8);
}
.monitoring-info {
padding: 15px;
}
.monitoring-info h4 {
margin: 0 0 10px 0;
color: #333;
font-size: 1rem;
}
.info-item {
display: flex;
justify-content: space-between;
margin-bottom: 8px;
font-size: 0.9rem;
}
.warning-panel {
background: #fff3cd;
border: 1px solid #ffeaa7;
border-radius: 10px;
padding: 15px;
margin: 20px;
display: none;
}
.warning-panel.show {
display: block;
animation: shake 0.5s ease-in-out;
}
@keyframes shake {
0%, 100% { transform: translateX(0); }
25% { transform: translateX(-5px); }
75% { transform: translateX(5px); }
}
.quiz-container {
padding: 30px;
display: grid;
grid-template-columns: 1fr;
gap: 20px;
}
.section-header {
background: linear-gradient(45deg, #4CAF50, #45a049);
color: white;
padding: 20px;
border-radius: 15px;
text-align: center;
margin-bottom: 20px;
}
.question-card {
background: #f8f9fa;
border-radius: 15px;
padding: 25px;
margin-bottom: 20px;
border-left: 5px solid #4CAF50;
transition: all 0.3s ease;
}
.question-card:hover {
box-shadow: 0 5px 15px rgba(0,0,0,0.1);
transform: translateY(-2px);
}
.question-number {
color: #666;
font-weight: bold;
margin-bottom: 15px;
font-size: 1.1rem;
}
.question-text {
font-size: 1.2rem;
font-weight: 600;
color: #333;
margin-bottom: 20px;
line-height: 1.5;
}
.options {
display: grid;
gap: 12px;
}
.option {
background: white;
border: 2px solid #e0e0e0;
border-radius: 10px;
padding: 15px 20px;
cursor: pointer;
transition: all 0.3s ease;
font-size: 1.1rem;
}
.option:hover {
border-color: #4CAF50;
background: #f0f8f0;
transform: translateY(-2px);
}
.option input[type="radio"] {
margin-right: 10px;
}
.essay-section {
background: #e3f2fd;
border-radius: 15px;
padding: 30px;
margin-top: 40px;
}
.essay-question {
background: white;
border-radius: 10px;
padding: 20px;
margin-bottom: 20px;
border-left: 5px solid #2196F3;
}
.essay-textarea {
width: 100%;
min-height: 120px;
padding: 15px;
border: 2px solid #e0e0e0;
border-radius: 10px;
font-size: 1rem;
font-family: inherit;
resize: vertical;
margin-top: 10px;
}
.essay-textarea:focus {
outline: none;
border-color: #2196F3;
box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
}
.timer {
position: fixed;
top: 20px;
left: 20px;
background: white;
padding: 15px 20px;
border-radius: 15px;
box-shadow: 0 5px 15px rgba(0,0,0,0.2);
font-size: 1.2rem;
font-weight: bold;
color: #333;
z-index: 1000;
}
.timer.warning {
background: #fff3cd;
color: #856404;
}
.timer.danger {
background: #f8d7da;
color: #721c24;
animation: pulse 1s infinite;
}
@keyframes pulse {
0%, 100% { transform: scale(1); }
50% { transform: scale(1.05); }
}
.submit-section {
background: #f8f9fa;
padding: 30px;
text-align: center;
border-top: 3px solid #4CAF50;
margin-top: 40px;
}
.btn {
background: linear-gradient(45deg, #4CAF50, #45a049);
color: white;
border: none;
padding: 15px 30px;
border-radius: 25px;
cursor: pointer;
font-size: 1.1rem;
font-weight: 600;
transition: all 0.3s ease;
}
.btn:hover {
transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}
.btn-danger {
background: linear-gradient(45deg, #f44336, #d32f2f);
}
.btn-danger:hover {
box-shadow: 0 5px 15px rgba(244, 67, 54, 0.3);
}
.results {
display: none;
text-align: center;
padding: 40px;
}
.results.show {
display: block;
animation: fadeIn 0.5s ease-out;
}
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
.final-score {
font-size: 3rem;
font-weight: bold;
color: #4CAF50;
margin: 20px 0;
}
.activity-log {
background: #f8f9fa;
border-radius: 10px;
padding: 15px;
margin-top: 15px;
max-height: 200px;
overflow-y: auto;
}
.log-entry {
font-size: 0.8rem;
color: #666;
margin-bottom: 5px;
padding: 5px;
border-left: 3px solid #ddd;
padding-left: 10px;
}
.log-warning {
border-left-color: #ff9800;
background: #fff3e0;
}
.log-error {
border-left-color: #f44336;
background: #ffebee;
}
/* Desktop Layout - Default */
.desktop-layout {
display: block;
}
.mobile-layout {
display: none;
}
/* Mobile Layout */
@media (max-width: 768px) {
.desktop-layout {
display: none;
}
.mobile-layout {
display: block;
}
.monitoring-panel {
position: relative;
width: 100%;
margin-bottom: 20px;
order: 1;
}
.timer {
position: relative;
margin-bottom: 20px;
width: 100%;
text-align: center;
order: 2;
}
.container {
order: 3;
}
body {
padding: 10px;
}
.header h1 {
font-size: 1.8rem;
}
.quiz-container {
padding: 20px;
}
.question-card {
padding: 20px;
}
.question-text {
font-size: 1.1rem;
}
.option {
padding: 12px 15px;
font-size: 1rem;
}
.essay-textarea {
min-height: 100px;
}
.btn {
padding: 12px 25px;
font-size: 1rem;
margin: 5px;
display: block;
width: 100%;
}
.submit-section {
padding: 20px;
}
.final-score {
font-size: 2.5rem;
}
}
/* Tablet Layout */
@media (min-width: 769px) and (max-width: 1024px) {
.monitoring-panel {
width: 220px;
}
.timer {
font-size: 1.1rem;
padding: 12px 18px;
}
.header h1 {
font-size: 2.2rem;
}
}
/* Large Desktop Layout */
@media (min-width: 1400px) {
.container {
max-width: 1400px;
}
.monitoring-panel {
width: 280px;
}
.quiz-container {
padding: 40px;
}
}
⏰ 120:00
📊 Pemantauan Ujian
Status:
Aktif
Wajah terdeteksi:
Mencari...
Peringatan:
0
📹 Sistem pemantauan dimulai
⚠️ PERINGATAN PEMANTAUAN
Wajah tidak terdeteksi! Pastikan Anda berada di depan kamera.
🎉 Ujian Selesai!
0/30
📝 Catatan Essay: Jawaban essay Anda telah tersimpan dan akan dinilai secara manual.