Публичный опрос: детальный просмотр результатов и правка вёрстки входа
- quiz-public.js/html: детальный разбор ответов после прохождения с отметками верно/неверно, баллами, правильными вариантами и текстом ответа; новые CSS-классы .qp-result-* и переменные --qp-* - index.html: имя и группа в одной строке (.fields-row), убран padding у .photo-card, перевод строки в конце файла
This commit is contained in:
+15
-11
@@ -18,7 +18,7 @@ h1{font-size:1.5rem;font-weight:600;margin-bottom:8px;letter-spacing:-.02em;text
|
||||
@media(max-width:760px){.form{grid-template-columns:1fr;max-width:480px}}
|
||||
|
||||
.photo-col{display:flex;flex-direction:column;gap:16px}
|
||||
.photo-card{border-radius:var(--radius);padding:24px;display:flex;flex-direction:column;gap:16px;align-items:center}
|
||||
.photo-card{border-radius:var(--radius);padding:0px;display:flex;flex-direction:column;gap:16px;align-items:center}
|
||||
.photo-btns{display:flex;flex-direction:column;gap:12px;width:100%}
|
||||
.photo-btns button{width:100%;border-radius:var(--radius);padding:14px 16px;font-size:.95rem;font-weight:600;cursor:pointer;border:1px solid var(--border);background:var(--card);color:var(--text);transition:border .15s,background .15s}
|
||||
.photo-btns button:hover{border-color:var(--accent)}
|
||||
@@ -52,6 +52,8 @@ h1{font-size:1.5rem;font-weight:600;margin-bottom:8px;letter-spacing:-.02em;text
|
||||
.remove-photo.show{display:block}
|
||||
|
||||
.fields-col{display:flex;flex-direction:column;gap:20px}
|
||||
.fields-row{display:grid;grid-template-columns:1fr 1fr;gap:20px}
|
||||
@media(max-width:520px){.fields-row{grid-template-columns:1fr}}
|
||||
.field{display:flex;flex-direction:column;gap:6px}
|
||||
label{font-size:.8rem;font-weight:500;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}
|
||||
input,select,textarea{background:var(--card);border:1px solid var(--border);color:var(--text);border-radius:var(--radius);padding:14px 16px;font-size:.95rem;outline:none;transition:border .15s}
|
||||
@@ -159,16 +161,18 @@ nav a:hover{color:var(--text)}
|
||||
</div>
|
||||
|
||||
<div class="fields-col">
|
||||
<div class="field" id="nameField">
|
||||
<label>Фамилия и имя</label>
|
||||
<input type="text" id="nameInput" placeholder="Например, Иванов Иван" required autocomplete="off">
|
||||
</div>
|
||||
<div class="fields-row">
|
||||
<div class="field" id="nameField">
|
||||
<label>Фамилия и имя</label>
|
||||
<input type="text" id="nameInput" placeholder="Например, Иванов Иван" required autocomplete="off">
|
||||
</div>
|
||||
|
||||
<div class="field">
|
||||
<label>Группа</label>
|
||||
<select id="groupInput" required>
|
||||
<option value="" disabled selected>Выбери группу</option>
|
||||
</select>
|
||||
<div class="field">
|
||||
<label>Группа</label>
|
||||
<select id="groupInput" required>
|
||||
<option value="" disabled selected>Выбери группу</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="field" id="moduleField" style="display:none">
|
||||
@@ -231,4 +235,4 @@ nav a:hover{color:var(--text)}
|
||||
<script src="js/datetime.js"></script>
|
||||
<script src="js/index.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user