Major overhaul of db -> hypertable conversion, updated GUI, added inventory
This commit is contained in:
parent
fdf9f04bc6
commit
f218350959
8 changed files with 1565 additions and 210 deletions
731
static/style-ac.css
Normal file
731
static/style-ac.css
Normal file
|
|
@ -0,0 +1,731 @@
|
|||
/*
|
||||
* style-ac.css - Asheron's Call themed styles for Dereth Tracker
|
||||
*
|
||||
* Recreates the classic AC UI with stone textures, beveled edges,
|
||||
* golden accents, and medieval fantasy aesthetics.
|
||||
*/
|
||||
|
||||
/* CSS Custom Properties for AC theme colors and sizing */
|
||||
:root {
|
||||
--sidebar-width: 340px;
|
||||
|
||||
/* AC Color Palette */
|
||||
--ac-black: #0a0a0a;
|
||||
--ac-dark-stone: #1a1a1a;
|
||||
--ac-medium-stone: #2a2a2a;
|
||||
--ac-light-stone: #3a3a3a;
|
||||
--ac-border-dark: #000;
|
||||
--ac-border-light: #4a4a4a;
|
||||
--ac-gold: #d4af37;
|
||||
--ac-gold-bright: #ffd700;
|
||||
--ac-gold-dark: #b8941f;
|
||||
--ac-green: #00ff00;
|
||||
--ac-cyan: #00ffff;
|
||||
--ac-text: #e0e0e0;
|
||||
--ac-text-dim: #a0a0a0;
|
||||
|
||||
/* Backgrounds */
|
||||
--bg-main: var(--ac-black);
|
||||
--bg-side: var(--ac-dark-stone);
|
||||
--card: var(--ac-medium-stone);
|
||||
--card-hov: var(--ac-light-stone);
|
||||
--text: var(--ac-text);
|
||||
--accent: var(--ac-gold);
|
||||
}
|
||||
|
||||
/* Placeholder text in chat input */
|
||||
.chat-input::placeholder {
|
||||
color: var(--ac-text-dim);
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
html {
|
||||
margin: 0;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
overflow: hidden;
|
||||
font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
|
||||
background: var(--bg-main);
|
||||
color: var(--text);
|
||||
background-image:
|
||||
repeating-linear-gradient(
|
||||
45deg,
|
||||
transparent,
|
||||
transparent 10px,
|
||||
rgba(255, 255, 255, 0.01) 10px,
|
||||
rgba(255, 255, 255, 0.01) 20px
|
||||
);
|
||||
}
|
||||
|
||||
/* AC-style stone textured panels with beveled edges */
|
||||
.ac-panel {
|
||||
background: linear-gradient(135deg, var(--ac-medium-stone) 0%, var(--ac-dark-stone) 100%);
|
||||
border: 2px solid var(--ac-border-dark);
|
||||
box-shadow:
|
||||
inset 2px 2px 3px rgba(255, 255, 255, 0.1),
|
||||
inset -2px -2px 3px rgba(0, 0, 0, 0.5),
|
||||
0 2px 5px rgba(0, 0, 0, 0.8);
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
/* Sort buttons - AC style */
|
||||
.sort-buttons {
|
||||
display: flex;
|
||||
gap: 3px;
|
||||
margin: 12px 16px 8px;
|
||||
padding: 8px;
|
||||
background: var(--ac-dark-stone);
|
||||
border: 1px solid var(--ac-border-dark);
|
||||
box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
|
||||
.sort-buttons .btn {
|
||||
flex: 1;
|
||||
padding: 5px 8px;
|
||||
background: linear-gradient(180deg, var(--ac-light-stone) 0%, var(--ac-medium-stone) 100%);
|
||||
color: var(--ac-text-dim);
|
||||
border: 1px solid var(--ac-border-dark);
|
||||
border-radius: 2px;
|
||||
text-align: center;
|
||||
cursor: pointer;
|
||||
user-select: none;
|
||||
font-size: 0.75rem;
|
||||
font-weight: 600;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.5px;
|
||||
transition: all 0.15s;
|
||||
box-shadow:
|
||||
1px 1px 2px rgba(0, 0, 0, 0.5),
|
||||
inset 1px 1px 2px rgba(255, 255, 255, 0.1);
|
||||
}
|
||||
|
||||
.sort-buttons .btn:hover {
|
||||
background: linear-gradient(180deg, var(--ac-light-stone) 0%, var(--ac-light-stone) 100%);
|
||||
color: var(--ac-gold-bright);
|
||||
box-shadow:
|
||||
1px 1px 2px rgba(0, 0, 0, 0.5),
|
||||
inset 1px 1px 2px rgba(255, 255, 255, 0.2),
|
||||
0 0 5px rgba(212, 175, 55, 0.3);
|
||||
}
|
||||
|
||||
.sort-buttons .btn:active {
|
||||
box-shadow:
|
||||
inset 2px 2px 3px rgba(0, 0, 0, 0.7),
|
||||
inset -1px -1px 2px rgba(255, 255, 255, 0.1);
|
||||
}
|
||||
|
||||
.sort-buttons .btn.active {
|
||||
background: linear-gradient(180deg, var(--ac-gold) 0%, var(--ac-gold-dark) 100%);
|
||||
color: var(--ac-black);
|
||||
border-color: var(--ac-gold-dark);
|
||||
font-weight: 700;
|
||||
position: relative;
|
||||
box-shadow:
|
||||
1px 1px 2px rgba(0, 0, 0, 0.5),
|
||||
inset 1px 1px 2px rgba(255, 255, 255, 0.3),
|
||||
0 0 10px rgba(212, 175, 55, 0.5);
|
||||
}
|
||||
|
||||
.sort-buttons .btn.active:hover {
|
||||
background: linear-gradient(180deg, var(--ac-gold-bright) 0%, var(--ac-gold) 100%);
|
||||
color: var(--ac-black);
|
||||
}
|
||||
|
||||
/* Sort direction indicators */
|
||||
.sort-buttons .btn.active::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 3px;
|
||||
right: 3px;
|
||||
width: 0;
|
||||
height: 0;
|
||||
border-left: 3px solid transparent;
|
||||
border-right: 3px solid transparent;
|
||||
}
|
||||
|
||||
/* Most sorts are descending (down arrow) */
|
||||
.sort-buttons .btn.active::after {
|
||||
border-top: 4px solid var(--ac-black);
|
||||
}
|
||||
|
||||
/* Name and KPR are ascending (up arrow) */
|
||||
.sort-buttons .btn.active[data-value="name"]::after,
|
||||
.sort-buttons .btn.active[data-value="kpr"]::after {
|
||||
border-top: none;
|
||||
border-bottom: 4px solid var(--ac-black);
|
||||
}
|
||||
|
||||
/* Sidebar - AC stone panel style */
|
||||
#sidebar {
|
||||
width: var(--sidebar-width);
|
||||
scrollbar-width: thin;
|
||||
scrollbar-color: var(--ac-gold-dark) var(--ac-dark-stone);
|
||||
background: linear-gradient(180deg, var(--ac-dark-stone) 0%, var(--ac-black) 100%);
|
||||
border-right: 3px solid var(--ac-border-dark);
|
||||
box-shadow:
|
||||
inset -2px 0 5px rgba(0, 0, 0, 0.5),
|
||||
2px 0 5px rgba(0, 0, 0, 0.8);
|
||||
box-sizing: border-box;
|
||||
padding: 18px 16px;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
#sidebar h2 {
|
||||
margin: 8px 0 12px;
|
||||
font-size: 1.25rem;
|
||||
color: var(--ac-gold);
|
||||
text-shadow:
|
||||
2px 2px 3px rgba(0, 0, 0, 0.8),
|
||||
0 0 10px rgba(212, 175, 55, 0.3);
|
||||
font-weight: 700;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 1px;
|
||||
}
|
||||
|
||||
#playerList {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/* Filter input - AC style */
|
||||
.player-filter {
|
||||
width: 100%;
|
||||
padding: 6px 10px;
|
||||
margin-bottom: 12px;
|
||||
background: var(--ac-dark-stone);
|
||||
color: var(--ac-gold);
|
||||
border: 2px solid var(--ac-border-dark);
|
||||
border-radius: 2px;
|
||||
font-size: 0.9rem;
|
||||
box-sizing: border-box;
|
||||
box-shadow:
|
||||
inset 2px 2px 3px rgba(0, 0, 0, 0.5),
|
||||
inset -1px -1px 2px rgba(255, 255, 255, 0.05);
|
||||
font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
|
||||
}
|
||||
|
||||
.player-filter:focus {
|
||||
outline: none;
|
||||
border-color: var(--ac-gold-dark);
|
||||
box-shadow:
|
||||
inset 2px 2px 3px rgba(0, 0, 0, 0.5),
|
||||
0 0 5px rgba(212, 175, 55, 0.5);
|
||||
}
|
||||
|
||||
/* Map container */
|
||||
#mapContainer {
|
||||
flex: 1;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
background: var(--bg-main);
|
||||
box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.8);
|
||||
}
|
||||
|
||||
/* Player list items - AC stone panels */
|
||||
#playerList li {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr auto auto auto auto auto;
|
||||
grid-template-rows: auto auto auto auto;
|
||||
grid-template-areas:
|
||||
"name name name name name name"
|
||||
"kills totalkills kph kph kph kph"
|
||||
"rares kpr meta meta meta meta"
|
||||
"onlinetime deaths tapers tapers tapers tapers";
|
||||
gap: 4px 8px;
|
||||
margin: 6px 0;
|
||||
padding: 10px 12px;
|
||||
background: linear-gradient(135deg, var(--ac-medium-stone) 0%, var(--ac-dark-stone) 100%);
|
||||
border: 2px solid var(--ac-border-dark);
|
||||
border-left: 4px solid var(--ac-gold-dark);
|
||||
transition: all 0.2s;
|
||||
box-shadow:
|
||||
1px 1px 3px rgba(0, 0, 0, 0.5),
|
||||
inset 1px 1px 2px rgba(255, 255, 255, 0.05);
|
||||
}
|
||||
|
||||
/* Grid assignments */
|
||||
.player-name {
|
||||
grid-area: name;
|
||||
font-weight: 700;
|
||||
color: var(--ac-gold);
|
||||
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
|
||||
}
|
||||
.coordinates-inline {
|
||||
font-size: 0.75rem;
|
||||
color: var(--ac-text-dim);
|
||||
font-weight: 400;
|
||||
margin-left: 8px;
|
||||
}
|
||||
|
||||
.stat.kills { grid-area: kills; }
|
||||
.stat.total-kills { grid-area: totalkills; }
|
||||
.stat.kph { grid-area: kph; }
|
||||
.stat.rares { grid-area: rares; }
|
||||
.stat.kpr { grid-area: kpr; }
|
||||
.stat.meta { grid-area: meta; }
|
||||
.stat.onlinetime { grid-area: onlinetime; }
|
||||
.stat.deaths { grid-area: deaths; }
|
||||
.stat.tapers { grid-area: tapers; }
|
||||
|
||||
/* Stat pills - AC style */
|
||||
#playerList li .stat {
|
||||
background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.5) 100%);
|
||||
padding: 4px 8px;
|
||||
border-radius: 2px;
|
||||
display: inline-block;
|
||||
font-size: 0.75rem;
|
||||
white-space: nowrap;
|
||||
color: var(--ac-text);
|
||||
border: 1px solid rgba(0, 0, 0, 0.5);
|
||||
box-shadow:
|
||||
1px 1px 2px rgba(0, 0, 0, 0.3),
|
||||
inset 1px 1px 1px rgba(255, 255, 255, 0.05);
|
||||
}
|
||||
|
||||
/* Icons & suffixes */
|
||||
.stat.kills::before { content: "⚔️ "; }
|
||||
.stat.total-kills::before { content: "🏆 "; }
|
||||
.stat.kph::after { content: " KPH"; font-size:0.7em; color: var(--ac-text-dim); }
|
||||
.stat.rares::before { content: "💎 "; }
|
||||
.stat.rares::after { content: " Rares"; font-size:0.7em; color: var(--ac-text-dim); }
|
||||
.stat.kpr::before { content: "📊 "; }
|
||||
.stat.kpr::after { content: " KPR"; font-size:0.7em; color: var(--ac-text-dim); }
|
||||
|
||||
/* Metastate pills */
|
||||
#playerList li .stat.meta {
|
||||
background: linear-gradient(180deg, var(--ac-gold) 0%, var(--ac-gold-dark) 100%);
|
||||
color: var(--ac-black);
|
||||
border-color: var(--ac-gold-dark);
|
||||
}
|
||||
|
||||
#playerList li .stat.meta.green {
|
||||
background: linear-gradient(180deg, #4ade80 0%, #22c55e 100%);
|
||||
color: var(--ac-black);
|
||||
border-color: #16a34a;
|
||||
}
|
||||
|
||||
#playerList li .stat.meta.red {
|
||||
background: linear-gradient(180deg, #f87171 0%, #ef4444 100%);
|
||||
color: #fff;
|
||||
border-color: #dc2626;
|
||||
}
|
||||
|
||||
/* Chat/Stats/Inventory buttons - AC style */
|
||||
.chat-btn, .stats-btn, .inventory-btn {
|
||||
margin-top: 4px;
|
||||
margin-right: 4px;
|
||||
padding: 3px 8px;
|
||||
background: linear-gradient(180deg, var(--ac-gold) 0%, var(--ac-gold-dark) 100%);
|
||||
color: var(--ac-black);
|
||||
border: 1px solid var(--ac-gold-dark);
|
||||
border-radius: 2px;
|
||||
font-size: 0.75rem;
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.5px;
|
||||
box-shadow:
|
||||
1px 1px 2px rgba(0, 0, 0, 0.5),
|
||||
inset 1px 1px 1px rgba(255, 255, 255, 0.3);
|
||||
transition: all 0.15s;
|
||||
}
|
||||
|
||||
.chat-btn:hover, .stats-btn:hover, .inventory-btn:hover {
|
||||
background: linear-gradient(180deg, var(--ac-gold-bright) 0%, var(--ac-gold) 100%);
|
||||
box-shadow:
|
||||
1px 1px 2px rgba(0, 0, 0, 0.5),
|
||||
inset 1px 1px 1px rgba(255, 255, 255, 0.4),
|
||||
0 0 5px rgba(212, 175, 55, 0.5);
|
||||
}
|
||||
|
||||
/* Windows - AC stone panel style */
|
||||
.chat-window, .stats-window, .inventory-window {
|
||||
position: absolute;
|
||||
top: 10px;
|
||||
left: calc(var(--sidebar-width) + 10px);
|
||||
width: 760px;
|
||||
height: 300px;
|
||||
background: linear-gradient(135deg, var(--ac-medium-stone) 0%, var(--ac-dark-stone) 100%);
|
||||
border: 3px solid var(--ac-border-dark);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
z-index: 10000;
|
||||
box-shadow:
|
||||
0 5px 20px rgba(0, 0, 0, 0.8),
|
||||
inset 2px 2px 3px rgba(255, 255, 255, 0.05);
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
.chat-header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 10px 15px;
|
||||
background: linear-gradient(180deg, var(--ac-light-stone) 0%, var(--ac-medium-stone) 100%);
|
||||
border-bottom: 2px solid var(--ac-border-dark);
|
||||
color: var(--ac-gold);
|
||||
font-weight: 700;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 1px;
|
||||
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
|
||||
box-shadow: 0 2px 3px rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
|
||||
.chat-close-btn {
|
||||
background: linear-gradient(180deg, #ef4444 0%, #dc2626 100%);
|
||||
color: #fff;
|
||||
border: 1px solid #991b1b;
|
||||
border-radius: 2px;
|
||||
padding: 2px 8px;
|
||||
font-size: 1rem;
|
||||
cursor: pointer;
|
||||
font-weight: 700;
|
||||
box-shadow:
|
||||
1px 1px 2px rgba(0, 0, 0, 0.5),
|
||||
inset 1px 1px 1px rgba(255, 255, 255, 0.3);
|
||||
}
|
||||
|
||||
.chat-close-btn:hover {
|
||||
background: linear-gradient(180deg, #f87171 0%, #ef4444 100%);
|
||||
box-shadow:
|
||||
1px 1px 2px rgba(0, 0, 0, 0.5),
|
||||
inset 1px 1px 1px rgba(255, 255, 255, 0.4),
|
||||
0 0 5px rgba(239, 68, 68, 0.5);
|
||||
}
|
||||
|
||||
.chat-messages {
|
||||
flex: 1;
|
||||
padding: 10px 15px;
|
||||
overflow-y: auto;
|
||||
background: rgba(0, 0, 0, 0.3);
|
||||
color: var(--ac-green);
|
||||
font-family: "Courier New", Courier, monospace;
|
||||
font-size: 0.9rem;
|
||||
line-height: 1.4;
|
||||
box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
|
||||
.chat-messages::-webkit-scrollbar {
|
||||
width: 10px;
|
||||
}
|
||||
|
||||
.chat-messages::-webkit-scrollbar-track {
|
||||
background: var(--ac-dark-stone);
|
||||
box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
|
||||
.chat-messages::-webkit-scrollbar-thumb {
|
||||
background: var(--ac-gold-dark);
|
||||
border-radius: 2px;
|
||||
box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
|
||||
.chat-form {
|
||||
display: flex;
|
||||
padding: 10px 15px;
|
||||
background: var(--ac-dark-stone);
|
||||
border-top: 2px solid var(--ac-border-dark);
|
||||
box-shadow: 0 -2px 3px rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
|
||||
.chat-input {
|
||||
flex: 1;
|
||||
padding: 6px 10px;
|
||||
background: rgba(0, 0, 0, 0.5);
|
||||
color: var(--ac-green);
|
||||
border: 2px solid var(--ac-border-dark);
|
||||
border-radius: 2px;
|
||||
font-family: "Courier New", Courier, monospace;
|
||||
font-size: 0.9rem;
|
||||
box-shadow: inset 2px 2px 3px rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
|
||||
.chat-input:focus {
|
||||
outline: none;
|
||||
border-color: var(--ac-gold-dark);
|
||||
box-shadow:
|
||||
inset 2px 2px 3px rgba(0, 0, 0, 0.5),
|
||||
0 0 5px rgba(212, 175, 55, 0.3);
|
||||
}
|
||||
|
||||
/* Map elements */
|
||||
#mapGroup {
|
||||
transform-origin: top left;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
#map {
|
||||
display: block;
|
||||
user-select: none;
|
||||
-webkit-user-drag: none;
|
||||
filter: brightness(0.9) contrast(1.1);
|
||||
}
|
||||
|
||||
.dot {
|
||||
position: absolute;
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
border-radius: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
pointer-events: auto;
|
||||
cursor: pointer;
|
||||
z-index: 10;
|
||||
box-shadow:
|
||||
0 0 5px rgba(0, 0, 0, 0.8),
|
||||
0 0 10px currentColor;
|
||||
border: 1px solid rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
|
||||
.dot.highlight {
|
||||
animation: pulse 2s infinite;
|
||||
z-index: 20;
|
||||
}
|
||||
|
||||
@keyframes pulse {
|
||||
0% { box-shadow: 0 0 5px rgba(0, 0, 0, 0.8), 0 0 10px currentColor; }
|
||||
50% { box-shadow: 0 0 10px rgba(0, 0, 0, 0.8), 0 0 20px currentColor, 0 0 30px currentColor; }
|
||||
100% { box-shadow: 0 0 5px rgba(0, 0, 0, 0.8), 0 0 10px currentColor; }
|
||||
}
|
||||
|
||||
/* Tooltip - AC style */
|
||||
.tooltip {
|
||||
position: absolute;
|
||||
display: none;
|
||||
background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(10, 10, 10, 0.95) 100%);
|
||||
color: var(--ac-gold);
|
||||
padding: 6px 10px;
|
||||
border: 2px solid var(--ac-gold-dark);
|
||||
border-radius: 2px;
|
||||
font-size: 0.8rem;
|
||||
pointer-events: none;
|
||||
white-space: nowrap;
|
||||
z-index: 1000;
|
||||
box-shadow:
|
||||
0 2px 10px rgba(0, 0, 0, 0.8),
|
||||
inset 1px 1px 2px rgba(255, 255, 255, 0.1);
|
||||
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
|
||||
}
|
||||
|
||||
/* Coordinate display - AC style */
|
||||
.coordinates {
|
||||
position: absolute;
|
||||
display: none;
|
||||
background: linear-gradient(135deg, rgba(0, 50, 100, 0.95) 0%, rgba(0, 30, 60, 0.95) 100%);
|
||||
color: var(--ac-cyan);
|
||||
padding: 4px 8px;
|
||||
border: 2px solid rgba(0, 100, 150, 0.8);
|
||||
border-radius: 2px;
|
||||
font-size: 0.75rem;
|
||||
font-family: "Courier New", Courier, monospace;
|
||||
font-weight: 700;
|
||||
pointer-events: none;
|
||||
white-space: nowrap;
|
||||
z-index: 999;
|
||||
box-shadow:
|
||||
0 2px 8px rgba(0, 0, 0, 0.8),
|
||||
inset 1px 1px 2px rgba(255, 255, 255, 0.1);
|
||||
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
|
||||
}
|
||||
|
||||
/* Hover states */
|
||||
#playerList li:hover {
|
||||
background: linear-gradient(135deg, var(--ac-light-stone) 0%, var(--ac-medium-stone) 100%);
|
||||
border-left-color: var(--ac-gold-bright);
|
||||
box-shadow:
|
||||
2px 2px 5px rgba(0, 0, 0, 0.5),
|
||||
inset 1px 1px 2px rgba(255, 255, 255, 0.1),
|
||||
0 0 10px rgba(212, 175, 55, 0.2);
|
||||
}
|
||||
|
||||
#playerList li.selected {
|
||||
background: linear-gradient(135deg, var(--ac-gold-dark) 0%, var(--ac-medium-stone) 100%);
|
||||
border-left-color: var(--ac-gold-bright);
|
||||
box-shadow:
|
||||
2px 2px 5px rgba(0, 0, 0, 0.5),
|
||||
inset 1px 1px 2px rgba(255, 255, 255, 0.2),
|
||||
0 0 15px rgba(212, 175, 55, 0.3);
|
||||
}
|
||||
|
||||
/* Trail paths */
|
||||
#trails {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
pointer-events: none;
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
.trail-path {
|
||||
stroke-width: 2;
|
||||
stroke-opacity: 0.8;
|
||||
filter: drop-shadow(0 0 3px rgba(0, 0, 0, 0.8));
|
||||
}
|
||||
|
||||
/* Stats window specific */
|
||||
.stats-window {
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.stats-window .chat-messages {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
grid-auto-rows: auto;
|
||||
gap: 10px;
|
||||
padding: 10px;
|
||||
overflow: visible;
|
||||
background: var(--ac-dark-stone);
|
||||
color: var(--ac-text);
|
||||
}
|
||||
|
||||
.stats-window iframe {
|
||||
width: 350px;
|
||||
height: 200px;
|
||||
border: 2px solid var(--ac-border-dark);
|
||||
box-shadow:
|
||||
inset 2px 2px 3px rgba(0, 0, 0, 0.5),
|
||||
1px 1px 2px rgba(0, 0, 0, 0.3);
|
||||
background: var(--ac-black);
|
||||
}
|
||||
|
||||
/* Stats time controls - AC style */
|
||||
.stats-controls {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
padding: 10px 15px;
|
||||
background: var(--ac-medium-stone);
|
||||
border-bottom: 2px solid var(--ac-border-dark);
|
||||
box-shadow: 0 2px 3px rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
|
||||
.time-range-btn {
|
||||
padding: 6px 12px;
|
||||
background: linear-gradient(180deg, var(--ac-light-stone) 0%, var(--ac-medium-stone) 100%);
|
||||
color: var(--ac-text-dim);
|
||||
border: 1px solid var(--ac-border-dark);
|
||||
border-radius: 2px;
|
||||
font-size: 0.85rem;
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.5px;
|
||||
box-shadow:
|
||||
1px 1px 2px rgba(0, 0, 0, 0.5),
|
||||
inset 1px 1px 2px rgba(255, 255, 255, 0.1);
|
||||
}
|
||||
|
||||
.time-range-btn:hover {
|
||||
background: linear-gradient(180deg, var(--ac-light-stone) 0%, var(--ac-light-stone) 100%);
|
||||
color: var(--ac-gold);
|
||||
box-shadow:
|
||||
1px 1px 2px rgba(0, 0, 0, 0.5),
|
||||
inset 1px 1px 2px rgba(255, 255, 255, 0.2),
|
||||
0 0 5px rgba(212, 175, 55, 0.2);
|
||||
}
|
||||
|
||||
.time-range-btn.active {
|
||||
background: linear-gradient(180deg, var(--ac-gold) 0%, var(--ac-gold-dark) 100%);
|
||||
color: var(--ac-black);
|
||||
border-color: var(--ac-gold-dark);
|
||||
font-weight: 700;
|
||||
box-shadow:
|
||||
1px 1px 2px rgba(0, 0, 0, 0.5),
|
||||
inset 1px 1px 2px rgba(255, 255, 255, 0.3),
|
||||
0 0 10px rgba(212, 175, 55, 0.4);
|
||||
}
|
||||
|
||||
/* Inventory window */
|
||||
.inventory-content {
|
||||
flex: 1;
|
||||
padding: 15px;
|
||||
background: var(--ac-dark-stone);
|
||||
color: var(--ac-text);
|
||||
overflow-y: auto;
|
||||
box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
|
||||
.inventory-placeholder {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
height: 100%;
|
||||
font-size: 1.1rem;
|
||||
color: var(--ac-text-dim);
|
||||
font-style: italic;
|
||||
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
|
||||
}
|
||||
|
||||
.stat.onlinetime::before { content: "🕑 "; }
|
||||
.stat.deaths::before { content: "💀 "; }
|
||||
.stat.tapers::before {
|
||||
content: "";
|
||||
display: inline-block;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
background-image: url('prismatic-taper-icon.png');
|
||||
background-size: contain;
|
||||
background-repeat: no-repeat;
|
||||
margin-right: 4px;
|
||||
vertical-align: text-bottom;
|
||||
}
|
||||
|
||||
/* Disable text selection during drag */
|
||||
.noselect {
|
||||
user-select: none !important;
|
||||
}
|
||||
|
||||
/* Custom scrollbar for sidebar */
|
||||
#sidebar::-webkit-scrollbar {
|
||||
width: 12px;
|
||||
}
|
||||
|
||||
#sidebar::-webkit-scrollbar-track {
|
||||
background: var(--ac-dark-stone);
|
||||
box-shadow: inset 2px 2px 3px rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
|
||||
#sidebar::-webkit-scrollbar-thumb {
|
||||
background: linear-gradient(180deg, var(--ac-gold) 0%, var(--ac-gold-dark) 100%);
|
||||
border-radius: 2px;
|
||||
border: 1px solid var(--ac-gold-dark);
|
||||
box-shadow:
|
||||
1px 1px 2px rgba(0, 0, 0, 0.5),
|
||||
inset 1px 1px 1px rgba(255, 255, 255, 0.3);
|
||||
}
|
||||
|
||||
#sidebar::-webkit-scrollbar-thumb:hover {
|
||||
background: linear-gradient(180deg, var(--ac-gold-bright) 0%, var(--ac-gold) 100%);
|
||||
}
|
||||
|
||||
/* Map container special effects */
|
||||
#mapContainer.dragging {
|
||||
cursor: move;
|
||||
}
|
||||
|
||||
/* Additional hover effects */
|
||||
.player-item {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.player-item::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: -100%;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: linear-gradient(90deg, transparent 0%, rgba(212, 175, 55, 0.2) 50%, transparent 100%);
|
||||
transition: left 0.5s;
|
||||
}
|
||||
|
||||
.player-item:hover::before {
|
||||
left: 100%;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue