BlueGit

timfa questward

Files

questward / client / ui / play.css

play.css

play.css 2.2 KiB Download Raw
1:root {
2 color-scheme: dark;
3 font-family: "Segoe UI", sans-serif;
4 background: #101216;
5 color: #e8e4d9;
6}
7
8html, body {
9 margin: 0;
10 height: 100%;
11 overflow: hidden;
12}
13
14#hud {
15 position: fixed;
16 z-index: 2;
17 top: 0;
18 left: 0;
19 right: 0;
20 display: flex;
21 gap: 1.25rem;
22 align-items: center;
23 padding: 0.5rem 0.75rem;
24 background: rgba(12, 14, 18, 0.82);
25}
26
27#overlay {
28 position: fixed;
29 inset: 0;
30 z-index: 3;
31 display: grid;
32 place-items: center;
33 background: #101216;
34}
35
36#overlay[hidden], #hud[hidden] {
37 display: none !important;
38}
39
40.panel {
41 width: min(420px, 92vw);
42 background: #1a1e26;
43 border: 1px solid #2c3340;
44 padding: 1.25rem;
45}
46
47label, .character-row {
48 display: flex;
49 gap: 0.5rem;
50 align-items: center;
51 margin: 0.5rem 0;
52}
53
54input, select, button {
55 font: inherit;
56 background: #101216;
57 color: inherit;
58 border: 1px solid #3a4250;
59 padding: 0.3rem 0.5rem;
60}
61
62button {
63 cursor: pointer;
64}
65
66.error { color: #f0a0a0; min-height: 1.2em; }
67.hint { color: #9aa3b2; font-size: 0.9rem; }
68a { color: #d4c48a; }
69
70#nametag {
71 position: fixed;
72 z-index: 4;
73 pointer-events: none;
74 transform: translate(-50%, -100%);
75 background: rgba(12, 14, 18, 0.88);
76 border: 1px solid #3a4250;
77 padding: 0.1rem 0.45rem;
78 font-size: 0.85rem;
79}
80
81#inspect-backdrop {
82 position: fixed;
83 inset: 0;
84 z-index: 6;
85 background: rgba(0, 0, 0, 0.45);
86}
87
88#inspect-modal {
89 position: fixed;
90 z-index: 7;
91 left: 50%;
92 top: 40%;
93 transform: translate(-50%, -50%);
94 width: min(360px, 92vw);
95 background: #161a22;
96 border: 1px solid #3a4250;
97 padding: 0.85rem 1rem 1rem;
98}
99
100#inspect-modal header {
101 display: flex;
102 align-items: center;
103 justify-content: space-between;
104 gap: 0.75rem;
105}
106
107#inspect-action {
108 display: flex;
109 flex-wrap: wrap;
110 gap: 0.4rem;
111 margin-top: 0.5rem;
112}
113
114#friends-panel {
115 position: fixed;
116 z-index: 5;
117 top: 48px;
118 right: 0.75rem;
119 width: min(280px, 92vw);
120 max-height: calc(100vh - 64px);
121 overflow: auto;
122 background: #1a1e26;
123 border: 1px solid #2c3340;
124 padding: 0.75rem;
125}
126
127#friends-panel h2, #friends-panel h3 {
128 margin: 0.4rem 0;
129 font-size: 0.95rem;
130}
131
132.social-row {
133 display: flex;
134 flex-wrap: wrap;
135 gap: 0.35rem;
136 align-items: center;
137 margin: 0.35rem 0;
138}
139
140#inspect-modal[hidden],
141#inspect-backdrop[hidden],
142#friends-panel[hidden],
143#nametag[hidden] {
144 display: none !important;
145}