| 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 | button, input { |
| 52 | font: inherit; |
| 53 | background: #101216; |
| 54 | color: inherit; |
| 55 | border: 1px solid #3a4250; |
| 56 | padding: 0.3rem 0.5rem; |
| 57 | } |
| 58 | |
| 59 | button { cursor: pointer; } |
| 60 | button:disabled { |
| 61 | opacity: 0.45; |
| 62 | cursor: not-allowed; |
| 63 | } |
| 64 | #apply-status.ok { color: #b8d4a0; } |
| 65 | .error { color: #f0a0a0; } |
| 66 | .hint { color: #9aa3b2; font-size: 0.85rem; } |
| 67 | .open-toggle { display: flex; gap: 0.4rem; align-items: center; } |
| 68 | article { margin-bottom: 0.75rem; } |
| 69 | fieldset { border-color: #3a4250; margin-top: 1rem; } |
| 70 | #selection-border { |
| 71 | position: fixed; |
| 72 | pointer-events: none; |
| 73 | box-sizing: border-box; |
| 74 | border: 2px solid #e23d3d; |
| 75 | box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.55); |
| 76 | z-index: 4; |
| 77 | } |
| 78 | |
| 79 | label { display: block; margin: 0.4rem 0; } |
| 80 | |
| 81 | #settings-backdrop { |
| 82 | position: fixed; |
| 83 | inset: 0; |
| 84 | background: rgba(0, 0, 0, 0.62); |
| 85 | z-index: 19; |
| 86 | } |
| 87 | |
| 88 | #settings-modal { |
| 89 | position: fixed; |
| 90 | inset: 4vh 4vw; |
| 91 | z-index: 20; |
| 92 | display: flex; |
| 93 | background: #161a22; |
| 94 | border: 1px solid #3a4250; |
| 95 | box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45); |
| 96 | } |
| 97 | |
| 98 | #settings-modal[hidden], |
| 99 | #settings-backdrop[hidden] { |
| 100 | display: none !important; |
| 101 | } |
| 102 | |
| 103 | #settings-main { |
| 104 | flex: 1; |
| 105 | min-width: 0; |
| 106 | display: flex; |
| 107 | flex-direction: column; |
| 108 | } |
| 109 | |
| 110 | #settings-main header, |
| 111 | #settings-main footer { |
| 112 | display: flex; |
| 113 | align-items: center; |
| 114 | justify-content: space-between; |
| 115 | gap: 0.75rem; |
| 116 | padding: 0.75rem 1rem; |
| 117 | border-bottom: 1px solid #2c3340; |
| 118 | } |
| 119 | |
| 120 | #settings-main footer { |
| 121 | border-bottom: 0; |
| 122 | border-top: 1px solid #2c3340; |
| 123 | } |
| 124 | |
| 125 | #settings-form { |
| 126 | flex: 1; |
| 127 | overflow: auto; |
| 128 | padding: 0; |
| 129 | display: flex; |
| 130 | flex-direction: column; |
| 131 | min-height: 0; |
| 132 | } |
| 133 | |
| 134 | .settings-tabs { |
| 135 | display: flex; |
| 136 | flex-wrap: wrap; |
| 137 | gap: 0.25rem; |
| 138 | padding: 0.65rem 1rem 0.5rem; |
| 139 | border-bottom: 1px solid #2c3340; |
| 140 | background: #12151c; |
| 141 | } |
| 142 | |
| 143 | .settings-tab { |
| 144 | appearance: none; |
| 145 | border: 1px solid transparent; |
| 146 | background: transparent; |
| 147 | color: #a8a295; |
| 148 | padding: 0.35rem 0.7rem; |
| 149 | border-radius: 4px; |
| 150 | cursor: pointer; |
| 151 | font: inherit; |
| 152 | } |
| 153 | |
| 154 | .settings-tab:hover { |
| 155 | color: #e8e2d4; |
| 156 | background: #1c222c; |
| 157 | } |
| 158 | |
| 159 | .settings-tab.active { |
| 160 | color: #1a1510; |
| 161 | background: #d4c48a; |
| 162 | border-color: #d4c48a; |
| 163 | } |
| 164 | |
| 165 | .settings-panels { |
| 166 | flex: 1; |
| 167 | overflow: auto; |
| 168 | padding: 0.75rem 1rem 1.25rem; |
| 169 | } |
| 170 | |
| 171 | .settings-category { |
| 172 | margin-bottom: 0; |
| 173 | } |
| 174 | |
| 175 | .settings-category h3 { |
| 176 | margin: 0 0 0.5rem; |
| 177 | font-size: 0.95rem; |
| 178 | color: #d4c48a; |
| 179 | border-bottom: 1px solid #2c3340; |
| 180 | padding-bottom: 0.25rem; |
| 181 | } |
| 182 | |
| 183 | .setting-row { |
| 184 | display: grid; |
| 185 | grid-template-columns: minmax(12rem, 1fr) minmax(8rem, 14rem) 4rem; |
| 186 | gap: 0.4rem 0.75rem; |
| 187 | align-items: center; |
| 188 | padding: 0.45rem 0.5rem; |
| 189 | margin: 0.2rem 0; |
| 190 | border-radius: 4px; |
| 191 | } |
| 192 | |
| 193 | .setting-row .hint { |
| 194 | grid-column: 1 / -1; |
| 195 | margin: 0; |
| 196 | } |
| 197 | |
| 198 | .setting-row.dirty { |
| 199 | background: #4a3d18; |
| 200 | box-shadow: inset 0 0 0 1px #c4a35a; |
| 201 | } |
| 202 | |
| 203 | .setting-value { |
| 204 | font-variant-numeric: tabular-nums; |
| 205 | color: #c5c0b4; |
| 206 | } |
| 207 | |
| 208 | .seed-price-panel { |
| 209 | display: flex; |
| 210 | flex-direction: column; |
| 211 | gap: 0.65rem; |
| 212 | min-height: 0; |
| 213 | } |
| 214 | |
| 215 | .seed-price-toolbar { |
| 216 | display: flex; |
| 217 | flex-wrap: wrap; |
| 218 | gap: 0.55rem 0.75rem; |
| 219 | align-items: center; |
| 220 | } |
| 221 | |
| 222 | .seed-price-search { |
| 223 | flex: 1 1 12rem; |
| 224 | min-width: 10rem; |
| 225 | padding: 0.4rem 0.55rem; |
| 226 | background: #10141b; |
| 227 | border: 1px solid #3a4250; |
| 228 | color: #e8e4d9; |
| 229 | font: inherit; |
| 230 | } |
| 231 | |
| 232 | .seed-price-meta { |
| 233 | flex: 0 0 auto; |
| 234 | } |
| 235 | |
| 236 | .seed-price-pager { |
| 237 | display: flex; |
| 238 | align-items: center; |
| 239 | gap: 0.45rem; |
| 240 | margin-left: auto; |
| 241 | } |
| 242 | |
| 243 | .seed-price-pager button { |
| 244 | appearance: none; |
| 245 | border: 1px solid #3a4250; |
| 246 | background: #1c222c; |
| 247 | color: #e8e4d9; |
| 248 | padding: 0.3rem 0.55rem; |
| 249 | cursor: pointer; |
| 250 | font: inherit; |
| 251 | } |
| 252 | |
| 253 | .seed-price-pager button:disabled { |
| 254 | opacity: 0.4; |
| 255 | cursor: default; |
| 256 | } |
| 257 | |
| 258 | .seed-price-header, |
| 259 | .seed-price-row { |
| 260 | display: grid; |
| 261 | grid-template-columns: minmax(10rem, 1.6fr) 6.5rem 5.5rem 5.5rem; |
| 262 | gap: 0.5rem 0.65rem; |
| 263 | align-items: center; |
| 264 | } |
| 265 | |
| 266 | .seed-price-header { |
| 267 | padding: 0.25rem 0.4rem; |
| 268 | color: #a8a295; |
| 269 | font-size: 0.78rem; |
| 270 | text-transform: uppercase; |
| 271 | letter-spacing: 0.04em; |
| 272 | border-bottom: 1px solid #2c3340; |
| 273 | } |
| 274 | |
| 275 | .seed-price-list { |
| 276 | display: flex; |
| 277 | flex-direction: column; |
| 278 | gap: 0.25rem; |
| 279 | } |
| 280 | |
| 281 | .seed-price-row { |
| 282 | padding: 0.4rem; |
| 283 | border-radius: 4px; |
| 284 | } |
| 285 | |
| 286 | .seed-price-row.dirty { |
| 287 | background: #4a3d18; |
| 288 | box-shadow: inset 0 0 0 1px #c4a35a; |
| 289 | } |
| 290 | |
| 291 | .seed-price-name { |
| 292 | display: flex; |
| 293 | flex-direction: column; |
| 294 | gap: 0.1rem; |
| 295 | min-width: 0; |
| 296 | } |
| 297 | |
| 298 | .seed-price-name strong { |
| 299 | overflow: hidden; |
| 300 | text-overflow: ellipsis; |
| 301 | white-space: nowrap; |
| 302 | } |
| 303 | |
| 304 | .seed-price-name small { |
| 305 | color: #8b8790; |
| 306 | font-size: 0.75rem; |
| 307 | } |
| 308 | |
| 309 | .seed-price-seed { |
| 310 | display: flex; |
| 311 | flex-direction: column; |
| 312 | gap: 0.15rem; |
| 313 | font-size: 0.75rem; |
| 314 | color: #a8a295; |
| 315 | } |
| 316 | |
| 317 | .seed-price-seed input { |
| 318 | width: 100%; |
| 319 | padding: 0.3rem 0.4rem; |
| 320 | background: #10141b; |
| 321 | border: 1px solid #3a4250; |
| 322 | color: #e8e4d9; |
| 323 | font: inherit; |
| 324 | } |
| 325 | |
| 326 | .seed-price-readonly { |
| 327 | display: flex; |
| 328 | flex-direction: column; |
| 329 | gap: 0.15rem; |
| 330 | font-size: 0.75rem; |
| 331 | color: #a8a295; |
| 332 | } |
| 333 | |
| 334 | .seed-price-readonly strong { |
| 335 | font-size: 0.95rem; |
| 336 | color: #e8e4d9; |
| 337 | font-variant-numeric: tabular-nums; |
| 338 | } |
| 339 | |
| 340 | .seed-price-readonly strong.muted { |
| 341 | color: #6d6875; |
| 342 | } |
| 343 | |
| 344 | #settings-log-wrap { |
| 345 | width: min(340px, 32vw); |
| 346 | flex-shrink: 0; |
| 347 | border-left: 1px solid #2c3340; |
| 348 | display: flex; |
| 349 | flex-direction: column; |
| 350 | background: #1a1e26; |
| 351 | } |
| 352 | |
| 353 | #settings-log-wrap h2 { |
| 354 | margin: 0; |
| 355 | padding: 0.75rem 1rem; |
| 356 | border-bottom: 1px solid #2c3340; |
| 357 | font-size: 1rem; |
| 358 | } |
| 359 | |
| 360 | #settings-log { |
| 361 | flex: 1; |
| 362 | overflow: auto; |
| 363 | padding: 0.75rem 1rem; |
| 364 | } |
| 365 | |
| 366 | #palette-backdrop, |
| 367 | #tile-config-backdrop { |
| 368 | position: fixed; |
| 369 | inset: 0; |
| 370 | background: rgba(0, 0, 0, 0.62); |
| 371 | z-index: 19; |
| 372 | } |
| 373 | |
| 374 | #palette-modal, |
| 375 | #tile-config-modal { |
| 376 | position: fixed; |
| 377 | z-index: 20; |
| 378 | display: flex; |
| 379 | flex-direction: column; |
| 380 | background: #161a22; |
| 381 | border: 1px solid #3a4250; |
| 382 | box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45); |
| 383 | } |
| 384 | |
| 385 | #palette-modal { |
| 386 | inset: 8vh 12vw; |
| 387 | } |
| 388 | |
| 389 | #tile-config-modal { |
| 390 | top: 10vh; |
| 391 | left: 50%; |
| 392 | transform: translateX(-50%); |
| 393 | width: min(440px, 92vw); |
| 394 | max-height: 80vh; |
| 395 | } |
| 396 | |
| 397 | #palette-modal[hidden], |
| 398 | #palette-backdrop[hidden], |
| 399 | #tile-config-modal[hidden], |
| 400 | #tile-config-backdrop[hidden], |
| 401 | #tile-tooltip[hidden] { |
| 402 | display: none !important; |
| 403 | } |
| 404 | |
| 405 | #palette-modal > header, |
| 406 | #tile-config-modal > header, |
| 407 | #tile-config-modal > footer { |
| 408 | display: flex; |
| 409 | align-items: center; |
| 410 | justify-content: space-between; |
| 411 | gap: 0.75rem; |
| 412 | padding: 0.75rem 1rem; |
| 413 | border-bottom: 1px solid #2c3340; |
| 414 | } |
| 415 | |
| 416 | #tile-config-modal > footer { |
| 417 | border-bottom: 0; |
| 418 | border-top: 1px solid #2c3340; |
| 419 | } |
| 420 | |
| 421 | #palette-panels { |
| 422 | flex: 1; |
| 423 | overflow: auto; |
| 424 | padding: 0.75rem 1rem 1.25rem; |
| 425 | } |
| 426 | |
| 427 | .palette-grid { |
| 428 | display: grid; |
| 429 | grid-template-columns: repeat(auto-fill, minmax(7.5rem, 1fr)); |
| 430 | gap: 0.6rem; |
| 431 | } |
| 432 | |
| 433 | .palette-card { |
| 434 | display: flex; |
| 435 | flex-direction: column; |
| 436 | align-items: center; |
| 437 | gap: 0.35rem; |
| 438 | padding: 0.55rem 0.4rem; |
| 439 | min-height: 6.5rem; |
| 440 | } |
| 441 | |
| 442 | .palette-thumb { |
| 443 | width: 48px; |
| 444 | height: 48px; |
| 445 | display: grid; |
| 446 | place-items: center; |
| 447 | background: #0d1016; |
| 448 | border: 1px solid #2c3340; |
| 449 | image-rendering: pixelated; |
| 450 | font-weight: 600; |
| 451 | color: #9aa3b2; |
| 452 | } |
| 453 | |
| 454 | .palette-thumb img { |
| 455 | width: 100%; |
| 456 | height: 100%; |
| 457 | object-fit: contain; |
| 458 | image-rendering: pixelated; |
| 459 | } |
| 460 | |
| 461 | #tile-config-form { |
| 462 | padding: 0.75rem 1rem 1rem; |
| 463 | display: flex; |
| 464 | flex-direction: column; |
| 465 | gap: 0.35rem; |
| 466 | flex: 1; |
| 467 | min-height: 0; |
| 468 | overflow: auto; |
| 469 | } |
| 470 | |
| 471 | .spawner-sells-header { |
| 472 | display: flex; |
| 473 | align-items: center; |
| 474 | justify-content: space-between; |
| 475 | gap: 0.5rem; |
| 476 | margin-top: 0.55rem; |
| 477 | } |
| 478 | |
| 479 | .spawner-sells-list { |
| 480 | display: flex; |
| 481 | flex-direction: column; |
| 482 | gap: 0.35rem; |
| 483 | } |
| 484 | |
| 485 | .spawner-sells-row { |
| 486 | display: grid; |
| 487 | grid-template-columns: 1fr 4.5rem auto; |
| 488 | gap: 0.4rem; |
| 489 | align-items: center; |
| 490 | } |
| 491 | |
| 492 | .spawner-sells-name { |
| 493 | overflow: hidden; |
| 494 | text-overflow: ellipsis; |
| 495 | white-space: nowrap; |
| 496 | } |
| 497 | |
| 498 | .spawner-buys-row { |
| 499 | display: flex; |
| 500 | align-items: center; |
| 501 | gap: 0.4rem; |
| 502 | margin-top: 0.45rem; |
| 503 | } |
| 504 | |
| 505 | #shop-item-search-backdrop { |
| 506 | position: fixed; |
| 507 | inset: 0; |
| 508 | background: rgba(0, 0, 0, 0.55); |
| 509 | z-index: 21; |
| 510 | } |
| 511 | |
| 512 | #shop-item-search-modal { |
| 513 | position: fixed; |
| 514 | z-index: 22; |
| 515 | top: 18vh; |
| 516 | left: 50%; |
| 517 | transform: translateX(-50%); |
| 518 | width: min(380px, 90vw); |
| 519 | max-height: 60vh; |
| 520 | display: flex; |
| 521 | flex-direction: column; |
| 522 | background: #161a22; |
| 523 | border: 1px solid #3a4250; |
| 524 | box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45); |
| 525 | } |
| 526 | |
| 527 | #shop-item-search-modal[hidden], |
| 528 | #shop-item-search-backdrop[hidden] { |
| 529 | display: none !important; |
| 530 | } |
| 531 | |
| 532 | #shop-item-search-modal > header { |
| 533 | display: flex; |
| 534 | align-items: center; |
| 535 | justify-content: space-between; |
| 536 | gap: 0.75rem; |
| 537 | padding: 0.75rem 1rem; |
| 538 | border-bottom: 1px solid #2c3340; |
| 539 | } |
| 540 | |
| 541 | #shop-item-search-modal > .shop-item-search-body { |
| 542 | padding: 0.75rem 1rem 1rem; |
| 543 | display: flex; |
| 544 | flex-direction: column; |
| 545 | gap: 0.5rem; |
| 546 | min-height: 0; |
| 547 | overflow: hidden; |
| 548 | } |
| 549 | |
| 550 | #shop-item-search-results { |
| 551 | overflow: auto; |
| 552 | max-height: 40vh; |
| 553 | display: flex; |
| 554 | flex-direction: column; |
| 555 | gap: 0.25rem; |
| 556 | } |
| 557 | |
| 558 | .shop-item-search-row { |
| 559 | text-align: left; |
| 560 | padding: 0.4rem 0.5rem; |
| 561 | } |
| 562 | |
| 563 | #tile-tooltip { |
| 564 | position: fixed; |
| 565 | z-index: 15; |
| 566 | pointer-events: none; |
| 567 | max-width: 16rem; |
| 568 | padding: 0.4rem 0.55rem; |
| 569 | background: rgba(12, 14, 18, 0.92); |
| 570 | border: 1px solid #3a4250; |
| 571 | color: #e8e4d9; |
| 572 | font-size: 0.8rem; |
| 573 | white-space: pre-wrap; |
| 574 | box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4); |
| 575 | } |
| 576 | |