From 8eee42a24aaa857033970a164671c7540917e407 Mon Sep 17 00:00:00 2001 From: Kaan Karaoglu <9263013+kaankaraoglu@users.noreply.github.com> Date: Sat, 21 Mar 2026 21:05:55 +0100 Subject: [PATCH] feat: wrap raid tiers in expansion boxes on history page Each expansion now has its own info-box container with the expansion name as heading and the raid tier cards nested inside. Tier cards use an elevated surface color for visual hierarchy. Co-Authored-By: Claude Opus 4.6 (1M context) --- src/views/RaidHistoryView.vue | 31 +++++++++++++++++++++++-------- 1 file changed, 23 insertions(+), 8 deletions(-) diff --git a/src/views/RaidHistoryView.vue b/src/views/RaidHistoryView.vue index 09b46ec..f0733ad 100644 --- a/src/views/RaidHistoryView.vue +++ b/src/views/RaidHistoryView.vue @@ -2,10 +2,14 @@

Raid History

-
+

{{ expansion }}

-
+

{{ tier.tier }}

{{ tier.season }} @@ -97,20 +101,19 @@ function progressBadgeClass(progress) { } } -.expansion-section { - margin-bottom: $space-10; +.expansion-box { + margin-bottom: $space-8; text-align: left; } .expansion-heading { - color: $color-text-muted; - font-size: 1.1em; + color: $accent-color; + font-size: 1.2em; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin: 0 0 $space-4; - padding-bottom: $space-2; - border-bottom: 1px solid $color-border; + text-shadow: 0 0 12px rgba($accent-color, 0.2); } .tier-grid { @@ -127,6 +130,18 @@ function progressBadgeClass(progress) { display: flex; flex-direction: column; gap: $space-3; + background: $surface-2; + border: 1px solid $color-border; + border-radius: $radius-lg; + padding: $space-4; + transition: + background $duration-normal $ease-default, + border-color $duration-normal $ease-default; + + &:hover { + background: $surface-3; + border-color: $color-border-hover; + } } .tier-header {