[245] | 1 | /*========================================
|
---|
| 2 | - Generic page layout
|
---|
| 3 | */
|
---|
[244] | 4 |
|
---|
| 5 | body {
|
---|
| 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] | 17 | a {
|
---|
[250] | 18 | color: orangered;
|
---|
[249] | 19 | text-decoration: none;
|
---|
| 20 | }
|
---|
| 21 |
|
---|
| 22 | a: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;
|
---|
| 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 |
|
---|
[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;
|
---|
| 137 | }
|
---|
| 138 |
|
---|
| 139 | /*----------------------------------------
|
---|
| 140 | - Session state box
|
---|
| 141 | */
|
---|
| 142 |
|
---|
| 143 | .adminnavbar #userstate {
|
---|
[244] | 144 | position: absolute;
|
---|
[245] | 145 | bottom: 0px;
|
---|
| 146 | left: 0px;
|
---|
| 147 | right: 0px;
|
---|
[249] | 148 | /*background-color: #408040;*/
|
---|
[244] | 149 | }
|
---|
| 150 |
|
---|
[245] | 151 | .adminnavbar #userstate #username {
|
---|
[244] | 152 | padding-left: 10px;
|
---|
| 153 | }
|
---|
| 154 |
|
---|
[245] | 155 | .adminnavbar #userstate > div {
|
---|
[244] | 156 | display: none;
|
---|
| 157 | }
|
---|
| 158 |
|
---|
[245] | 159 |
|
---|
| 160 | /*========================================
|
---|
| 161 | - Content area
|
---|
| 162 | */
|
---|
| 163 |
|
---|
[250] | 164 | #admincontent {
|
---|
[244] | 165 | position: absolute;
|
---|
| 166 | right: 0;
|
---|
| 167 | left: 200px;
|
---|
[249] | 168 | /*background-color: #408040;*/
|
---|
[244] | 169 | }
|
---|
| 170 |
|
---|
[274] | 171 | #admincontent.hidenav {
|
---|
| 172 | left: 0;
|
---|
| 173 | }
|
---|
| 174 |
|
---|
[250] | 175 | #admincontent #nopermissionwarning {
|
---|
[245] | 176 | margin: 20px 50px;
|
---|
| 177 | }
|
---|
| 178 |
|
---|
[250] | 179 | #admincontent .contenttab {
|
---|
[244] | 180 | position: absolute;
|
---|
| 181 | top: 0;
|
---|
| 182 | right: 0;
|
---|
| 183 | left: 0px;
|
---|
| 184 | display: none;
|
---|
| 185 | }
|
---|
| 186 |
|
---|
[250] | 187 | #admincontent .current_tab {
|
---|
[244] | 188 | display: block;
|
---|
| 189 | }
|
---|
| 190 |
|
---|
| 191 |
|
---|
| 192 |
|
---|
[245] | 193 | /*========================================
|
---|
| 194 | - Inventory dialog
|
---|
| 195 | */
|
---|
[244] | 196 |
|
---|
[149] | 197 | #info {
|
---|
[163] | 198 | background-color: #aaaaaa;
|
---|
| 199 | position: absolute;
|
---|
| 200 | bottom: 10px;
|
---|
| 201 | left: 10px;
|
---|
[149] | 202 | }
|
---|
[249] | 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 |
|
---|
[163] | 239 | .invTable {
|
---|
| 240 | table-layout: fixed;
|
---|
| 241 | padding: 0px;
|
---|
| 242 | margin: 0px;
|
---|
| 243 | border-collapse: collapse;
|
---|
| 244 | }
|
---|
[250] | 245 |
|
---|
[249] | 246 | .playerInventoryDialog td.invField {
|
---|
[244] | 247 | width: 58px;
|
---|
| 248 | height: 40px;
|
---|
[163] | 249 | padding: 1px 4px;
|
---|
| 250 | margin: 0px;
|
---|
| 251 | border: 1px solid gray;
|
---|
[249] | 252 | background-color: black;
|
---|
[163] | 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:
|
---|
[249] | 260 | -1px -1px 0 black,
|
---|
| 261 | 1px -1px 0 black,
|
---|
| 262 | -1px 1px 0 black,
|
---|
| 263 | 1px 1px 0 black;
|
---|
[163] | 264 | }
|
---|
[245] | 265 |
|
---|
[250] | 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 | }
|
---|
[245] | 286 |
|
---|
[179] | 287 |
|
---|
[163] | 288 |
|
---|
[249] | 289 | /*========================================
|
---|
| 290 | - Map
|
---|
| 291 | */
|
---|
[244] | 292 |
|
---|
[249] | 293 | .adminmap {
|
---|
| 294 | /*background-color: #408040;*/
|
---|
| 295 | background-color: transparent;
|
---|
| 296 | bottom: 0;
|
---|
| 297 | }
|
---|
[245] | 298 |
|
---|
[249] | 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 | }
|
---|
[244] | 304 |
|
---|
[249] | 305 | .adminmap a,
|
---|
| 306 | .adminmap a:hover,
|
---|
| 307 | .adminmap .leaflet-container a,
|
---|
| 308 | .adminmap .leaflet-container a:hover {
|
---|
[244] | 309 | text-decoration: none;
|
---|
[250] | 310 | color: orangered;
|
---|
[179] | 311 | }
|
---|
| 312 |
|
---|
[244] | 313 | .webmap-control {
|
---|
[179] | 314 | border-radius: 5px;
|
---|
| 315 | padding: 6px 10px 6px 6px;
|
---|
[244] | 316 | white-space: nowrap;
|
---|
[179] | 317 | }
|
---|
| 318 |
|
---|
[249] | 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 |
|
---|
[250] | 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;
|
---|
[270] | 371 | text-align: center;
|
---|
[250] | 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 |
|
---|
[279] | 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 |
|
---|
[288] | 455 | .adminplayers .players_dateonline {
|
---|
| 456 | border-bottom: 1px dashed orange;
|
---|
| 457 | }
|
---|
| 458 |
|
---|