feat: strengthen module contracts and shared WebUI runtime
This commit is contained in:
@@ -1547,6 +1547,150 @@
|
||||
.people-picker-search-control:focus-within > svg {
|
||||
color: var(--primary);
|
||||
}
|
||||
|
||||
.searchable-select {
|
||||
position: relative;
|
||||
min-width: 0;
|
||||
}
|
||||
.searchable-select-control {
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.searchable-select-control > svg {
|
||||
position: absolute;
|
||||
z-index: 1;
|
||||
color: var(--muted);
|
||||
pointer-events: none;
|
||||
}
|
||||
.searchable-select-control > svg:first-child {
|
||||
left: 12px;
|
||||
}
|
||||
.searchable-select-control > svg:last-child {
|
||||
right: 12px;
|
||||
}
|
||||
.searchable-select-control input {
|
||||
width: 100%;
|
||||
padding-right: 38px;
|
||||
padding-left: 38px;
|
||||
}
|
||||
.searchable-select-control:focus-within > svg:first-child {
|
||||
color: var(--primary);
|
||||
}
|
||||
.searchable-select-results {
|
||||
position: absolute;
|
||||
top: calc(100% + 5px);
|
||||
right: 0;
|
||||
left: 0;
|
||||
z-index: var(--z-popover, 50);
|
||||
display: grid;
|
||||
max-height: 320px;
|
||||
overflow: auto;
|
||||
padding: 5px;
|
||||
border: var(--border-line-dark);
|
||||
border-radius: var(--radius-sm);
|
||||
background: var(--surface);
|
||||
box-shadow: var(--shadow-popover);
|
||||
}
|
||||
.searchable-select-option {
|
||||
appearance: none;
|
||||
display: grid;
|
||||
gap: 2px;
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
padding: 8px 10px;
|
||||
border: 1px solid transparent;
|
||||
border-radius: var(--radius-sm);
|
||||
background: transparent;
|
||||
color: inherit;
|
||||
cursor: pointer;
|
||||
font: inherit;
|
||||
text-align: left;
|
||||
}
|
||||
.searchable-select-option:hover:not(:disabled),
|
||||
.searchable-select-option.is-active:not(:disabled) {
|
||||
background: var(--hover-tint-soft);
|
||||
}
|
||||
.searchable-select-option.is-selected {
|
||||
border-color: color-mix(in srgb, var(--accent) 45%, transparent);
|
||||
background: color-mix(in srgb, var(--accent) 10%, var(--panel));
|
||||
}
|
||||
.searchable-select-option:focus-visible {
|
||||
outline: var(--focus-outline);
|
||||
outline-offset: -2px;
|
||||
}
|
||||
.searchable-select-option:disabled {
|
||||
cursor: not-allowed;
|
||||
opacity: .55;
|
||||
}
|
||||
.searchable-select-option strong,
|
||||
.searchable-select-option small {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.searchable-select-option small,
|
||||
.searchable-select-message {
|
||||
color: var(--muted);
|
||||
font-size: 12px;
|
||||
}
|
||||
.searchable-select-message {
|
||||
margin: 0;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.reference-multi-select {
|
||||
display: grid;
|
||||
min-width: 0;
|
||||
gap: 7px;
|
||||
}
|
||||
.reference-multi-select-values {
|
||||
display: grid;
|
||||
min-width: 0;
|
||||
max-height: 190px;
|
||||
gap: 4px;
|
||||
overflow: auto;
|
||||
}
|
||||
.reference-multi-select-value {
|
||||
display: flex;
|
||||
min-width: 0;
|
||||
min-height: 38px;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 8px;
|
||||
border: var(--border-line);
|
||||
border-radius: var(--radius-sm);
|
||||
background: var(--panel-soft);
|
||||
padding: 5px 6px 5px 9px;
|
||||
}
|
||||
.reference-multi-select-value.is-inactive,
|
||||
.reference-multi-select-value.is-unavailable {
|
||||
border-color: color-mix(in srgb, var(--warning) 45%, transparent);
|
||||
background: var(--warning-soft);
|
||||
}
|
||||
.reference-multi-select-value.is-custom {
|
||||
border-style: dashed;
|
||||
}
|
||||
.reference-multi-select-value-copy {
|
||||
display: grid;
|
||||
min-width: 0;
|
||||
gap: 1px;
|
||||
}
|
||||
.reference-multi-select-value-copy strong,
|
||||
.reference-multi-select-value-copy small {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.reference-multi-select-value-copy strong {
|
||||
color: var(--text-strong);
|
||||
font-size: 13px;
|
||||
}
|
||||
.reference-multi-select-value-copy small {
|
||||
color: var(--muted);
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
.people-picker-results {
|
||||
display: grid;
|
||||
max-height: 360px;
|
||||
@@ -3440,6 +3584,63 @@
|
||||
gap: 8px;
|
||||
min-width: 0;
|
||||
}
|
||||
.dashboard-contribution-list {
|
||||
display: grid;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
}
|
||||
.dashboard-contribution-list > li + li {
|
||||
border-top: var(--border-line);
|
||||
}
|
||||
.dashboard-contribution-row {
|
||||
display: grid;
|
||||
grid-template-columns: auto minmax(0, 1fr) auto auto;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
min-height: 52px;
|
||||
padding: 8px 2px;
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
a.dashboard-contribution-row:hover {
|
||||
background: var(--hover-tint-soft);
|
||||
}
|
||||
.dashboard-contribution-leading,
|
||||
.dashboard-contribution-trailing {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
color: var(--muted);
|
||||
}
|
||||
.dashboard-contribution-copy {
|
||||
display: grid;
|
||||
min-width: 0;
|
||||
gap: 2px;
|
||||
}
|
||||
.dashboard-contribution-title,
|
||||
.dashboard-contribution-detail,
|
||||
.dashboard-contribution-meta {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.dashboard-contribution-title {
|
||||
font-weight: 700;
|
||||
}
|
||||
.dashboard-contribution-detail,
|
||||
.dashboard-contribution-meta {
|
||||
color: var(--muted);
|
||||
font-size: 12px;
|
||||
}
|
||||
.dashboard-contribution-empty {
|
||||
margin: 0;
|
||||
padding: 18px 2px;
|
||||
}
|
||||
.dashboard-contribution-footer {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
margin-top: 12px;
|
||||
}
|
||||
@media (max-width: 900px) {
|
||||
.admin-details-grid,
|
||||
.admin-tenant-assignment-row {
|
||||
|
||||
@@ -27,6 +27,7 @@
|
||||
.icon-rail.compact { width: 58px; }
|
||||
.app-main { min-width: 0; min-height: 0; height: 100vh; display: grid; grid-template-rows: 64px 51px minmax(0, 1fr); }
|
||||
.titlebar { position: relative; background: var(--titlebar-bg); border-bottom: var(--border-line); display: flex; align-items: center; padding: 0 18px; gap: 36px; z-index: 100; box-shadow: var(--shadow-chrome); }
|
||||
.titlebar-context-selectors { display: flex; align-items: center; min-width: 0; gap: 12px; }
|
||||
.tenant-selector { height: 40px; min-width: 210px; border: var(--border-line); border-radius: var(--radius-sm); background: var(--surface); display: flex; align-items: center; padding: 0 12px; gap: 5px; box-shadow: var(--shadow-xs); }
|
||||
.tenant-label, .tenant-caret, .muted { color: var(--muted); }
|
||||
.block { display: block; }
|
||||
|
||||
Reference in New Issue
Block a user