chore: save progress before layout changes
This commit is contained in:
@@ -57,6 +57,85 @@
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
/* --- Center Section: Location/Combat Title --- */
|
||||
.header-center {
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
padding: 0 1rem;
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
.header-location-title {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
padding: 0.4rem 1.2rem;
|
||||
background: linear-gradient(135deg, rgba(107, 185, 240, 0.1) 0%, transparent 100%);
|
||||
border: 1px solid rgba(107, 185, 240, 0.3);
|
||||
clip-path: var(--game-clip-path);
|
||||
}
|
||||
|
||||
.header-location-title.combat {
|
||||
background: linear-gradient(135deg, rgba(225, 29, 72, 0.15) 0%, transparent 100%);
|
||||
border-color: rgba(225, 29, 72, 0.4);
|
||||
animation: combat-pulse 2s infinite;
|
||||
}
|
||||
|
||||
@keyframes combat-pulse {
|
||||
|
||||
0%,
|
||||
100% {
|
||||
box-shadow: 0 0 5px rgba(225, 29, 72, 0.3);
|
||||
}
|
||||
|
||||
50% {
|
||||
box-shadow: 0 0 15px rgba(225, 29, 72, 0.5);
|
||||
}
|
||||
}
|
||||
|
||||
.header-location-title .location-name {
|
||||
font-size: 1.1rem;
|
||||
font-weight: 700;
|
||||
color: #fff;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.5px;
|
||||
}
|
||||
|
||||
.header-location-title .combat-indicator {
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
|
||||
.header-location-title .turn-indicator {
|
||||
font-size: 0.75rem;
|
||||
font-weight: 600;
|
||||
padding: 0.2rem 0.5rem;
|
||||
text-transform: uppercase;
|
||||
clip-path: var(--game-clip-path-sm);
|
||||
}
|
||||
|
||||
.header-location-title .turn-indicator.your-turn {
|
||||
background: rgba(76, 175, 80, 0.3);
|
||||
color: #4caf50;
|
||||
border: 1px solid rgba(76, 175, 80, 0.5);
|
||||
}
|
||||
|
||||
.header-location-title .turn-indicator.enemy-turn {
|
||||
background: rgba(244, 67, 54, 0.3);
|
||||
color: #f44336;
|
||||
border: 1px solid rgba(244, 67, 54, 0.5);
|
||||
}
|
||||
|
||||
/* --- Right Section: Navigation + User Info --- */
|
||||
.header-right {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.8rem;
|
||||
}
|
||||
|
||||
/* --- Navigation Tabs (Unified Angled Style) --- */
|
||||
.nav-links {
|
||||
display: flex;
|
||||
@@ -64,12 +143,11 @@
|
||||
/* Tight gaps for HUD feel */
|
||||
align-items: center;
|
||||
height: 100%;
|
||||
margin-left: 1.5rem;
|
||||
}
|
||||
|
||||
.nav-link {
|
||||
height: 70%;
|
||||
/* Not full height, more like buttons */
|
||||
height: 36px;
|
||||
min-height: 36px;
|
||||
background: rgba(255, 255, 255, 0.03);
|
||||
border: 1px solid rgba(255, 255, 255, 0.1);
|
||||
padding: 0 1.2rem;
|
||||
|
||||
Reference in New Issue
Block a user