Improve control monitor cards: green when running, detail modal with positions.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -191,12 +191,29 @@ input {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
cursor: pointer;
|
||||
transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
|
||||
}
|
||||
|
||||
.node-card:hover {
|
||||
border-color: #3d5a73;
|
||||
}
|
||||
|
||||
.node-card.offline {
|
||||
opacity: 0.85;
|
||||
}
|
||||
|
||||
.node-card.running {
|
||||
background: linear-gradient(160deg, rgba(46, 140, 90, 0.28), rgba(26, 34, 44, 0.95));
|
||||
border-color: rgba(60, 179, 113, 0.65);
|
||||
box-shadow: 0 0 0 1px rgba(60, 179, 113, 0.15);
|
||||
}
|
||||
|
||||
.btn-running {
|
||||
background: rgba(60, 179, 113, 0.85) !important;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.node-card-head {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
@@ -297,3 +314,75 @@ td {
|
||||
margin: 12px 0;
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
.modal-backdrop {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
background: rgba(4, 8, 14, 0.72);
|
||||
display: grid;
|
||||
place-items: center;
|
||||
padding: 16px;
|
||||
z-index: 50;
|
||||
}
|
||||
|
||||
.modal-panel {
|
||||
width: min(720px, 100%);
|
||||
max-height: min(90vh, 900px);
|
||||
overflow: auto;
|
||||
background: var(--panel);
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 12px;
|
||||
padding: 18px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 14px;
|
||||
}
|
||||
|
||||
.modal-panel.running {
|
||||
border-color: rgba(60, 179, 113, 0.65);
|
||||
box-shadow: 0 0 0 1px rgba(60, 179, 113, 0.2);
|
||||
}
|
||||
|
||||
.modal-head {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: flex-start;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.modal-head h3 {
|
||||
margin: 0 0 4px;
|
||||
}
|
||||
|
||||
.modal-section h4 {
|
||||
margin: 0 0 8px;
|
||||
font-size: 0.95rem;
|
||||
}
|
||||
|
||||
.detail-kv {
|
||||
grid-template-columns: 1fr 1fr;
|
||||
}
|
||||
|
||||
.detail-kv .span-2 {
|
||||
grid-column: 1 / -1;
|
||||
}
|
||||
|
||||
.legs-table-wrap {
|
||||
overflow: auto;
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.legs-table {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
font-size: 0.85rem;
|
||||
}
|
||||
|
||||
.legs-table th,
|
||||
.legs-table td {
|
||||
padding: 8px 10px;
|
||||
border-bottom: 1px solid var(--line);
|
||||
text-align: left;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user