feat: implement finish dialog with unanswered question detection and submit functionality

This commit is contained in:
Ross
2026-06-29 12:37:20 +01:00
parent 873d05e7cd
commit f74aba0e9c
3 changed files with 127 additions and 9 deletions
+65
View File
@@ -563,6 +563,71 @@ img {
text-align: center;
}
/* Finish dialog styling */
.finish-header {
display: flex;
justify-content: center;
padding-top: 6vh;
pointer-events: none;
}
.login-risr-box {
display: inline-block;
}
.login-risr-logo {
height: 64px;
width: auto;
user-drag: none;
}
.finish-dialog {
display: inline-block;
background-color: #1b1b1b;
color: #fff;
margin: 3vh auto;
padding: 1.6rem;
border-radius: 8px;
max-width: 520px;
box-shadow: 0 8px 24px rgba(0,0,0,0.6);
text-align: left;
}
.logout-title {
font-size: 1.4rem;
font-weight: 700;
margin-bottom: 0.8rem;
}
.logout-error.info {
background-color: #e3f2fd;
color: #0d47a1;
border: 1px solid rgba(13,71,161,0.15);
padding: 0.8rem;
border-radius: 4px;
margin-bottom: 0.8rem;
}
.logout-text {
margin-bottom: 0.8rem;
color: #ddd;
}
.logout-buttons {
display: flex;
gap: 0.6rem;
justify-content: flex-end;
}
.logout-button {
padding: 0.6rem 1rem;
border-radius: 4px;
border: none;
cursor: pointer;
font-weight: 600;
}
.logout-button.danger {
background: #b71c1c;
color: white;
}
.logout-button.primary {
background: #1976d2;
color: white;
}
.dialog {
/*display: inline-block;*/
display: none;