@import '../../../styles/variables.scss'; @mixin section-title { font-family: 'Georgia', 'Times New Roman', serif; font-size: 30px; font-weight: bold; color: $tx; margin-bottom: 20px; display: block; } @mixin serif-number { font-family: 'Georgia', 'Times New Roman', serif; font-variant-numeric: tabular-nums; } @mixin tag($bg, $color) { display: inline-block; padding: 4px 12px; border-radius: 8px; font-size: 20px; font-weight: 500; background: $bg; color: $color; } @mixin flex-center { display: flex; align-items: center; justify-content: center; } .my-reports-page { min-height: 100vh; background: $bg; padding: 32px 24px; padding-bottom: 40px; } .page-title { @include section-title; padding-left: 4px; } .report-list { display: flex; flex-direction: column; gap: 16px; } .report-card { background: $card; border-radius: $r; padding: 28px; box-shadow: $shadow-sm; &:active { box-shadow: $shadow-md; } } .report-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; } .report-type-row { display: flex; align-items: center; } .report-avatar { @include flex-center; width: 56px; height: 56px; border-radius: $r-sm; background: $pri-l; margin-right: 16px; flex-shrink: 0; } .report-avatar-text { font-family: 'Georgia', 'Times New Roman', serif; font-size: 28px; font-weight: bold; color: $pri-d; } .report-type { font-family: 'Georgia', 'Times New Roman', serif; font-size: 30px; font-weight: bold; color: $tx; } .report-status { @include tag($bd-l, $tx2); &.normal { @include tag($acc-l, $acc); } &.abnormal { @include tag($dan-l, $dan); } } .report-date { @include serif-number; font-size: 26px; color: $tx2; display: block; padding-left: 72px; }