source: binary-improvements/webserver_legacy/css/style.css@ 501

Last change on this file since 501 was 319, checked in by alloc, 7 years ago

Fixed menu expand button being behind the map

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