source: binary-improvements/webserver/css/style.css@ 265

Last change on this file since 265 was 250, checked in by alloc, 9 years ago

Fixes 5_7_9

  • Property svn:executable set to *
File size: 5.8 KB
Line 
1/*========================================
2- Generic page layout
3*/
4
5body {
6 margin: 0;
7 padding: 0;
8 background-image: url('/static/img/background.jpg');
9 background-repeat: no-repeat;
10 background-attachment: fixed;
11 background-position: center;
12 color: orange;
13}
14
15a {
16 color: orangered;
17 text-decoration: none;
18}
19
20a:visited {
21 color: orangered;
22 text-decoration: none;
23}
24
25.adminwrapper {
26 width: 100%;
27 height: 100vh;
28 /*background-color: #408040;*/
29}
30
31.adminnavbar,
32#admincontent {
33 position: absolute;
34 top: 0;
35 bottom: 0;
36}
37
38.invalidinput {
39 background-color: #f00;
40}
41
42
43/*========================================
44- Menu bar
45*/
46
47.adminnavbar {
48 width: 200px;
49 left: 0;
50 border-right: 1px solid rgba(0,0,0,0.3);
51 box-shadow: 3px 0px 14px rgba(0,0,0,0.9);
52 position: fixed;
53}
54
55.adminnavbar > div {
56 margin: 5px;
57}
58
59/*----------------------------------------
60- Menu entries
61*/
62
63.adminnavbar ul {
64 margin-top: 5px;
65}
66
67.adminnavbar #adminmenu .menu_button {
68 display: none;
69}
70
71.adminnavbar #adminmenu .menu_button.allowed {
72 display: list-item;
73}
74
75.adminnavbar #adminmenu .menu_button a {
76 color: orange;
77 text-decoration: none;
78}
79
80.adminnavbar #adminmenu .current_tab {
81 font-weight: bold;
82 text-transform: uppercase;
83}
84
85#newlogcount {
86 font-size: 70%;
87 border-radius: 2px;
88 background-color: #f00;
89 color: #fff;
90 padding: 0px 2px 0px 2px;
91 display: none;
92}
93
94#newlogcount.visible {
95 display: inline;
96}
97
98/*----------------------------------------
99- Server stats
100*/
101
102.adminnavbar #serverstats {
103 margin-bottom: 20px;
104 display: none;
105 /* color: orange; */
106 text-decoration: none;
107}
108
109.adminnavbar #serverstats #stats_time {
110 white-space: nowrap;
111}
112
113/*----------------------------------------
114- Session state box
115*/
116
117.adminnavbar #userstate {
118 position: absolute;
119 bottom: 0px;
120 left: 0px;
121 right: 0px;
122 /*background-color: #408040;*/
123}
124
125.adminnavbar #userstate #username {
126 padding-left: 10px;
127}
128
129.adminnavbar #userstate > div {
130 display: none;
131}
132
133
134/*========================================
135- Content area
136*/
137
138#admincontent {
139 position: absolute;
140 right: 0;
141 left: 200px;
142 /*background-color: #408040;*/
143}
144
145#admincontent #nopermissionwarning {
146 margin: 20px 50px;
147}
148
149#admincontent .contenttab {
150 position: absolute;
151 top: 0;
152 right: 0;
153 left: 0px;
154 display: none;
155}
156
157#admincontent .current_tab {
158 display: block;
159}
160
161
162
163/*========================================
164- Inventory dialog
165*/
166
167#info {
168 background-color: #aaaaaa;
169 position: absolute;
170 bottom: 10px;
171 left: 10px;
172}
173
174.inventoryButton {
175 cursor: pointer;
176}
177#playerInventoryDialog {
178 display:none;
179}
180.playerInventoryDialog {
181 text-shadow:
182 -1px -1px 0 black,
183 1px -1px 0 black,
184 -1px 1px 0 black,
185 1px 1px 0 black;
186 box-shadow: 0 3px 14px rgba(0,0,0,0.4);
187 color: orange;
188 background: rgba(100,100,100,0.6);
189 border: none;
190}
191.playerInventoryDialog .ui-dialog-buttonpane {
192 display: none;
193}
194.playerInventoryDialog.ui-dialog {
195 z-index:1011 !important;
196}
197.ui-widget-overlay {
198 z-index:1010 !important;
199 opacity: 0.4 !important;
200}
201.playerInventoryDialog .ui-widget-content {
202 background: transparent;
203 color: orange;
204}
205.playerInventoryDialog td {
206 vertical-align: top;
207}
208
209.invTable {
210 table-layout: fixed;
211 padding: 0px;
212 margin: 0px;
213 border-collapse: collapse;
214}
215
216.playerInventoryDialog td.invField {
217 width: 58px;
218 height: 40px;
219 padding: 1px 4px;
220 margin: 0px;
221 border: 1px solid gray;
222 background-color: black;
223 background-size: 58px;
224 background-repeat: no-repeat;
225 background-position: center;
226 vertical-align: bottom;
227 text-align: right;
228 font-size: 14pt;
229 text-shadow:
230 -1px -1px 0 black,
231 1px -1px 0 black,
232 -1px 1px 0 black,
233 1px 1px 0 black;
234}
235
236#equipmentTable .invFieldText {
237 display: none;
238}
239.playerInventoryDialog .invFieldText {
240 display: none;
241}
242.playerInventoryDialog .invFieldText.visible {
243 display: inline;
244}
245.playerInventoryDialog .invFieldQuality {
246 bottom: 0px;
247 height: 5px;
248 left: 0px;
249 position: relative;
250 right: 0px;
251 display: none;
252}
253.playerInventoryDialog .invFieldQuality.visible {
254 display: block;
255}
256
257
258
259/*========================================
260- Map
261*/
262
263.adminmap {
264 /*background-color: #408040;*/
265 background-color: transparent;
266 bottom: 0;
267}
268
269.adminmap .leaflet-control {
270 background-color: rgba(50,50,50,0.6);
271 color: orange;
272 box-shadow: 0 3px 14px rgba(0,0,0,0.5);
273}
274
275.adminmap a,
276.adminmap a:hover,
277.adminmap .leaflet-container a,
278.adminmap .leaflet-container a:hover {
279 text-decoration: none;
280 color: orangered;
281}
282
283.webmap-control {
284 border-radius: 5px;
285 padding: 6px 10px 6px 6px;
286 white-space: nowrap;
287}
288
289.adminmap .leaflet-popup-tip,
290.adminmap .leaflet-popup-content-wrapper {
291 background-color: rgba(50,50,50,0.8);
292 color: orange;
293}
294
295
296
297
298/*========================================
299- Log
300*/
301
302.adminlog {
303 padding: 10px;
304}
305
306.adminlog table {
307 width: 100%;
308}
309
310.adminlog table td {
311 vertical-align: top;
312}
313
314.adminlog table tr.readmark td {
315 border-bottom-width: 2px;
316 border-bottom-color: red;
317 border-bottom-style: dotted;
318}
319
320.adminlog table tr.Log td {
321 color: limegreen;
322}
323.adminlog table tr.Warning td {
324 color: orange;
325}
326.adminlog table tr.Error td {
327 color: red;
328}
329.adminlog table tr.Exception td {
330 color: red;
331}
332
333
334.adminlog .logcol_datetime,
335.adminlog .logcol_uptime {
336 white-space: nowrap;
337 text-align: right;
338}
339.adminlog .logcol_type {
340 white-space: nowrap;
341}
342.adminlog .logcol_msg {
343 width: 100%;
344}
345
346.adminlog .logcol_missed {
347 text-align: center;
348 border-width: 1px 0px;
349 border-style: dashed;
350 border-color: orange;
351}
352
353.adminlog .tracebtn {
354 cursor: pointer;
355}
356.adminlog .tracebtn:after {
357 content: "Show trace...";
358}
359.adminlog .tracebtn.visible:after {
360 content: "Hide trace...";
361}
362
363.adminlog .trace {
364 display: none;
365}
366
367.adminlog .trace.visible {
368 display: block;
369}
370
371.adminlog .trace span {
372 display: block;
373 margin-left: 30px;
374 text-indent: -30px;
375}
376
377.adminlog #markasread {
378 cursor: pointer;
379 border-radius: 5px;
380 background-color: #444;
381 color: orangered;
382 display: inline-block;
383 margin-top: 10px;
384 padding: 3px 5px 3px 5px;
385}
386
387
Note: See TracBrowser for help on using the repository browser.