feat(web): tailwind v4 + frutjam build pipeline

This commit is contained in:
kpa39l
2026-10-28 12:57:11 +00:00
parent 6687ef3d51
commit ed3b043724
11 changed files with 1584 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
@import "tailwindcss";
@plugin "frutjam";
/* Tailwind v4 сканирует проект от корня, но шаблоны и рендер-код лежат вне web/static/css —
источники указываем явно, иначе утилиты из шаблонов не попадут в сборку. */
@source "../../templates";
@source "../../app.py";
@layer components {
/* vesti-специфика (раньше жила в <style> внутри base.html) */
.post-text { white-space: pre-wrap; font-size: 0.875rem; }
.active-row { background-color: #dcecfc; }
.active-row:hover { background-color: #d0e4f8; }
.list-panel { background: #fff; }
}
[x-cloak] { display: none !important; }
File diff suppressed because one or more lines are too long
+1
View File
@@ -4,6 +4,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>VESTI — {% block title %}Управление{% endblock %}</title>
<link href="/static/css/style.css" rel="stylesheet">
<link href="/static/bootstrap.min.css" rel="stylesheet">
<style>
body { padding-top: 4.5rem; background: #f5f6fa; }