update hud 3

This commit is contained in:
Cay 2026-03-16 14:27:50 +00:00
parent a65f696ed9
commit ee71a903c2
2 changed files with 20 additions and 18 deletions

View File

@ -5,7 +5,7 @@
#hud { #hud {
position: fixed; position: fixed;
top: 10px; top: 10px;
left: 60px; left: 10px;
z-index: 1500; z-index: 1500;
display: flex; display: flex;
@ -24,7 +24,8 @@
align-items: center; align-items: center;
gap: 0; gap: 0;
background: linear-gradient(135deg, background: linear-gradient(
135deg,
rgba(10, 6, 2, 0.92) 0%, rgba(10, 6, 2, 0.92) 0%,
rgba(30, 18, 6, 0.92) 100% rgba(30, 18, 6, 0.92) 100%
); );
@ -36,11 +37,11 @@
padding: 6px 14px 6px 6px; padding: 6px 14px 6px 6px;
pointer-events: all; pointer-events: all;
min-width: 280px; width: 290px;
box-shadow: box-shadow:
0 2px 12px rgba(0,0,0,0.7), 0 2px 12px rgba(0, 0, 0, 0.7),
inset 0 1px 0 rgba(255,220,80,0.08); inset 0 1px 0 rgba(255, 220, 80, 0.08);
} }
/* Avatar */ /* Avatar */
@ -59,7 +60,7 @@
object-fit: cover; object-fit: cover;
display: block; display: block;
border: 2px solid #c8960a; border: 2px solid #c8960a;
box-shadow: 0 0 10px rgba(200,150,10,0.5); box-shadow: 0 0 10px rgba(200, 150, 10, 0.5);
} }
#hud-vip { #hud-vip {
@ -97,7 +98,7 @@
font-size: 14px; font-size: 14px;
font-weight: bold; font-weight: bold;
color: #f0d9a6; color: #f0d9a6;
text-shadow: 0 1px 4px rgba(0,0,0,0.8); text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
letter-spacing: 0.5px; letter-spacing: 0.5px;
} }
@ -127,7 +128,7 @@
font-weight: bold; font-weight: bold;
color: #f0d9a6; color: #f0d9a6;
background: rgba(0,0,0,0.4); background: rgba(0, 0, 0, 0.4);
border: 1px solid #5a3e15; border: 1px solid #5a3e15;
border-radius: 4px; border-radius: 4px;
padding: 1px 7px; padding: 1px 7px;
@ -157,7 +158,7 @@
#hud-energy-plus:hover { #hud-energy-plus:hover {
background: linear-gradient(#5aaa28, #3a7015); background: linear-gradient(#5aaa28, #3a7015);
box-shadow: 0 0 6px rgba(100,200,40,0.4); box-shadow: 0 0 6px rgba(100, 200, 40, 0.4);
} }
/* ========================= /* =========================
@ -169,7 +170,8 @@
align-items: center; align-items: center;
gap: 8px; gap: 8px;
background: linear-gradient(135deg, background: linear-gradient(
135deg,
rgba(8, 5, 1, 0.92) 0%, rgba(8, 5, 1, 0.92) 0%,
rgba(22, 13, 4, 0.92) 100% rgba(22, 13, 4, 0.92) 100%
); );
@ -181,7 +183,7 @@
padding: 5px 10px; padding: 5px 10px;
pointer-events: all; pointer-events: all;
box-shadow: 0 4px 12px rgba(0,0,0,0.7); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.7);
} }
/* Einzelne Währung */ /* Einzelne Währung */
@ -202,7 +204,7 @@
font-size: 11px; font-size: 11px;
font-weight: bold; font-weight: bold;
color: #f0d9a6; color: #f0d9a6;
text-shadow: 0 1px 3px rgba(0,0,0,0.8); text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
min-width: 40px; min-width: 40px;
} }
@ -211,7 +213,7 @@
.hud-sep { .hud-sep {
width: 1px; width: 1px;
height: 18px; height: 18px;
background: rgba(139,106,42,0.4); background: rgba(139, 106, 42, 0.4);
margin: 0 2px; margin: 0 2px;
} }
@ -238,6 +240,6 @@
#hud-gold-btn:hover { #hud-gold-btn:hover {
background: linear-gradient(#e4930a, #ffc030); background: linear-gradient(#e4930a, #ffc030);
box-shadow: 0 0 8px rgba(240,160,30,0.5); box-shadow: 0 0 8px rgba(240, 160, 30, 0.5);
transform: scale(1.04); transform: scale(1.04);
} }

View File

@ -4,8 +4,8 @@
#quickmenu-toggle { #quickmenu-toggle {
position: fixed; position: fixed;
top: 16px; top: 10px;
left: 16px; left: 310px;
z-index: 2000; z-index: 2000;
width: 36px; width: 36px;
@ -38,8 +38,8 @@
#quickmenu-panel { #quickmenu-panel {
position: fixed; position: fixed;
top: 60px; top: 140px;
left: 16px; left: 10px;
z-index: 1999; z-index: 1999;
display: grid; display: grid;