Empty card frame: icon and a line inside the box

- A card without screenshots draws a picture glyph plus «Кадры пришлёт команда»
  centred in the dashed box instead of a bare rectangle with a caption below.
- The caption paragraph, its styles and its hide-on-image-load handler are
  gone: the line now lives in the box it describes.
- Section height on 390 drops from 11713 to 10909 px.
This commit is contained in:
FastD committed 2026-11-14 15:14:36 +03:00
1 parent 14eb4fb539
commit e8910e87da
3 files changed
+17 -14

No files matched your search

+5 -3
View File
@@ -436,8 +436,11 @@
.case-card__shots{display:flex;flex-direction:column;gap:10px;min-width:0}
.case-card__frame{position:relative;width:100%;aspect-ratio:4/3;border-radius:var(--radius-md);
overflow:hidden;background:var(--bg)}
/* Кадров нет вовсе → пустой бокс без карусели (main.js не рисует стрелки и точки). */
.case-card__frame--empty{border:1px dashed var(--line-strong);background:none}
/* Кадров нет вовсе → пустой бокс как осознанное состояние: иконка + строка по центру. */
.case-card__frame--empty{display:flex;align-items:center;justify-content:center;padding:0 18px;
border:1px dashed var(--line-strong);background:none}
.case-card__empty{display:inline-flex;flex-direction:column;align-items:center;gap:8px;
text-align:center;color:var(--text-3);font-size:12.5px;line-height:1.4}
/* Мобильная игра со скриншотами 9:16 (media: portrait): в 4:3-боксе с object-fit:cover
срезались верх и низ интерфейса, поэтому бокс выше, а кадр вписан целиком. */
.case-card--portrait .case-card__frame{aspect-ratio:auto;height:320px}
@@ -449,7 +452,6 @@
.case-card__frame .qv-frame__ph b{font-size:22px}
.case-card__dots{display:flex;justify-content:center;gap:2px}
.case-card__facts{display:flex;flex-direction:column;gap:14px;min-width:0}
.case-card__note{margin:0;font-size:12.5px;line-height:1.45;color:var(--text-3)}
.case-card__more{margin-top:auto;align-self:flex-start}
/* Ссылки проекта в мини-карточке (правки 2026-10-12; знаки ресурсов — §10.28, 2026-10-14):
те же поля, подписи и порядок, что и в большом окне. Компактный размер — карточка ниже