style(report-card): move wave-bl into footer, resize waves

This commit is contained in:
dev
2026-10-20 15:43:54 +03:00
parent 451ca278cc
commit d33bf62a7d
2 changed files with 8 additions and 6 deletions
+5 -3
View File
@@ -1086,9 +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-top{position:absolute;top:0;left:0;width:125px;height:65px;fill:var(--sc-wave-top);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__wave-br{position:absolute;right:0;bottom:0;width:140px;height:85px;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}
@@ -1121,6 +1121,8 @@ body[data-page=settings] .page-head{align-items:flex-end}
.student-card__logo{position:absolute;top:8px;left:8px;z-index:2;width:80px;height:445px;object-fit:contain;pointer-events:none;filter:drop-shadow(0 1px 3px rgba(10,25,50,.3))}
.student-card__logo[hidden]{display:none}
.student-card__footer{
position:relative;
isolation:isolate;
display:flex;
align-items:center;
padding:14px var(--sc-pad-x);
@@ -1282,7 +1284,7 @@ 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-br{width:107.5px;height:65.25px}
.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}
+3 -3
View File
@@ -515,9 +515,6 @@
<img class="student-card__logo" id="reportCardLogo" alt="" decoding="async" hidden>
</div>
<div class="student-card__content">
<svg class="student-card__wave-bl" viewBox="0 0 220 100" aria-hidden="true" focusable="false">
<path d="M0 0C25 35 15 65 55 75C90 85 115 55 155 85C175 100 195 112 220 100L220 100L0 100Z"/>
</svg>
<svg class="student-card__wave-br" viewBox="0 0 280 170" aria-hidden="true" focusable="false">
<path d="M0 170C30 125 55 125 100 120C160 115 180 65 205 30C225 0 255 0 280 0L280 170Z"/>
</svg>
@@ -542,6 +539,9 @@
</svg>
</div>
<footer class="student-card__footer">
<svg class="student-card__wave-bl" viewBox="0 0 220 100" aria-hidden="true" focusable="false">
<path d="M0 0C25 35 15 65 55 75C90 85 115 55 155 85C175 100 195 112 220 100L220 100L0 100Z"/>
</svg>
<div class="student-card__footer-badges">
<span class="student-card__badge student-card__badge--time">
<svg class="student-card__icon student-card__icon--badge" viewBox="0 0 24 24"