From 451ca278cc7ce91e348bb49c0e537b131f4365a0 Mon Sep 17 00:00:00 2001 From: dev Date: Tue, 20 Oct 2026 15:36:14 +0300 Subject: [PATCH] feat(report-card): decorative waves + exclude current entry from student works --- public/admin.css | 10 ++++++++++ public/journal.html | 9 +++++++++ public/js/journal.js | 7 ++++--- server.js | 11 +++++++++-- 4 files changed, 32 insertions(+), 5 deletions(-) diff --git a/public/admin.css b/public/admin.css index d33d544..fe48847 100644 --- a/public/admin.css +++ b/public/admin.css @@ -1036,7 +1036,11 @@ body[data-page=settings] .page-head{align-items:flex-end} --sc-media-inset:20px; --sc-smiley-size:50px; --sc-smiley-bottom:16px; + --sc-wave-top:#D9EDFF; + --sc-wave-bl:#CFE3FF; + --sc-wave-br:#E4F0FF; position:relative; + isolation:isolate; width:100%; max-width:440px; background:var(--card); @@ -1082,6 +1086,9 @@ body[data-page=settings] .page-head{align-items:flex-end} padding:24px var(--sc-pad-x); } .student-card__sparks{position:absolute;top:15px;right:16px;width:104px;color:#E1ECFB;pointer-events:none} +.student-card__wave-top{position:absolute;top:0;left:0;width:125px;height:65px;fill:var(--sc-wave-top);transform:rotate(-8deg);z-index:-1;pointer-events:none} +.student-card__wave-bl{position:absolute;left:0;bottom:0;width:220px;height:100px;fill:var(--sc-wave-bl);z-index:-1;pointer-events:none} +.student-card__wave-br{position:absolute;right:0;bottom:0;width:280px;height:170px;fill:var(--sc-wave-br);z-index:-1;pointer-events:none} .student-card__name{margin:0 0 8px;font-size:20px;font-weight:750;line-height:1.25;letter-spacing:-.1px;color:var(--sc-text);overflow-wrap:break-word} .student-card__name[hidden]{display:none} .student-card__media[hidden]{display:none} @@ -1275,6 +1282,9 @@ body.report-card-open .report-fields{display:flex} --sc-smiley-size:40px; } .student-card__logo{width:36px;height:36px} + .student-card__wave-br{width:215px;height:130.5px} + .student-card__wave-bl{width:165px;height:75px} + .student-card__wave-top{width:100px;height:52px} .student-card__badge{font-size:12px;padding:6px 11px} } diff --git a/public/journal.html b/public/journal.html index b0438b6..c4cf9ed 100644 --- a/public/journal.html +++ b/public/journal.html @@ -500,6 +500,9 @@