fix(админка): свежие файлы без ручной чистки кеша, скелетон вместо «Загрузки»

Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
anor
2026-11-10 01:26:08 +10:00
co-authored by Claude Code
parent 40dcb44a7c
commit 55aca56b3f
12 changed files with 92 additions and 10 deletions
+7
View File
@@ -3,6 +3,13 @@
body{margin:0;background:var(--bg);color:var(--ink);font:14px/1.45 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif}
.shell{display:flex;min-height:100vh}
.side{width:220px;background:var(--side);color:#cfd6e4;padding:18px 12px;display:flex;flex-direction:column;gap:4px}
.side-foot{margin-top:auto;padding:10px;color:#667085;font-size:11px}
@media(max-width:720px){.side-foot{display:none}}
.skeleton{display:flex;flex-direction:column;gap:10px;min-height:88px}
.sk-line{height:14px;border-radius:6px;background:linear-gradient(90deg,var(--line),#eef2f7,var(--line));background-size:200% 100%;animation:sk 1.2s ease-in-out infinite}
.sk-line:nth-child(2){width:70%}.sk-line:nth-child(3){width:45%}
@keyframes sk{0%{background-position:200% 0}100%{background-position:-200% 0}}
@media(prefers-reduced-motion:reduce){.sk-line{animation:none}}
.brand{color:#fff;text-decoration:none;font-weight:700;font-size:16px;padding:6px 10px 16px}
.brand span{color:#7ea2ff}
.nav-link{color:#cfd6e4;text-decoration:none;padding:9px 10px;border-radius:8px}