feat(report-card): decorative waves + exclude current entry from student works
This commit is contained in:
@@ -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}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user