Show user-visible error when no camera is available.

This commit is contained in:
Martijn Braam
2024-04-13 01:53:42 +02:00
parent b615d23de1
commit 421c4afdfa
3 changed files with 91 additions and 18 deletions

View File

@@ -1,8 +1,3 @@
.errorbox {
background: #dd0000;
color: #ffffff;
}
.controlbox {
background: rgba(0, 0, 0, 0.2);
}
@@ -12,6 +7,11 @@
background-color: rgba(0, 0, 0, 0.2);
}
.error-overlay {
opacity: 0.9;
background-color: rgba(255, 0, 0, 0.2);
}
.flash {
background-color: #ffffff;
}