Style: align last tweaks with B3 bordeaux design (neutral header, outline buttons, 8/10px radii)

This commit is contained in:
2026-10-02 16:00:14 +03:00
parent 51d1b84297
commit c355190783
8 changed files with 32 additions and 37 deletions

View File

@@ -376,7 +376,7 @@
<div class="modal-body" id="assign-modal-body"></div>
</dialog>
<script th:src="@{/js/admin-group.js(v='9')}" defer></script>
<script th:src="@{/js/admin-group.js(v='10')}" defer></script>
</div>
</body>
</html>

View File

@@ -15,15 +15,15 @@
</noscript>
<link rel="icon" type="image/svg+xml" th:href="@{/favicon.svg(v='2')}">
<!-- v=4: сброс кэша стилей после редизайна; при изменении css поднимать версию -->
<link rel="stylesheet" th:href="@{/css/app.css(v='9')}">
<link id="hljs-light" rel="stylesheet" th:href="@{/css/hljs-github.css(v='9')}">
<link id="hljs-dark" rel="stylesheet" th:href="@{/css/hljs-github-dark.css(v='9')}" disabled>
<script th:src="@{/js/highlight.min.js(v='9')}" defer></script>
<script th:src="@{/js/table-scroll.js(v='9')}" defer></script>
<script th:src="@{/js/tablekit.js(v='9')}" defer></script>
<script th:src="@{/js/ui-state.js(v='9')}" defer></script>
<script th:src="@{/js/md-content.js(v='9')}" defer></script>
<script th:src="@{/js/submit-guard.js(v='9')}" defer></script>
<link rel="stylesheet" th:href="@{/css/app.css(v='10')}">
<link id="hljs-light" rel="stylesheet" th:href="@{/css/hljs-github.css(v='10')}">
<link id="hljs-dark" rel="stylesheet" th:href="@{/css/hljs-github-dark.css(v='10')}" disabled>
<script th:src="@{/js/highlight.min.js(v='10')}" defer></script>
<script th:src="@{/js/table-scroll.js(v='10')}" defer></script>
<script th:src="@{/js/tablekit.js(v='10')}" defer></script>
<script th:src="@{/js/ui-state.js(v='10')}" defer></script>
<script th:src="@{/js/md-content.js(v='10')}" defer></script>
<script th:src="@{/js/submit-guard.js(v='10')}" defer></script>
<script>
(function(){
var t = localStorage.getItem('lms-theme') || 'light';
@@ -98,7 +98,7 @@
<div class="page">
<header class="page-header">
<div class="page-header-inner">
<a th:href="@{/}" class="logo">LMS</a>
<a th:href="@{/}" class="logo">LMS<b>.</b></a>
<nav class="nav">
<th:block th:if="${currentUser != null}">
<a th:if="${currentUser.admin}" th:href="@{/admin/groups}" class="nav-link">Группы</a>
@@ -109,8 +109,8 @@
<a th:if="${currentUser.admin}" th:href="@{/admin}" class="nav-link nav-user" th:text="${currentUser.name}" title="Личный кабинет">—</a>
<a th:unless="${currentUser.admin}" th:href="@{/student}" class="nav-link nav-user" th:text="${currentUser.name}" title="Личный кабинет">—</a>
</th:block>
<a th:if="${currentUser == null}" th:href="@{/login}" class="btn btn-primary">Войти</a>
<button type="button" onclick="toggleTheme()" class="btn btn-primary theme-btn"
<a th:if="${currentUser == null}" th:href="@{/login}" class="btn btn-secondary">Войти</a>
<button type="button" onclick="toggleTheme()" class="btn btn-secondary theme-btn"
aria-label="Сменить тему" title="Сменить тему">
<svg class="theme-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<circle cx="12" cy="12" r="5" fill="none" stroke="currentColor" stroke-width="1.6"/>
@@ -128,7 +128,7 @@
</svg>
</button>
<form th:if="${currentUser != null}" th:action="@{/logout}" method="post">
<button class="btn btn-primary" type="submit">Выйти</button>
<button class="btn btn-secondary" type="submit">Выйти</button>
<input type="hidden" name="_csrf" th:value="${csrfToken}">
</form>
</nav>

View File

@@ -126,7 +126,7 @@
</div>
<script th:src="@{/js/mdeditor.js(v='9')}" defer></script>
<script th:src="@{/js/mdeditor.js(v='10')}" defer></script>
</div>
</body>
</html>

View File

@@ -190,7 +190,7 @@
</div>
</dialog>
<script th:src="@{/js/content-sort.js(v='9')}" defer></script>
<script th:src="@{/js/content-sort.js(v='10')}" defer></script>
</div>
</body>
</html>

View File

@@ -241,8 +241,8 @@
</div>
</dialog>
<script th:src="@{/js/mdeditor.js(v='9')}" defer></script>
<script th:src="@{/js/content-sort.js(v='9')}" defer></script>
<script th:src="@{/js/mdeditor.js(v='10')}" defer></script>
<script th:src="@{/js/content-sort.js(v='10')}" defer></script>
</div>
</body>
</html>

View File

@@ -147,7 +147,7 @@
</div>
</dialog>
<script th:src="@{/js/content-sort.js(v='9')}" defer></script>
<script th:src="@{/js/content-sort.js(v='10')}" defer></script>
</div>
</body>
</html>

View File

@@ -109,7 +109,7 @@
<p class="text-sm text-muted">Ожидайте преподавателя с проверкой.</p>
</div>
</div>
<script th:src="@{/js/defense-timer.js(v='9')}" defer></script>
<script th:src="@{/js/defense-timer.js(v='10')}" defer></script>
</div>
</body>
</html>