|
145 | 145 | ); |
146 | 146 | --workspace-surface-sub-tree: color-mix(in srgb, var(--app-surface-panel-strong) 68%, var(--app-surface-canvas) 32%); |
147 | 147 | --workspace-surface-sub-border: color-mix(in srgb, var(--app-border-subtle) 86%, var(--app-surface-panel) 14%); |
| 148 | + --workspace-island-inset: 6px; |
| 149 | + --workspace-island-gap: 8px; |
| 150 | + --workspace-island-radius: 10px; |
| 151 | + --workspace-island-border: color-mix(in srgb, var(--theme-fg) 12%, transparent); |
148 | 152 | --ui-bg: var(--app-surface-canvas); |
149 | 153 | --ui-bg-muted: var(--app-surface-sidebar); |
150 | 154 | --ui-bg-elevated: var(--app-surface-panel); |
@@ -452,3 +456,91 @@ option { |
452 | 456 | flex-shrink: 0; |
453 | 457 | object-fit: contain; |
454 | 458 | } |
| 459 | + |
| 460 | +.workspace-shell[data-island] .workspace-shell__header, |
| 461 | +.workspace-shell[data-island] .header-bg { |
| 462 | + background-color: var(--app-surface-frame); |
| 463 | + border-bottom-color: transparent; |
| 464 | +} |
| 465 | + |
| 466 | +.workspace-shell[data-island] .workspace-shell__footer { |
| 467 | + background-color: var(--app-surface-frame); |
| 468 | +} |
| 469 | + |
| 470 | +.workspace-shell__body--island { |
| 471 | + padding-top: 0; |
| 472 | + padding-right: var(--workspace-island-inset); |
| 473 | + padding-bottom: var(--workspace-island-inset); |
| 474 | + padding-left: var(--workspace-island-inset); |
| 475 | + background-color: var(--app-surface-frame); |
| 476 | +} |
| 477 | + |
| 478 | +.workspace-island { |
| 479 | + display: flex; |
| 480 | + width: 100%; |
| 481 | + min-width: 0; |
| 482 | + min-height: 0; |
| 483 | + height: 100%; |
| 484 | + flex: 1 1 auto; |
| 485 | + flex-direction: column; |
| 486 | + overflow: hidden; |
| 487 | + border: 1px solid var(--workspace-island-border); |
| 488 | + border-top-width: 0; |
| 489 | + border-radius: 0 0 var(--workspace-island-radius) var(--workspace-island-radius); |
| 490 | + background-color: var(--app-surface-sidebar); |
| 491 | +} |
| 492 | + |
| 493 | +.workspace-island--main { |
| 494 | + background-color: var(--app-surface-canvas); |
| 495 | +} |
| 496 | + |
| 497 | +.workspace-island--right { |
| 498 | + background-color: var(--app-surface-panel); |
| 499 | +} |
| 500 | + |
| 501 | +.workspace-island-accordion { |
| 502 | + display: flex; |
| 503 | + min-height: 0; |
| 504 | + flex: 1; |
| 505 | + flex-direction: column; |
| 506 | +} |
| 507 | + |
| 508 | +.workspace-island-accordion [data-slot="item"] { |
| 509 | + display: flex; |
| 510 | + min-height: 32px; |
| 511 | + flex-direction: column; |
| 512 | +} |
| 513 | + |
| 514 | +.workspace-island-accordion [data-slot="item"][data-state="open"][data-value="assets"] { |
| 515 | + min-height: 140px; |
| 516 | + flex: 1 1 auto; |
| 517 | +} |
| 518 | + |
| 519 | +.workspace-island-accordion [data-slot="item"][data-state="open"]:not([data-value="assets"]) { |
| 520 | + max-height: 38%; |
| 521 | + flex: 0 1 auto; |
| 522 | +} |
| 523 | + |
| 524 | +.workspace-island-accordion [data-slot="content"] { |
| 525 | + min-height: 0; |
| 526 | + flex: 1; |
| 527 | + overflow: hidden; |
| 528 | +} |
| 529 | + |
| 530 | +.workspace-shell[data-island] .workspace-shell__sidebar { |
| 531 | + background-color: transparent; |
| 532 | + border-right-width: 0; |
| 533 | +} |
| 534 | + |
| 535 | +.workspace-shell[data-island] .workspace-shell__right-panel { |
| 536 | + background-color: transparent; |
| 537 | +} |
| 538 | + |
| 539 | +.workspace-island--sidebar > * { |
| 540 | + border-right-width: 0; |
| 541 | + background-color: transparent; |
| 542 | +} |
| 543 | + |
| 544 | +.workspace-island--right > * { |
| 545 | + border-left-width: 0; |
| 546 | +} |
0 commit comments