mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-27 04:47:03 -06:00
b24430fd04
* refactor(ui): unify transient surface tokens * test(ui): reveal transient session menu before click * test(ui): scope transient menu surface to session row * test(ui): target transient session menu by accessible owner * test(ui): capture transient surface proof * fix(ci): register Codex tool coverage * fix(protocol): keep version exports compact
914 lines
19 KiB
CSS
914 lines
19 KiB
CSS
openclaw-board-view {
|
|
display: block;
|
|
min-width: 0;
|
|
width: 100%;
|
|
}
|
|
|
|
.board-view {
|
|
--board-line: color-mix(in srgb, var(--border) 84%, transparent);
|
|
--board-surface: color-mix(in srgb, var(--panel) 94%, transparent);
|
|
display: grid;
|
|
gap: 12px;
|
|
min-width: 0;
|
|
position: relative;
|
|
}
|
|
|
|
.board-view__error {
|
|
background: color-mix(in srgb, var(--danger) 8%, var(--panel));
|
|
border: 1px solid color-mix(in srgb, var(--danger) 42%, transparent);
|
|
border-radius: 9px;
|
|
color: var(--danger);
|
|
font-size: 12px;
|
|
padding: 9px 12px;
|
|
}
|
|
|
|
.board-tabs {
|
|
align-items: center;
|
|
border-bottom: 1px solid var(--board-line);
|
|
display: flex;
|
|
min-width: 0;
|
|
}
|
|
|
|
.board-tabs__track {
|
|
--track-width: 0;
|
|
display: block;
|
|
flex: 1 1 auto;
|
|
min-width: 0;
|
|
overflow-x: auto;
|
|
scrollbar-width: none;
|
|
}
|
|
|
|
.board-tabs__track::part(nav) {
|
|
display: flex;
|
|
}
|
|
|
|
.board-tabs__track::part(body) {
|
|
display: none;
|
|
}
|
|
|
|
.board-tabs__track::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
|
|
.board-tabs__tab {
|
|
color: var(--muted);
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.board-tabs__tab::part(base) {
|
|
border-bottom: 2px solid transparent;
|
|
font-size: 12.5px;
|
|
min-height: 38px;
|
|
padding: 0 13px;
|
|
transition:
|
|
background 120ms ease,
|
|
border-color 120ms ease,
|
|
color 120ms ease;
|
|
}
|
|
|
|
.board-tabs__tab:hover::part(base),
|
|
.board-tabs__tab:focus-visible::part(base) {
|
|
background: color-mix(in srgb, var(--text) 6%, transparent);
|
|
color: var(--text);
|
|
}
|
|
|
|
.board-tabs__tab--active::part(base) {
|
|
border-bottom-color: var(--accent);
|
|
color: var(--text);
|
|
}
|
|
|
|
.board-tabs__tab--drop::part(base) {
|
|
background: color-mix(in srgb, var(--accent) 14%, transparent);
|
|
box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 70%, transparent);
|
|
}
|
|
|
|
.board-tabs__overflow,
|
|
.board-widget__menu {
|
|
margin-left: auto;
|
|
position: relative;
|
|
}
|
|
|
|
.board-tabs__overflow-trigger,
|
|
.board-widget__menu-trigger {
|
|
align-items: center;
|
|
background: transparent;
|
|
border: 0;
|
|
border-radius: 7px;
|
|
color: var(--muted);
|
|
cursor: var(--cursor-action);
|
|
display: inline-flex;
|
|
justify-content: center;
|
|
user-select: none;
|
|
}
|
|
|
|
.board-tabs__overflow-trigger {
|
|
height: 30px;
|
|
width: 34px;
|
|
}
|
|
|
|
.board-tabs__overflow-trigger:hover,
|
|
.board-widget__menu-trigger:hover {
|
|
background: color-mix(in srgb, var(--text) 10%, transparent);
|
|
color: var(--text);
|
|
}
|
|
|
|
.board-tabs__overflow::part(menu),
|
|
.board-widget__menu::part(menu) {
|
|
min-width: 190px;
|
|
padding: var(--menu-padding);
|
|
border: 1px solid var(--overlay-border);
|
|
border-radius: var(--menu-radius);
|
|
background: var(--bg-elevated);
|
|
box-shadow: var(--overlay-shadow);
|
|
}
|
|
|
|
.board-tabs__overflow-item {
|
|
min-width: 180px;
|
|
}
|
|
|
|
.board-grid {
|
|
display: grid;
|
|
gap: 12px;
|
|
grid-auto-rows: 56px;
|
|
grid-template-columns: repeat(12, minmax(0, 1fr));
|
|
min-width: 0;
|
|
position: relative;
|
|
}
|
|
|
|
.board-grid__append-zone {
|
|
border-top: 1px dashed color-mix(in srgb, var(--accent) 48%, transparent);
|
|
bottom: -42px;
|
|
height: 38px;
|
|
left: 0;
|
|
position: absolute;
|
|
right: 0;
|
|
z-index: 7;
|
|
}
|
|
|
|
openclaw-board-widget-cell {
|
|
display: contents;
|
|
}
|
|
|
|
.board-widget {
|
|
background: var(--board-surface);
|
|
border: 1px solid var(--board-line);
|
|
border-radius: 12px;
|
|
box-shadow: 0 1px 1px rgb(0 0 0 / 12%);
|
|
display: grid;
|
|
grid-template-rows: 38px minmax(0, 1fr);
|
|
min-height: 0;
|
|
min-width: 0;
|
|
overflow: visible;
|
|
position: relative;
|
|
transition:
|
|
border-color 120ms ease,
|
|
box-shadow 120ms ease,
|
|
transform 120ms ease;
|
|
}
|
|
|
|
.board-widget:focus-visible {
|
|
box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 70%, transparent);
|
|
outline: none;
|
|
}
|
|
|
|
.board-widget--dragging {
|
|
border-color: color-mix(in srgb, var(--accent) 72%, transparent);
|
|
box-shadow: 0 16px 36px rgb(0 0 0 / 28%);
|
|
opacity: 0.88;
|
|
transform: scale(0.995);
|
|
z-index: 8;
|
|
}
|
|
|
|
.board-widget__bar {
|
|
align-items: center;
|
|
background: color-mix(in srgb, var(--text) 3%, transparent);
|
|
border-bottom: 1px solid var(--board-line);
|
|
border-radius: 11px 11px 0 0;
|
|
display: flex;
|
|
gap: 7px;
|
|
min-width: 0;
|
|
padding: 0 6px;
|
|
}
|
|
|
|
.board-widget__drag-handle,
|
|
.board-widget__resize-handle {
|
|
background: transparent;
|
|
border: 0;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.board-widget__drag-handle {
|
|
align-items: center;
|
|
border-radius: 6px;
|
|
cursor: grab;
|
|
display: inline-flex;
|
|
font-size: 17px;
|
|
height: 27px;
|
|
justify-content: center;
|
|
padding: 0;
|
|
touch-action: none;
|
|
width: 25px;
|
|
}
|
|
|
|
.board-widget__drag-handle:hover {
|
|
background: color-mix(in srgb, var(--text) 9%, transparent);
|
|
color: var(--text);
|
|
}
|
|
|
|
.board-widget__title {
|
|
color: var(--text);
|
|
font-size: 12.5px;
|
|
font-weight: 590;
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.board-widget__kind {
|
|
border: 1px solid var(--board-line);
|
|
border-radius: 999px;
|
|
color: var(--muted);
|
|
font-size: 8px;
|
|
letter-spacing: 0.08em;
|
|
line-height: 15px;
|
|
margin-left: auto;
|
|
padding: 0 5px;
|
|
}
|
|
|
|
.board-widget__menu {
|
|
margin-left: 0;
|
|
}
|
|
|
|
.board-widget__menu-trigger {
|
|
font-size: 21px;
|
|
height: 27px;
|
|
line-height: 1;
|
|
width: 27px;
|
|
}
|
|
|
|
.board-widget__menu-heading {
|
|
color: var(--muted);
|
|
font-size: 9px;
|
|
letter-spacing: 0.08em;
|
|
padding: 7px 9px 3px;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.board-widget__menu-empty {
|
|
color: var(--muted);
|
|
font-size: 11px;
|
|
padding: 5px 9px;
|
|
}
|
|
|
|
.board-widget__preset {
|
|
font-size: 11px;
|
|
}
|
|
|
|
.board-widget__menu-separator {
|
|
border-top: 1px solid var(--board-line);
|
|
margin: 5px 3px;
|
|
}
|
|
|
|
.board-widget__menu-danger {
|
|
color: var(--danger);
|
|
}
|
|
|
|
.board-widget__body {
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
position: relative;
|
|
}
|
|
|
|
.board-widget__body--card {
|
|
box-sizing: border-box;
|
|
padding: var(--widget-frame-inset);
|
|
}
|
|
|
|
.board-widget__body--scrollable {
|
|
overflow: auto;
|
|
}
|
|
|
|
.board-widget__body--scrollable .board-widget__grant {
|
|
box-sizing: border-box;
|
|
height: auto;
|
|
min-height: 100%;
|
|
}
|
|
|
|
.board-widget__error-overlay {
|
|
inset: 0;
|
|
position: absolute;
|
|
}
|
|
|
|
/* Passive trust indicator: only meaningful where chrome hides (fine pointer),
|
|
so the base rule keeps it off and the overlay block reveals it at rest. */
|
|
.board-widget__grant-dot {
|
|
display: none;
|
|
}
|
|
|
|
.board-widget__frame {
|
|
background: var(--board-surface);
|
|
border: 0;
|
|
display: block;
|
|
height: 100%;
|
|
width: 100%;
|
|
}
|
|
|
|
.board-widget__plugin-loading,
|
|
.board-widget__disabled-plugin,
|
|
.workboard-widget__state {
|
|
align-content: center;
|
|
color: var(--muted);
|
|
display: grid;
|
|
font-size: 11px;
|
|
gap: 10px;
|
|
justify-items: center;
|
|
margin: 0;
|
|
min-height: 100%;
|
|
padding: 14px;
|
|
text-align: center;
|
|
}
|
|
|
|
.board-widget__disabled-plugin strong {
|
|
color: var(--text);
|
|
}
|
|
|
|
openclaw-workboard-card-widget,
|
|
openclaw-workboard-mini-widget,
|
|
openclaw-workboard-board-widget {
|
|
display: block;
|
|
max-width: 100%;
|
|
min-height: 100%;
|
|
min-width: 0;
|
|
}
|
|
|
|
.workboard-widget-card,
|
|
.workboard-widget-mini {
|
|
display: grid;
|
|
gap: 10px;
|
|
padding: 12px;
|
|
}
|
|
|
|
.workboard-widget-card__heading,
|
|
.workboard-widget-mini > header,
|
|
.workboard-widget-mini__card {
|
|
align-items: center;
|
|
display: flex;
|
|
gap: 8px;
|
|
justify-content: space-between;
|
|
min-width: 0;
|
|
}
|
|
|
|
.workboard-widget-card__heading > strong,
|
|
.workboard-widget-mini__card > strong {
|
|
color: var(--text);
|
|
font-size: 12px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.workboard-widget__status {
|
|
border: 1px solid var(--board-line);
|
|
border-radius: 999px;
|
|
color: var(--muted);
|
|
flex: 0 0 auto;
|
|
font-size: 9px;
|
|
padding: 2px 6px;
|
|
}
|
|
|
|
.workboard-widget__status--ready,
|
|
.workboard-widget__status--running {
|
|
border-color: color-mix(in srgb, var(--accent) 45%, transparent);
|
|
color: var(--accent);
|
|
}
|
|
|
|
.workboard-widget-card__meta {
|
|
display: grid;
|
|
gap: 8px;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
margin: 0;
|
|
}
|
|
|
|
.workboard-widget-card__meta div,
|
|
.workboard-widget-mini__counts span {
|
|
background: color-mix(in srgb, var(--text) 3%, transparent);
|
|
border: 1px solid var(--board-line);
|
|
border-radius: 8px;
|
|
min-width: 0;
|
|
padding: 7px;
|
|
}
|
|
|
|
.workboard-widget-card__meta dt,
|
|
.workboard-widget-card__move > span {
|
|
color: var(--muted);
|
|
font-size: 9px;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.workboard-widget-card__meta dd {
|
|
color: var(--text);
|
|
font-size: 11px;
|
|
margin: 3px 0 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.workboard-widget-card__move {
|
|
display: grid;
|
|
gap: 4px;
|
|
}
|
|
|
|
.workboard-widget-card__move select {
|
|
background: var(--panel);
|
|
border: 1px solid var(--board-line);
|
|
border-radius: 7px;
|
|
color: var(--text);
|
|
font: inherit;
|
|
padding: 6px 8px;
|
|
}
|
|
|
|
.workboard-widget-mini > header a {
|
|
color: var(--accent);
|
|
font-size: 10px;
|
|
}
|
|
|
|
.workboard-widget-mini__counts {
|
|
display: grid;
|
|
gap: 5px;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
}
|
|
|
|
.workboard-widget-mini__counts span {
|
|
color: var(--muted);
|
|
display: grid;
|
|
font-size: 8px;
|
|
gap: 2px;
|
|
padding: 5px;
|
|
}
|
|
|
|
.workboard-widget-mini__counts b {
|
|
color: var(--text);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.workboard-widget-mini__cards {
|
|
display: grid;
|
|
gap: 5px;
|
|
}
|
|
|
|
.workboard-widget-mini__card {
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
.workboard-widget-board {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
height: 100%;
|
|
max-width: 100%;
|
|
min-height: 0;
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
padding: 10px;
|
|
}
|
|
|
|
.workboard-widget-board__header {
|
|
align-items: center;
|
|
display: flex;
|
|
gap: 8px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.workboard-widget-board__header strong {
|
|
color: var(--text);
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.workboard-widget-board__header span {
|
|
color: var(--muted);
|
|
font-size: 10px;
|
|
}
|
|
|
|
.workboard-widget-board__header a {
|
|
color: var(--accent);
|
|
font-size: 10px;
|
|
margin-left: auto;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.workboard-widget-board .workboard-board {
|
|
flex: 1;
|
|
grid-auto-columns: minmax(240px, 1fr);
|
|
grid-auto-flow: column;
|
|
grid-template-columns: none;
|
|
max-width: 100%;
|
|
min-height: 0;
|
|
min-width: 0;
|
|
overflow-x: auto;
|
|
overflow-y: hidden;
|
|
}
|
|
|
|
.workboard-widget-board .workboard-column,
|
|
.workboard-widget-board .workboard-board--compact .workboard-column {
|
|
max-width: none;
|
|
min-height: 0;
|
|
min-width: 240px;
|
|
overflow: hidden;
|
|
width: auto;
|
|
}
|
|
|
|
.workboard-widget-board .workboard-column__cards {
|
|
flex: 1;
|
|
min-height: 0;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.workboard-card__actions--widget {
|
|
justify-content: stretch;
|
|
}
|
|
|
|
.board-widget__mcp-app {
|
|
display: grid;
|
|
min-height: 100%;
|
|
}
|
|
|
|
.board-widget__mcp-app > .board-widget__grant {
|
|
border-bottom: 1px solid var(--board-line);
|
|
height: auto;
|
|
max-height: 112px;
|
|
min-height: 0;
|
|
overflow: auto;
|
|
padding: 12px;
|
|
}
|
|
|
|
.board-widget__mcp-app-view {
|
|
display: block;
|
|
min-height: 160px;
|
|
width: 100%;
|
|
}
|
|
|
|
.board-widget__app-loading,
|
|
.board-widget__stale {
|
|
align-content: center;
|
|
color: var(--muted);
|
|
display: grid;
|
|
font-size: 11px;
|
|
gap: 8px;
|
|
justify-items: center;
|
|
min-height: 160px;
|
|
padding: 16px;
|
|
text-align: center;
|
|
}
|
|
|
|
.board-widget__stale strong {
|
|
color: var(--text);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.board-widget__stale > span {
|
|
line-height: 1.45;
|
|
max-width: 34ch;
|
|
}
|
|
|
|
.board-widget__resize-handle {
|
|
bottom: 1px;
|
|
cursor: nwse-resize;
|
|
height: 20px;
|
|
position: absolute;
|
|
right: 1px;
|
|
touch-action: none;
|
|
width: 20px;
|
|
}
|
|
|
|
.board-widget__resize-handle::after {
|
|
border-bottom: 2px solid currentcolor;
|
|
border-right: 2px solid currentcolor;
|
|
bottom: 5px;
|
|
content: "";
|
|
height: 6px;
|
|
position: absolute;
|
|
right: 5px;
|
|
width: 6px;
|
|
}
|
|
|
|
@media (hover: hover) and (pointer: fine) {
|
|
/* Focus keeps keyboard actions reachable; menu-open and dragging keep chrome
|
|
pinned when interaction leaves the card bounds. Inline-size containment
|
|
lets the pill drop to its minimal form on narrow cards; grid tracks set
|
|
the card's width, so containment changes no layout. */
|
|
.board-widget {
|
|
container-type: inline-size;
|
|
grid-template-rows: minmax(0, 1fr);
|
|
}
|
|
|
|
/* Fine pointers center a compact overlay; coarse pointers keep the base 38px
|
|
in-flow row that BOARD_WIDGET_TOUCH_BAR_PX mirrors. */
|
|
.board-widget__bar {
|
|
backdrop-filter: blur(6px);
|
|
background: color-mix(in srgb, var(--board-surface) 92%, transparent);
|
|
border: 1px solid var(--board-line);
|
|
border-radius: 999px;
|
|
box-shadow: 0 4px 14px rgb(0 0 0 / 18%);
|
|
height: 30px;
|
|
left: 50%;
|
|
/* Centered widgets reserve 88px for actions in both top corners. Narrow
|
|
cards fall back to the prior left placement below. */
|
|
max-width: calc(100% - 176px);
|
|
opacity: 0;
|
|
padding: 0 5px;
|
|
position: absolute;
|
|
top: 7px;
|
|
transform: translateX(-50%);
|
|
transition:
|
|
opacity 100ms ease,
|
|
visibility 0s linear 100ms;
|
|
visibility: hidden;
|
|
z-index: 5;
|
|
}
|
|
|
|
.board-widget__bar > .board-widget__title {
|
|
max-width: 200px;
|
|
}
|
|
|
|
/* Every flexible child must shrink inside the capped pill; content that
|
|
overflowed the box would carry pointer events into the reserved corner. */
|
|
.board-widget__bar > .board-widget__drag-handle,
|
|
.board-widget__bar > .board-widget__menu {
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.board-widget__bar > .board-widget__kind,
|
|
.board-widget__bar > .board-widget__capabilities {
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
@container (max-width: 264px) {
|
|
.board-widget__bar {
|
|
left: 7px;
|
|
max-width: max(88px, calc(100% - 96px));
|
|
transform: none;
|
|
}
|
|
}
|
|
|
|
/* Until centered chrome has room for its display fields, keep only move +
|
|
menu — the controls required to manage a widget. The card's aria-label and
|
|
drag handle tooltip still carry the title. */
|
|
@container (max-width: 376px) {
|
|
.board-widget__bar > .board-widget__title,
|
|
.board-widget__bar > .board-widget__kind,
|
|
.board-widget__bar > .board-widget__capabilities {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.board-widget__resize-handle {
|
|
opacity: 0;
|
|
transition:
|
|
opacity 100ms ease,
|
|
visibility 0s linear 100ms;
|
|
visibility: hidden;
|
|
}
|
|
|
|
/* Hover-intent: the pointer must rest on the card briefly before chrome
|
|
appears, so quick clicks into widget content never race the overlay.
|
|
Delay-only overrides keep the base fade, and reduced-motion's
|
|
transition: none stays authoritative because no transition-property is
|
|
redeclared here. */
|
|
.board-widget:hover .board-widget__bar,
|
|
.board-widget:hover .board-widget__resize-handle {
|
|
opacity: 1;
|
|
transition-delay: 350ms;
|
|
visibility: visible;
|
|
}
|
|
|
|
/* Keyboard focus, an open menu, and active drags need chrome immediately. */
|
|
.board-widget:focus-within .board-widget__bar,
|
|
.board-widget:focus-within .board-widget__resize-handle,
|
|
.board-widget--dragging .board-widget__bar,
|
|
.board-widget--dragging .board-widget__resize-handle,
|
|
.board-widget:has(.board-widget__menu[open]) .board-widget__bar,
|
|
.board-widget:has(.board-widget__menu[open]) .board-widget__resize-handle {
|
|
opacity: 1;
|
|
transition-delay: 0s;
|
|
visibility: visible;
|
|
}
|
|
|
|
/* While chrome is hidden, a granted widget keeps a small trust dot in the
|
|
bar's corner; the revealed bar carries the full capabilities chip, so the
|
|
dot fades out together with the chrome fade-in. */
|
|
.board-widget__grant-dot {
|
|
background: var(--ok);
|
|
border-radius: 50%;
|
|
display: block;
|
|
height: 6px;
|
|
pointer-events: none;
|
|
position: absolute;
|
|
right: 10px;
|
|
top: 10px;
|
|
transition: opacity 120ms ease;
|
|
width: 6px;
|
|
z-index: 4;
|
|
}
|
|
|
|
.board-widget:hover .board-widget__grant-dot,
|
|
.board-widget:focus-within .board-widget__grant-dot,
|
|
.board-widget--dragging .board-widget__grant-dot,
|
|
.board-widget:has(.board-widget__menu[open]) .board-widget__grant-dot {
|
|
opacity: 0;
|
|
}
|
|
|
|
/* Frameless is a fine-pointer treatment only: touch keeps the card shell
|
|
because there is no hover to rediscover the widget bounds. While dragging,
|
|
the reset stops applying so the widget materializes back into a full card
|
|
(accent border + drop shadow from --dragging) under the pointer. */
|
|
.board-widget--frameless:not(.board-widget--dragging) {
|
|
background: transparent;
|
|
border-color: transparent;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.board-widget--frameless:hover,
|
|
.board-widget--frameless:focus-within,
|
|
.board-widget--frameless:has(.board-widget__menu[open]) {
|
|
border-color: var(--board-line);
|
|
}
|
|
|
|
.board-widget__body {
|
|
border-radius: 11px;
|
|
}
|
|
}
|
|
|
|
.board-widget__grant,
|
|
.board-widget__error {
|
|
align-content: center;
|
|
display: grid;
|
|
gap: 7px;
|
|
height: 100%;
|
|
justify-items: center;
|
|
padding: 16px;
|
|
text-align: center;
|
|
}
|
|
|
|
.board-widget__grant strong,
|
|
.board-widget__error strong {
|
|
color: var(--text);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.board-widget__grant > span,
|
|
.board-widget__error > span {
|
|
color: var(--muted);
|
|
font-size: 11px;
|
|
line-height: 1.45;
|
|
max-width: 32ch;
|
|
}
|
|
|
|
.board-widget__grant-summary {
|
|
color: var(--muted);
|
|
display: grid;
|
|
font-size: 11px;
|
|
gap: 4px;
|
|
line-height: 1.45;
|
|
margin: 0;
|
|
max-width: 36ch;
|
|
padding-left: 18px;
|
|
text-align: left;
|
|
}
|
|
|
|
.board-widget__grant-groups {
|
|
display: grid;
|
|
gap: 8px;
|
|
max-width: 100%;
|
|
text-align: left;
|
|
}
|
|
|
|
.board-widget__grant-groups section {
|
|
display: grid;
|
|
gap: 3px;
|
|
}
|
|
|
|
.board-widget__grant-groups section > strong {
|
|
color: var(--text);
|
|
font-size: 10px;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.board-widget__capabilities {
|
|
background: color-mix(in srgb, var(--ok) 13%, transparent);
|
|
border: 1px solid color-mix(in srgb, var(--ok) 45%, transparent);
|
|
border-radius: 999px;
|
|
color: var(--ok);
|
|
display: inline-flex;
|
|
font-size: 9px;
|
|
font-weight: 650;
|
|
line-height: 1;
|
|
padding: 3px 6px;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.board-widget__grant-mark {
|
|
align-items: center;
|
|
background: color-mix(in srgb, var(--warn) 15%, transparent);
|
|
border: 1px solid color-mix(in srgb, var(--warn) 55%, transparent);
|
|
border-radius: 50%;
|
|
color: var(--warn);
|
|
display: flex;
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
height: 25px;
|
|
justify-content: center;
|
|
width: 25px;
|
|
}
|
|
|
|
.board-widget__grant-actions {
|
|
display: flex;
|
|
gap: 7px;
|
|
}
|
|
|
|
.board-widget__grant-actions button:disabled {
|
|
cursor: progress;
|
|
opacity: 0.55;
|
|
}
|
|
|
|
.board-widget__grant--rejected {
|
|
filter: saturate(0.35);
|
|
opacity: 0.74;
|
|
}
|
|
|
|
.board-widget__error {
|
|
background: color-mix(in srgb, var(--danger) 7%, transparent);
|
|
}
|
|
|
|
.board-widget__error--inline {
|
|
height: auto;
|
|
margin-top: 4px;
|
|
padding: 8px;
|
|
width: min(100%, 320px);
|
|
}
|
|
|
|
.board-widget__error details {
|
|
color: var(--muted);
|
|
font-size: 10px;
|
|
max-width: 100%;
|
|
}
|
|
|
|
.board-widget__error code {
|
|
display: block;
|
|
margin-top: 5px;
|
|
max-width: 100%;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.board-empty {
|
|
align-items: center;
|
|
border: 1px dashed color-mix(in srgb, var(--muted) 38%, transparent);
|
|
border-radius: 14px;
|
|
color: var(--muted);
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 7px;
|
|
justify-content: center;
|
|
min-height: 260px;
|
|
padding: 32px;
|
|
text-align: center;
|
|
}
|
|
|
|
.board-empty strong {
|
|
color: var(--text);
|
|
font-size: 14px;
|
|
}
|
|
|
|
.board-empty span:last-child {
|
|
font-size: 12px;
|
|
}
|
|
|
|
.board-empty__mark {
|
|
color: var(--accent);
|
|
font-size: 24px;
|
|
}
|
|
|
|
.board-announcer {
|
|
clip: rect(0 0 0 0);
|
|
clip-path: inset(50%);
|
|
height: 1px;
|
|
overflow: hidden;
|
|
position: absolute;
|
|
white-space: nowrap;
|
|
width: 1px;
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.board-widget,
|
|
.board-widget__bar,
|
|
.board-widget__resize-handle,
|
|
.board-tabs__tab {
|
|
animation: none;
|
|
transition: none;
|
|
}
|
|
}
|