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

Last change on this file since 286 was 279, checked in by alloc, 8 years ago

Mod stuff

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