| 1 | .vms-list th:not(:first-child), .vms-list tr.top > td:not(.title) { width: 1%; white-space: nowrap; } |
| 2 | .vms-list .row-skeleton { height: 36px; margin: 14px var(--gutter); } |
| 3 | |
| 4 | /* Each VM is a tbody of two lines; the actions cell spans both. */ |
| 5 | .vms-list tbody.vm tr:not(.expanded) { cursor: pointer; } |
| 6 | .vms-list tbody.vm tr:not(.expanded) > td { transition: background-color 150ms; } |
| 7 | .vms-list tbody.vm:has(tr:not(.expanded):hover) tr:not(.expanded) > td { background: var(--hover); } |
| 8 | .vms-list tbody.vm.open tr:not(.expanded) > td { background: var(--accent-wash); } |
| 9 | .vms-list tr.top > td { padding-top: 8px; padding-bottom: 0; } |
| 10 | .vms-list tr.bottom > td { padding-top: 2px; padding-bottom: 8px; font-size: 12px; color: var(--muted); } |
| 11 | .vms-list tbody.off tr.bottom > td.num { color: var(--text-2); } |
| 12 | .vms .vms-list table.data tbody.vm tr.bottom > td:last-child { padding-right: 8px; } |
| 13 | /* A row-spanning cell loses its collapsed bottom border to the next row, so each VM's rule is drawn as a shadow. */ |
| 14 | .vms-list tbody.vm td { border-bottom: 0; } |
| 15 | .vms-list tbody.vm:not(.open) :is(tr.bottom > td, td.actions) { box-shadow: inset 0 -1px var(--grid); } |
| 16 | .vms-list td:focus-visible { outline-offset: -2px; } |
| 17 | |
| 18 | .vms-list td.title { max-width: 0; } |
| 19 | .vms-list td.title button { |
| 20 | display: flex; |
| 21 | align-items: baseline; |
| 22 | gap: 8px; |
| 23 | width: 100%; |
| 24 | padding: 0; |
| 25 | border: 0; |
| 26 | background: none; |
| 27 | color: inherit; |
| 28 | font: inherit; |
| 29 | text-align: left; |
| 30 | white-space: nowrap; |
| 31 | cursor: pointer; |
| 32 | } |
| 33 | .vms-list td.title button:focus-visible { outline-offset: 2px; } |
| 34 | .vm-name { font-weight: 600; } |
| 35 | .vms-list tbody.off .vm-name { color: var(--text-2); } |
| 36 | .vms-list .for { min-width: 0; overflow: hidden; text-overflow: ellipsis; color: var(--text-2); } |
| 37 | .vms-list td.specs { max-width: 0; } |
| 38 | .vms-list td.specs > div { display: flex; flex-wrap: wrap; gap: 2px 12px; cursor: default; } |
| 39 | .vms-list td.specs span { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; } |
| 40 | .vms-list td.specs svg { flex: none; } |
| 41 | .vms-list td.specs .mono { color: var(--text-2); } |
| 42 | |
| 43 | |
| 44 | .vms-list tr.expanded > td { background: var(--panel); padding-block: 10px 12px; } |
| 45 | .vm-detail { display: grid; gap: 10px; } |
| 46 | .vm-detail .off-hour { margin: 0; color: var(--muted); font-size: 12px; } |
| 47 | .vm-charts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } |
| 48 | .vm-charts .skeleton { height: 104px; } |
| 49 | .vm-detail .facts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 16px 28px; } |
| 50 | .vm-detail .kv { align-content: start; } |
| 51 | .vm-detail .settings { display: grid; gap: 12px; align-content: start; } |
| 52 | .vm-detail .describe { |
| 53 | margin: 0 -4px; |
| 54 | padding: 0 4px; |
| 55 | border: 0; |
| 56 | border-radius: 4px; |
| 57 | background: none; |
| 58 | color: inherit; |
| 59 | font: inherit; |
| 60 | text-align: left; |
| 61 | cursor: text; |
| 62 | transition: background-color 150ms; |
| 63 | } |
| 64 | .vm-detail .describe:hover { background: var(--hover); } |
| 65 | .vm-detail .describe.empty { color: var(--accent); cursor: pointer; } |
| 66 | .vm-detail .lines { display: grid; gap: 4px 10px; align-items: center; } |
| 67 | .vm-detail .lines > div { display: contents; } |
| 68 | .vm-detail .lines.disks { grid-template-columns: auto minmax(0, 1fr) 72px auto; } |
| 69 | .vm-detail .lines.disks .meter { min-width: 0; height: 5px; } |
| 70 | .vm-detail .lines.nics { grid-template-columns: auto auto minmax(0, 1fr); } |
| 71 | .vm-detail .lines.devices { grid-template-columns: auto minmax(0, 1fr); } |
| 72 | .vm-detail .lines .source { overflow-wrap: anywhere; } |
| 73 | .vm-actions { display: flex; gap: 6px; } |
| 74 | |
| 75 | .vms-empty { display: grid; justify-items: center; gap: 8px; } |
| 76 | .vms-empty p { margin: 0; } |
| 77 | |
| 78 | .dialog .vm-sizes { align-items: start; } |
| 79 | .dialog .vm-checks { display: flex; gap: 18px; } |