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

Last change on this file since 329 was 319, checked in by alloc, 6 years ago

Fixed menu expand button being behind the map

  • Property svn:executable set to *
File size: 7.2 KB
RevLine 
[245]1/*========================================
2- Generic page layout
3*/
[244]4
5body {
6 margin: 0;
7 padding: 0;
[279]8 background-image: url('../img/background.jpg');
[249]9 background-repeat: no-repeat;
10 background-attachment: fixed;
[288]11 background-position: center;
12 background-size: cover;
13 background-color: black;
[249]14 color: orange;
[133]15}
[244]16
[249]17a {
[250]18 color: orangered;
[249]19 text-decoration: none;
20}
21
22a:visited {
[250]23 color: orangered;
[249]24 text-decoration: none;
25}
26
[244]27.adminwrapper {
28 width: 100%;
29 height: 100vh;
[249]30 /*background-color: #408040;*/
[153]31}
[244]32
[245]33.adminnavbar,
[250]34#admincontent {
[244]35 position: absolute;
36 top: 0;
37 bottom: 0;
38}
39
[249]40.invalidinput {
41 background-color: #f00;
42}
[245]43
[249]44
[245]45/*========================================
46- Menu bar
47*/
48
49.adminnavbar {
[244]50 width: 200px;
51 left: 0;
[249]52 border-right: 1px solid rgba(0,0,0,0.3);
53 box-shadow: 3px 0px 14px rgba(0,0,0,0.9);
[250]54 position: fixed;
[244]55}
56
[274]57.adminnavbar.hidenav {
58 width: 0;
59 visibility: hidden;
60}
61
[245]62.adminnavbar > div {
63 margin: 5px;
64}
65
[274]66.adminnavbarhidebutton {
67 position: fixed;
68 left: 200px;
69 color: #000;
70 background-color: rgba(180, 180, 180, 0.5); //#ccc;
[319]71 z-index: 500;
[274]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
[245]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 {
[250]98 display: list-item;
[245]99}
100
101.adminnavbar #adminmenu .menu_button a {
[249]102 color: orange;
[245]103 text-decoration: none;
104}
105
106.adminnavbar #adminmenu .current_tab {
[244]107 font-weight: bold;
108 text-transform: uppercase;
109}
110
[250]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
[245]124/*----------------------------------------
125- Server stats
126*/
127
128.adminnavbar #serverstats {
129 margin-bottom: 20px;
130 display: none;
[249]131 /* color: orange; */
[245]132 text-decoration: none;
[244]133}
134
[245]135.adminnavbar #serverstats #stats_time {
136 white-space: nowrap;
[299]137 border-bottom: 1px dashed orange;
[245]138}
139
140/*----------------------------------------
141- Session state box
142*/
143
144.adminnavbar #userstate {
[244]145 position: absolute;
[245]146 bottom: 0px;
147 left: 0px;
148 right: 0px;
[249]149 /*background-color: #408040;*/
[244]150}
151
[245]152.adminnavbar #userstate #username {
[244]153 padding-left: 10px;
154}
155
[245]156.adminnavbar #userstate > div {
[244]157 display: none;
158}
159
[245]160
161/*========================================
162- Content area
163*/
164
[250]165#admincontent {
[244]166 position: absolute;
167 right: 0;
168 left: 200px;
[249]169 /*background-color: #408040;*/
[244]170}
171
[274]172#admincontent.hidenav {
173 left: 0;
174}
175
[250]176#admincontent #nopermissionwarning {
[245]177 margin: 20px 50px;
178}
179
[250]180#admincontent .contenttab {
[244]181 position: absolute;
182 top: 0;
183 right: 0;
184 left: 0px;
185 display: none;
186}
187
[250]188#admincontent .current_tab {
[244]189 display: block;
190}
191
192
193
[245]194/*========================================
195- Inventory dialog
196*/
[244]197
[149]198#info {
[163]199 background-color: #aaaaaa;
200 position: absolute;
201 bottom: 10px;
202 left: 10px;
[149]203}
[249]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
[163]240.invTable {
241 table-layout: fixed;
242 padding: 0px;
243 margin: 0px;
244 border-collapse: collapse;
245}
[250]246
[249]247.playerInventoryDialog td.invField {
[244]248 width: 58px;
249 height: 40px;
[163]250 padding: 1px 4px;
251 margin: 0px;
252 border: 1px solid gray;
[249]253 background-color: black;
[163]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:
[249]261 -1px -1px 0 black,
262 1px -1px 0 black,
263 -1px 1px 0 black,
264 1px 1px 0 black;
[163]265}
[245]266
[250]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}
[245]287
[179]288
[163]289
[249]290/*========================================
291- Map
292*/
[244]293
[249]294.adminmap {
295 /*background-color: #408040;*/
296 background-color: transparent;
297 bottom: 0;
298}
[245]299
[249]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}
[244]305
[249]306.adminmap a,
307.adminmap a:hover,
308.adminmap .leaflet-container a,
309.adminmap .leaflet-container a:hover {
[244]310 text-decoration: none;
[250]311 color: orangered;
[179]312}
313
[244]314.webmap-control {
[179]315 border-radius: 5px;
316 padding: 6px 10px 6px 6px;
[244]317 white-space: nowrap;
[179]318}
319
[249]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
[250]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;
[270]372 text-align: center;
[250]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
[279]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
[288]456.adminplayers .players_dateonline {
457 border-bottom: 1px dashed orange;
458}
459
Note: See TracBrowser for help on using the repository browser.