From 1b7520e478432902548aa84547e60c832efd9994 Mon Sep 17 00:00:00 2001 From: Alexander Andreev Date: Mon, 5 Jan 2026 16:06:04 +0300 Subject: [PATCH] =?UTF-8?q?=D0=BD=D0=B5=D0=BC=D0=BD=D0=BE=D0=B3=D0=BE=20?= =?UTF-8?q?=D0=BF=D0=BE=D1=80=D0=B0=D0=B1=D1=82=D0=B0=D0=BB=20=D0=BD=D0=B0?= =?UTF-8?q?=D0=B4=20=D1=81=D1=82=D0=B8=D0=BB=D1=8F=D0=BC=D0=B8.=20=D0=A1?= =?UTF-8?q?=D0=B5=D0=B9=D1=87=D0=B0=D1=81=20=D0=B2=D1=81=D1=91=20=D1=80?= =?UTF-8?q?=D0=B0=D0=B1=D0=BE=D1=82=D0=B0=D0=B5=D1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/layouts/default.vue | 29 ++++++++++++++++++++--------- app/pages/village.vue | 29 +++++++++++++++++++++++++---- 2 files changed, 45 insertions(+), 13 deletions(-) diff --git a/app/layouts/default.vue b/app/layouts/default.vue index bea4c46..664afc2 100644 --- a/app/layouts/default.vue +++ b/app/layouts/default.vue @@ -97,12 +97,13 @@ watch(() => user.value?.exp, (newExp, oldExp) => { } .top-bar { - background-color: #f8f8f8; + background-color: #5a4b3a; /* Dark earthy brown */ padding: 10px 15px; - border-bottom: 1px solid #eee; + border-bottom: 2px solid #4a3b2a; /* Darker brown border */ display: flex; justify-content: flex-end; /* Align user info to the right */ align-items: center; + color: #f0ead6; /* Creamy white text */ } .user-info-top { @@ -113,13 +114,18 @@ watch(() => user.value?.exp, (newExp, oldExp) => { } .logout-button { - background-color: #dc3545; + background-color: #a34a2a; /* Burnt orange/reddish brown */ color: white; - border: none; + border: 1px solid #7b3b22; padding: 5px 10px; border-radius: 5px; cursor: pointer; font-size: 0.8em; + transition: background-color 0.2s; +} + +.logout-button:hover { + background-color: #8e3f22; } .main-content { @@ -132,12 +138,12 @@ watch(() => user.value?.exp, (newExp, oldExp) => { bottom: 0; left: 0; width: 100%; - background-color: #fff; - border-top: 1px solid #eee; + background-color: #5a4b3a; /* Dark earthy brown */ + border-top: 2px solid #4a3b2a; /* Darker brown border */ display: flex; justify-content: space-around; padding: 5px 0; - box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1); + box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2); /* Slightly darker shadow */ z-index: 1000; } @@ -146,9 +152,14 @@ watch(() => user.value?.exp, (newExp, oldExp) => { flex-direction: column; align-items: center; text-decoration: none; - color: #555; + color: #f0ead6; /* Creamy white text */ font-size: 0.7em; padding: 5px; + transition: color 0.2s; +} + +.nav-item:hover { + color: #ffcc00; /* Gold/yellow on hover */ } .nav-item .icon { @@ -157,6 +168,6 @@ watch(() => user.value?.exp, (newExp, oldExp) => { } .nav-item.router-link-active { - color: #007bff; + color: #ffcc00; /* Gold/yellow for active link */ } diff --git a/app/pages/village.vue b/app/pages/village.vue index e313159..9984eef 100644 --- a/app/pages/village.vue +++ b/app/pages/village.vue @@ -16,7 +16,7 @@ v-for="tile in villageData.tiles" :key="tile.id" class="tile" - :class="{ selected: selectedTile && selectedTile.id === tile.id }" + :class="[tileClasses(tile), { selected: selectedTile && selectedTile.id === tile.id }]" @click="selectTile(tile)" > {{ getTileEmoji(tile) }} @@ -102,6 +102,9 @@