feat(host-detail): add direct host-application association with modal multi-select
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1223,3 +1223,59 @@ td.col-actions {
|
||||
color: var(--text-secondary);
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* ============================================================
|
||||
HOST DETAIL — APPLICATIONS SECTION
|
||||
============================================================ */
|
||||
|
||||
/* List of applications linked to a host (mirrors .port-list) */
|
||||
.app-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
margin-bottom: var(--size-md);
|
||||
border-top: 1px solid var(--border);
|
||||
}
|
||||
|
||||
.app-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: var(--size-md);
|
||||
padding: var(--size-sm) var(--size-xs);
|
||||
border-bottom: 1px solid var(--border);
|
||||
}
|
||||
|
||||
.app-row__name {
|
||||
flex: 1;
|
||||
font-size: var(--font-sm);
|
||||
}
|
||||
|
||||
/* Checkbox list inside the "Add applications" modal */
|
||||
.app-select-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.25rem;
|
||||
max-height: 320px;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.app-select-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: var(--size-sm);
|
||||
padding: var(--size-sm) var(--size-xs);
|
||||
border-radius: 4px;
|
||||
cursor: pointer;
|
||||
font-size: var(--font-sm);
|
||||
}
|
||||
|
||||
.app-select-item:hover {
|
||||
background: var(--bg-surface);
|
||||
}
|
||||
|
||||
.app-select-item input[type="checkbox"] {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
flex-shrink: 0;
|
||||
cursor: pointer;
|
||||
accent-color: var(--accent);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user