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

Last change on this file since 291 was 288, checked in by alloc, 8 years ago

Updated web

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