Redesign B3 bordeaux + finish lab-page rework
- Lab page is now read-only with a settings screen for levels/variants; variant issuance moved to a large modal on the group page (assign-fragment). - Header: bordeaux logo and 2px accent underline, bordeaux login/logout/theme buttons; smaller radii across the UI; filled secondary/danger buttons. - Includes prior agent work (login backoff, no-cache pages, API timeouts, content tweaks) and fixes (variant usage Map.values, import order). - Bump static asset version to v=9.
This commit is contained in:
267
design/style-a-university.html
Normal file
267
design/style-a-university.html
Normal file
@@ -0,0 +1,267 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="ru">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>LMS — демо стиля А: университетская классика</title>
|
||||
<!-- Если нет интернета, сработают запасные шрифты: Georgia и системный гротеск -->
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link href="https://fonts.googleapis.com/css2?family=PT+Serif:wght@400;700&family=PT+Sans:wght@400;700&display=swap" rel="stylesheet">
|
||||
<style>
|
||||
:root {
|
||||
--bg: #f5f3ee;
|
||||
--surface: #fdfcf9;
|
||||
--text: #21201c;
|
||||
--muted: #6f6a5e;
|
||||
--border: #ddd7c9;
|
||||
--border-strong: #b9b2a0;
|
||||
--accent: #1e5138;
|
||||
--accent-hover: #173f2c;
|
||||
--accent-soft: #e8efe9;
|
||||
--danger: #8f2d3c;
|
||||
--ok: #1e5138;
|
||||
--warn: #8a5a12;
|
||||
}
|
||||
* { box-sizing: border-box; }
|
||||
body {
|
||||
margin: 0; background: var(--bg); color: var(--text);
|
||||
font: 15px/1.5 "PT Sans", "Segoe UI", system-ui, sans-serif;
|
||||
}
|
||||
.demo-note {
|
||||
background: #2c2a24; color: #f0ece2; text-align: center;
|
||||
font-size: 12.5px; padding: 6px 12px; letter-spacing: .04em;
|
||||
}
|
||||
/* ── Шапка ─────────────────────────────────────────────── */
|
||||
.page-header {
|
||||
background: var(--surface); border-bottom: 2px solid var(--accent);
|
||||
}
|
||||
.header-inner {
|
||||
max-width: 1180px; margin: 0 auto; padding: 14px 24px;
|
||||
display: flex; align-items: center; gap: 24px;
|
||||
}
|
||||
.logo {
|
||||
font-family: "PT Serif", Georgia, serif; font-size: 22px; font-weight: 700;
|
||||
color: var(--accent); text-decoration: none; letter-spacing: .02em;
|
||||
}
|
||||
.nav { display: flex; gap: 18px; flex: 1; }
|
||||
.nav a { color: var(--muted); text-decoration: none; font-size: 14px; padding-bottom: 2px; }
|
||||
.nav a.active { color: var(--text); border-bottom: 2px solid var(--accent); }
|
||||
.nav a:hover { color: var(--text); }
|
||||
.user { display: flex; align-items: center; gap: 12px; font-size: 14px; }
|
||||
/* ── Основная часть ────────────────────────────────────── */
|
||||
.page-main { max-width: 1180px; margin: 0 auto; padding: 28px 24px 48px; }
|
||||
.kicker {
|
||||
margin: 0 0 4px; font-size: 11px; font-weight: 700; letter-spacing: .12em;
|
||||
text-transform: uppercase; color: var(--muted);
|
||||
}
|
||||
h1 {
|
||||
margin: 0 0 6px; font-family: "PT Serif", Georgia, serif;
|
||||
font-size: 30px; font-weight: 700; line-height: 1.2;
|
||||
}
|
||||
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
|
||||
.meta { margin: 0; color: var(--muted); font-size: 13.5px; }
|
||||
.actions { display: flex; gap: 10px; }
|
||||
.toolbar { display: flex; gap: 10px; margin-bottom: 14px; }
|
||||
/* ── Таблица-ведомость ─────────────────────────────────── */
|
||||
.matrix-wrap { background: var(--surface); border: 1px solid var(--border); }
|
||||
table.matrix { width: 100%; border-collapse: collapse; }
|
||||
.matrix th {
|
||||
padding: 10px 14px; text-align: left;
|
||||
font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
|
||||
color: var(--muted); border-bottom: 1px solid var(--border-strong);
|
||||
}
|
||||
.matrix td { padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
|
||||
.matrix tbody tr:last-child td { border-bottom: none; }
|
||||
.matrix tbody tr:hover { background: #f6f3ec; }
|
||||
.sticky { min-width: 190px; }
|
||||
.student-name { font-weight: 700; }
|
||||
.student-no { color: var(--muted); font-size: 12.5px; font-variant-numeric: tabular-nums; }
|
||||
.lab-no { display: block; color: var(--text); }
|
||||
.lab-title { display: block; font-weight: 400; text-transform: none; letter-spacing: 0; font-size: 12px; }
|
||||
.cell-main { display: flex; align-items: baseline; gap: 10px; }
|
||||
.variant { font-family: "PT Serif", Georgia, serif; font-weight: 700; }
|
||||
.score { font-variant-numeric: tabular-nums; font-weight: 700; }
|
||||
.score.muted { color: var(--muted); font-weight: 400; }
|
||||
.cell-sub { margin-top: 4px; display: flex; gap: 12px; font-size: 12.5px; color: var(--muted); }
|
||||
.sub-link { color: var(--muted); text-decoration: none; border-bottom: 1px dotted var(--border-strong); }
|
||||
.sub-link:hover { color: var(--text); }
|
||||
.st { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
|
||||
.st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--border-strong); }
|
||||
.st.done { color: var(--ok); } .st.done::before { background: var(--ok); }
|
||||
.st.active { color: var(--warn); } .st.active::before { background: var(--warn); }
|
||||
.st.code { color: var(--muted); }
|
||||
.eye { cursor: default; font-size: 13px; color: var(--border-strong); }
|
||||
.eye.on { color: var(--accent); }
|
||||
.ta-r { text-align: right; }
|
||||
/* ── Кнопки, бейджи, поля ──────────────────────────────── */
|
||||
.btn {
|
||||
display: inline-block; padding: 7px 14px; font: inherit; font-size: 13.5px;
|
||||
border: 1px solid var(--border-strong); background: var(--surface);
|
||||
color: var(--text); border-radius: 3px; cursor: pointer; text-decoration: none;
|
||||
}
|
||||
.btn:hover { border-color: var(--text); }
|
||||
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fdfcf9; }
|
||||
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
|
||||
.btn-danger { background: transparent; border-color: var(--danger); color: var(--danger); }
|
||||
.btn-danger:hover { background: var(--danger); color: #fdfcf9; }
|
||||
.btn-sm { padding: 4px 9px; font-size: 12.5px; }
|
||||
.input {
|
||||
padding: 7px 10px; font: inherit; font-size: 13.5px; color: var(--text);
|
||||
background: var(--surface); border: 1px solid var(--border-strong); border-radius: 3px;
|
||||
}
|
||||
.input:focus { outline: 2px solid var(--accent-soft); border-color: var(--accent); }
|
||||
.badge {
|
||||
display: inline-block; padding: 2px 8px; font-size: 11px; font-weight: 700;
|
||||
letter-spacing: .06em; text-transform: uppercase;
|
||||
border: 1px solid currentColor; border-radius: 2px;
|
||||
}
|
||||
.badge.warn { color: var(--warn); background: #f7f1e3; }
|
||||
.badge.ok { color: var(--ok); background: var(--accent-soft); }
|
||||
.notice { border: 1px solid var(--border-strong); border-left: 3px solid var(--accent); background: var(--surface); padding: 10px 14px; font-size: 13.5px; }
|
||||
/* ── Секция элементов ──────────────────────────────────── */
|
||||
.components { margin-top: 36px; border-top: 2px solid var(--border-strong); padding-top: 18px; }
|
||||
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 12px 0; }
|
||||
.page-footer { text-align: center; color: var(--muted); font-size: 12px; padding: 20px; border-top: 1px solid var(--border); }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="demo-note">Демо-шаблон «А. Университетская классика» · данные условные · тёмная тема будет в реализации</div>
|
||||
|
||||
<header class="page-header">
|
||||
<div class="header-inner">
|
||||
<a class="logo" href="#">LMS</a>
|
||||
<nav class="nav">
|
||||
<a href="#" class="active">Группы</a>
|
||||
<a href="#">Пользователи</a>
|
||||
<a href="#">Лабораторные</a>
|
||||
</nav>
|
||||
<div class="user">
|
||||
<span>Копнин В.</span>
|
||||
<button class="btn btn-sm">Выйти</button>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<main class="page-main">
|
||||
<div class="page-head">
|
||||
<div>
|
||||
<p class="kicker">Ведомость группы</p>
|
||||
<h1>М202-1 · Первый курс</h1>
|
||||
<p class="meta">24 студента · 3 опубликованные лабораторные · длительность защиты 30 мин</p>
|
||||
</div>
|
||||
<div class="actions">
|
||||
<button class="btn">Скачать пароли</button>
|
||||
<button class="btn btn-primary">+ Студент</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="toolbar">
|
||||
<input class="input" style="width:260px" placeholder="Поиск по студенту…">
|
||||
<select class="input"><option>все лабораторные</option><option>ЛР 1</option><option>ЛР 2</option></select>
|
||||
</div>
|
||||
|
||||
<div class="matrix-wrap">
|
||||
<table class="matrix">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="sticky">Студент</th>
|
||||
<th><span class="lab-no">ЛР 1</span><span class="lab-title">Анализ данных</span></th>
|
||||
<th><span class="lab-no">ЛР 2</span><span class="lab-title">Сортировки</span></th>
|
||||
<th><span class="lab-no">ЛР 3</span><span class="lab-title">Деревья поиска</span></th>
|
||||
<th>Пароль</th>
|
||||
<th class="ta-r">Действия</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="sticky"><div class="student-name">Иванова Анна</div><div class="student-no">2025001</div></td>
|
||||
<td>
|
||||
<div class="cell-main"><span class="variant">В-7</span><span class="score">4.5</span><span class="eye on">◉</span></div>
|
||||
<div class="cell-sub"><a class="sub-link" href="#">сдача ↓ 2</a><span class="st done">защита: готов</span></div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="cell-main"><span class="variant">В-2</span><span class="score">3.0</span><span class="eye on">◉</span></div>
|
||||
<div class="cell-sub"><a class="sub-link" href="#">сдача ↓ 1</a><span class="st code">защита: код 552314</span></div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="cell-main"><span class="score muted">—</span></div>
|
||||
<div class="cell-sub"><span class="st">не выдан</span></div>
|
||||
</td>
|
||||
<td><span class="badge warn">временный</span></td>
|
||||
<td class="ta-r"><button class="btn btn-sm">Сбросить</button> <button class="btn btn-sm btn-danger">Отчислить</button></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="sticky"><div class="student-name">Петров Павел</div><div class="student-no">2025002</div></td>
|
||||
<td>
|
||||
<div class="cell-main"><span class="variant">В-1</span><span class="score">5.0</span><span class="eye on">◉</span></div>
|
||||
<div class="cell-sub"><a class="sub-link" href="#">сдача ↓ 3</a><span class="st done">защита: готов</span></div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="cell-main"><span class="variant">В-4</span><span class="score muted">—</span><span class="eye on">◉</span></div>
|
||||
<div class="cell-sub"><a class="sub-link" href="#">сдача ↓ 1</a><span class="st active">защита: идёт · 12:34</span></div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="cell-main"><span class="variant">В-3</span><span class="score muted">—</span><span class="eye">○</span></div>
|
||||
<div class="cell-sub"><span class="st">не сдано</span></div>
|
||||
</td>
|
||||
<td><span class="badge ok">изменён</span></td>
|
||||
<td class="ta-r"><button class="btn btn-sm">Сбросить</button> <button class="btn btn-sm btn-danger">Отчислить</button></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="sticky"><div class="student-name">Сидоров Алексей</div><div class="student-no">2025017</div></td>
|
||||
<td>
|
||||
<div class="cell-main"><span class="variant">В-5</span><span class="score muted">—</span><span class="eye on">◉</span></div>
|
||||
<div class="cell-sub"><span class="st">не сдано</span></div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="cell-main"><span class="score muted">—</span></div>
|
||||
<div class="cell-sub"><span class="st">не выдан</span></div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="cell-main"><span class="score muted">—</span></div>
|
||||
<div class="cell-sub"><span class="st">не выдан</span></div>
|
||||
</td>
|
||||
<td><span class="badge warn">временный</span></td>
|
||||
<td class="ta-r"><button class="btn btn-sm">Сбросить</button> <button class="btn btn-sm btn-danger">Отчислить</button></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="sticky"><div class="student-name">Кузнецова Мария</div><div class="student-no">2025021</div></td>
|
||||
<td>
|
||||
<div class="cell-main"><span class="variant">В-3</span><span class="score">4.0</span><span class="eye">○</span></div>
|
||||
<div class="cell-sub"><a class="sub-link" href="#">сдача ↓ 1</a><span class="st done">защита: готов</span></div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="cell-main"><span class="variant">В-6</span><span class="score muted">—</span><span class="eye">○</span></div>
|
||||
<div class="cell-sub"><a class="sub-link" href="#">сдача ↓ 1</a><span class="st active">защита: идёт · 03:07</span></div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="cell-main"><span class="score muted">—</span></div>
|
||||
<div class="cell-sub"><span class="st">не выдан</span></div>
|
||||
</td>
|
||||
<td><span class="badge ok">изменён</span></td>
|
||||
<td class="ta-r"><button class="btn btn-sm">Сбросить</button> <button class="btn btn-sm btn-danger">Отчислить</button></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<section class="components">
|
||||
<p class="kicker">Элементы интерфейса</p>
|
||||
<div class="row">
|
||||
<button class="btn btn-primary">Сохранить всё</button>
|
||||
<button class="btn">Отмена</button>
|
||||
<button class="btn btn-danger">Удалить</button>
|
||||
<span class="badge ok">published</span>
|
||||
<span class="badge warn">draft</span>
|
||||
</div>
|
||||
<div class="row">
|
||||
<input class="input" style="width:220px" value="Поле ввода">
|
||||
<input class="input" style="width:120px" value="552314">
|
||||
</div>
|
||||
<div class="notice">Оценки опубликованы всей группе — студенты видят баллы и комментарии.</div>
|
||||
</section>
|
||||
</main>
|
||||
|
||||
<footer class="page-footer">LMS · демо-шаблон · стиль А</footer>
|
||||
</body>
|
||||
</html>
|
||||
254
design/style-b-minimal.html
Normal file
254
design/style-b-minimal.html
Normal file
@@ -0,0 +1,254 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="ru">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>LMS — демо стиля Б: строгий минимализм</title>
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
|
||||
<style>
|
||||
:root {
|
||||
--bg: #fafafa;
|
||||
--surface: #ffffff;
|
||||
--text: #111113;
|
||||
--muted: #75757e;
|
||||
--border: #e6e6e9;
|
||||
--border-strong: #d4d4da;
|
||||
--accent: #16161a;
|
||||
--accent-hover: #000000;
|
||||
--danger: #c62828;
|
||||
--ok: #1a7f37;
|
||||
--warn: #9a6700;
|
||||
}
|
||||
* { box-sizing: border-box; }
|
||||
body {
|
||||
margin: 0; background: var(--bg); color: var(--text);
|
||||
font: 14px/1.55 "Inter", "Segoe UI", system-ui, sans-serif;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
}
|
||||
.demo-note {
|
||||
background: #111113; color: #fafafa; text-align: center;
|
||||
font-size: 12px; padding: 6px 12px; letter-spacing: .05em;
|
||||
}
|
||||
/* ── Шапка ─────────────────────────────────────────────── */
|
||||
.page-header { background: var(--surface); border-bottom: 1px solid var(--border); }
|
||||
.header-inner {
|
||||
max-width: 1200px; margin: 0 auto; padding: 14px 28px;
|
||||
display: flex; align-items: center; gap: 28px;
|
||||
}
|
||||
.logo { font-size: 16px; font-weight: 700; color: var(--text); text-decoration: none; letter-spacing: -.01em; }
|
||||
.nav { display: flex; gap: 20px; flex: 1; }
|
||||
.nav a { color: var(--muted); text-decoration: none; font-size: 13.5px; font-weight: 500; }
|
||||
.nav a.active { color: var(--text); }
|
||||
.nav a:hover { color: var(--text); }
|
||||
.user { display: flex; align-items: center; gap: 12px; font-size: 13.5px; }
|
||||
/* ── Основная часть ────────────────────────────────────── */
|
||||
.page-main { max-width: 1200px; margin: 0 auto; padding: 40px 28px 56px; }
|
||||
.kicker { margin: 0 0 6px; font-size: 12px; font-weight: 500; color: var(--muted); }
|
||||
h1 { margin: 0 0 8px; font-size: 24px; font-weight: 600; letter-spacing: -.02em; }
|
||||
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
|
||||
.meta { margin: 0; color: var(--muted); font-size: 13px; }
|
||||
.actions { display: flex; gap: 8px; }
|
||||
.toolbar { display: flex; gap: 8px; margin-bottom: 16px; }
|
||||
/* ── Таблица-ведомость ─────────────────────────────────── */
|
||||
.matrix-wrap { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; }
|
||||
table.matrix { width: 100%; border-collapse: collapse; }
|
||||
.matrix th {
|
||||
padding: 12px 16px; text-align: left;
|
||||
font-size: 12px; font-weight: 500; color: var(--muted);
|
||||
border-bottom: 1px solid var(--border);
|
||||
}
|
||||
.matrix td { padding: 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
|
||||
.matrix tbody tr:last-child td { border-bottom: none; }
|
||||
.matrix tbody tr:hover { background: #f6f6f7; }
|
||||
.sticky { min-width: 200px; }
|
||||
.student-name { font-weight: 600; font-size: 13.5px; }
|
||||
.student-no { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; margin-top: 2px; }
|
||||
.lab-no { display: block; color: var(--text); font-weight: 500; }
|
||||
.lab-title { display: block; font-weight: 400; font-size: 11.5px; color: var(--muted); }
|
||||
.cell-main { display: flex; align-items: baseline; gap: 12px; }
|
||||
.variant { font-weight: 600; font-size: 13.5px; }
|
||||
.score { font-variant-numeric: tabular-nums; font-weight: 600; }
|
||||
.score.muted { color: var(--muted); font-weight: 400; }
|
||||
.cell-sub { margin-top: 6px; display: flex; gap: 14px; font-size: 12px; color: var(--muted); }
|
||||
.sub-link { color: var(--muted); text-decoration: none; }
|
||||
.sub-link:hover { color: var(--text); text-decoration: underline; }
|
||||
.st { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
|
||||
.st::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--border-strong); }
|
||||
.st.done { color: var(--ok); } .st.done::before { background: var(--ok); }
|
||||
.st.active { color: var(--warn); } .st.active::before { background: var(--warn); }
|
||||
.st.code { color: var(--muted); }
|
||||
.eye { cursor: default; color: var(--border-strong); font-size: 12px; }
|
||||
.eye.on { color: var(--text); }
|
||||
.ta-r { text-align: right; }
|
||||
/* ── Кнопки, бейджи, поля ──────────────────────────────── */
|
||||
.btn {
|
||||
display: inline-block; padding: 8px 16px; font: inherit; font-size: 13px; font-weight: 500;
|
||||
border: 1px solid transparent; background: var(--accent);
|
||||
color: #ffffff; border-radius: 8px; cursor: pointer; text-decoration: none;
|
||||
}
|
||||
.btn:hover { background: var(--accent-hover); }
|
||||
.btn-secondary { background: var(--surface); border-color: var(--border-strong); color: var(--text); }
|
||||
.btn-secondary:hover { background: var(--bg); }
|
||||
.btn-danger { background: transparent; color: var(--danger); }
|
||||
.btn-danger:hover { background: #fbe9e9; }
|
||||
.btn-sm { padding: 5px 10px; font-size: 12px; }
|
||||
.input {
|
||||
padding: 8px 12px; font: inherit; font-size: 13px; color: var(--text);
|
||||
background: var(--surface); border: 1px solid var(--border-strong); border-radius: 8px;
|
||||
}
|
||||
.input:focus { outline: 2px solid #11111322; border-color: var(--text); }
|
||||
.badge {
|
||||
display: inline-block; padding: 3px 9px; font-size: 11.5px; font-weight: 500;
|
||||
border-radius: 6px; background: #f0f0f2; color: var(--muted);
|
||||
}
|
||||
.badge.warn { background: #fdf3d8; color: var(--warn); }
|
||||
.badge.ok { background: #e2f3e7; color: var(--ok); }
|
||||
.notice { border: 1px solid var(--border); background: var(--surface); border-radius: 10px; padding: 12px 16px; font-size: 13px; }
|
||||
/* ── Секция элементов ──────────────────────────────────── */
|
||||
.components { margin-top: 44px; border-top: 1px solid var(--border); padding-top: 24px; }
|
||||
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 14px 0; }
|
||||
.page-footer { text-align: center; color: var(--muted); font-size: 12px; padding: 24px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="demo-note">Демо-шаблон «Б. Строгий минимализм» · данные условные · тёмная тема будет в реализации</div>
|
||||
|
||||
<header class="page-header">
|
||||
<div class="header-inner">
|
||||
<a class="logo" href="#">LMS</a>
|
||||
<nav class="nav">
|
||||
<a href="#" class="active">Группы</a>
|
||||
<a href="#">Пользователи</a>
|
||||
<a href="#">Лабораторные</a>
|
||||
</nav>
|
||||
<div class="user">
|
||||
<span>Копнин В.</span>
|
||||
<button class="btn btn-secondary btn-sm">Выйти</button>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<main class="page-main">
|
||||
<div class="page-head">
|
||||
<div>
|
||||
<p class="kicker">Ведомость группы</p>
|
||||
<h1>М202-1 · Первый курс</h1>
|
||||
<p class="meta">24 студента · 3 опубликованные лабораторные · длительность защиты 30 мин</p>
|
||||
</div>
|
||||
<div class="actions">
|
||||
<button class="btn btn-secondary">Скачать пароли</button>
|
||||
<button class="btn">+ Студент</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="toolbar">
|
||||
<input class="input" style="width:260px" placeholder="Поиск по студенту…">
|
||||
<select class="input"><option>все лабораторные</option><option>ЛР 1</option><option>ЛР 2</option></select>
|
||||
</div>
|
||||
|
||||
<div class="matrix-wrap">
|
||||
<table class="matrix">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="sticky">Студент</th>
|
||||
<th><span class="lab-no">ЛР 1</span><span class="lab-title">Анализ данных</span></th>
|
||||
<th><span class="lab-no">ЛР 2</span><span class="lab-title">Сортировки</span></th>
|
||||
<th><span class="lab-no">ЛР 3</span><span class="lab-title">Деревья поиска</span></th>
|
||||
<th>Пароль</th>
|
||||
<th class="ta-r">Действия</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="sticky"><div class="student-name">Иванова Анна</div><div class="student-no">2025001</div></td>
|
||||
<td>
|
||||
<div class="cell-main"><span class="variant">В-7</span><span class="score">4.5</span><span class="eye on">◉</span></div>
|
||||
<div class="cell-sub"><a class="sub-link" href="#">сдача ↓ 2</a><span class="st done">защита: готов</span></div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="cell-main"><span class="variant">В-2</span><span class="score">3.0</span><span class="eye on">◉</span></div>
|
||||
<div class="cell-sub"><a class="sub-link" href="#">сдача ↓ 1</a><span class="st code">защита: код 552314</span></div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="cell-main"><span class="score muted">—</span></div>
|
||||
<div class="cell-sub"><span class="st">не выдан</span></div>
|
||||
</td>
|
||||
<td><span class="badge warn">временный</span></td>
|
||||
<td class="ta-r"><button class="btn btn-secondary btn-sm">Сбросить</button> <button class="btn btn-sm btn-danger">Отчислить</button></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="sticky"><div class="student-name">Петров Павел</div><div class="student-no">2025002</div></td>
|
||||
<td>
|
||||
<div class="cell-main"><span class="variant">В-1</span><span class="score">5.0</span><span class="eye on">◉</span></div>
|
||||
<div class="cell-sub"><a class="sub-link" href="#">сдача ↓ 3</a><span class="st done">защита: готов</span></div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="cell-main"><span class="variant">В-4</span><span class="score muted">—</span><span class="eye on">◉</span></div>
|
||||
<div class="cell-sub"><a class="sub-link" href="#">сдача ↓ 1</a><span class="st active">защита: идёт · 12:34</span></div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="cell-main"><span class="variant">В-3</span><span class="score muted">—</span><span class="eye">○</span></div>
|
||||
<div class="cell-sub"><span class="st">не сдано</span></div>
|
||||
</td>
|
||||
<td><span class="badge ok">изменён</span></td>
|
||||
<td class="ta-r"><button class="btn btn-secondary btn-sm">Сбросить</button> <button class="btn btn-sm btn-danger">Отчислить</button></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="sticky"><div class="student-name">Сидоров Алексей</div><div class="student-no">2025017</div></td>
|
||||
<td>
|
||||
<div class="cell-main"><span class="variant">В-5</span><span class="score muted">—</span><span class="eye on">◉</span></div>
|
||||
<div class="cell-sub"><span class="st">не сдано</span></div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="cell-main"><span class="score muted">—</span></div>
|
||||
<div class="cell-sub"><span class="st">не выдан</span></div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="cell-main"><span class="score muted">—</span></div>
|
||||
<div class="cell-sub"><span class="st">не выдан</span></div>
|
||||
</td>
|
||||
<td><span class="badge warn">временный</span></td>
|
||||
<td class="ta-r"><button class="btn btn-secondary btn-sm">Сбросить</button> <button class="btn btn-sm btn-danger">Отчислить</button></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="sticky"><div class="student-name">Кузнецова Мария</div><div class="student-no">2025021</div></td>
|
||||
<td>
|
||||
<div class="cell-main"><span class="variant">В-3</span><span class="score">4.0</span><span class="eye">○</span></div>
|
||||
<div class="cell-sub"><a class="sub-link" href="#">сдача ↓ 1</a><span class="st done">защита: готов</span></div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="cell-main"><span class="variant">В-6</span><span class="score muted">—</span><span class="eye">○</span></div>
|
||||
<div class="cell-sub"><a class="sub-link" href="#">сдача ↓ 1</a><span class="st active">защита: идёт · 03:07</span></div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="cell-main"><span class="score muted">—</span></div>
|
||||
<div class="cell-sub"><span class="st">не выдан</span></div>
|
||||
</td>
|
||||
<td><span class="badge ok">изменён</span></td>
|
||||
<td class="ta-r"><button class="btn btn-secondary btn-sm">Сбросить</button> <button class="btn btn-sm btn-danger">Отчислить</button></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<section class="components">
|
||||
<p class="kicker">Элементы интерфейса</p>
|
||||
<div class="row">
|
||||
<button class="btn">Сохранить всё</button>
|
||||
<button class="btn btn-secondary">Отмена</button>
|
||||
<button class="btn btn-danger">Удалить</button>
|
||||
<span class="badge ok">published</span>
|
||||
<span class="badge warn">draft</span>
|
||||
</div>
|
||||
<div class="row">
|
||||
<input class="input" style="width:220px" value="Поле ввода">
|
||||
<input class="input" style="width:120px" value="552314">
|
||||
</div>
|
||||
<div class="notice">Оценки опубликованы всей группе — студенты видят баллы и комментарии.</div>
|
||||
</section>
|
||||
</main>
|
||||
|
||||
<footer class="page-footer">LMS · демо-шаблон · стиль Б</footer>
|
||||
</body>
|
||||
</html>
|
||||
400
design/style-b2-minimal.html
Normal file
400
design/style-b2-minimal.html
Normal file
@@ -0,0 +1,400 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="ru" data-accent="blue">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>LMS — демо стиля Б2: минимализм с живой палитрой</title>
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
|
||||
<style>
|
||||
/* ─────────────────────────────────────────────────────────
|
||||
База: нейтральный каркас + насыщенные ФУНКЦИОНАЛЬНЫЕ цвета.
|
||||
Акцент выбирается переключателем сверху (data-accent на <html>).
|
||||
───────────────────────────────────────────────────────── */
|
||||
:root {
|
||||
--bg: #f6f7f9;
|
||||
--surface: #ffffff;
|
||||
--surface-2: #f9fafb;
|
||||
--text: #14161a;
|
||||
--muted: #6b7280;
|
||||
--border: #e5e7eb;
|
||||
--border-strong: #d2d5db;
|
||||
--ok: #15803d;
|
||||
--ok-soft: #e8f6ee;
|
||||
--warn: #b45309;
|
||||
--warn-soft: #fdf3e3;
|
||||
--danger: #c62828;
|
||||
--danger-soft: #fdecec;
|
||||
--info: #0369a1;
|
||||
--info-soft: #e6f3fa;
|
||||
--radius: 10px;
|
||||
--radius-sm: 8px;
|
||||
}
|
||||
/* Акценты */
|
||||
:root[data-accent="blue"] { --accent: #2563eb; --accent-hover: #1d4fd7; --accent-soft: #eaf1ff; }
|
||||
:root[data-accent="emerald"] { --accent: #0e7a55; --accent-hover: #0a5e42; --accent-soft: #e6f5ef; }
|
||||
:root[data-accent="violet"] { --accent: #6d28d9; --accent-hover: #5b21b6; --accent-soft: #f1ebfe; }
|
||||
:root[data-accent="graphite"]{ --accent: #23252b; --accent-hover: #000000; --accent-soft: #eef0f3; }
|
||||
|
||||
* { box-sizing: border-box; }
|
||||
body {
|
||||
margin: 0; background: var(--bg); color: var(--text);
|
||||
font: 14px/1.55 "Inter", "Segoe UI", system-ui, sans-serif;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
}
|
||||
.demo-note {
|
||||
background: #14161a; color: #fafafa; text-align: center;
|
||||
font-size: 12px; padding: 6px 12px;
|
||||
}
|
||||
/* ── Переключатель акцента ─────────────────────────────── */
|
||||
.accent-bar {
|
||||
background: var(--surface); border-bottom: 1px solid var(--border);
|
||||
display: flex; align-items: center; justify-content: center; gap: 10px;
|
||||
padding: 8px 12px; font-size: 12.5px; color: var(--muted); flex-wrap: wrap;
|
||||
}
|
||||
.swatch {
|
||||
width: 20px; height: 20px; border-radius: 50%; border: 2px solid transparent;
|
||||
cursor: pointer; padding: 0; display: inline-flex; align-items: center; justify-content: center;
|
||||
}
|
||||
.swatch span { width: 12px; height: 12px; border-radius: 50%; display: block; }
|
||||
.swatch.active { border-color: var(--text); }
|
||||
.sw-blue span { background: #2563eb; }
|
||||
.sw-emerald span { background: #0e7a55; }
|
||||
.sw-violet span { background: #6d28d9; }
|
||||
.sw-graphite span{ background: #23252b; }
|
||||
/* ── Шапка ─────────────────────────────────────────────── */
|
||||
.page-header { background: var(--surface); border-bottom: 1px solid var(--border); }
|
||||
.header-inner {
|
||||
max-width: 1200px; margin: 0 auto; padding: 14px 28px;
|
||||
display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
|
||||
}
|
||||
.logo { font-size: 16px; font-weight: 700; color: var(--text); text-decoration: none; }
|
||||
.logo b { color: var(--accent); }
|
||||
.nav { display: flex; gap: 4px; flex: 1; flex-wrap: wrap; }
|
||||
.nav a {
|
||||
color: var(--muted); text-decoration: none; font-size: 13.5px; font-weight: 500;
|
||||
padding: 6px 12px; border-radius: var(--radius-sm);
|
||||
}
|
||||
.nav a.active { color: var(--accent); background: var(--accent-soft); }
|
||||
.nav a:hover { color: var(--text); background: var(--surface-2); }
|
||||
.user { display: flex; align-items: center; gap: 12px; font-size: 13.5px; }
|
||||
/* ── Основная часть ────────────────────────────────────── */
|
||||
.page-main { max-width: 1200px; margin: 0 auto; padding: 36px 28px 56px; }
|
||||
.kicker { margin: 0 0 6px; font-size: 12px; font-weight: 500; color: var(--muted); }
|
||||
h1 { margin: 0 0 8px; font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
|
||||
h1 small { color: var(--accent); font-weight: 700; }
|
||||
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
|
||||
.meta { margin: 0; color: var(--muted); font-size: 13px; }
|
||||
.meta b { color: var(--ok); }
|
||||
.actions { display: flex; gap: 8px; flex-wrap: wrap; }
|
||||
.toolbar { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
|
||||
/* ── Таблица-ведомость ─────────────────────────────────── */
|
||||
.matrix-wrap { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
|
||||
table.matrix { width: 100%; border-collapse: collapse; }
|
||||
.matrix th {
|
||||
padding: 12px 16px; text-align: left; background: var(--surface-2);
|
||||
font-size: 12px; font-weight: 500; color: var(--muted);
|
||||
border-bottom: 1px solid var(--border); white-space: nowrap;
|
||||
}
|
||||
.matrix td { padding: 14px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
|
||||
.matrix tbody tr:last-child td { border-bottom: none; }
|
||||
.matrix tbody tr:hover { background: #f5f8ff33; }
|
||||
.sticky { min-width: 200px; }
|
||||
.student-name { font-weight: 600; font-size: 13.5px; }
|
||||
.student-no { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; margin-top: 2px; }
|
||||
.lab-no { display: block; color: var(--text); font-weight: 500; }
|
||||
.lab-title { display: block; font-weight: 400; font-size: 11.5px; color: var(--muted); }
|
||||
.cell-main { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
|
||||
.variant { font-weight: 600; font-size: 13.5px; color: var(--accent); }
|
||||
.score { font-variant-numeric: tabular-nums; font-weight: 700; }
|
||||
.score.good { color: var(--ok); }
|
||||
.score.mid { color: var(--warn); }
|
||||
.score.muted { color: var(--muted); font-weight: 400; }
|
||||
.cell-sub { margin-top: 6px; display: flex; gap: 14px; font-size: 12px; color: var(--muted); flex-wrap: wrap; }
|
||||
.sub-link { color: var(--info); text-decoration: none; font-weight: 500; }
|
||||
.sub-link:hover { text-decoration: underline; }
|
||||
.st { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
|
||||
.st::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--border-strong); }
|
||||
.st.done { color: var(--ok); } .st.done::before { background: var(--ok); }
|
||||
.st.active {
|
||||
color: var(--warn); background: var(--warn-soft);
|
||||
padding: 2px 8px; border-radius: 99px; font-weight: 600;
|
||||
}
|
||||
.st.active::before { background: var(--warn); }
|
||||
.st.code { color: var(--muted); }
|
||||
.eye { cursor: default; color: var(--border-strong); font-size: 12px; }
|
||||
.eye.on { color: var(--ok); }
|
||||
.ta-r { text-align: right; }
|
||||
/* ── Кнопки, бейджи, поля ──────────────────────────────── */
|
||||
.btn {
|
||||
display: inline-block; padding: 8px 16px; font: inherit; font-size: 13px; font-weight: 600;
|
||||
border: 1px solid transparent; background: var(--accent);
|
||||
color: #fff; border-radius: var(--radius-sm); cursor: pointer; text-decoration: none;
|
||||
}
|
||||
.btn:hover { background: var(--accent-hover); }
|
||||
.btn-secondary { background: var(--surface); border-color: var(--border-strong); color: var(--text); }
|
||||
.btn-secondary:hover { background: var(--surface-2); }
|
||||
.btn-danger { background: var(--surface); color: var(--danger); border-color: #efc4c4; }
|
||||
.btn-danger:hover { background: var(--danger-soft); }
|
||||
.btn-accent-soft { background: var(--accent-soft); color: var(--accent); }
|
||||
.btn-accent-soft:hover { background: var(--accent); color: #fff; }
|
||||
.btn-sm { padding: 5px 10px; font-size: 12px; }
|
||||
.input {
|
||||
padding: 8px 12px; font: inherit; font-size: 13px; color: var(--text);
|
||||
background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
|
||||
}
|
||||
.input:focus { outline: 3px solid var(--accent-soft); border-color: var(--accent); }
|
||||
/* Бейдж — только индикатор статуса, некликабельный, всегда по-русски */
|
||||
.badge {
|
||||
display: inline-block; padding: 3px 10px; font-size: 11.5px; font-weight: 600;
|
||||
border-radius: 6px; background: var(--surface-2); color: var(--muted);
|
||||
border: 1px solid var(--border); cursor: default;
|
||||
}
|
||||
.badge.ok { background: var(--ok-soft); color: var(--ok); border-color: #c4e5d0; }
|
||||
.badge.warn { background: var(--warn-soft); color: var(--warn); border-color: #ecd3ae; }
|
||||
.badge.info { background: var(--info-soft); color: var(--info); border-color: #bfdff0; }
|
||||
.notice {
|
||||
border: 1px solid var(--border); border-radius: var(--radius);
|
||||
padding: 12px 16px; font-size: 13px; background: var(--surface);
|
||||
}
|
||||
.notice.ok { border-color: #c4e5d0; background: var(--ok-soft); color: #14532d; }
|
||||
.notice.warn { border-color: #ecd3ae; background: var(--warn-soft); color: #78350f; }
|
||||
.notice.err { border-color: #efc4c4; background: var(--danger-soft); color: #7f1d1d; }
|
||||
.notice.info { border-color: #bfdff0; background: var(--info-soft); color: #0c4a6e; }
|
||||
/* ── Секция элементов ──────────────────────────────────── */
|
||||
.components { margin-top: 40px; border-top: 1px solid var(--border); padding-top: 24px; }
|
||||
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 14px 0; }
|
||||
.status-line { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
|
||||
.status-line .name { font-weight: 600; min-width: 210px; }
|
||||
.page-footer { text-align: center; color: var(--muted); font-size: 12px; padding: 24px; }
|
||||
|
||||
/* ── Адаптивность таблицы: три режима ─────────────────────
|
||||
>1080px — полная таблица;
|
||||
721–1080px — горизонтальный скролл с прилипающей колонкой «Студент»;
|
||||
≤720px — карточка на каждого студента (шапка таблицы скрыта). */
|
||||
.table-scroll { border-radius: 12px; }
|
||||
@media (max-width: 1080px) {
|
||||
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
|
||||
.matrix { min-width: 860px; }
|
||||
th.sticky, td.sticky {
|
||||
position: sticky; left: 0; z-index: 1;
|
||||
background: var(--surface);
|
||||
box-shadow: 8px 0 8px -8px rgba(20, 22, 26, .12);
|
||||
}
|
||||
thead th.sticky { background: var(--surface-2); }
|
||||
tbody tr:hover td.sticky { background: #f4f6fb; }
|
||||
}
|
||||
@media (max-width: 720px) {
|
||||
.page-main { padding: 24px 16px 40px; }
|
||||
.header-inner { padding: 12px 16px; gap: 10px; }
|
||||
.page-head { display: block; }
|
||||
.actions { margin-top: 12px; }
|
||||
.table-scroll { overflow-x: visible; }
|
||||
.matrix { min-width: 0; }
|
||||
.matrix thead { display: none; }
|
||||
.matrix, .matrix tbody, .matrix tr, .matrix td { display: block; width: 100%; }
|
||||
.matrix tr {
|
||||
border: 1px solid var(--border); border-radius: 12px;
|
||||
margin: 0 0 14px; background: var(--surface); overflow: hidden;
|
||||
}
|
||||
.matrix td { border-bottom: none; padding: 9px 16px; }
|
||||
td.sticky {
|
||||
position: static; box-shadow: none;
|
||||
background: var(--surface-2);
|
||||
border-bottom: 1px solid var(--border) !important;
|
||||
padding: 12px 16px;
|
||||
}
|
||||
td[data-label]::before {
|
||||
content: attr(data-label);
|
||||
display: block; font-size: 10.5px; font-weight: 600;
|
||||
letter-spacing: .07em; text-transform: uppercase;
|
||||
color: var(--muted); margin-bottom: 3px;
|
||||
}
|
||||
.ta-r { text-align: left; }
|
||||
.cell-sub { margin-top: 4px; }
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="demo-note">Демо-шаблон «Б2» · развитый минимализм: живая палитра, адаптивные таблицы, бейджи-индикаторы · сузьте окно, чтобы увидеть все три режима таблицы</div>
|
||||
|
||||
<div class="accent-bar">
|
||||
Акцентный цвет:
|
||||
<button class="swatch sw-blue active" title="Синий (рекомендую)" onclick="setAccent('blue', this)"><span></span></button>
|
||||
<button class="swatch sw-emerald" title="Изумруд" onclick="setAccent('emerald', this)"><span></span></button>
|
||||
<button class="swatch sw-violet" title="Фиолет" onclick="setAccent('violet', this)"><span></span></button>
|
||||
<button class="swatch sw-graphite" title="Графит (как в Б1)" onclick="setAccent('graphite', this)"><span></span></button>
|
||||
<span style="opacity:.6">— красный остаётся только на действиях «Удалить/Отчислить»</span>
|
||||
</div>
|
||||
|
||||
<header class="page-header">
|
||||
<div class="header-inner">
|
||||
<a class="logo" href="#">LMS<b>.</b></a>
|
||||
<nav class="nav">
|
||||
<a href="#" class="active">Группы</a>
|
||||
<a href="#">Пользователи</a>
|
||||
<a href="#">Лабораторные</a>
|
||||
</nav>
|
||||
<div class="user">
|
||||
<span>Копнин В.</span>
|
||||
<button class="btn btn-secondary btn-sm">Выйти</button>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<main class="page-main">
|
||||
<div class="page-head">
|
||||
<div>
|
||||
<p class="kicker">Ведомость группы</p>
|
||||
<h1>М202-1 <small>· Первый курс</small></h1>
|
||||
<p class="meta">24 студента · <b>3 опубликованные</b> лабораторные · длительность защиты 30 мин</p>
|
||||
</div>
|
||||
<div class="actions">
|
||||
<button class="btn btn-secondary">Скачать пароли</button>
|
||||
<button class="btn">+ Студент</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="toolbar">
|
||||
<input class="input" style="width:260px" placeholder="Поиск по студенту…">
|
||||
<select class="input"><option>все лабораторные</option><option>ЛР 1</option><option>ЛР 2</option></select>
|
||||
</div>
|
||||
|
||||
<div class="matrix-wrap">
|
||||
<div class="table-scroll">
|
||||
<table class="matrix">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="sticky">Студент</th>
|
||||
<th><span class="lab-no">ЛР 1</span><span class="lab-title">Анализ данных</span></th>
|
||||
<th><span class="lab-no">ЛР 2</span><span class="lab-title">Сортировки</span></th>
|
||||
<th><span class="lab-no">ЛР 3</span><span class="lab-title">Деревья поиска</span></th>
|
||||
<th>Пароль</th>
|
||||
<th class="ta-r">Действия</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="sticky"><div class="student-name">Иванова Анна</div><div class="student-no">2025001</div></td>
|
||||
<td data-label="ЛР 1 · Анализ данных">
|
||||
<div class="cell-main"><span class="variant">В-7</span><span class="score good">4.5</span><span class="eye on" title="Оценка опубликована">◉</span></div>
|
||||
<div class="cell-sub"><a class="sub-link" href="#">сдача ↓ 2</a><span class="st done">защита: готова</span></div>
|
||||
</td>
|
||||
<td data-label="ЛР 2 · Сортировки">
|
||||
<div class="cell-main"><span class="variant">В-2</span><span class="score mid">3.0</span><span class="eye on" title="Оценка опубликована">◉</span></div>
|
||||
<div class="cell-sub"><a class="sub-link" href="#">сдача ↓ 1</a><span class="st code">защита: код 552314</span></div>
|
||||
</td>
|
||||
<td data-label="ЛР 3 · Деревья поиска">
|
||||
<div class="cell-main"><span class="score muted">—</span></div>
|
||||
<div class="cell-sub"><span class="st">вариант не выдан</span></div>
|
||||
</td>
|
||||
<td data-label="Пароль"><span class="badge warn">временный</span></td>
|
||||
<td class="ta-r" data-label="Действия"><button class="btn btn-secondary btn-sm">Сбросить</button> <button class="btn btn-sm btn-danger">Отчислить</button></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="sticky"><div class="student-name">Петров Павел</div><div class="student-no">2025002</div></td>
|
||||
<td data-label="ЛР 1 · Анализ данных">
|
||||
<div class="cell-main"><span class="variant">В-1</span><span class="score good">5.0</span><span class="eye on" title="Оценка опубликована">◉</span></div>
|
||||
<div class="cell-sub"><a class="sub-link" href="#">сдача ↓ 3</a><span class="st done">защита: готова</span></div>
|
||||
</td>
|
||||
<td data-label="ЛР 2 · Сортировки">
|
||||
<div class="cell-main"><span class="variant">В-4</span><span class="score muted">—</span><span class="eye on" title="Оценка опубликована">◉</span></div>
|
||||
<div class="cell-sub"><a class="sub-link" href="#">сдача ↓ 1</a><span class="st active">защита: идёт · 12:34</span></div>
|
||||
</td>
|
||||
<td data-label="ЛР 3 · Деревья поиска">
|
||||
<div class="cell-main"><span class="variant">В-3</span><span class="score muted">—</span><span class="eye" title="Оценка скрыта">○</span></div>
|
||||
<div class="cell-sub"><span class="st">не сдано</span></div>
|
||||
</td>
|
||||
<td data-label="Пароль"><span class="badge ok">изменён</span></td>
|
||||
<td class="ta-r" data-label="Действия"><button class="btn btn-secondary btn-sm">Сбросить</button> <button class="btn btn-sm btn-danger">Отчислить</button></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="sticky"><div class="student-name">Сидоров Алексей</div><div class="student-no">2025017</div></td>
|
||||
<td data-label="ЛР 1 · Анализ данных">
|
||||
<div class="cell-main"><span class="variant">В-5</span><span class="score muted">—</span><span class="eye on" title="Оценка опубликована">◉</span></div>
|
||||
<div class="cell-sub"><span class="st">не сдано</span></div>
|
||||
</td>
|
||||
<td data-label="ЛР 2 · Сортировки">
|
||||
<div class="cell-main"><span class="score muted">—</span></div>
|
||||
<div class="cell-sub"><span class="st">вариант не выдан</span></div>
|
||||
</td>
|
||||
<td data-label="ЛР 3 · Деревья поиска">
|
||||
<div class="cell-main"><span class="score muted">—</span></div>
|
||||
<div class="cell-sub"><span class="st">вариант не выдан</span></div>
|
||||
</td>
|
||||
<td data-label="Пароль"><span class="badge warn">временный</span></td>
|
||||
<td class="ta-r" data-label="Действия"><button class="btn btn-secondary btn-sm">Сбросить</button> <button class="btn btn-sm btn-danger">Отчислить</button></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="sticky"><div class="student-name">Кузнецова Мария</div><div class="student-no">2025021</div></td>
|
||||
<td data-label="ЛР 1 · Анализ данных">
|
||||
<div class="cell-main"><span class="variant">В-3</span><span class="score good">4.0</span><span class="eye" title="Оценка скрыта">○</span></div>
|
||||
<div class="cell-sub"><a class="sub-link" href="#">сдача ↓ 1</a><span class="st done">защита: готова</span></div>
|
||||
</td>
|
||||
<td data-label="ЛР 2 · Сортировки">
|
||||
<div class="cell-main"><span class="variant">В-6</span><span class="score muted">—</span><span class="eye" title="Оценка скрыта">○</span></div>
|
||||
<div class="cell-sub"><a class="sub-link" href="#">сдача ↓ 1</a><span class="st active">защита: идёт · 03:07</span></div>
|
||||
</td>
|
||||
<td data-label="ЛР 3 · Деревья поиска">
|
||||
<div class="cell-main"><span class="score muted">—</span></div>
|
||||
<div class="cell-sub"><span class="st">вариант не выдан</span></div>
|
||||
</td>
|
||||
<td data-label="Пароль"><span class="badge ok">изменён</span></td>
|
||||
<td class="ta-r" data-label="Действия"><button class="btn btn-secondary btn-sm">Сбросить</button> <button class="btn btn-sm btn-danger">Отчислить</button></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<section class="components">
|
||||
<p class="kicker">Элементы интерфейса</p>
|
||||
|
||||
<div class="row">
|
||||
<button class="btn">Сохранить всё</button>
|
||||
<button class="btn btn-secondary">Отмена</button>
|
||||
<button class="btn btn-danger">Удалить</button>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<input class="input" style="width:220px" value="Поле ввода">
|
||||
<input class="input" style="width:130px" value="552314">
|
||||
<button class="btn btn-accent-soft btn-sm">Выдать код</button>
|
||||
</div>
|
||||
|
||||
<p class="kicker" style="margin-top:22px">Статусы: бейдж — только индикатор, действие — отдельной кнопкой</p>
|
||||
<div class="row status-line">
|
||||
<span class="name">ЛР 1 · Анализ данных</span>
|
||||
<span class="badge ok">Опубликована</span>
|
||||
<button class="btn btn-secondary btn-sm">Скрыть</button>
|
||||
</div>
|
||||
<div class="row status-line">
|
||||
<span class="name">ЛР 2 · Сортировки</span>
|
||||
<span class="badge warn">Черновик</span>
|
||||
<button class="btn btn-accent-soft btn-sm">Опубликовать</button>
|
||||
</div>
|
||||
<div class="row status-line">
|
||||
<span class="name">Глава 3 · Жадные алгоритмы</span>
|
||||
<span class="badge">Скрыто</span>
|
||||
<button class="btn btn-accent-soft btn-sm">Опубликовать</button>
|
||||
</div>
|
||||
|
||||
<p class="kicker" style="margin-top:22px">Уведомления</p>
|
||||
<div class="notice ok" style="margin-bottom:8px">Оценки опубликованы всей группе — студенты видят баллы и комментарии.</div>
|
||||
<div class="notice warn" style="margin-bottom:8px">Срок сдачи ЛР 2 истекает завтра в 23:59 МСК.</div>
|
||||
<div class="notice err" style="margin-bottom:8px">Не удалось сохранить файлы решения — повторите попытку.</div>
|
||||
<div class="notice info">Новый студент добавлен: логин 2025031, пароль показан один раз.</div>
|
||||
</section>
|
||||
</main>
|
||||
|
||||
<footer class="page-footer">LMS · демо-шаблон · стиль Б2</footer>
|
||||
|
||||
<script>
|
||||
function setAccent(name, btn) {
|
||||
document.documentElement.setAttribute('data-accent', name);
|
||||
document.querySelectorAll('.swatch').forEach(function (s) { s.classList.remove('active'); });
|
||||
btn.classList.add('active');
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
348
design/style-b3-bordeaux.html
Normal file
348
design/style-b3-bordeaux.html
Normal file
@@ -0,0 +1,348 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="ru" data-accent="bordeaux">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>LMS — демо стиля Б3: минимализм, акцент бордо</title>
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
|
||||
<style>
|
||||
/* ─────────────────────────────────────────────────────────
|
||||
Б3 = сдержанность Б1 + бордовый акцент.
|
||||
Цвет только там, где он несёт смысл: акцент действий, точки
|
||||
статусов защиты, два бейджа пароля. Всё остальное — нейтральное.
|
||||
───────────────────────────────────────────────────────── */
|
||||
:root {
|
||||
--bg: #fafafa;
|
||||
--surface: #ffffff;
|
||||
--text: #131316;
|
||||
--muted: #74747c;
|
||||
--border: #e6e6e9;
|
||||
--border-strong: #d4d4da;
|
||||
--ok: #1a7f37;
|
||||
--warn: #9a6700;
|
||||
--radius: 8px;
|
||||
}
|
||||
:root[data-accent="bordeaux"] { --accent: #7a2333; --accent-hover: #5f1b28; --accent-soft: #f7edee; }
|
||||
:root[data-accent="blue"] { --accent: #24509c; --accent-hover: #1c3f7e; --accent-soft: #edf2fa; }
|
||||
:root[data-accent="graphite"] { --accent: #1b1c20; --accent-hover: #000000; --accent-soft: #eef0f3; }
|
||||
|
||||
* { box-sizing: border-box; }
|
||||
body {
|
||||
margin: 0; background: var(--bg); color: var(--text);
|
||||
font: 14px/1.55 "Inter", "Segoe UI", system-ui, sans-serif;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
}
|
||||
.demo-note {
|
||||
background: #131316; color: #fafafa; text-align: center;
|
||||
font-size: 12px; padding: 6px 12px;
|
||||
}
|
||||
/* ── Переключатель акцента (только для демо) ───────────── */
|
||||
.accent-bar {
|
||||
background: var(--surface); border-bottom: 1px solid var(--border);
|
||||
display: flex; align-items: center; justify-content: center; gap: 10px;
|
||||
padding: 8px 12px; font-size: 12.5px; color: var(--muted); flex-wrap: wrap;
|
||||
}
|
||||
.swatch {
|
||||
width: 20px; height: 20px; border-radius: 50%; border: 2px solid transparent;
|
||||
cursor: pointer; padding: 0; display: inline-flex; align-items: center; justify-content: center;
|
||||
}
|
||||
.swatch span { width: 12px; height: 12px; border-radius: 50%; display: block; }
|
||||
.swatch.active { border-color: var(--text); }
|
||||
.sw-bordeaux span { background: #7a2333; }
|
||||
.sw-blue span { background: #24509c; }
|
||||
.sw-graphite span { background: #1b1c20; }
|
||||
/* ── Шапка ─────────────────────────────────────────────── */
|
||||
.page-header { background: var(--surface); border-bottom: 1px solid var(--border); }
|
||||
.header-inner {
|
||||
max-width: 1200px; margin: 0 auto; padding: 14px 28px;
|
||||
display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
|
||||
}
|
||||
.logo { font-size: 16px; font-weight: 700; color: var(--text); text-decoration: none; }
|
||||
.logo b { color: var(--accent); }
|
||||
.nav { display: flex; gap: 18px; flex: 1; flex-wrap: wrap; }
|
||||
.nav a { color: var(--muted); text-decoration: none; font-size: 13.5px; font-weight: 500; }
|
||||
.nav a.active { color: var(--accent); }
|
||||
.nav a:hover { color: var(--text); }
|
||||
.user { display: flex; align-items: center; gap: 12px; font-size: 13.5px; }
|
||||
/* ── Основная часть ────────────────────────────────────── */
|
||||
.page-main { max-width: 1200px; margin: 0 auto; padding: 40px 28px 56px; }
|
||||
.kicker { margin: 0 0 6px; font-size: 12px; font-weight: 500; color: var(--muted); }
|
||||
h1 { margin: 0 0 8px; font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
|
||||
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
|
||||
.meta { margin: 0; color: var(--muted); font-size: 13px; }
|
||||
.meta b { color: var(--text); font-weight: 600; }
|
||||
.actions { display: flex; gap: 8px; flex-wrap: wrap; }
|
||||
.toolbar { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
|
||||
/* ── Таблица-ведомость ─────────────────────────────────── */
|
||||
.matrix-wrap { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
|
||||
table.matrix { width: 100%; border-collapse: collapse; }
|
||||
.matrix th {
|
||||
padding: 12px 16px; text-align: left; background: var(--surface);
|
||||
font-size: 12px; font-weight: 500; color: var(--muted);
|
||||
border-bottom: 1px solid var(--border); white-space: nowrap;
|
||||
}
|
||||
.matrix td { padding: 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
|
||||
.matrix tbody tr:last-child td { border-bottom: none; }
|
||||
.matrix tbody tr:hover { background: #f7f7f8; }
|
||||
.sticky { min-width: 200px; }
|
||||
.student-name { font-weight: 600; font-size: 13.5px; }
|
||||
.student-no { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; margin-top: 2px; }
|
||||
.lab-no { display: block; color: var(--text); font-weight: 500; }
|
||||
.lab-title { display: block; font-weight: 400; font-size: 11.5px; color: var(--muted); }
|
||||
.cell-main { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
|
||||
.variant { font-weight: 600; font-size: 13.5px; }
|
||||
.score { font-variant-numeric: tabular-nums; font-weight: 600; }
|
||||
.score.muted { color: var(--muted); font-weight: 400; }
|
||||
.cell-sub { margin-top: 6px; display: flex; gap: 14px; font-size: 12px; color: var(--muted); flex-wrap: wrap; }
|
||||
.sub-link { color: var(--muted); text-decoration: none; }
|
||||
.sub-link:hover { color: var(--text); text-decoration: underline; }
|
||||
.st { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
|
||||
.st::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--border-strong); }
|
||||
.st.done { color: var(--ok); } .st.done::before { background: var(--ok); }
|
||||
.st.active { color: var(--warn); } .st.active::before { background: var(--warn); }
|
||||
.st.code { color: var(--muted); }
|
||||
.eye { cursor: default; color: var(--border-strong); font-size: 12px; }
|
||||
.eye.on { color: var(--text); }
|
||||
.ta-r { text-align: right; }
|
||||
/* Действия — столбиком: ровные одинаковые кнопки друг под другом */
|
||||
.actions-col { display: inline-flex; flex-direction: column; gap: 6px; align-items: stretch; min-width: 104px; }
|
||||
.actions-col .btn { text-align: center; }
|
||||
/* ── Кнопки, бейджи, поля ──────────────────────────────── */
|
||||
.btn {
|
||||
display: inline-block; padding: 8px 16px; font: inherit; font-size: 13px; font-weight: 500;
|
||||
border: 1px solid transparent; background: var(--accent);
|
||||
color: #fff; border-radius: var(--radius); cursor: pointer; text-decoration: none;
|
||||
}
|
||||
.btn:hover { background: var(--accent-hover); }
|
||||
.btn-secondary { background: var(--surface); border-color: var(--border-strong); color: var(--text); }
|
||||
.btn-secondary:hover { background: var(--bg); }
|
||||
.btn-danger { background: var(--surface); border-color: #dcb9be; color: var(--accent); }
|
||||
.btn-danger:hover { background: var(--accent-soft); border-color: var(--accent); }
|
||||
.btn-sm { padding: 5px 10px; font-size: 12px; }
|
||||
.input {
|
||||
padding: 8px 12px; font: inherit; font-size: 13px; color: var(--text);
|
||||
background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius);
|
||||
}
|
||||
.input:focus { outline: 3px solid var(--accent-soft); border-color: var(--accent); }
|
||||
/* Бейдж — «этикетка»: строгая рамка, разрядка капсом, приглушённый тон.
|
||||
Некликабельный, всегда по-русски. */
|
||||
.badge {
|
||||
display: inline-block; padding: 2px 8px; font-size: 10.5px; font-weight: 600;
|
||||
letter-spacing: .07em; text-transform: uppercase;
|
||||
border-radius: 2px; border: 1px solid var(--border-strong);
|
||||
background: transparent; color: var(--muted); cursor: default;
|
||||
}
|
||||
.badge.warn { color: #8a5a12; border-color: #d3bd8f; background: #faf5e9; }
|
||||
.badge.ok { color: #2f6b3a; border-color: #b7cdbd; background: #f2f7f3; }
|
||||
.notice { border: 1px solid var(--border); border-left: 3px solid var(--accent); background: var(--surface); border-radius: var(--radius); padding: 12px 16px; font-size: 13px; }
|
||||
/* ── Секция элементов ──────────────────────────────────── */
|
||||
.components { margin-top: 44px; border-top: 1px solid var(--border); padding-top: 24px; }
|
||||
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 14px 0; }
|
||||
.status-line .name { font-weight: 600; min-width: 210px; }
|
||||
.page-footer { text-align: center; color: var(--muted); font-size: 12px; padding: 24px; }
|
||||
|
||||
/* ── Адаптивность таблицы: два режима ─────────────────────
|
||||
>1080px — полная таблица;
|
||||
≤1080px — горизонтальный скролл, колонка «Студент» прилипает слева.
|
||||
На телефоне колонка сжимается, но остаётся фиксированной —
|
||||
карточный режим убран по замечанию. */
|
||||
@media (max-width: 1080px) {
|
||||
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
|
||||
.matrix { min-width: 860px; }
|
||||
th.sticky, td.sticky {
|
||||
position: sticky; left: 0; z-index: 1;
|
||||
background: var(--surface);
|
||||
box-shadow: 8px 0 8px -8px rgba(19, 19, 22, .1);
|
||||
}
|
||||
tbody tr:hover td.sticky { background: #f7f7f8; }
|
||||
}
|
||||
@media (max-width: 720px) {
|
||||
.page-main { padding: 24px 14px 40px; }
|
||||
.header-inner { padding: 12px 14px; gap: 10px; }
|
||||
.nav { gap: 10px; }
|
||||
.toolbar .input { flex: 1 1 auto; }
|
||||
th.sticky, td.sticky { min-width: 150px; }
|
||||
.matrix td { padding: 12px; }
|
||||
.matrix { min-width: 780px; }
|
||||
.ta-r { white-space: nowrap; }
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="demo-note">Демо-шаблон «Б3» · сдержанность Б1 + бордовый акцент · цвет только там, где он несёт смысл · сузьте окно: таблица скроллится, колонка «Студент» прилипает</div>
|
||||
|
||||
<div class="accent-bar">
|
||||
Акцентный цвет:
|
||||
<button class="swatch sw-bordeaux active" title="Бордо" onclick="setAccent('bordeaux', this)"><span></span></button>
|
||||
<button class="swatch sw-blue" title="Синий — для сравнения" onclick="setAccent('blue', this)"><span></span></button>
|
||||
<button class="swatch sw-graphite" title="Графит — как в Б1" onclick="setAccent('graphite', this)"><span></span></button>
|
||||
</div>
|
||||
|
||||
<header class="page-header">
|
||||
<div class="header-inner">
|
||||
<a class="logo" href="#">LMS<b>.</b></a>
|
||||
<nav class="nav">
|
||||
<a href="#" class="active">Группы</a>
|
||||
<a href="#">Пользователи</a>
|
||||
<a href="#">Лабораторные</a>
|
||||
</nav>
|
||||
<div class="user">
|
||||
<span>Копнин В.</span>
|
||||
<button class="btn btn-secondary btn-sm">Выйти</button>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<main class="page-main">
|
||||
<div class="page-head">
|
||||
<div>
|
||||
<p class="kicker">Ведомость группы</p>
|
||||
<h1>М202-1 · Первый курс</h1>
|
||||
<p class="meta">24 студента · <b>3 опубликованные</b> лабораторные · длительность защиты 30 мин</p>
|
||||
</div>
|
||||
<div class="actions">
|
||||
<button class="btn btn-secondary">Скачать пароли</button>
|
||||
<button class="btn">+ Студент</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="toolbar">
|
||||
<input class="input" style="width:260px" placeholder="Поиск по студенту…">
|
||||
<select class="input"><option>все лабораторные</option><option>ЛР 1</option><option>ЛР 2</option></select>
|
||||
</div>
|
||||
|
||||
<div class="matrix-wrap">
|
||||
<div class="table-scroll">
|
||||
<table class="matrix">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="sticky">Студент</th>
|
||||
<th><span class="lab-no">ЛР 1</span><span class="lab-title">Анализ данных</span></th>
|
||||
<th><span class="lab-no">ЛР 2</span><span class="lab-title">Сортировки</span></th>
|
||||
<th><span class="lab-no">ЛР 3</span><span class="lab-title">Деревья поиска</span></th>
|
||||
<th>Пароль</th>
|
||||
<th class="ta-r">Действия</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="sticky"><div class="student-name">Иванова Анна</div><div class="student-no">2025001</div></td>
|
||||
<td>
|
||||
<div class="cell-main"><span class="variant">В-7</span><span class="score">4.5</span><span class="eye on" title="Оценка опубликована">◉</span></div>
|
||||
<div class="cell-sub"><a class="sub-link" href="#">сдача ↓ 2</a><span class="st done">защита: готова</span></div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="cell-main"><span class="variant">В-2</span><span class="score">3.0</span><span class="eye on" title="Оценка опубликована">◉</span></div>
|
||||
<div class="cell-sub"><a class="sub-link" href="#">сдача ↓ 1</a><span class="st code">защита: код 552314</span></div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="cell-main"><span class="score muted">—</span></div>
|
||||
<div class="cell-sub"><span class="st">вариант не выдан</span></div>
|
||||
</td>
|
||||
<td><span class="badge warn">временный</span></td>
|
||||
<td class="ta-r"><span class="actions-col"><button class="btn btn-secondary btn-sm">Сбросить</button><button class="btn btn-sm btn-danger">Отчислить</button></span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="sticky"><div class="student-name">Петров Павел</div><div class="student-no">2025002</div></td>
|
||||
<td>
|
||||
<div class="cell-main"><span class="variant">В-1</span><span class="score">5.0</span><span class="eye on" title="Оценка опубликована">◉</span></div>
|
||||
<div class="cell-sub"><a class="sub-link" href="#">сдача ↓ 3</a><span class="st done">защита: готова</span></div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="cell-main"><span class="variant">В-4</span><span class="score muted">—</span><span class="eye on" title="Оценка опубликована">◉</span></div>
|
||||
<div class="cell-sub"><a class="sub-link" href="#">сдача ↓ 1</a><span class="st active">защита: идёт · 12:34</span></div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="cell-main"><span class="variant">В-3</span><span class="score muted">—</span><span class="eye" title="Оценка скрыта">○</span></div>
|
||||
<div class="cell-sub"><span class="st">не сдано</span></div>
|
||||
</td>
|
||||
<td><span class="badge ok">изменён</span></td>
|
||||
<td class="ta-r"><span class="actions-col"><button class="btn btn-secondary btn-sm">Сбросить</button><button class="btn btn-sm btn-danger">Отчислить</button></span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="sticky"><div class="student-name">Сидоров Алексей</div><div class="student-no">2025017</div></td>
|
||||
<td>
|
||||
<div class="cell-main"><span class="variant">В-5</span><span class="score muted">—</span><span class="eye on" title="Оценка опубликована">◉</span></div>
|
||||
<div class="cell-sub"><span class="st">не сдано</span></div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="cell-main"><span class="score muted">—</span></div>
|
||||
<div class="cell-sub"><span class="st">вариант не выдан</span></div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="cell-main"><span class="score muted">—</span></div>
|
||||
<div class="cell-sub"><span class="st">вариант не выдан</span></div>
|
||||
</td>
|
||||
<td><span class="badge warn">временный</span></td>
|
||||
<td class="ta-r"><span class="actions-col"><button class="btn btn-secondary btn-sm">Сбросить</button><button class="btn btn-sm btn-danger">Отчислить</button></span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="sticky"><div class="student-name">Кузнецова Мария</div><div class="student-no">2025021</div></td>
|
||||
<td>
|
||||
<div class="cell-main"><span class="variant">В-3</span><span class="score">4.0</span><span class="eye" title="Оценка скрыта">○</span></div>
|
||||
<div class="cell-sub"><a class="sub-link" href="#">сдача ↓ 1</a><span class="st done">защита: готова</span></div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="cell-main"><span class="variant">В-6</span><span class="score muted">—</span><span class="eye" title="Оценка скрыта">○</span></div>
|
||||
<div class="cell-sub"><a class="sub-link" href="#">сдача ↓ 1</a><span class="st active">защита: идёт · 03:07</span></div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="cell-main"><span class="score muted">—</span></div>
|
||||
<div class="cell-sub"><span class="st">вариант не выдан</span></div>
|
||||
</td>
|
||||
<td><span class="badge ok">изменён</span></td>
|
||||
<td class="ta-r"><span class="actions-col"><button class="btn btn-secondary btn-sm">Сбросить</button><button class="btn btn-sm btn-danger">Отчислить</button></span></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<section class="components">
|
||||
<p class="kicker">Элементы интерфейса</p>
|
||||
|
||||
<div class="row">
|
||||
<button class="btn">Сохранить всё</button>
|
||||
<button class="btn btn-secondary">Отмена</button>
|
||||
<button class="btn btn-danger">Удалить</button>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<input class="input" style="width:220px" value="Поле ввода">
|
||||
<input class="input" style="width:130px" value="552314">
|
||||
</div>
|
||||
|
||||
<p class="kicker" style="margin-top:22px">Статусы: бейдж — только индикатор, действие — отдельной кнопкой</p>
|
||||
<div class="row status-line">
|
||||
<span class="name">ЛР 1 · Анализ данных</span>
|
||||
<span class="badge ok">Опубликована</span>
|
||||
<button class="btn btn-secondary btn-sm">Скрыть</button>
|
||||
</div>
|
||||
<div class="row status-line">
|
||||
<span class="name">ЛР 2 · Сортировки</span>
|
||||
<span class="badge warn">Черновик</span>
|
||||
<button class="btn btn-sm">Опубликовать</button>
|
||||
</div>
|
||||
<div class="row status-line">
|
||||
<span class="name">Глава 3 · Жадные алгоритмы</span>
|
||||
<span class="badge">Скрыто</span>
|
||||
<button class="btn btn-sm">Опубликовать</button>
|
||||
</div>
|
||||
|
||||
<p class="kicker" style="margin-top:22px">Уведомление</p>
|
||||
<div class="notice">Оценки опубликованы всей группе — студенты видят баллы и комментарии.</div>
|
||||
</section>
|
||||
</main>
|
||||
|
||||
<footer class="page-footer">LMS · демо-шаблон · стиль Б3</footer>
|
||||
|
||||
<script>
|
||||
function setAccent(name, btn) {
|
||||
document.documentElement.setAttribute('data-accent', name);
|
||||
document.querySelectorAll('.swatch').forEach(function (s) { s.classList.remove('active'); });
|
||||
btn.classList.add('active');
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
264
design/style-c-institutional.html
Normal file
264
design/style-c-institutional.html
Normal file
@@ -0,0 +1,264 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="ru">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>LMS — демо стиля В: институциональный</title>
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link href="https://fonts.googleapis.com/css2?family=PT+Sans:wght@400;700&family=Roboto:wght@400;500;700&display=swap" rel="stylesheet">
|
||||
<style>
|
||||
:root {
|
||||
--bg: #edf1f6;
|
||||
--surface: #ffffff;
|
||||
--text: #16202b;
|
||||
--muted: #5c6b7c;
|
||||
--border: #c9d4e2;
|
||||
--border-strong: #9fb0c4;
|
||||
--accent: #1f4e8c;
|
||||
--accent-hover: #173c6d;
|
||||
--accent-soft: #e3eaf3;
|
||||
--danger: #a02929;
|
||||
--ok: #2e6b34;
|
||||
--warn: #8a5a12;
|
||||
}
|
||||
* { box-sizing: border-box; }
|
||||
body {
|
||||
margin: 0; background: var(--bg); color: var(--text);
|
||||
font: 14px/1.5 "PT Sans", Roboto, "Segoe UI", system-ui, sans-serif;
|
||||
}
|
||||
.demo-note {
|
||||
background: #16202b; color: #e8eef5; text-align: center;
|
||||
font-size: 12px; padding: 6px 12px;
|
||||
}
|
||||
/* ── Шапка-плашка ──────────────────────────────────────── */
|
||||
.page-header { background: var(--accent); color: #ffffff; }
|
||||
.header-inner {
|
||||
max-width: 1200px; margin: 0 auto; padding: 10px 24px;
|
||||
display: flex; align-items: center; gap: 24px;
|
||||
}
|
||||
.logo { font-size: 17px; font-weight: 700; color: #ffffff; text-decoration: none; letter-spacing: .04em; }
|
||||
.nav { display: flex; gap: 4px; flex: 1; }
|
||||
.nav a {
|
||||
color: #d7e2ef; text-decoration: none; font-size: 13.5px; font-weight: 500;
|
||||
padding: 6px 12px; border-radius: 4px;
|
||||
}
|
||||
.nav a.active { background: rgba(255, 255, 255, .16); color: #ffffff; }
|
||||
.nav a:hover { background: rgba(255, 255, 255, .1); color: #ffffff; }
|
||||
.user { display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: #e8eef5; }
|
||||
.user .btn { background: rgba(255, 255, 255, .12); border-color: transparent; color: #ffffff; }
|
||||
.user .btn:hover { background: rgba(255, 255, 255, .2); }
|
||||
/* ── Основная часть ────────────────────────────────────── */
|
||||
.page-main { max-width: 1200px; margin: 0 auto; padding: 24px 24px 48px; }
|
||||
.kicker { margin: 0 0 4px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
|
||||
h1 {
|
||||
margin: 0 0 6px; padding-left: 12px; font-size: 22px; font-weight: 700;
|
||||
border-left: 4px solid var(--accent); line-height: 1.25;
|
||||
}
|
||||
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
|
||||
.meta { margin: 0 0 0 16px; color: var(--muted); font-size: 13px; }
|
||||
.actions { display: flex; gap: 8px; }
|
||||
.toolbar { display: flex; gap: 8px; margin-bottom: 12px; }
|
||||
/* ── Таблица-ведомость: полная сетка ───────────────────── */
|
||||
.matrix-wrap { background: var(--surface); border: 1px solid var(--border-strong); }
|
||||
table.matrix { width: 100%; border-collapse: collapse; }
|
||||
.matrix th {
|
||||
padding: 9px 12px; text-align: left;
|
||||
background: var(--accent-soft); color: var(--text);
|
||||
font-size: 12px; font-weight: 700;
|
||||
border: 1px solid var(--border); border-top: none;
|
||||
}
|
||||
.matrix th:first-child { border-left: none; }
|
||||
.matrix th:last-child { border-right: none; }
|
||||
.matrix td { padding: 10px 12px; border: 1px solid var(--border); vertical-align: top; }
|
||||
.matrix tbody tr:last-child td { border-bottom: none; }
|
||||
.matrix td:first-child { border-left: none; }
|
||||
.matrix td:last-child { border-right: none; }
|
||||
.matrix tbody tr:nth-child(even) { background: #f7f9fc; }
|
||||
.sticky { min-width: 190px; }
|
||||
.student-name { font-weight: 700; }
|
||||
.student-no { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
|
||||
.lab-no { display: block; font-weight: 700; }
|
||||
.lab-title { display: block; font-weight: 400; font-size: 11px; color: var(--muted); }
|
||||
.cell-main { display: flex; align-items: baseline; gap: 10px; }
|
||||
.variant { font-weight: 700; color: var(--accent); }
|
||||
.score { font-variant-numeric: tabular-nums; font-weight: 700; }
|
||||
.score.muted { color: var(--muted); font-weight: 400; }
|
||||
.cell-sub { margin-top: 3px; display: flex; gap: 10px; font-size: 12px; color: var(--muted); }
|
||||
.sub-link { color: var(--accent); text-decoration: underline; }
|
||||
.st { white-space: nowrap; }
|
||||
.st.done { color: var(--ok); font-weight: 700; }
|
||||
.st.active { color: var(--warn); font-weight: 700; }
|
||||
.eye { cursor: default; color: var(--border-strong); font-size: 13px; }
|
||||
.eye.on { color: var(--accent); }
|
||||
.ta-r { text-align: right; }
|
||||
/* ── Кнопки, бейджи, поля ──────────────────────────────── */
|
||||
.btn {
|
||||
display: inline-block; padding: 6px 14px; font: inherit; font-size: 13px; font-weight: 700;
|
||||
border: 1px solid var(--border-strong); background: var(--surface);
|
||||
color: var(--text); border-radius: 4px; cursor: pointer; text-decoration: none;
|
||||
}
|
||||
.btn:hover { background: #f2f6fb; }
|
||||
.btn-primary { background: var(--accent); border-color: var(--accent); color: #ffffff; }
|
||||
.btn-primary:hover { background: var(--accent-hover); }
|
||||
.btn-danger { background: var(--surface); border-color: var(--danger); color: var(--danger); }
|
||||
.btn-danger:hover { background: #f7e9e9; }
|
||||
.btn-sm { padding: 4px 9px; font-size: 12px; }
|
||||
.input {
|
||||
padding: 6px 10px; font: inherit; font-size: 13px; color: var(--text);
|
||||
background: var(--surface); border: 1px solid var(--border-strong); border-radius: 4px;
|
||||
}
|
||||
.input:focus { outline: 2px solid var(--accent-soft); border-color: var(--accent); }
|
||||
.badge {
|
||||
display: inline-block; padding: 2px 8px; font-size: 11px; font-weight: 700;
|
||||
border-radius: 3px; background: var(--accent-soft); color: var(--accent);
|
||||
}
|
||||
.badge.warn { background: #f7ecd4; color: var(--warn); }
|
||||
.badge.ok { background: #e2efe3; color: var(--ok); }
|
||||
.notice { border: 1px solid var(--border); border-left: 4px solid var(--accent); background: var(--surface); padding: 10px 14px; font-size: 13px; }
|
||||
/* ── Секция элементов ──────────────────────────────────── */
|
||||
.components { margin-top: 28px; border: 1px solid var(--border); background: var(--surface); padding: 16px; }
|
||||
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 12px 0; }
|
||||
.page-footer { text-align: center; color: var(--muted); font-size: 12px; padding: 20px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="demo-note">Демо-шаблон «В. Институциональный» · данные условные · тёмная тема будет в реализации</div>
|
||||
|
||||
<header class="page-header">
|
||||
<div class="header-inner">
|
||||
<a class="logo" href="#">LMS</a>
|
||||
<nav class="nav">
|
||||
<a href="#" class="active">Группы</a>
|
||||
<a href="#">Пользователи</a>
|
||||
<a href="#">Лабораторные</a>
|
||||
</nav>
|
||||
<div class="user">
|
||||
<span>Копнин В.</span>
|
||||
<button class="btn btn-sm">Выйти</button>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<main class="page-main">
|
||||
<div class="page-head">
|
||||
<div>
|
||||
<p class="kicker">Ведомость группы</p>
|
||||
<h1>М202-1 · Первый курс</h1>
|
||||
<p class="meta">24 студента · 3 опубликованные лабораторные · длительность защиты 30 мин</p>
|
||||
</div>
|
||||
<div class="actions">
|
||||
<button class="btn">Скачать пароли</button>
|
||||
<button class="btn btn-primary">+ Студент</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="toolbar">
|
||||
<input class="input" style="width:260px" placeholder="Поиск по студенту…">
|
||||
<select class="input"><option>все лабораторные</option><option>ЛР 1</option><option>ЛР 2</option></select>
|
||||
</div>
|
||||
|
||||
<div class="matrix-wrap">
|
||||
<table class="matrix">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="sticky">Студент</th>
|
||||
<th><span class="lab-no">ЛР 1</span><span class="lab-title">Анализ данных</span></th>
|
||||
<th><span class="lab-no">ЛР 2</span><span class="lab-title">Сортировки</span></th>
|
||||
<th><span class="lab-no">ЛР 3</span><span class="lab-title">Деревья поиска</span></th>
|
||||
<th>Пароль</th>
|
||||
<th class="ta-r">Действия</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="sticky"><div class="student-name">Иванова Анна</div><div class="student-no">2025001</div></td>
|
||||
<td>
|
||||
<div class="cell-main"><span class="variant">В-7</span><span class="score">4.5</span><span class="eye on">◉</span></div>
|
||||
<div class="cell-sub"><a class="sub-link" href="#">сдача ↓ 2</a><span class="st done">защита: готов</span></div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="cell-main"><span class="variant">В-2</span><span class="score">3.0</span><span class="eye on">◉</span></div>
|
||||
<div class="cell-sub"><a class="sub-link" href="#">сдача ↓ 1</a><span class="st code">защита: код 552314</span></div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="cell-main"><span class="score muted">—</span></div>
|
||||
<div class="cell-sub"><span class="st">не выдан</span></div>
|
||||
</td>
|
||||
<td><span class="badge warn">временный</span></td>
|
||||
<td class="ta-r"><button class="btn btn-sm">Сбросить</button> <button class="btn btn-sm btn-danger">Отчислить</button></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="sticky"><div class="student-name">Петров Павел</div><div class="student-no">2025002</div></td>
|
||||
<td>
|
||||
<div class="cell-main"><span class="variant">В-1</span><span class="score">5.0</span><span class="eye on">◉</span></div>
|
||||
<div class="cell-sub"><a class="sub-link" href="#">сдача ↓ 3</a><span class="st done">защита: готов</span></div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="cell-main"><span class="variant">В-4</span><span class="score muted">—</span><span class="eye on">◉</span></div>
|
||||
<div class="cell-sub"><a class="sub-link" href="#">сдача ↓ 1</a><span class="st active">защита: идёт · 12:34</span></div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="cell-main"><span class="variant">В-3</span><span class="score muted">—</span><span class="eye">○</span></div>
|
||||
<div class="cell-sub"><span class="st">не сдано</span></div>
|
||||
</td>
|
||||
<td><span class="badge ok">изменён</span></td>
|
||||
<td class="ta-r"><button class="btn btn-sm">Сбросить</button> <button class="btn btn-sm btn-danger">Отчислить</button></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="sticky"><div class="student-name">Сидоров Алексей</div><div class="student-no">2025017</div></td>
|
||||
<td>
|
||||
<div class="cell-main"><span class="variant">В-5</span><span class="score muted">—</span><span class="eye on">◉</span></div>
|
||||
<div class="cell-sub"><span class="st">не сдано</span></div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="cell-main"><span class="score muted">—</span></div>
|
||||
<div class="cell-sub"><span class="st">не выдан</span></div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="cell-main"><span class="score muted">—</span></div>
|
||||
<div class="cell-sub"><span class="st">не выдан</span></div>
|
||||
</td>
|
||||
<td><span class="badge warn">временный</span></td>
|
||||
<td class="ta-r"><button class="btn btn-sm">Сбросить</button> <button class="btn btn-sm btn-danger">Отчислить</button></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="sticky"><div class="student-name">Кузнецова Мария</div><div class="student-no">2025021</div></td>
|
||||
<td>
|
||||
<div class="cell-main"><span class="variant">В-3</span><span class="score">4.0</span><span class="eye">○</span></div>
|
||||
<div class="cell-sub"><a class="sub-link" href="#">сдача ↓ 1</a><span class="st done">защита: готов</span></div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="cell-main"><span class="variant">В-6</span><span class="score muted">—</span><span class="eye">○</span></div>
|
||||
<div class="cell-sub"><a class="sub-link" href="#">сдача ↓ 1</a><span class="st active">защита: идёт · 03:07</span></div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="cell-main"><span class="score muted">—</span></div>
|
||||
<div class="cell-sub"><span class="st">не выдан</span></div>
|
||||
</td>
|
||||
<td><span class="badge ok">изменён</span></td>
|
||||
<td class="ta-r"><button class="btn btn-sm">Сбросить</button> <button class="btn btn-sm btn-danger">Отчислить</button></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<section class="components">
|
||||
<p class="kicker">Элементы интерфейса</p>
|
||||
<div class="row">
|
||||
<button class="btn btn-primary">Сохранить всё</button>
|
||||
<button class="btn">Отмена</button>
|
||||
<button class="btn btn-danger">Удалить</button>
|
||||
<span class="badge ok">published</span>
|
||||
<span class="badge warn">draft</span>
|
||||
</div>
|
||||
<div class="row">
|
||||
<input class="input" style="width:220px" value="Поле ввода">
|
||||
<input class="input" style="width:120px" value="552314">
|
||||
</div>
|
||||
<div class="notice">Оценки опубликованы всей группе — студенты видят баллы и комментарии.</div>
|
||||
</section>
|
||||
</main>
|
||||
|
||||
<footer class="page-footer">LMS · демо-шаблон · стиль В</footer>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user