Push
This commit is contained in:
@@ -7,9 +7,10 @@ html {
|
||||
min-height: 100vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
|
||||
color: #eee;
|
||||
background: var(--game-bg-app);
|
||||
color: var(--game-text-primary);
|
||||
position: relative;
|
||||
font-family: var(--game-font-main);
|
||||
}
|
||||
|
||||
/* Death Overlay */
|
||||
@@ -95,23 +96,23 @@ html {
|
||||
align-items: center;
|
||||
padding: 0 20px;
|
||||
height: 60px;
|
||||
background-color: rgba(20, 20, 25, 0.95);
|
||||
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
|
||||
background-color: var(--game-bg-panel);
|
||||
border-bottom: 1px solid var(--game-border-color);
|
||||
backdrop-filter: blur(10px);
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 100;
|
||||
box-shadow: var(--game-shadow-card);
|
||||
}
|
||||
|
||||
.header-left h1 {
|
||||
margin: 0;
|
||||
font-size: 1.2rem;
|
||||
font-weight: 700;
|
||||
background: linear-gradient(45deg, #ff6b6b, #ffa502);
|
||||
background-clip: text;
|
||||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
letter-spacing: 0.5px;
|
||||
color: var(--game-text-highlight);
|
||||
letter-spacing: 1px;
|
||||
text-transform: uppercase;
|
||||
text-shadow: 0 0 10px rgba(234, 113, 66, 0.3);
|
||||
}
|
||||
|
||||
/* Player Count Badge */
|
||||
@@ -172,28 +173,28 @@ html {
|
||||
}
|
||||
|
||||
.nav-link {
|
||||
background: rgba(255, 255, 255, 0.05);
|
||||
border: 2px solid rgba(255, 255, 255, 0.2);
|
||||
border-radius: 8px;
|
||||
padding: 0.6rem 1.2rem;
|
||||
color: rgba(255, 255, 255, 0.8);
|
||||
background: transparent;
|
||||
border: 1px solid transparent;
|
||||
padding: 0.5rem 1rem;
|
||||
color: var(--game-text-secondary);
|
||||
cursor: pointer;
|
||||
font-size: 0.95rem;
|
||||
font-weight: 600;
|
||||
transition: all 0.3s;
|
||||
transition: all 0.2s ease;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.5px;
|
||||
}
|
||||
|
||||
.nav-link:hover {
|
||||
background: rgba(255, 255, 255, 0.1);
|
||||
color: #fff;
|
||||
border-color: rgba(107, 185, 240, 0.5);
|
||||
transform: translateY(-2px);
|
||||
color: var(--game-text-primary);
|
||||
text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
|
||||
.nav-link.active {
|
||||
background: rgba(107, 185, 240, 0.2);
|
||||
border-color: #6bb9f0;
|
||||
color: #6bb9f0;
|
||||
color: var(--game-color-primary);
|
||||
border-bottom: 2px solid var(--game-color-primary);
|
||||
background: linear-gradient(to top, rgba(234, 113, 66, 0.1), transparent);
|
||||
}
|
||||
|
||||
.user-info {
|
||||
@@ -231,9 +232,10 @@ html {
|
||||
.game-stats-bar {
|
||||
display: flex;
|
||||
gap: 2rem;
|
||||
padding: 1rem 2rem;
|
||||
background: rgba(0, 0, 0, 0.3);
|
||||
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
|
||||
padding: 0.8rem 2rem;
|
||||
background: var(--game-bg-dark);
|
||||
border-bottom: 1px solid var(--game-border-color);
|
||||
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
.stat-bar-container {
|
||||
@@ -263,28 +265,27 @@ html {
|
||||
.progress-bar {
|
||||
width: 100%;
|
||||
height: 20px;
|
||||
background: rgba(0, 0, 0, 0.4);
|
||||
border-radius: 10px;
|
||||
background: rgba(0, 0, 0, 0.6);
|
||||
border-radius: var(--game-radius-sm);
|
||||
overflow: hidden;
|
||||
border: 1px solid rgba(255, 255, 255, 0.1);
|
||||
box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
|
||||
border: 1px solid var(--game-border-color);
|
||||
box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
|
||||
.progress-fill {
|
||||
height: 100%;
|
||||
transition: width 0.5s ease;
|
||||
border-radius: 10px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.progress-fill.health {
|
||||
background: linear-gradient(90deg, #dc3545 0%, #ff6b6b 100%);
|
||||
box-shadow: 0 0 10px rgba(255, 107, 107, 0.5);
|
||||
background: var(--game-gradient-health);
|
||||
box-shadow: 0 0 10px rgba(196, 92, 92, 0.3);
|
||||
}
|
||||
|
||||
.progress-fill.stamina {
|
||||
background: linear-gradient(90deg, #ffc107 0%, #ffeb3b 100%);
|
||||
box-shadow: 0 0 10px rgba(255, 235, 59, 0.5);
|
||||
background: var(--game-gradient-stamina);
|
||||
box-shadow: 0 0 10px rgba(226, 180, 103, 0.3);
|
||||
}
|
||||
|
||||
/* Legacy stat styles for backwards compatibility */
|
||||
@@ -302,9 +303,10 @@ html {
|
||||
|
||||
.game-tabs {
|
||||
display: flex;
|
||||
background: rgba(0, 0, 0, 0.2);
|
||||
border-bottom: 2px solid rgba(255, 107, 107, 0.3);
|
||||
background: var(--game-bg-panel);
|
||||
border-bottom: 2px solid var(--game-border-color);
|
||||
overflow-x: auto;
|
||||
gap: 2px;
|
||||
}
|
||||
|
||||
.tab {
|
||||
@@ -312,22 +314,25 @@ html {
|
||||
padding: 1rem;
|
||||
border: none;
|
||||
background: transparent;
|
||||
color: #aaa;
|
||||
color: var(--game-text-secondary);
|
||||
cursor: pointer;
|
||||
transition: all 0.3s;
|
||||
transition: all 0.2s;
|
||||
font-size: 0.9rem;
|
||||
white-space: nowrap;
|
||||
font-weight: 600;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.5px;
|
||||
}
|
||||
|
||||
.tab:hover {
|
||||
background: rgba(255, 107, 107, 0.1);
|
||||
color: #fff;
|
||||
background: rgba(255, 255, 255, 0.05);
|
||||
color: var(--game-text-primary);
|
||||
}
|
||||
|
||||
.tab.active {
|
||||
background: rgba(255, 107, 107, 0.2);
|
||||
color: #ff6b6b;
|
||||
border-bottom: 3px solid #ff6b6b;
|
||||
background: linear-gradient(to top, rgba(234, 113, 66, 0.1), transparent);
|
||||
color: var(--game-color-primary);
|
||||
border-bottom: 3px solid var(--game-color-primary);
|
||||
}
|
||||
|
||||
.game-main {
|
||||
@@ -385,70 +390,76 @@ html {
|
||||
}
|
||||
|
||||
.location-info {
|
||||
background: rgba(0, 0, 0, 0.3);
|
||||
background: var(--game-bg-panel);
|
||||
padding: 1.5rem;
|
||||
border-radius: 10px;
|
||||
border-radius: var(--game-radius-md);
|
||||
margin-bottom: 1.5rem;
|
||||
border: 1px solid rgba(255, 107, 107, 0.3);
|
||||
border: 1px solid var(--game-border-color);
|
||||
box-shadow: var(--game-shadow-card);
|
||||
}
|
||||
|
||||
.location-info h2 {
|
||||
margin: 0 0 1rem 0;
|
||||
color: #ff6b6b;
|
||||
color: var(--game-text-highlight);
|
||||
font-size: 1.8rem;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 0.75rem;
|
||||
flex-wrap: wrap;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 1px;
|
||||
}
|
||||
|
||||
.danger-badge {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 0.4rem;
|
||||
padding: 0.5rem 1.2rem;
|
||||
border-radius: 24px;
|
||||
font-size: 1rem;
|
||||
padding: 0.3rem 0.8rem;
|
||||
border-radius: var(--game-radius-sm);
|
||||
font-size: 0.9rem;
|
||||
font-weight: bold;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.5px;
|
||||
border: 1px solid transparent;
|
||||
}
|
||||
|
||||
.danger-safe {
|
||||
background: rgba(76, 175, 80, 0.2);
|
||||
color: #4caf50;
|
||||
border: 2px solid #4caf50;
|
||||
background: rgba(139, 179, 128, 0.15);
|
||||
color: var(--game-danger-safe);
|
||||
border-color: var(--game-danger-safe);
|
||||
}
|
||||
|
||||
.danger-1 {
|
||||
background: rgba(255, 193, 7, 0.2);
|
||||
color: #ffc107;
|
||||
border: 2px solid #ffc107;
|
||||
background: rgba(226, 180, 103, 0.15);
|
||||
color: var(--game-danger-low);
|
||||
border-color: var(--game-danger-low);
|
||||
}
|
||||
|
||||
.danger-2 {
|
||||
background: rgba(255, 152, 0, 0.2);
|
||||
color: #ff9800;
|
||||
border: 2px solid #ff9800;
|
||||
background: rgba(234, 113, 66, 0.15);
|
||||
color: var(--game-danger-med);
|
||||
border-color: var(--game-danger-med);
|
||||
}
|
||||
|
||||
.danger-3 {
|
||||
background: rgba(255, 87, 34, 0.2);
|
||||
color: #ff5722;
|
||||
border: 2px solid #ff5722;
|
||||
background: rgba(196, 92, 92, 0.15);
|
||||
color: var(--game-danger-high);
|
||||
border-color: var(--game-danger-high);
|
||||
}
|
||||
|
||||
.danger-4 {
|
||||
background: rgba(244, 67, 54, 0.2);
|
||||
color: #f44336;
|
||||
border: 2px solid #f44336;
|
||||
background: rgba(196, 92, 92, 0.25);
|
||||
color: var(--game-danger-high);
|
||||
border-color: var(--game-danger-high);
|
||||
box-shadow: 0 0 8px rgba(196, 92, 92, 0.3);
|
||||
}
|
||||
|
||||
.danger-5 {
|
||||
background: rgba(156, 39, 176, 0.2);
|
||||
color: #9c27b0;
|
||||
border: 2px solid #9c27b0;
|
||||
background: rgba(163, 62, 62, 0.25);
|
||||
color: var(--game-danger-extreme);
|
||||
border-color: var(--game-danger-extreme);
|
||||
box-shadow: 0 0 12px rgba(163, 62, 62, 0.4);
|
||||
}
|
||||
|
||||
.location-tags {
|
||||
@@ -721,16 +732,19 @@ html {
|
||||
}
|
||||
|
||||
.movement-controls {
|
||||
background: rgba(0, 0, 0, 0.3);
|
||||
background: var(--game-bg-panel);
|
||||
padding: 1.5rem;
|
||||
border-radius: 10px;
|
||||
border: 2px solid rgba(255, 107, 107, 0.3);
|
||||
border-radius: var(--game-radius-md);
|
||||
border: 1px solid var(--game-border-color);
|
||||
box-shadow: var(--game-shadow-card);
|
||||
}
|
||||
|
||||
.movement-controls h3 {
|
||||
margin: 0 0 1rem 0;
|
||||
color: #ff6b6b;
|
||||
color: var(--game-text-highlight);
|
||||
text-align: center;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 1px;
|
||||
}
|
||||
|
||||
/* 8-Direction Compass Grid */
|
||||
@@ -746,18 +760,18 @@ html {
|
||||
.compass-btn {
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
border: 2px solid rgba(255, 107, 107, 0.3);
|
||||
background: linear-gradient(135deg, rgba(255, 107, 107, 0.2) 0%, rgba(255, 107, 107, 0.3) 100%);
|
||||
color: #fff;
|
||||
border-radius: 12px;
|
||||
border: 1px solid var(--game-border-color);
|
||||
background: linear-gradient(135deg, rgba(80, 80, 90, 0.3) 0%, rgba(40, 40, 50, 0.5) 100%);
|
||||
color: var(--game-text-primary);
|
||||
border-radius: var(--game-radius-sm);
|
||||
cursor: pointer;
|
||||
transition: all 0.3s ease;
|
||||
transition: all 0.2s ease;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 0.25rem;
|
||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
|
||||
box-shadow: var(--game-shadow-card);
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
@@ -769,7 +783,7 @@ html {
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
|
||||
background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
@@ -783,7 +797,7 @@ html {
|
||||
.compass-cost {
|
||||
font-size: 0.75rem;
|
||||
font-weight: bold;
|
||||
color: #ffc107;
|
||||
color: var(--game-color-warning);
|
||||
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
|
||||
display: block;
|
||||
line-height: 1;
|
||||
@@ -791,10 +805,10 @@ html {
|
||||
}
|
||||
|
||||
.compass-btn:hover:not(:disabled) {
|
||||
background: linear-gradient(135deg, rgba(255, 107, 107, 0.4) 0%, rgba(255, 107, 107, 0.5) 100%);
|
||||
transform: translateY(-2px) scale(1.05);
|
||||
box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4);
|
||||
border-color: rgba(255, 107, 107, 0.6);
|
||||
background: linear-gradient(135deg, rgba(234, 113, 66, 0.2) 0%, rgba(234, 113, 66, 0.3) 100%);
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
|
||||
border-color: var(--game-color-primary);
|
||||
}
|
||||
|
||||
.compass-btn:active:not(:disabled) {
|
||||
|
||||
Reference in New Issue
Block a user