fix(frontend): restore Ref document and control contracts

Ref's `.bg0/.bg1/.bg2` set only a background image and `html, body` centre the
texture with vertical tiling, so the extra background colours and the default
tiling are removed. Two ranking views declared unscoped `body` rules that leaked
a 500px min-width and a 21px line-height onto every screen; each page now owns
its own contract. Controls that Ref renders with the Bootstrap/Lumen family get
the shared modifier so the bottom edge moves on hover and while pressed.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-08-04 07:22:15 +00:00
co-authored by Claude Opus 5
parent f0fa55245b
commit 80fb1d118b
16 changed files with 174 additions and 63 deletions
+4 -4
View File
@@ -129,7 +129,7 @@ onMounted(async () => {
<strong>연 감</strong>
<button class="legacy-button close-button" type="button" @click="closePage">창 닫기</button>
<span class="settings-menu">
<button class="legacy-button" type="button" @click="settingsOpen = !settingsOpen">⚙ 설정⌄</button>
<button class="legacy-button legacy-button--navigation" type="button" @click="settingsOpen = !settingsOpen">⚙ 설정⌄</button>
<button v-if="settingsOpen" class="settings-item" type="button" @click="toggleRankingPosition">
국가 순서 위치 변경(모바일 전용)
</button>
@@ -139,7 +139,7 @@ onMounted(async () => {
<section class="year-selector">
<span>연월 선택:</span>
<button
class="legacy-button"
class="legacy-button legacy-button--secondary"
type="button"
:disabled="selectedYearMonth === range?.firstYearMonth"
@click="moveMonth(-1)"
@@ -152,7 +152,7 @@ onMounted(async () => {
</option>
</select>
<button
class="legacy-button"
class="legacy-button legacy-button--secondary"
type="button"
:disabled="selectedYearMonth === range?.currentYearMonth"
@click="moveMonth(1)"
@@ -222,7 +222,7 @@ onMounted(async () => {
</template>
<style scoped>
:global(body) {
:global(body:has(.yearbook-page)) {
min-width: 500px;
}