| 1 | :root { |
| 2 | color-scheme: dark; |
| 3 | font-family: "Segoe UI", sans-serif; |
| 4 | background: #12151b; |
| 5 | color: #e8e4d9; |
| 6 | } |
| 7 | |
| 8 | html, body { |
| 9 | margin: 0; |
| 10 | min-height: 100%; |
| 11 | } |
| 12 | |
| 13 | body > header { |
| 14 | padding: 0.6rem 1rem; |
| 15 | border-bottom: 1px solid #2c3340; |
| 16 | } |
| 17 | |
| 18 | body > aside { |
| 19 | position: absolute; |
| 20 | left: 0; |
| 21 | top: 56px; |
| 22 | width: 250px; |
| 23 | bottom: 0; |
| 24 | overflow: auto; |
| 25 | padding: 0.75rem; |
| 26 | box-sizing: border-box; |
| 27 | background: #1a1e26; |
| 28 | border-right: 1px solid #2c3340; |
| 29 | } |
| 30 | |
| 31 | #changelog-wrap { |
| 32 | position: absolute; |
| 33 | right: 0; |
| 34 | top: 56px; |
| 35 | width: 280px; |
| 36 | bottom: 0; |
| 37 | overflow: auto; |
| 38 | padding: 0.75rem; |
| 39 | box-sizing: border-box; |
| 40 | background: #1a1e26; |
| 41 | border-left: 1px solid #2c3340; |
| 42 | } |
| 43 | |
| 44 | .nav, .palette { |
| 45 | display: flex; |
| 46 | flex-direction: column; |
| 47 | gap: 0.35rem; |
| 48 | margin: 0.75rem 0; |
| 49 | } |
| 50 | |
| 51 | .dimension-picker { |
| 52 | margin: 0.75rem 0 0.35rem; |
| 53 | display: flex; |
| 54 | flex-direction: column; |
| 55 | gap: 0.35rem; |
| 56 | } |
| 57 | .dimension-picker > label, |
| 58 | .dimension-picker-label { |
| 59 | font-size: 0.85rem; |
| 60 | color: #9aa3b2; |
| 61 | } |
| 62 | .dim-combo { |
| 63 | position: relative; |
| 64 | } |
| 65 | .dim-combo-input { |
| 66 | width: 100%; |
| 67 | box-sizing: border-box; |
| 68 | } |
| 69 | .dim-combo-list { |
| 70 | position: absolute; |
| 71 | left: 0; |
| 72 | right: 0; |
| 73 | top: calc(100% + 2px); |
| 74 | z-index: 20; |
| 75 | margin: 0; |
| 76 | padding: 0.2rem 0; |
| 77 | list-style: none; |
| 78 | max-height: 220px; |
| 79 | overflow: auto; |
| 80 | background: #101216; |
| 81 | border: 1px solid #3a4250; |
| 82 | box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45); |
| 83 | } |
| 84 | .dim-combo-option, |
| 85 | .dim-combo-empty { |
| 86 | display: flex; |
| 87 | flex-direction: column; |
| 88 | gap: 0.1rem; |
| 89 | padding: 0.35rem 0.55rem; |
| 90 | cursor: pointer; |
| 91 | } |
| 92 | .dim-combo-option:hover, |
| 93 | .dim-combo-option.selected { |
| 94 | background: #243044; |
| 95 | } |
| 96 | .dim-combo-option.disabled { |
| 97 | opacity: 0.55; |
| 98 | } |
| 99 | .dim-combo-option.create { |
| 100 | color: #b8d4a0; |
| 101 | border-top: 1px solid #2c3340; |
| 102 | } |
| 103 | .dim-combo-option-hint, |
| 104 | .dim-combo-empty { |
| 105 | font-size: 0.78rem; |
| 106 | color: #9aa3b2; |
| 107 | } |
| 108 | .dimension-settings { |
| 109 | display: flex; |
| 110 | flex-direction: column; |
| 111 | gap: 0.45rem; |
| 112 | margin: 0.5rem 0 0.85rem; |
| 113 | padding: 0.55rem 0.6rem; |
| 114 | border: 1px solid #2c3340; |
| 115 | background: #151922; |
| 116 | } |
| 117 | .dimension-settings label { |
| 118 | display: flex; |
| 119 | flex-direction: column; |
| 120 | gap: 0.2rem; |
| 121 | font-size: 0.85rem; |
| 122 | color: #9aa3b2; |
| 123 | } |
| 124 | .dimension-settings input, |
| 125 | .dimension-settings select { |
| 126 | width: 100%; |
| 127 | box-sizing: border-box; |
| 128 | } |
| 129 | .dimension-settings-actions { |
| 130 | display: flex; |
| 131 | flex-wrap: wrap; |
| 132 | gap: 0.35rem; |
| 133 | } |
| 134 | #dim-delete { |
| 135 | border-color: #8a3a3a; |
| 136 | color: #f0a0a0; |
| 137 | } |
| 138 | |
| 139 | button, input { |
| 140 | font: inherit; |
| 141 | background: #101216; |
| 142 | color: inherit; |
| 143 | border: 1px solid #3a4250; |
| 144 | padding: 0.3rem 0.5rem; |
| 145 | } |
| 146 | |
| 147 | button { cursor: pointer; } |
| 148 | button:disabled { |
| 149 | opacity: 0.45; |
| 150 | cursor: not-allowed; |
| 151 | } |
| 152 | #save.save-dirty:not(:disabled) { |
| 153 | animation: save-pulse 1.1s ease-in-out infinite; |
| 154 | border-color: #c9a227; |
| 155 | box-shadow: 0 0 0 1px rgba(201, 162, 39, 0.35); |
| 156 | } |
| 157 | @keyframes save-pulse { |
| 158 | 0%, 100% { opacity: 1; } |
| 159 | 50% { opacity: 0.55; } |
| 160 | } |
| 161 | #unsaved-chunk-backdrop { |
| 162 | position: fixed; |
| 163 | inset: 0; |
| 164 | background: rgba(0, 0, 0, 0.62); |
| 165 | z-index: 29; |
| 166 | } |
| 167 | #unsaved-chunk-modal { |
| 168 | position: fixed; |
| 169 | left: 50%; |
| 170 | top: 50%; |
| 171 | transform: translate(-50%, -50%); |
| 172 | z-index: 30; |
| 173 | width: min(420px, 92vw); |
| 174 | padding: 1rem 1.1rem; |
| 175 | background: #161a22; |
| 176 | border: 1px solid #3a4250; |
| 177 | box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45); |
| 178 | } |
| 179 | #unsaved-chunk-modal header { |
| 180 | margin: 0 0 0.5rem; |
| 181 | padding: 0; |
| 182 | border: 0; |
| 183 | } |
| 184 | #unsaved-chunk-modal h2 { |
| 185 | margin: 0; |
| 186 | font-size: 1.1rem; |
| 187 | } |
| 188 | .unsaved-chunk-actions { |
| 189 | display: flex; |
| 190 | justify-content: flex-end; |
| 191 | gap: 0.5rem; |
| 192 | margin-top: 1rem; |
| 193 | } |
| 194 | #apply-status.ok { color: #b8d4a0; } |
| 195 | .error { color: #f0a0a0; } |
| 196 | .hint { color: #9aa3b2; font-size: 0.85rem; } |
| 197 | .open-toggle { display: flex; gap: 0.4rem; align-items: center; } |
| 198 | article { margin-bottom: 0.75rem; } |
| 199 | fieldset { border-color: #3a4250; margin-top: 1rem; } |
| 200 | #selection-border { |
| 201 | position: fixed; |
| 202 | pointer-events: none; |
| 203 | box-sizing: border-box; |
| 204 | border: 2px solid #e23d3d; |
| 205 | box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.55); |
| 206 | z-index: 4; |
| 207 | } |
| 208 | |
| 209 | label { display: block; margin: 0.4rem 0; } |
| 210 | |
| 211 | #settings-backdrop { |
| 212 | position: fixed; |
| 213 | inset: 0; |
| 214 | background: rgba(0, 0, 0, 0.62); |
| 215 | z-index: 19; |
| 216 | } |
| 217 | |
| 218 | #settings-modal { |
| 219 | position: fixed; |
| 220 | inset: 4vh 4vw; |
| 221 | z-index: 20; |
| 222 | display: flex; |
| 223 | background: #161a22; |
| 224 | border: 1px solid #3a4250; |
| 225 | box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45); |
| 226 | } |
| 227 | |
| 228 | #settings-modal[hidden], |
| 229 | #settings-backdrop[hidden] { |
| 230 | display: none !important; |
| 231 | } |
| 232 | |
| 233 | #settings-main { |
| 234 | flex: 1; |
| 235 | min-width: 0; |
| 236 | display: flex; |
| 237 | flex-direction: column; |
| 238 | } |
| 239 | |
| 240 | #settings-main header, |
| 241 | #settings-main footer { |
| 242 | display: flex; |
| 243 | align-items: center; |
| 244 | justify-content: space-between; |
| 245 | gap: 0.75rem; |
| 246 | padding: 0.75rem 1rem; |
| 247 | border-bottom: 1px solid #2c3340; |
| 248 | } |
| 249 | |
| 250 | #settings-main footer { |
| 251 | border-bottom: 0; |
| 252 | border-top: 1px solid #2c3340; |
| 253 | } |
| 254 | |
| 255 | #settings-form { |
| 256 | flex: 1; |
| 257 | overflow: auto; |
| 258 | padding: 0; |
| 259 | display: flex; |
| 260 | flex-direction: column; |
| 261 | min-height: 0; |
| 262 | } |
| 263 | |
| 264 | .settings-tabs { |
| 265 | display: flex; |
| 266 | flex-wrap: wrap; |
| 267 | gap: 0.25rem; |
| 268 | padding: 0.65rem 1rem 0.5rem; |
| 269 | border-bottom: 1px solid #2c3340; |
| 270 | background: #12151c; |
| 271 | } |
| 272 | |
| 273 | .settings-tab { |
| 274 | appearance: none; |
| 275 | border: 1px solid transparent; |
| 276 | background: transparent; |
| 277 | color: #a8a295; |
| 278 | padding: 0.35rem 0.7rem; |
| 279 | border-radius: 4px; |
| 280 | cursor: pointer; |
| 281 | font: inherit; |
| 282 | } |
| 283 | |
| 284 | .settings-tab:hover { |
| 285 | color: #e8e2d4; |
| 286 | background: #1c222c; |
| 287 | } |
| 288 | |
| 289 | .settings-tab.active { |
| 290 | color: #1a1510; |
| 291 | background: #d4c48a; |
| 292 | border-color: #d4c48a; |
| 293 | } |
| 294 | |
| 295 | .settings-panels { |
| 296 | flex: 1; |
| 297 | overflow: auto; |
| 298 | padding: 0.75rem 1rem 1.25rem; |
| 299 | } |
| 300 | |
| 301 | .settings-category { |
| 302 | margin-bottom: 0; |
| 303 | } |
| 304 | |
| 305 | .settings-category h3 { |
| 306 | margin: 0 0 0.5rem; |
| 307 | font-size: 0.95rem; |
| 308 | color: #d4c48a; |
| 309 | border-bottom: 1px solid #2c3340; |
| 310 | padding-bottom: 0.25rem; |
| 311 | } |
| 312 | |
| 313 | .setting-row { |
| 314 | display: grid; |
| 315 | grid-template-columns: minmax(12rem, 1fr) minmax(8rem, 14rem) 4rem; |
| 316 | gap: 0.4rem 0.75rem; |
| 317 | align-items: center; |
| 318 | padding: 0.45rem 0.5rem; |
| 319 | margin: 0.2rem 0; |
| 320 | border-radius: 4px; |
| 321 | } |
| 322 | |
| 323 | .setting-row .hint { |
| 324 | grid-column: 1 / -1; |
| 325 | margin: 0; |
| 326 | } |
| 327 | |
| 328 | .setting-row.dirty { |
| 329 | background: #4a3d18; |
| 330 | box-shadow: inset 0 0 0 1px #c4a35a; |
| 331 | } |
| 332 | |
| 333 | .setting-value { |
| 334 | font-variant-numeric: tabular-nums; |
| 335 | color: #c5c0b4; |
| 336 | } |
| 337 | |
| 338 | .seed-price-panel { |
| 339 | display: flex; |
| 340 | flex-direction: column; |
| 341 | gap: 0.65rem; |
| 342 | min-height: 0; |
| 343 | } |
| 344 | |
| 345 | .seed-price-toolbar { |
| 346 | display: flex; |
| 347 | flex-wrap: wrap; |
| 348 | gap: 0.55rem 0.75rem; |
| 349 | align-items: center; |
| 350 | } |
| 351 | |
| 352 | .seed-price-search { |
| 353 | flex: 1 1 12rem; |
| 354 | min-width: 10rem; |
| 355 | padding: 0.4rem 0.55rem; |
| 356 | background: #10141b; |
| 357 | border: 1px solid #3a4250; |
| 358 | color: #e8e4d9; |
| 359 | font: inherit; |
| 360 | } |
| 361 | |
| 362 | .seed-price-meta { |
| 363 | flex: 0 0 auto; |
| 364 | } |
| 365 | |
| 366 | .seed-price-pager { |
| 367 | display: flex; |
| 368 | align-items: center; |
| 369 | gap: 0.45rem; |
| 370 | margin-left: auto; |
| 371 | } |
| 372 | |
| 373 | .seed-price-pager button { |
| 374 | appearance: none; |
| 375 | border: 1px solid #3a4250; |
| 376 | background: #1c222c; |
| 377 | color: #e8e4d9; |
| 378 | padding: 0.3rem 0.55rem; |
| 379 | cursor: pointer; |
| 380 | font: inherit; |
| 381 | } |
| 382 | |
| 383 | .seed-price-pager button:disabled { |
| 384 | opacity: 0.4; |
| 385 | cursor: default; |
| 386 | } |
| 387 | |
| 388 | .seed-price-header, |
| 389 | .seed-price-row { |
| 390 | display: grid; |
| 391 | grid-template-columns: minmax(10rem, 1.6fr) 6.5rem 5.5rem 5.5rem; |
| 392 | gap: 0.5rem 0.65rem; |
| 393 | align-items: center; |
| 394 | } |
| 395 | |
| 396 | .seed-price-header { |
| 397 | padding: 0.25rem 0.4rem; |
| 398 | color: #a8a295; |
| 399 | font-size: 0.78rem; |
| 400 | text-transform: uppercase; |
| 401 | letter-spacing: 0.04em; |
| 402 | border-bottom: 1px solid #2c3340; |
| 403 | } |
| 404 | |
| 405 | .seed-price-list { |
| 406 | display: flex; |
| 407 | flex-direction: column; |
| 408 | gap: 0.25rem; |
| 409 | } |
| 410 | |
| 411 | .seed-price-row { |
| 412 | padding: 0.4rem; |
| 413 | border-radius: 4px; |
| 414 | } |
| 415 | |
| 416 | .seed-price-row.dirty { |
| 417 | background: #4a3d18; |
| 418 | box-shadow: inset 0 0 0 1px #c4a35a; |
| 419 | } |
| 420 | |
| 421 | .seed-price-name { |
| 422 | display: flex; |
| 423 | flex-direction: column; |
| 424 | gap: 0.1rem; |
| 425 | min-width: 0; |
| 426 | } |
| 427 | |
| 428 | .seed-price-name strong { |
| 429 | overflow: hidden; |
| 430 | text-overflow: ellipsis; |
| 431 | white-space: nowrap; |
| 432 | } |
| 433 | |
| 434 | .seed-price-name small { |
| 435 | color: #8b8790; |
| 436 | font-size: 0.75rem; |
| 437 | } |
| 438 | |
| 439 | .seed-price-seed { |
| 440 | display: flex; |
| 441 | flex-direction: column; |
| 442 | gap: 0.15rem; |
| 443 | font-size: 0.75rem; |
| 444 | color: #a8a295; |
| 445 | } |
| 446 | |
| 447 | .seed-price-seed input { |
| 448 | width: 100%; |
| 449 | padding: 0.3rem 0.4rem; |
| 450 | background: #10141b; |
| 451 | border: 1px solid #3a4250; |
| 452 | color: #e8e4d9; |
| 453 | font: inherit; |
| 454 | } |
| 455 | |
| 456 | .seed-price-readonly { |
| 457 | display: flex; |
| 458 | flex-direction: column; |
| 459 | gap: 0.15rem; |
| 460 | font-size: 0.75rem; |
| 461 | color: #a8a295; |
| 462 | } |
| 463 | |
| 464 | .seed-price-readonly strong { |
| 465 | font-size: 0.95rem; |
| 466 | color: #e8e4d9; |
| 467 | font-variant-numeric: tabular-nums; |
| 468 | } |
| 469 | |
| 470 | .seed-price-readonly strong.muted { |
| 471 | color: #6d6875; |
| 472 | } |
| 473 | |
| 474 | .starter-equipment-panel h3 { |
| 475 | margin: 0.85rem 0 0.4rem; |
| 476 | font-size: 0.85rem; |
| 477 | text-transform: uppercase; |
| 478 | letter-spacing: 0.03em; |
| 479 | color: #9aa3b2; |
| 480 | } |
| 481 | |
| 482 | .starter-equip-list, |
| 483 | .starter-inv-list { |
| 484 | display: flex; |
| 485 | flex-direction: column; |
| 486 | gap: 0.4rem; |
| 487 | } |
| 488 | |
| 489 | .starter-equip-row { |
| 490 | display: grid; |
| 491 | grid-template-columns: 5.5rem 1fr; |
| 492 | gap: 0.5rem; |
| 493 | align-items: center; |
| 494 | } |
| 495 | |
| 496 | .starter-equip-row.dirty select, |
| 497 | .starter-inv-row.dirty select, |
| 498 | .starter-inv-row.dirty input { |
| 499 | border-color: #c4a35a; |
| 500 | } |
| 501 | |
| 502 | .starter-inv-row { |
| 503 | display: grid; |
| 504 | grid-template-columns: 1fr 4.5rem auto; |
| 505 | gap: 0.4rem; |
| 506 | align-items: center; |
| 507 | } |
| 508 | |
| 509 | #settings-log-wrap { |
| 510 | width: min(340px, 32vw); |
| 511 | flex-shrink: 0; |
| 512 | border-left: 1px solid #2c3340; |
| 513 | display: flex; |
| 514 | flex-direction: column; |
| 515 | background: #1a1e26; |
| 516 | } |
| 517 | |
| 518 | #settings-log-wrap h2 { |
| 519 | margin: 0; |
| 520 | padding: 0.75rem 1rem; |
| 521 | border-bottom: 1px solid #2c3340; |
| 522 | font-size: 1rem; |
| 523 | } |
| 524 | |
| 525 | #settings-log { |
| 526 | flex: 1; |
| 527 | overflow: auto; |
| 528 | padding: 0.75rem 1rem; |
| 529 | } |
| 530 | |
| 531 | #palette-backdrop, |
| 532 | #tile-config-backdrop { |
| 533 | position: fixed; |
| 534 | inset: 0; |
| 535 | background: rgba(0, 0, 0, 0.62); |
| 536 | z-index: 19; |
| 537 | } |
| 538 | |
| 539 | #palette-modal, |
| 540 | #tile-config-modal { |
| 541 | position: fixed; |
| 542 | z-index: 20; |
| 543 | display: flex; |
| 544 | flex-direction: column; |
| 545 | background: #161a22; |
| 546 | border: 1px solid #3a4250; |
| 547 | box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45); |
| 548 | } |
| 549 | |
| 550 | #palette-modal { |
| 551 | inset: 8vh 12vw; |
| 552 | } |
| 553 | |
| 554 | #tile-config-modal { |
| 555 | top: 10vh; |
| 556 | left: 50%; |
| 557 | transform: translateX(-50%); |
| 558 | width: min(440px, 92vw); |
| 559 | max-height: 80vh; |
| 560 | } |
| 561 | |
| 562 | #palette-modal[hidden], |
| 563 | #palette-backdrop[hidden], |
| 564 | #tile-config-modal[hidden], |
| 565 | #tile-config-backdrop[hidden], |
| 566 | #tile-tooltip[hidden] { |
| 567 | display: none !important; |
| 568 | } |
| 569 | |
| 570 | #palette-modal > header, |
| 571 | #tile-config-modal > header, |
| 572 | #tile-config-modal > footer { |
| 573 | display: flex; |
| 574 | align-items: center; |
| 575 | justify-content: space-between; |
| 576 | gap: 0.75rem; |
| 577 | padding: 0.75rem 1rem; |
| 578 | border-bottom: 1px solid #2c3340; |
| 579 | } |
| 580 | |
| 581 | #tile-config-modal > footer { |
| 582 | border-bottom: 0; |
| 583 | border-top: 1px solid #2c3340; |
| 584 | } |
| 585 | |
| 586 | #palette-panels { |
| 587 | flex: 1; |
| 588 | overflow: auto; |
| 589 | padding: 0.75rem 1rem 1.25rem; |
| 590 | } |
| 591 | |
| 592 | .palette-grid { |
| 593 | display: grid; |
| 594 | grid-template-columns: repeat(auto-fill, minmax(7.5rem, 1fr)); |
| 595 | gap: 0.6rem; |
| 596 | } |
| 597 | |
| 598 | .palette-card { |
| 599 | display: flex; |
| 600 | flex-direction: column; |
| 601 | align-items: center; |
| 602 | gap: 0.35rem; |
| 603 | padding: 0.55rem 0.4rem; |
| 604 | min-height: 6.5rem; |
| 605 | } |
| 606 | |
| 607 | .palette-thumb { |
| 608 | width: 48px; |
| 609 | height: 48px; |
| 610 | display: grid; |
| 611 | place-items: center; |
| 612 | background: #0d1016; |
| 613 | border: 1px solid #2c3340; |
| 614 | image-rendering: pixelated; |
| 615 | font-weight: 600; |
| 616 | color: #9aa3b2; |
| 617 | } |
| 618 | |
| 619 | .palette-thumb img { |
| 620 | width: 100%; |
| 621 | height: 100%; |
| 622 | object-fit: contain; |
| 623 | image-rendering: pixelated; |
| 624 | } |
| 625 | |
| 626 | #tile-config-form { |
| 627 | padding: 0.75rem 1rem 1rem; |
| 628 | display: flex; |
| 629 | flex-direction: column; |
| 630 | gap: 0.35rem; |
| 631 | flex: 1; |
| 632 | min-height: 0; |
| 633 | overflow: auto; |
| 634 | } |
| 635 | |
| 636 | .spawner-sells-header { |
| 637 | display: flex; |
| 638 | align-items: center; |
| 639 | justify-content: space-between; |
| 640 | gap: 0.5rem; |
| 641 | margin-top: 0.55rem; |
| 642 | } |
| 643 | |
| 644 | .spawner-sells-list { |
| 645 | display: flex; |
| 646 | flex-direction: column; |
| 647 | gap: 0.35rem; |
| 648 | } |
| 649 | |
| 650 | .spawner-sells-row { |
| 651 | display: grid; |
| 652 | grid-template-columns: 1fr 4.5rem auto; |
| 653 | gap: 0.4rem; |
| 654 | align-items: center; |
| 655 | } |
| 656 | |
| 657 | .spawner-sells-name { |
| 658 | overflow: hidden; |
| 659 | text-overflow: ellipsis; |
| 660 | white-space: nowrap; |
| 661 | } |
| 662 | |
| 663 | .spawner-equip-list { |
| 664 | display: flex; |
| 665 | flex-direction: column; |
| 666 | gap: 0.35rem; |
| 667 | } |
| 668 | |
| 669 | .spawner-equip-row { |
| 670 | display: grid; |
| 671 | grid-template-columns: 4.5rem 1fr auto auto auto; |
| 672 | gap: 0.35rem; |
| 673 | align-items: center; |
| 674 | } |
| 675 | |
| 676 | .spawner-equip-slot { |
| 677 | text-transform: capitalize; |
| 678 | color: #9aa3b2; |
| 679 | font-size: 0.85rem; |
| 680 | } |
| 681 | |
| 682 | .spawner-equip-name { |
| 683 | overflow: hidden; |
| 684 | text-overflow: ellipsis; |
| 685 | white-space: nowrap; |
| 686 | } |
| 687 | |
| 688 | .spawner-equip-dye-swatch { |
| 689 | display: inline-block; |
| 690 | width: 0.85rem; |
| 691 | height: 0.85rem; |
| 692 | margin-right: 0.35rem; |
| 693 | border: 1px solid #3a4250; |
| 694 | vertical-align: -0.1rem; |
| 695 | border-radius: 2px; |
| 696 | } |
| 697 | |
| 698 | #equip-dye-backdrop { |
| 699 | position: fixed; |
| 700 | inset: 0; |
| 701 | background: rgba(0, 0, 0, 0.55); |
| 702 | z-index: 23; |
| 703 | } |
| 704 | |
| 705 | #equip-dye-modal { |
| 706 | position: fixed; |
| 707 | z-index: 24; |
| 708 | top: 18vh; |
| 709 | left: 50%; |
| 710 | transform: translateX(-50%); |
| 711 | width: min(340px, 90vw); |
| 712 | display: flex; |
| 713 | flex-direction: column; |
| 714 | background: #161a22; |
| 715 | border: 1px solid #3a4250; |
| 716 | box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45); |
| 717 | } |
| 718 | |
| 719 | #equip-dye-modal[hidden], |
| 720 | #equip-dye-backdrop[hidden] { |
| 721 | display: none !important; |
| 722 | } |
| 723 | |
| 724 | #equip-dye-modal > header { |
| 725 | display: flex; |
| 726 | align-items: center; |
| 727 | justify-content: space-between; |
| 728 | gap: 0.75rem; |
| 729 | padding: 0.75rem 1rem; |
| 730 | border-bottom: 1px solid #2c3340; |
| 731 | } |
| 732 | |
| 733 | .equip-dye-body { |
| 734 | padding: 0.85rem 1rem 1rem; |
| 735 | display: flex; |
| 736 | flex-direction: column; |
| 737 | gap: 0.55rem; |
| 738 | } |
| 739 | |
| 740 | .equip-dye-preview { |
| 741 | height: 3rem; |
| 742 | border: 1px solid #3a4250; |
| 743 | border-radius: 4px; |
| 744 | background: #c85078; |
| 745 | } |
| 746 | |
| 747 | .equip-dye-channel { |
| 748 | display: grid; |
| 749 | grid-template-columns: 1.25rem 1fr 3.5rem; |
| 750 | gap: 0.4rem; |
| 751 | align-items: center; |
| 752 | font-size: 0.85rem; |
| 753 | color: #9aa3b2; |
| 754 | } |
| 755 | |
| 756 | .equip-dye-channel input[type="number"] { |
| 757 | width: 100%; |
| 758 | } |
| 759 | |
| 760 | .equip-dye-actions { |
| 761 | display: flex; |
| 762 | justify-content: flex-end; |
| 763 | gap: 0.4rem; |
| 764 | margin-top: 0.25rem; |
| 765 | } |
| 766 | |
| 767 | .spawner-buys-row { |
| 768 | display: flex; |
| 769 | align-items: center; |
| 770 | gap: 0.4rem; |
| 771 | margin-top: 0.45rem; |
| 772 | } |
| 773 | |
| 774 | #shop-item-search-backdrop { |
| 775 | position: fixed; |
| 776 | inset: 0; |
| 777 | background: rgba(0, 0, 0, 0.55); |
| 778 | z-index: 21; |
| 779 | } |
| 780 | |
| 781 | #shop-item-search-modal { |
| 782 | position: fixed; |
| 783 | z-index: 22; |
| 784 | top: 18vh; |
| 785 | left: 50%; |
| 786 | transform: translateX(-50%); |
| 787 | width: min(380px, 90vw); |
| 788 | max-height: 60vh; |
| 789 | display: flex; |
| 790 | flex-direction: column; |
| 791 | background: #161a22; |
| 792 | border: 1px solid #3a4250; |
| 793 | box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45); |
| 794 | } |
| 795 | |
| 796 | #shop-item-search-modal[hidden], |
| 797 | #shop-item-search-backdrop[hidden] { |
| 798 | display: none !important; |
| 799 | } |
| 800 | |
| 801 | #shop-item-search-modal > header { |
| 802 | display: flex; |
| 803 | align-items: center; |
| 804 | justify-content: space-between; |
| 805 | gap: 0.75rem; |
| 806 | padding: 0.75rem 1rem; |
| 807 | border-bottom: 1px solid #2c3340; |
| 808 | } |
| 809 | |
| 810 | #shop-item-search-modal > .shop-item-search-body { |
| 811 | padding: 0.75rem 1rem 1rem; |
| 812 | display: flex; |
| 813 | flex-direction: column; |
| 814 | gap: 0.5rem; |
| 815 | min-height: 0; |
| 816 | overflow: hidden; |
| 817 | } |
| 818 | |
| 819 | #shop-item-search-results { |
| 820 | overflow: auto; |
| 821 | max-height: 40vh; |
| 822 | display: flex; |
| 823 | flex-direction: column; |
| 824 | gap: 0.25rem; |
| 825 | } |
| 826 | |
| 827 | .shop-item-search-row { |
| 828 | text-align: left; |
| 829 | padding: 0.4rem 0.5rem; |
| 830 | } |
| 831 | |
| 832 | #tile-tooltip { |
| 833 | position: fixed; |
| 834 | z-index: 15; |
| 835 | pointer-events: none; |
| 836 | max-width: 16rem; |
| 837 | padding: 0.4rem 0.55rem; |
| 838 | background: rgba(12, 14, 18, 0.92); |
| 839 | border: 1px solid #3a4250; |
| 840 | color: #e8e4d9; |
| 841 | font-size: 0.8rem; |
| 842 | white-space: pre-wrap; |
| 843 | box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4); |
| 844 | } |
| 845 | |
| 846 | #hover-status { |
| 847 | position: fixed; |
| 848 | left: 250px; |
| 849 | right: 280px; |
| 850 | bottom: 0; |
| 851 | z-index: 5; |
| 852 | margin: 0; |
| 853 | padding: 0.35rem 0.75rem; |
| 854 | border-top: 1px solid #2c3340; |
| 855 | background: #1a1e26; |
| 856 | color: #c5c9d2; |
| 857 | font-size: 0.85rem; |
| 858 | pointer-events: none; |
| 859 | } |
| 860 | #hover-status-text { |
| 861 | font-variant-numeric: tabular-nums; |
| 862 | } |
| 863 | |
| 864 | |
| 865 | #quests-backdrop, |
| 866 | #dialogues-backdrop { |
| 867 | position: fixed; |
| 868 | inset: 0; |
| 869 | background: rgba(0, 0, 0, 0.62); |
| 870 | z-index: 19; |
| 871 | } |
| 872 | |
| 873 | #quests-modal, |
| 874 | #dialogues-modal { |
| 875 | position: fixed; |
| 876 | inset: 5vh 5vw; |
| 877 | z-index: 20; |
| 878 | display: flex; |
| 879 | flex-direction: column; |
| 880 | background: #161a22; |
| 881 | border: 1px solid #3a4250; |
| 882 | box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45); |
| 883 | } |
| 884 | |
| 885 | #quests-modal[hidden], |
| 886 | #quests-backdrop[hidden], |
| 887 | #dialogues-modal[hidden], |
| 888 | #dialogues-backdrop[hidden] { |
| 889 | display: none !important; |
| 890 | } |
| 891 | |
| 892 | #quests-modal > header, |
| 893 | #dialogues-modal > header, |
| 894 | #quests-modal > footer, |
| 895 | #dialogues-modal > footer { |
| 896 | display: flex; |
| 897 | align-items: center; |
| 898 | justify-content: space-between; |
| 899 | gap: 0.75rem; |
| 900 | padding: 0.75rem 1rem; |
| 901 | border-bottom: 1px solid #2c3340; |
| 902 | } |
| 903 | |
| 904 | #quests-modal > footer, |
| 905 | #dialogues-modal > footer { |
| 906 | border-bottom: 0; |
| 907 | border-top: 1px solid #2c3340; |
| 908 | justify-content: flex-end; |
| 909 | } |
| 910 | |
| 911 | .content-editor-layout { |
| 912 | flex: 1; |
| 913 | min-height: 0; |
| 914 | display: flex; |
| 915 | overflow: hidden; |
| 916 | } |
| 917 | |
| 918 | .content-editor-list-pane { |
| 919 | width: 220px; |
| 920 | flex-shrink: 0; |
| 921 | border-right: 1px solid #2c3340; |
| 922 | padding: 0.65rem; |
| 923 | display: flex; |
| 924 | flex-direction: column; |
| 925 | gap: 0.5rem; |
| 926 | overflow: auto; |
| 927 | background: #12151c; |
| 928 | } |
| 929 | |
| 930 | .content-editor-list { |
| 931 | display: flex; |
| 932 | flex-direction: column; |
| 933 | gap: 0.25rem; |
| 934 | } |
| 935 | |
| 936 | .content-editor-list button { |
| 937 | text-align: left; |
| 938 | width: 100%; |
| 939 | } |
| 940 | |
| 941 | .content-editor-list button.active { |
| 942 | border-color: #6b8cae; |
| 943 | background: #1c2838; |
| 944 | } |
| 945 | |
| 946 | .content-editor-detail { |
| 947 | flex: 1; |
| 948 | min-width: 0; |
| 949 | overflow: auto; |
| 950 | padding: 0.75rem 1rem 1rem; |
| 951 | } |
| 952 | |
| 953 | .content-editor-detail label { |
| 954 | display: block; |
| 955 | margin: 0.4rem 0; |
| 956 | } |
| 957 | |
| 958 | .content-editor-detail input[type="text"], |
| 959 | .content-editor-detail input[type="number"], |
| 960 | .content-editor-detail textarea, |
| 961 | .content-editor-detail select { |
| 962 | display: block; |
| 963 | width: 100%; |
| 964 | margin-top: 0.2rem; |
| 965 | box-sizing: border-box; |
| 966 | } |
| 967 | |
| 968 | .content-editor-section { |
| 969 | border: 1px solid #2c3340; |
| 970 | padding: 0.55rem 0.65rem; |
| 971 | margin: 0.55rem 0; |
| 972 | background: #12151c; |
| 973 | } |
| 974 | |
| 975 | .content-editor-section-header { |
| 976 | display: flex; |
| 977 | align-items: center; |
| 978 | justify-content: space-between; |
| 979 | gap: 0.5rem; |
| 980 | margin-bottom: 0.35rem; |
| 981 | } |
| 982 | |
| 983 | .content-editor-row { |
| 984 | display: flex; |
| 985 | flex-wrap: wrap; |
| 986 | gap: 0.35rem; |
| 987 | align-items: center; |
| 988 | margin: 0.35rem 0; |
| 989 | } |
| 990 | |
| 991 | .content-editor-clause { |
| 992 | border: 1px dashed #3a4250; |
| 993 | padding: 0.4rem; |
| 994 | margin: 0.35rem 0; |
| 995 | } |
| 996 | |
| 997 | .content-editor-hint { |
| 998 | color: #8a909c; |
| 999 | font-size: 0.85rem; |
| 1000 | margin: 0.25rem 0 0.5rem; |
| 1001 | } |