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