2408 lines
49 KiB
CSS
2408 lines
49 KiB
CSS
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
|
|
background: linear-gradient(135deg, #2c3e50 0%, #34495e 50%, #1a252f 100%);
|
|
min-height: 100vh;
|
|
padding: 1rem;
|
|
color: #ecf0f1;
|
|
}
|
|
|
|
.container {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
/* Header styles removed - integrated into navigation */
|
|
|
|
p {
|
|
font-size: 1.2rem;
|
|
opacity: 0.9;
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.cluster-section {
|
|
background: rgba(0, 0, 0, 0.3);
|
|
border-radius: 16px;
|
|
backdrop-filter: blur(10px);
|
|
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
padding: 0.75rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.cluster-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 1rem;
|
|
padding-bottom: 1rem;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
.cluster-header-left {
|
|
/* Placeholder for future content if needed */
|
|
}
|
|
|
|
.primary-node-info {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.4rem;
|
|
padding: 0.4rem 0.75rem;
|
|
background: rgba(255, 255, 255, 0.05);
|
|
border-radius: 6px;
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
backdrop-filter: blur(10px);
|
|
}
|
|
|
|
.primary-node-label {
|
|
font-size: 0.9rem;
|
|
color: rgba(255, 255, 255, 0.7);
|
|
font-weight: 500;
|
|
}
|
|
|
|
.primary-node-ip {
|
|
font-size: 0.9rem;
|
|
color: #4ade80;
|
|
font-weight: 600;
|
|
font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
|
|
padding: 0.25rem 0.5rem;
|
|
background: rgba(74, 222, 128, 0.1);
|
|
border-radius: 4px;
|
|
border: 1px solid rgba(74, 222, 128, 0.2);
|
|
}
|
|
|
|
.primary-node-ip.discovering {
|
|
color: #fbbf24;
|
|
background: rgba(251, 191, 36, 0.1);
|
|
border-color: rgba(251, 191, 36, 0.2);
|
|
}
|
|
|
|
.primary-node-ip.error {
|
|
color: #f87171;
|
|
background: rgba(248, 113, 113, 0.1);
|
|
border-color: rgba(248, 113, 113, 0.2);
|
|
margin: 0;
|
|
padding: 0.25rem 0.5rem;
|
|
}
|
|
|
|
.primary-node-ip.selecting {
|
|
color: #8b5cf6;
|
|
background: rgba(139, 92, 246, 0.1);
|
|
border-color: rgba(139, 92, 246, 0.2);
|
|
animation: pulse 1.5s ease-in-out infinite alternate;
|
|
}
|
|
|
|
@keyframes pulse {
|
|
from {
|
|
opacity: 1;
|
|
transform: scale(1);
|
|
}
|
|
to {
|
|
opacity: 0.7;
|
|
transform: scale(1.05);
|
|
}
|
|
}
|
|
|
|
.primary-node-refresh {
|
|
background: none;
|
|
border: none;
|
|
color: rgba(255, 255, 255, 0.6);
|
|
cursor: pointer;
|
|
padding: 0.25rem;
|
|
border-radius: 4px;
|
|
transition: all 0.2s ease;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.primary-node-refresh:hover {
|
|
color: rgba(255, 255, 255, 0.9);
|
|
background: rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.primary-node-refresh:active {
|
|
transform: scale(0.95);
|
|
}
|
|
|
|
.firmware-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 1rem;
|
|
padding-bottom: 1rem;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
.firmware-header-left {
|
|
/* Placeholder for future content if needed */
|
|
}
|
|
|
|
.refresh-btn {
|
|
background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
|
|
border: 1px solid rgba(255, 255, 255, 0.15);
|
|
color: rgba(255, 255, 255, 0.9);
|
|
padding: 0.75rem 1.25rem;
|
|
border-radius: 12px;
|
|
cursor: pointer;
|
|
font-size: 0.9rem;
|
|
font-weight: 500;
|
|
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
backdrop-filter: blur(10px);
|
|
margin: 0;
|
|
}
|
|
|
|
.refresh-btn:hover {
|
|
background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
|
|
border-color: rgba(255, 255, 255, 0.25);
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.refresh-btn:active {
|
|
transform: translateY(0);
|
|
}
|
|
|
|
.refresh-icon {
|
|
width: 16px;
|
|
height: 16px;
|
|
stroke: currentColor;
|
|
stroke-width: 2;
|
|
transition: transform 0.3s ease;
|
|
}
|
|
|
|
.refresh-btn:hover .refresh-icon {
|
|
transform: rotate(180deg);
|
|
}
|
|
|
|
.refresh-btn:disabled {
|
|
opacity: 0.6;
|
|
cursor: not-allowed;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.refresh-icon.spinning {
|
|
animation: spin 1s linear infinite;
|
|
}
|
|
|
|
@keyframes spin {
|
|
from {
|
|
transform: rotate(0deg);
|
|
}
|
|
to {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
.members-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.member-card {
|
|
background: rgba(0, 0, 0, 0.2);
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
border-radius: 10px;
|
|
padding: 1rem;
|
|
transition: box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease, opacity 0.2s ease;
|
|
cursor: pointer;
|
|
position: relative;
|
|
margin-bottom: 0.5rem;
|
|
opacity: 1;
|
|
z-index: 1;
|
|
}
|
|
|
|
/* Labels */
|
|
.member-labels {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.35rem;
|
|
margin-top: 0.5rem;
|
|
}
|
|
|
|
.label-chip {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
font-size: 0.75rem;
|
|
padding: 0.15rem 0.45rem;
|
|
border-radius: 9999px;
|
|
background: rgba(255, 255, 255, 0.08);
|
|
border: 1px solid rgba(255, 255, 255, 0.15);
|
|
color: rgba(255, 255, 255, 0.9);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.member-card::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: rgba(0, 0, 0, 0.15);
|
|
border-radius: 12px;
|
|
opacity: 0;
|
|
transition: opacity 0.2s ease;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.member-card:hover::before {
|
|
opacity: 1;
|
|
}
|
|
|
|
.member-card:hover {
|
|
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
|
|
z-index: 2;
|
|
}
|
|
|
|
.member-card.expanded {
|
|
background: rgba(0, 0, 0, 0.6);
|
|
border-color: rgba(255, 255, 255, 0.2);
|
|
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
|
|
z-index: 5;
|
|
}
|
|
|
|
.member-card.expanded:hover {
|
|
}
|
|
|
|
.expand-icon:hover {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
color: rgba(255, 255, 255, 0.9);
|
|
border-color: rgba(255, 255, 255, 0.2);
|
|
}
|
|
|
|
.expand-icon:hover svg {
|
|
}
|
|
|
|
.member-card.expanded .expand-icon {
|
|
background: rgba(255, 255, 255, 0.15);
|
|
border-color: rgba(255, 255, 255, 0.25);
|
|
color: rgba(255, 255, 255, 0.9);
|
|
}
|
|
|
|
.member-card.expanded .expand-icon svg {
|
|
transform: rotate(180deg);
|
|
}
|
|
|
|
.member-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: flex-start;
|
|
margin-bottom: 0.75rem;
|
|
}
|
|
|
|
.member-info {
|
|
flex: 1;
|
|
}
|
|
|
|
.expand-icon {
|
|
color: rgba(255, 255, 255, 0.7);
|
|
cursor: pointer;
|
|
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
margin-left: auto;
|
|
padding: 0.2rem;
|
|
border-radius: 6px;
|
|
background: rgba(255, 255, 255, 0.05);
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.expand-icon svg {
|
|
width: 18px;
|
|
height: 18px;
|
|
stroke: currentColor;
|
|
stroke-width: 2;
|
|
transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
}
|
|
|
|
.member-details {
|
|
max-height: 0;
|
|
overflow: hidden;
|
|
transition: max-height 0.3s ease-in-out, opacity 0.2s ease-in-out;
|
|
opacity: 0;
|
|
}
|
|
|
|
.member-card.expanded .member-details {
|
|
max-height: none; /* Remove fixed limit to allow dynamic height */
|
|
opacity: 1;
|
|
overflow: visible;
|
|
}
|
|
|
|
.detail-row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
margin-bottom: 0.5rem;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.detail-label {
|
|
opacity: 0.7;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.detail-value {
|
|
font-family: 'Courier New', monospace;
|
|
opacity: 0.9;
|
|
}
|
|
|
|
.api-endpoints {
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
.api-endpoints h4 {
|
|
margin-bottom: 0.5rem;
|
|
font-size: 0.9rem;
|
|
opacity: 0.8;
|
|
}
|
|
|
|
.endpoint-item {
|
|
background: rgba(0, 0, 0, 0.2);
|
|
padding: 0.5rem;
|
|
border-radius: 6px;
|
|
margin-bottom: 0.5rem;
|
|
font-size: 0.8rem;
|
|
font-family: 'Courier New', monospace;
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.endpoint-item:hover {
|
|
background: rgba(0, 0, 0, 0.25);
|
|
border-color: rgba(255, 255, 255, 0.15);
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.loading-details {
|
|
text-align: center;
|
|
padding: 1rem;
|
|
opacity: 0.7;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.member-name {
|
|
font-size: 1.2rem;
|
|
font-weight: 600;
|
|
margin-bottom: 0.5rem;
|
|
color: #fff;
|
|
}
|
|
|
|
.member-ip {
|
|
font-size: 0.9rem;
|
|
opacity: 0.8;
|
|
margin-bottom: 0.5rem;
|
|
font-family: 'Courier New', monospace;
|
|
}
|
|
|
|
.member-status {
|
|
display: inline-block;
|
|
padding: 0.25rem 0.75rem;
|
|
border-radius: 20px;
|
|
font-size: 0.8rem;
|
|
font-weight: 500;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.status-online {
|
|
background: rgba(76, 175, 80, 0.3);
|
|
color: #4caf50;
|
|
border: 1px solid rgba(76, 175, 80, 0.5);
|
|
}
|
|
|
|
.status-offline {
|
|
background: rgba(244, 67, 54, 0.3);
|
|
color: #f44336;
|
|
border: 1px solid rgba(244, 67, 54, 0.5);
|
|
}
|
|
|
|
.member-latency {
|
|
font-size: 0.85rem;
|
|
margin-top: 0.5rem;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.latency-label {
|
|
color: rgba(255, 255, 255, 0.7);
|
|
font-weight: 500;
|
|
}
|
|
|
|
.latency-value {
|
|
color: #ecf0f1;
|
|
font-weight: 600;
|
|
background: rgba(0, 0, 0, 0.3);
|
|
padding: 0.2rem 0.5rem;
|
|
border-radius: 4px;
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
/* Tab Styles */
|
|
.tabs-container {
|
|
margin-top: 1rem;
|
|
background: rgba(255, 255, 255, 0.03);
|
|
border-radius: 8px;
|
|
padding: 0.5rem;
|
|
}
|
|
|
|
.tabs-header {
|
|
display: flex;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.15);
|
|
margin-bottom: 1rem;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.tab-button {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
border: 1px solid rgba(255, 255, 255, 0.15);
|
|
color: rgba(255, 255, 255, 0.8);
|
|
padding: 0.5rem 1rem;
|
|
border-radius: 8px 8px 0 0;
|
|
cursor: pointer;
|
|
font-size: 0.9rem;
|
|
transition: all 0.3s ease;
|
|
border-bottom: none;
|
|
}
|
|
|
|
.tab-button:hover {
|
|
background: rgba(255, 255, 255, 0.15);
|
|
color: rgba(255, 255, 255, 0.95);
|
|
border-color: rgba(255, 255, 255, 0.25);
|
|
}
|
|
|
|
.tab-button.active {
|
|
background: rgba(255, 255, 255, 0.2);
|
|
color: #ffffff;
|
|
border-color: rgba(255, 255, 255, 0.3);
|
|
box-shadow: 0 2px 8px rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.tab-content {
|
|
display: none;
|
|
}
|
|
|
|
.tab-content.active {
|
|
display: block;
|
|
}
|
|
|
|
/* Task Styles */
|
|
.task-item {
|
|
background: rgba(0, 0, 0, 0.2);
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
border-radius: 8px;
|
|
padding: 1rem;
|
|
margin-bottom: 0.75rem;
|
|
}
|
|
|
|
.task-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.task-name {
|
|
font-weight: 600;
|
|
color: #ecf0f1;
|
|
}
|
|
|
|
.task-status {
|
|
font-size: 0.85rem;
|
|
padding: 0.25rem 0.5rem;
|
|
border-radius: 4px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.task-status.running {
|
|
background: rgba(76, 175, 80, 0.2);
|
|
color: #4caf50;
|
|
border: 1px solid rgba(76, 175, 80, 0.3);
|
|
}
|
|
|
|
.task-status.stopped {
|
|
background: rgba(244, 67, 54, 0.2);
|
|
color: #f44336;
|
|
border: 1px solid rgba(244, 67, 54, 0.3);
|
|
}
|
|
|
|
.task-details {
|
|
display: flex;
|
|
gap: 1rem;
|
|
font-size: 0.8rem;
|
|
opacity: 0.8;
|
|
}
|
|
|
|
.task-interval, .task-enabled {
|
|
background: rgba(0, 0, 0, 0.2);
|
|
padding: 0.2rem 0.5rem;
|
|
border-radius: 4px;
|
|
border: 1px solid rgba(255, 255, 255, 0.05);
|
|
}
|
|
|
|
/* Firmware Upload Styles */
|
|
.firmware-upload h4 {
|
|
margin-bottom: 1rem;
|
|
color: #ecf0f1;
|
|
}
|
|
|
|
.upload-area {
|
|
text-align: center;
|
|
padding: 2rem;
|
|
border: 2px dashed rgba(255, 255, 255, 0.2);
|
|
border-radius: 12px;
|
|
background: rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.upload-btn {
|
|
background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
|
|
border: 1px solid rgba(255, 255, 255, 0.15);
|
|
color: rgba(255, 255, 255, 0.9);
|
|
padding: 0.75rem 1.25rem;
|
|
border-radius: 12px;
|
|
cursor: pointer;
|
|
font-size: 0.9rem;
|
|
font-weight: 500;
|
|
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
backdrop-filter: blur(10px);
|
|
margin-bottom: 1rem;
|
|
margin: auto;
|
|
|
|
}
|
|
|
|
.upload-btn:hover {
|
|
background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
|
|
border-color: rgba(255, 255, 255, 0.25);
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.upload-btn:active {
|
|
transform: translateY(0);
|
|
}
|
|
|
|
.upload-info {
|
|
font-size: 0.9rem;
|
|
opacity: 0.7;
|
|
color: rgba(255, 255, 255, 0.8);
|
|
}
|
|
|
|
/* Upload Status Styles */
|
|
#upload-status {
|
|
margin-top: 1rem;
|
|
padding: 1rem;
|
|
border-radius: 8px;
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.upload-progress {
|
|
text-align: center;
|
|
color: #ffa726;
|
|
}
|
|
|
|
.upload-success {
|
|
text-align: center;
|
|
color: #4caf50;
|
|
background: rgba(76, 175, 80, 0.1);
|
|
border: 1px solid rgba(76, 175, 80, 0.2);
|
|
padding: 0.75rem;
|
|
border-radius: 6px;
|
|
}
|
|
|
|
.upload-error {
|
|
text-align: center;
|
|
color: #f44336;
|
|
background: rgba(244, 67, 54, 0.1);
|
|
border: 1px solid rgba(244, 67, 54, 0.2);
|
|
padding: 0.75rem;
|
|
border-radius: 6px;
|
|
}
|
|
|
|
.upload-btn:disabled {
|
|
opacity: 0.6;
|
|
cursor: not-allowed;
|
|
transform: none !important;
|
|
}
|
|
|
|
.no-tasks {
|
|
text-align: center;
|
|
padding: 2rem;
|
|
opacity: 0.7;
|
|
}
|
|
|
|
.loading-tasks {
|
|
text-align: center;
|
|
padding: 1rem;
|
|
opacity: 0.7;
|
|
font-style: italic;
|
|
}
|
|
|
|
.loading {
|
|
text-align: center;
|
|
padding: 2rem;
|
|
opacity: 0.7;
|
|
}
|
|
|
|
.error {
|
|
background: rgba(244, 67, 54, 0.2);
|
|
border: 1px solid rgba(244, 67, 54, 0.3);
|
|
color: #ffcdd2;
|
|
padding: 1rem;
|
|
border-radius: 8px;
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
.empty-state {
|
|
text-align: center;
|
|
padding: 2rem;
|
|
opacity: 0.7;
|
|
}
|
|
|
|
.empty-state-icon {
|
|
font-size: 3rem;
|
|
margin-bottom: 1rem;
|
|
opacity: 0.5;
|
|
}
|
|
|
|
/* Main Navigation Styles */
|
|
.main-navigation {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 1rem;
|
|
background: rgba(0, 0, 0, 0.2);
|
|
border-radius: 16px;
|
|
padding: 0.5rem;
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
backdrop-filter: blur(10px);
|
|
}
|
|
|
|
.nav-left {
|
|
display: flex;
|
|
gap: 0.25rem;
|
|
}
|
|
|
|
.nav-right {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.nav-tab {
|
|
background: transparent;
|
|
border: none;
|
|
color: rgba(255, 255, 255, 0.6);
|
|
padding: 0.875rem 1.75rem;
|
|
border-radius: 12px;
|
|
cursor: pointer;
|
|
font-size: 0.95rem;
|
|
font-weight: 500;
|
|
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.nav-tab::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
|
|
opacity: 0;
|
|
transition: opacity 0.3s ease;
|
|
}
|
|
|
|
.nav-tab:hover {
|
|
color: rgba(255, 255, 255, 0.9);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.nav-tab:hover::before {
|
|
opacity: 1;
|
|
}
|
|
|
|
.nav-tab.active {
|
|
background: rgba(255, 255, 255, 0.15);
|
|
color: #ffffff;
|
|
box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.nav-tab.active::before {
|
|
opacity: 0;
|
|
}
|
|
|
|
/* Cluster Status */
|
|
.cluster-status {
|
|
background: linear-gradient(135deg, rgba(0, 255, 0, 0.15) 0%, rgba(0, 255, 0, 0.08) 100%);
|
|
border: 1px solid rgba(0, 255, 0, 0.25);
|
|
color: #00ff88;
|
|
padding: 0.75rem 1.25rem;
|
|
border-radius: 20px;
|
|
font-size: 0.9rem;
|
|
font-weight: 600;
|
|
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
|
|
box-shadow: 0 2px 8px rgba(0, 255, 0, 0.1);
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
/* Cluster Status States */
|
|
.cluster-status-online {
|
|
background: linear-gradient(135deg, rgba(0, 255, 0, 0.15) 0%, rgba(0, 255, 0, 0.08) 100%);
|
|
border: 1px solid rgba(0, 255, 0, 0.25);
|
|
color: #00ff88;
|
|
box-shadow: 0 2px 8px rgba(0, 255, 0, 0.1);
|
|
}
|
|
|
|
.cluster-status-offline {
|
|
background: linear-gradient(135deg, rgba(255, 0, 0, 0.15) 0%, rgba(255, 0, 0, 0.08) 100%);
|
|
border: 1px solid rgba(255, 0, 0, 0.25);
|
|
color: #ff6b6b;
|
|
box-shadow: 0 2px 8px rgba(255, 0, 0, 0.1);
|
|
}
|
|
|
|
.cluster-status-connecting {
|
|
background: linear-gradient(135deg, rgba(255, 193, 7, 0.15) 0%, rgba(255, 193, 7, 0.08) 100%);
|
|
border: 1px solid rgba(255, 193, 7, 0.25);
|
|
color: #ffd54f;
|
|
box-shadow: 0 2px 8px rgba(255, 193, 7, 0.1);
|
|
}
|
|
|
|
.cluster-status-discovering {
|
|
background: linear-gradient(135deg, rgba(33, 150, 243, 0.15) 0%, rgba(33, 150, 243, 0.08) 100%);
|
|
border: 1px solid rgba(33, 150, 243, 0.25);
|
|
color: #64b5f6;
|
|
box-shadow: 0 2px 8px rgba(33, 150, 243, 0.1);
|
|
}
|
|
|
|
.cluster-status-error {
|
|
background: linear-gradient(135deg, rgba(244, 67, 54, 0.15) 0%, rgba(244, 67, 54, 0.08) 100%);
|
|
border: 1px solid rgba(244, 67, 54, 0.25);
|
|
color: #ff8a80;
|
|
box-shadow: 0 2px 8px rgba(244, 67, 54, 0.1);
|
|
}
|
|
|
|
/* View Content Styles */
|
|
.view-content {
|
|
display: none;
|
|
opacity: 0;
|
|
transition: opacity 0.2s ease-in-out;
|
|
}
|
|
|
|
.view-content.active {
|
|
display: block;
|
|
opacity: 1;
|
|
}
|
|
|
|
/* Firmware Section Styles */
|
|
.firmware-section {
|
|
background: rgba(0, 0, 0, 0.3);
|
|
border-radius: 16px;
|
|
backdrop-filter: blur(10px);
|
|
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
padding: 0.75rem;
|
|
margin-bottom: 1rem;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.firmware-section::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: 1px;
|
|
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
|
|
}
|
|
|
|
/* Firmware header styles moved to general header section above */
|
|
|
|
/* Firmware Actions */
|
|
.firmware-actions {
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
gap: 0.75rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.action-group {
|
|
background: rgba(0, 0, 0, 0.2);
|
|
border-radius: 10px;
|
|
padding: 1rem;
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
position: relative;
|
|
overflow: hidden;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.action-group:hover {
|
|
background: rgba(0, 0, 0, 0.2);
|
|
border-color: rgba(255, 255, 255, 0.1);
|
|
box-shadow: none;
|
|
}
|
|
|
|
.action-group h3 {
|
|
color: #ffffff;
|
|
margin-bottom: 0.75rem;
|
|
font-size: 1rem;
|
|
font-weight: 600;
|
|
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
/* Compact Firmware Upload Interface */
|
|
.firmware-upload-compact {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.compact-upload-row {
|
|
display: flex;
|
|
gap: 1rem;
|
|
align-items: center;
|
|
padding: 1rem;
|
|
background: transparent;
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
border-radius: 10px;
|
|
transition: all 0.2s ease;
|
|
position: relative;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.compact-upload-row::before {
|
|
content: none;
|
|
}
|
|
|
|
.compact-upload-row:hover::before {
|
|
opacity: 0;
|
|
}
|
|
|
|
.compact-upload-row:hover {
|
|
background: transparent;
|
|
border-color: rgba(255, 255, 255, 0.1);
|
|
box-shadow: none;
|
|
transform: none;
|
|
}
|
|
|
|
.file-upload-area {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.75rem;
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.file-input-wrapper {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
flex: 1;
|
|
min-width: 0;
|
|
margin-top: 0.25rem;
|
|
}
|
|
|
|
.upload-btn-compact {
|
|
background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
|
|
border: 1px solid rgba(255, 255, 255, 0.15);
|
|
color: rgba(255, 255, 255, 0.9);
|
|
padding: 0.75rem 1.25rem;
|
|
border-radius: 12px;
|
|
cursor: pointer;
|
|
font-size: 0.9rem;
|
|
font-weight: 500;
|
|
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
backdrop-filter: blur(10px);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.upload-btn-compact:hover {
|
|
background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
|
|
border-color: rgba(255, 255, 255, 0.25);
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.upload-btn-compact:active {
|
|
transform: translateY(0);
|
|
}
|
|
|
|
.file-info {
|
|
color: rgba(255, 255, 255, 0.7);
|
|
font-size: 0.9rem;
|
|
font-style: italic;
|
|
transition: all 0.2s ease;
|
|
padding: 0.75rem 1.25rem;
|
|
background: rgba(0, 0, 0, 0.2);
|
|
border-radius: 6px;
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
max-width: 200px;
|
|
}
|
|
|
|
.file-info:hover {
|
|
background: rgba(0, 0, 0, 0.25);
|
|
border-color: rgba(255, 255, 255, 0.15);
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.file-info.has-file {
|
|
color: #4ade80;
|
|
background: rgba(74, 222, 128, 0.1);
|
|
border-color: rgba(74, 222, 128, 0.2);
|
|
font-weight: 500;
|
|
font-style: normal;
|
|
}
|
|
|
|
.file-info.has-file:hover {
|
|
background: rgba(74, 222, 128, 0.15);
|
|
border-color: rgba(74, 222, 128, 0.3);
|
|
box-shadow: 0 2px 8px rgba(74, 222, 128, 0.2);
|
|
}
|
|
|
|
.target-options {
|
|
display: flex;
|
|
gap: 0.75rem;
|
|
justify-content: flex-start;
|
|
align-items: center;
|
|
min-height: 36px;
|
|
}
|
|
|
|
.target-option {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.3rem;
|
|
cursor: pointer;
|
|
padding: 0.3rem;
|
|
border-radius: 6px;
|
|
transition: all 0.2s ease;
|
|
background: transparent;
|
|
border: none;
|
|
}
|
|
|
|
.target-option:hover {
|
|
background: transparent;
|
|
border-color: transparent;
|
|
box-shadow: none;
|
|
transform: none;
|
|
}
|
|
|
|
.target-option input[type="radio"] {
|
|
display: none;
|
|
}
|
|
|
|
.radio-custom {
|
|
width: 14px;
|
|
height: 14px;
|
|
border: 2px solid rgba(255, 255, 255, 0.2);
|
|
border-radius: 50%;
|
|
position: relative;
|
|
background: rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.target-option input[type="radio"]:checked + .radio-custom {
|
|
border-color: #667eea;
|
|
background: #667eea;
|
|
box-shadow: none;
|
|
transform: none;
|
|
}
|
|
|
|
.target-option input[type="radio"]:checked + .radio-custom::after {
|
|
content: '';
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
width: 5px;
|
|
height: 5px;
|
|
background: white;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
@keyframes radioPop {
|
|
0% {
|
|
transform: translate(-50%, -50%) scale(0);
|
|
opacity: 0;
|
|
}
|
|
100% {
|
|
transform: translate(-50%, -50%) scale(1);
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
.target-label {
|
|
color: rgba(255, 255, 255, 0.9);
|
|
font-size: 0.9rem;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.node-select {
|
|
background: rgba(0, 0, 0, 0.2);
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
color: #ffffff;
|
|
padding: 0.3rem 0.5rem;
|
|
border-radius: 6px;
|
|
font-size: 0.8rem;
|
|
transition: all 0.2s ease;
|
|
cursor: pointer;
|
|
min-width: 120px;
|
|
font-weight: 500;
|
|
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
|
|
}
|
|
|
|
.node-select:hover {
|
|
background: rgba(0, 0, 0, 0.25);
|
|
border-color: rgba(255, 255, 255, 0.15);
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.node-select:focus {
|
|
outline: none;
|
|
border-color: #667eea;
|
|
box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
|
|
background: rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
/* Style the dropdown options */
|
|
.node-select option {
|
|
background: #1a202c;
|
|
color: #ffffff;
|
|
padding: 0.75rem 1rem;
|
|
font-size: 0.9rem;
|
|
font-weight: 500;
|
|
border: none;
|
|
}
|
|
|
|
.node-select option:hover {
|
|
background: #2d3748;
|
|
}
|
|
|
|
.node-select option:checked {
|
|
background: #667eea;
|
|
color: #ffffff;
|
|
font-weight: 600;
|
|
}
|
|
|
|
/* Ensure the select field text is always visible */
|
|
.node-select:invalid {
|
|
color: rgba(255, 255, 255, 0.8);
|
|
}
|
|
|
|
.node-select:valid {
|
|
color: #ffffff;
|
|
}
|
|
|
|
/* Style for no-nodes message */
|
|
.no-nodes-message {
|
|
color: #fbbf24 !important;
|
|
font-size: 0.8rem !important;
|
|
margin-top: 0.25rem !important;
|
|
font-style: italic !important;
|
|
text-align: center;
|
|
padding: 0.5rem 0.75rem;
|
|
border-radius: 6px;
|
|
background: rgba(0, 0, 0, 0.2);
|
|
border: 1px solid rgba(251, 191, 36, 0.3);
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.no-nodes-message:hover {
|
|
background: rgba(0, 0, 0, 0.25);
|
|
border-color: rgba(251, 191, 36, 0.4);
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.deploy-btn {
|
|
background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
|
|
border: 1px solid rgba(255, 255, 255, 0.15);
|
|
color: rgba(255, 255, 255, 0.9);
|
|
padding: 0.75rem 1.25rem;
|
|
border-radius: 12px;
|
|
cursor: pointer;
|
|
font-size: 0.9rem;
|
|
font-weight: 500;
|
|
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
backdrop-filter: blur(10px);
|
|
min-width: 100px;
|
|
position: relative;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.deploy-btn::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: -100%;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
|
|
transition: left 0.5s ease;
|
|
}
|
|
|
|
.deploy-btn:hover:not(:disabled)::before {
|
|
left: 100%;
|
|
}
|
|
|
|
.deploy-btn:hover:not(:disabled) {
|
|
background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
|
|
border-color: rgba(255, 255, 255, 0.25);
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.deploy-btn:active:not(:disabled) {
|
|
transform: translateY(0);
|
|
}
|
|
|
|
.deploy-btn:disabled {
|
|
background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
|
|
color: rgba(255, 255, 255, 0.4);
|
|
cursor: not-allowed;
|
|
transform: none;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.deploy-btn.loading {
|
|
background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
|
|
color: #1f2937;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
/* Responsive design for smaller screens */
|
|
@media (max-width: 768px) {
|
|
.firmware-actions {
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.action-group {
|
|
padding: 0.75rem;
|
|
}
|
|
|
|
.compact-upload-row {
|
|
flex-direction: column;
|
|
gap: 0.75rem;
|
|
padding: 0.75rem;
|
|
}
|
|
|
|
.file-upload-area {
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.file-input-wrapper {
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.upload-btn-compact {
|
|
width: 100%;
|
|
padding: 0.5rem 0.75rem;
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
.target-options {
|
|
justify-content: flex-start;
|
|
gap: 0.75rem;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
min-height: 40px;
|
|
}
|
|
|
|
.target-option {
|
|
padding: 0.2rem 0.4rem;
|
|
border-radius: 6px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.3rem;
|
|
}
|
|
|
|
.target-label {
|
|
font-size: 0.8rem;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.specific-node-option {
|
|
flex-direction: row;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
flex-wrap: wrap;
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
.specific-node-option .node-select {
|
|
margin-left: 0;
|
|
min-width: auto;
|
|
width: auto;
|
|
padding: 0.4rem 0.6rem;
|
|
font-size: 0.8rem;
|
|
flex: 1;
|
|
min-width: 120px;
|
|
max-width: 200px;
|
|
}
|
|
|
|
.deploy-btn {
|
|
padding: 0.5rem 1rem;
|
|
font-size: 0.85rem;
|
|
min-width: 120px;
|
|
}
|
|
|
|
.file-info {
|
|
text-align: center;
|
|
padding: 0.5rem;
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
.radio-custom {
|
|
width: 16px;
|
|
height: 16px;
|
|
}
|
|
}
|
|
|
|
/* Extra small screens */
|
|
@media (max-width: 480px) {
|
|
.action-group {
|
|
padding: 0.5rem;
|
|
}
|
|
|
|
.compact-upload-row {
|
|
padding: 0.5rem;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.upload-btn-compact {
|
|
padding: 0.5rem 0.75rem;
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.deploy-btn {
|
|
padding: 0.5rem 0.75rem;
|
|
font-size: 0.8rem;
|
|
min-width: 100px;
|
|
}
|
|
|
|
.file-info {
|
|
padding: 0.4rem;
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.target-label {
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.radio-custom {
|
|
width: 14px;
|
|
height: 14px;
|
|
}
|
|
|
|
.node-select {
|
|
padding: 0.3rem 0.5rem;
|
|
font-size: 0.8rem;
|
|
min-width: 100px;
|
|
}
|
|
|
|
.target-options {
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.target-option {
|
|
padding: 0.2rem 0.4rem;
|
|
}
|
|
}
|
|
|
|
/* Firmware upload progress and results styling */
|
|
.firmware-upload-progress,
|
|
.firmware-upload-results {
|
|
background: rgba(0, 0, 0, 0.2);
|
|
border-radius: 16px;
|
|
backdrop-filter: blur(10px);
|
|
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
padding: 1.5rem;
|
|
margin-top: 1rem;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.firmware-upload-progress:hover,
|
|
.firmware-upload-results:hover {
|
|
background: rgba(0, 0, 0, 0.25);
|
|
border-color: rgba(255, 255, 255, 0.15);
|
|
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
|
|
}
|
|
|
|
.progress-header,
|
|
.results-header {
|
|
margin-bottom: 1.5rem;
|
|
padding-bottom: 1rem;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
.progress-header h3,
|
|
.results-header h3 {
|
|
margin: 0 0 0.5rem 0;
|
|
color: #ecf0f1;
|
|
font-size: 1.2rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.progress-header {
|
|
position: relative;
|
|
}
|
|
|
|
.progress-refresh-btn {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
|
|
border: 1px solid rgba(255, 255, 255, 0.15);
|
|
color: rgba(255, 255, 255, 0.9);
|
|
padding: 0.75rem 1.25rem;
|
|
border-radius: 12px;
|
|
cursor: pointer;
|
|
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
backdrop-filter: blur(10px);
|
|
}
|
|
|
|
.progress-refresh-btn:hover {
|
|
background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
|
|
border-color: rgba(255, 255, 255, 0.25);
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.progress-refresh-btn:active {
|
|
transform: translateY(0);
|
|
}
|
|
|
|
.progress-info,
|
|
.results-summary {
|
|
display: flex;
|
|
gap: 1rem;
|
|
flex-wrap: wrap;
|
|
font-size: 0.9rem;
|
|
color: rgba(255, 255, 255, 0.7);
|
|
}
|
|
|
|
.progress-info span,
|
|
.results-summary span {
|
|
padding: 0.25rem 0.5rem;
|
|
background: rgba(0, 0, 0, 0.2);
|
|
border-radius: 6px;
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.progress-info span:hover,
|
|
.results-summary span:hover {
|
|
background: rgba(0, 0, 0, 0.25);
|
|
border-color: rgba(255, 255, 255, 0.15);
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.overall-progress {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
.progress-bar-container {
|
|
flex: 1;
|
|
height: 8px;
|
|
background: rgba(255, 255, 255, 0.1);
|
|
border-radius: 4px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.progress-bar {
|
|
height: 100%;
|
|
background: #fbbf24;
|
|
border-radius: 4px;
|
|
transition: width 0.3s ease, background-color 0.3s ease;
|
|
width: 0%;
|
|
}
|
|
|
|
.progress-text {
|
|
font-size: 0.9rem;
|
|
color: rgba(255, 255, 255, 0.8);
|
|
font-weight: 500;
|
|
min-width: 80px;
|
|
text-align: right;
|
|
}
|
|
|
|
.progress-summary {
|
|
margin-top: 0.75rem;
|
|
padding: 0.5rem 0.75rem;
|
|
background: rgba(0, 0, 0, 0.2);
|
|
border-radius: 10px;
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.progress-summary:hover {
|
|
background: rgba(0, 0, 0, 0.25);
|
|
border-color: rgba(255, 255, 255, 0.15);
|
|
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.progress-summary span {
|
|
font-size: 0.9rem;
|
|
color: rgba(255, 255, 255, 0.8);
|
|
font-weight: 500;
|
|
}
|
|
|
|
.success-count {
|
|
color: #4ade80 !important;
|
|
border-color: rgba(74, 222, 128, 0.3) !important;
|
|
}
|
|
|
|
.failure-count {
|
|
color: #f87171 !important;
|
|
border-color: rgba(248, 113, 113, 0.3) !important;
|
|
}
|
|
|
|
.total-count {
|
|
color: #60a5fa !important;
|
|
border-color: rgba(96, 165, 250, 0.3) !important;
|
|
}
|
|
|
|
.progress-list,
|
|
.results-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.progress-item,
|
|
.result-item {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 1rem;
|
|
background: rgba(0, 0, 0, 0.2);
|
|
border-radius: 10px;
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
transition: all 0.2s ease;
|
|
position: relative;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.progress-item::before,
|
|
.result-item::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: rgba(0, 0, 0, 0.15);
|
|
border-radius: 12px;
|
|
opacity: 0;
|
|
transition: opacity 0.2s ease;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.progress-item:hover::before,
|
|
.result-item:hover::before {
|
|
opacity: 1;
|
|
}
|
|
|
|
.progress-item:hover,
|
|
.result-item:hover {
|
|
background: rgba(0, 0, 0, 0.25);
|
|
border-color: rgba(255, 255, 255, 0.15);
|
|
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.progress-node-info,
|
|
.result-node-info {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.25rem;
|
|
}
|
|
|
|
.node-name {
|
|
font-weight: 600;
|
|
color: #ecf0f1;
|
|
}
|
|
|
|
.node-ip {
|
|
font-size: 0.85rem;
|
|
color: rgba(255, 255, 255, 0.6);
|
|
font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
|
|
}
|
|
|
|
.progress-status,
|
|
.result-status {
|
|
font-weight: 600;
|
|
padding: 0.5rem 1rem;
|
|
border-radius: 8px;
|
|
font-size: 0.9rem;
|
|
min-width: 100px;
|
|
text-align: center;
|
|
}
|
|
|
|
.progress-time {
|
|
font-size: 0.8rem;
|
|
color: rgba(255, 255, 255, 0.5);
|
|
min-width: 120px;
|
|
text-align: right;
|
|
}
|
|
|
|
.progress-status.success,
|
|
.result-status.success {
|
|
background: rgba(74, 222, 128, 0.1);
|
|
color: #4ade80;
|
|
border: 1px solid rgba(74, 222, 128, 0.2);
|
|
}
|
|
|
|
.progress-status.error,
|
|
.result-status.error {
|
|
background: rgba(248, 113, 113, 0.1);
|
|
color: #f87171;
|
|
border: 1px solid rgba(248, 113, 113, 0.2);
|
|
}
|
|
|
|
.progress-status.uploading {
|
|
background: rgba(251, 191, 36, 0.1);
|
|
color: #fbbf24;
|
|
border: 1px solid rgba(251, 191, 36, 0.2);
|
|
animation: pulse 1.5s ease-in-out infinite alternate;
|
|
}
|
|
|
|
.result-details {
|
|
font-size: 0.85rem;
|
|
color: rgba(255, 255, 255, 0.7);
|
|
max-width: 300px;
|
|
text-align: right;
|
|
}
|
|
|
|
.results-actions {
|
|
display: flex;
|
|
gap: 1rem;
|
|
margin-top: 1.5rem;
|
|
padding-top: 1rem;
|
|
border-top: 1px solid rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
.clear-btn,
|
|
.refresh-btn {
|
|
background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
|
|
border: 1px solid rgba(255, 255, 255, 0.15);
|
|
color: rgba(255, 255, 255, 0.9);
|
|
padding: 0.75rem 1.25rem;
|
|
border-radius: 12px;
|
|
cursor: pointer;
|
|
font-size: 0.9rem;
|
|
font-weight: 500;
|
|
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
}
|
|
|
|
.clear-btn:hover,
|
|
.refresh-btn:hover {
|
|
background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
|
|
border-color: rgba(255, 255, 255, 0.25);
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.clear-btn:active,
|
|
.refresh-btn:active {
|
|
transform: translateY(0);
|
|
}
|
|
|
|
/* Responsive design for progress and results */
|
|
@media (max-width: 768px) {
|
|
.progress-item,
|
|
.result-item {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.progress-status,
|
|
.result-status {
|
|
align-self: flex-end;
|
|
}
|
|
|
|
.result-details {
|
|
text-align: left;
|
|
max-width: none;
|
|
}
|
|
|
|
.progress-info,
|
|
.results-summary {
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.results-actions {
|
|
flex-direction: column;
|
|
}
|
|
}
|
|
|
|
/* Loading and state transitions */
|
|
.loading, .error, .empty-state {
|
|
opacity: 0;
|
|
animation: fadeIn 0.3s ease-in-out forwards;
|
|
}
|
|
|
|
@keyframes fadeIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(10px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
/* Smooth expand/collapse animations */
|
|
.member-details {
|
|
max-height: 0;
|
|
overflow: hidden;
|
|
transition: max-height 0.3s ease-in-out, opacity 0.2s ease-in-out;
|
|
opacity: 0;
|
|
}
|
|
|
|
.member-card.expanded .member-details {
|
|
opacity: 1;
|
|
}
|
|
|
|
/* Expand icon rotation */
|
|
.expand-icon svg {
|
|
transition: transform 0.2s ease-in-out;
|
|
}
|
|
|
|
.member-card.expanded .expand-icon svg {
|
|
transform: rotate(180deg);
|
|
}
|
|
|
|
/* Navigation tab transitions */
|
|
.nav-tab {
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.nav-tab:hover {
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.nav-tab.active {
|
|
transform: translateY(0);
|
|
}
|
|
|
|
.specific-node-option {
|
|
gap: 0.5rem;
|
|
align-items: center;
|
|
}
|
|
|
|
.specific-node-option .node-select {
|
|
margin-left: 0.5rem;
|
|
display: none;
|
|
}
|
|
|
|
|
|
/* Capabilities Styles */
|
|
.capabilities-list {
|
|
margin-top: 0.5rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
/* Custom dropdown wrapper and arrow for capability selector */
|
|
.capability-selector {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
#capability-select {
|
|
padding-right: 2rem;
|
|
background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23ecf0f1" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M6 9l6 6 6-6"/></svg>');
|
|
background-repeat: no-repeat;
|
|
background-position: right 0.6rem center;
|
|
background-size: 12px 12px;
|
|
}
|
|
|
|
.capability-item {
|
|
background: rgba(0, 0, 0, 0.2);
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
border-radius: 8px;
|
|
padding: 0.75rem;
|
|
}
|
|
|
|
.capability-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.cap-method {
|
|
font-size: 0.75rem;
|
|
font-weight: 700;
|
|
letter-spacing: 0.5px;
|
|
padding: 0.15rem 0.5rem;
|
|
border-radius: 4px;
|
|
border: 1px solid rgba(255, 255, 255, 0.2);
|
|
background: rgba(255, 255, 255, 0.08);
|
|
color: rgba(255, 255, 255, 0.9);
|
|
}
|
|
|
|
.cap-uri {
|
|
font-family: 'Courier New', monospace;
|
|
font-size: 0.85rem;
|
|
opacity: 0.9;
|
|
flex: 1;
|
|
}
|
|
|
|
.cap-call-btn {
|
|
background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
|
|
border: 1px solid rgba(255, 255, 255, 0.15);
|
|
color: rgba(255, 255, 255, 0.9);
|
|
padding: 0.4rem 0.8rem;
|
|
border-radius: 8px;
|
|
cursor: pointer;
|
|
font-size: 0.85rem;
|
|
font-weight: 500;
|
|
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
backdrop-filter: blur(10px);
|
|
}
|
|
|
|
.cap-call-btn:hover {
|
|
background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
|
|
border-color: rgba(255, 255, 255, 0.25);
|
|
transform: translateY(-1px);
|
|
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.capability-form {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
|
|
gap: 0.5rem 0.75rem;
|
|
margin-top: 0.5rem;
|
|
}
|
|
|
|
.capability-param {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.25rem;
|
|
background: rgba(0, 0, 0, 0.15);
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
border-radius: 6px;
|
|
padding: 0.5rem;
|
|
}
|
|
|
|
.param-name {
|
|
font-size: 0.8rem;
|
|
color: rgba(255, 255, 255, 0.8);
|
|
font-weight: 500;
|
|
}
|
|
|
|
/* Adjust param-input to support <select> as well */
|
|
.param-input {
|
|
background: rgba(255, 255, 255, 0.05);
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
color: #ecf0f1;
|
|
padding: 0.45rem 0.6rem;
|
|
border-radius: 6px;
|
|
outline: none;
|
|
transition: border-color 0.2s ease, background 0.2s ease;
|
|
font-size: 0.9rem;
|
|
appearance: none;
|
|
}
|
|
|
|
.param-input option {
|
|
background: #1f2937;
|
|
color: #ecf0f1;
|
|
}
|
|
|
|
.param-input:focus {
|
|
border-color: rgba(139, 92, 246, 0.5);
|
|
background: rgba(139, 92, 246, 0.08);
|
|
box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.15);
|
|
}
|
|
|
|
.capability-params.none {
|
|
opacity: 0.7;
|
|
font-size: 0.85rem;
|
|
padding: 0.25rem 0.25rem 0 0.25rem;
|
|
}
|
|
|
|
.capability-result {
|
|
margin-top: 0.5rem;
|
|
border-radius: 8px;
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
background: rgba(0, 0, 0, 0.2);
|
|
padding: 0.75rem;
|
|
}
|
|
|
|
.cap-call-success {
|
|
color: #4caf50;
|
|
background: rgba(76, 175, 80, 0.1);
|
|
border: 1px solid rgba(76, 175, 80, 0.2);
|
|
padding: 0.5rem;
|
|
border-radius: 6px;
|
|
}
|
|
|
|
.cap-call-error {
|
|
color: #f44336;
|
|
background: rgba(244, 67, 54, 0.1);
|
|
border: 1px solid rgba(244, 67, 54, 0.2);
|
|
padding: 0.5rem;
|
|
border-radius: 6px;
|
|
}
|
|
|
|
.cap-result-pre {
|
|
margin-top: 0.5rem;
|
|
white-space: pre-wrap;
|
|
word-break: break-word;
|
|
font-family: 'Courier New', monospace;
|
|
font-size: 0.85rem;
|
|
background: rgba(0, 0, 0, 0.25);
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
padding: 0.5rem;
|
|
border-radius: 6px;
|
|
}
|
|
|
|
/* Modernized Tab Styles (overrides) */
|
|
.tabs-container {
|
|
background: rgba(255, 255, 255, 0.04);
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
border-radius: 14px;
|
|
padding: 0.75rem;
|
|
}
|
|
|
|
.tabs-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.25rem;
|
|
padding: 0.25rem;
|
|
border-radius: 12px;
|
|
background: rgba(255, 255, 255, 0.06);
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
backdrop-filter: blur(8px);
|
|
border-bottom: none;
|
|
}
|
|
|
|
.tab-button {
|
|
background: transparent;
|
|
border: 1px solid transparent;
|
|
color: rgba(255, 255, 255, 0.75);
|
|
padding: 0.5rem 1rem;
|
|
border-radius: 10px;
|
|
cursor: pointer;
|
|
font-size: 0.9rem;
|
|
font-weight: 600;
|
|
letter-spacing: 0.2px;
|
|
transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
|
|
position: relative;
|
|
}
|
|
|
|
.tab-button:hover {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
border-color: rgba(255, 255, 255, 0.12);
|
|
color: rgba(255, 255, 255, 0.95);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.tab-button.active {
|
|
background: rgba(255, 255, 255, 0.16);
|
|
color: #ffffff;
|
|
border-color: rgba(255, 255, 255, 0.24);
|
|
box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
/* Animated underline indicator */
|
|
.tab-button::after {
|
|
content: '';
|
|
position: absolute;
|
|
left: 12px;
|
|
right: 12px;
|
|
bottom: -6px;
|
|
height: 3px;
|
|
border-radius: 2px;
|
|
background: linear-gradient(90deg, #8b5cf6, #60a5fa);
|
|
opacity: 0;
|
|
transform: scaleX(0.4);
|
|
transition: transform 0.25s ease, opacity 0.25s ease;
|
|
}
|
|
|
|
.tab-button.active::after {
|
|
opacity: 1;
|
|
transform: scaleX(1);
|
|
}
|
|
|
|
.tab-button:focus-visible {
|
|
outline: none;
|
|
box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.35);
|
|
}
|
|
|
|
/* Content panel polish */
|
|
.tab-content {
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
border-radius: 12px;
|
|
padding: 0.75rem;
|
|
background: rgba(0, 0, 0, 0.2);
|
|
backdrop-filter: blur(8px);
|
|
}
|
|
|
|
.tab-content.active {
|
|
animation: tabFadeIn 0.2s ease-out;
|
|
}
|
|
|
|
@keyframes tabFadeIn {
|
|
from { opacity: 0; transform: translateY(6px); }
|
|
to { opacity: 1; transform: translateY(0); }
|
|
}
|
|
|
|
/* Small screens: allow horizontal scroll of tabs */
|
|
@media (max-width: 640px) {
|
|
.tabs-header {
|
|
overflow-x: auto;
|
|
-webkit-overflow-scrolling: touch;
|
|
}
|
|
.tab-button {
|
|
white-space: nowrap;
|
|
}
|
|
}
|
|
|
|
/* Lighter Tab Theme (final overrides) */
|
|
.tabs-container {
|
|
background: rgba(255, 255, 255, 0.06);
|
|
border: 1px solid rgba(255, 255, 255, 0.12);
|
|
}
|
|
|
|
.tabs-header {
|
|
background: rgba(255, 255, 255, 0.10);
|
|
border: 1px solid rgba(255, 255, 255, 0.14);
|
|
}
|
|
|
|
.tab-button {
|
|
color: rgba(255, 255, 255, 0.85);
|
|
}
|
|
|
|
.tab-button:hover {
|
|
background: rgba(255, 255, 255, 0.12);
|
|
border-color: rgba(255, 255, 255, 0.18);
|
|
}
|
|
|
|
.tab-button.active {
|
|
background: rgba(255, 255, 255, 0.22);
|
|
border-color: rgba(255, 255, 255, 0.32);
|
|
}
|
|
|
|
.tab-button::after {
|
|
background: linear-gradient(90deg, #a78bfa, #93c5fd);
|
|
bottom: -4px;
|
|
}
|
|
|
|
.tab-content {
|
|
border: 1px solid rgba(255, 255, 255, 0.12);
|
|
background: rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
/* Active tab: no background or border (keep underline) */
|
|
.tab-button.active {
|
|
background: transparent;
|
|
border-color: transparent;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.tab-button.active:hover {
|
|
background: transparent;
|
|
border-color: transparent;
|
|
}
|
|
|
|
/* Preserve focus ring on active tab */
|
|
.tab-button.active:focus-visible {
|
|
box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.35);
|
|
}
|
|
|
|
/* Responsive Capability Selector */
|
|
@media (max-width: 768px) {
|
|
.capability-selector {
|
|
flex-wrap: wrap;
|
|
align-items: stretch;
|
|
}
|
|
#capability-select {
|
|
flex: 1 1 100%;
|
|
width: 100%;
|
|
max-width: 100%;
|
|
min-width: 0;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
#capability-select {
|
|
padding-right: 1.75rem;
|
|
background-position: right 0.5rem center;
|
|
background-size: 10px 10px;
|
|
}
|
|
}
|
|
|
|
/* Capability header mobile wrapping */
|
|
@media (max-width: 768px) {
|
|
.capability-header {
|
|
flex-wrap: wrap;
|
|
}
|
|
.cap-uri {
|
|
flex: 1 1 100%;
|
|
min-width: 0;
|
|
}
|
|
.cap-call-btn {
|
|
flex: 1 1 100%;
|
|
width: 100%;
|
|
justify-content: center;
|
|
margin-top: 0.5rem;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.cap-call-btn {
|
|
padding: 0.35rem 0.75rem;
|
|
}
|
|
}
|
|
|
|
.label-select {
|
|
background: rgba(0, 0, 0, 0.2);
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
color: #ffffff;
|
|
padding: 0.3rem 2rem 0.3rem 0.5rem;
|
|
border-radius: 6px;
|
|
font-size: 0.8rem;
|
|
transition: all 0.2s ease;
|
|
cursor: pointer;
|
|
min-width: 160px;
|
|
font-weight: 500;
|
|
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
|
|
appearance: none;
|
|
background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23ecf0f1" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M6 9l6 6 6-6"/></svg>');
|
|
background-repeat: no-repeat;
|
|
background-position: right 0.5rem center;
|
|
background-size: 12px 12px;
|
|
}
|
|
|
|
.label-select:hover {
|
|
background-color: rgba(0, 0, 0, 0.25);
|
|
border-color: rgba(255, 255, 255, 0.15);
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.label-select:focus {
|
|
outline: none;
|
|
border-color: #667eea;
|
|
box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
|
|
background-color: rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
.label-select option {
|
|
background: #1a202c;
|
|
color: #ffffff;
|
|
}
|
|
|
|
.label-select option:hover {
|
|
background: #2d3748;
|
|
}
|
|
|
|
.label-select option:checked {
|
|
background: #667eea;
|
|
color: #ffffff;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.label-select:invalid {
|
|
color: rgba(255, 255, 255, 0.8);
|
|
}
|
|
|
|
.label-select:valid {
|
|
color: #ffffff;
|
|
}
|
|
|
|
.selected-labels {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.35rem;
|
|
margin-left: 0.5rem;
|
|
max-width: 100%;
|
|
}
|
|
|
|
.label-chip.removable {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.35rem;
|
|
padding-right: 0.25rem;
|
|
background: rgba(139, 92, 246, 0.15);
|
|
border: 1px solid rgba(139, 92, 246, 0.35);
|
|
}
|
|
|
|
.label-chip .chip-remove {
|
|
appearance: none;
|
|
background: transparent;
|
|
border: none;
|
|
color: rgba(255, 255, 255, 0.85);
|
|
cursor: pointer;
|
|
font-size: 0.85rem;
|
|
line-height: 1;
|
|
padding: 0 0.25rem;
|
|
border-radius: 9999px;
|
|
transition: background 0.15s ease, transform 0.15s ease;
|
|
}
|
|
|
|
.label-chip .chip-remove:hover {
|
|
background: rgba(255, 255, 255, 0.12);
|
|
transform: scale(1.05);
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.by-label-option {
|
|
display: inline-flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
width: 100%;
|
|
flex-wrap: wrap;
|
|
}
|
|
.by-label-option .target-label {
|
|
white-space: nowrap;
|
|
}
|
|
.by-label-option .label-select {
|
|
flex: 0 1 55%;
|
|
min-width: 120px;
|
|
max-width: 60%;
|
|
}
|
|
#selected-labels-container.selected-labels {
|
|
flex: 1 1 100%;
|
|
min-width: 0;
|
|
margin-left: 0;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.label-select {
|
|
padding: 0.3rem 1.5rem 0.3rem 0.5rem;
|
|
background-position: right 0.4rem center;
|
|
background-size: 10px 10px;
|
|
}
|
|
}
|
|
|
|
.compact-upload-row,
|
|
.file-upload-area,
|
|
.file-input-wrapper {
|
|
max-width: 100%;
|
|
}
|
|
|
|
.label-select {
|
|
max-width: 100%;
|
|
}
|
|
|
|
/* Keep By Label on a single line for the label + select, but allow chips to wrap below */
|
|
@media (max-width: 768px) {
|
|
.by-label-option {
|
|
display: inline-flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
width: 100%;
|
|
flex-wrap: wrap;
|
|
}
|
|
.by-label-option .target-label {
|
|
white-space: nowrap;
|
|
}
|
|
.by-label-option .label-select {
|
|
flex: 0 1 55%;
|
|
min-width: 120px;
|
|
max-width: 60%;
|
|
}
|
|
#selected-labels-container.selected-labels {
|
|
flex: 1 1 100%;
|
|
min-width: 0;
|
|
margin-left: 0;
|
|
}
|
|
}
|
|
|
|
/* Burger menu */
|
|
.burger-btn {
|
|
display: none;
|
|
background: transparent;
|
|
border: 1px solid rgba(255, 255, 255, 0.15);
|
|
color: rgba(255, 255, 255, 0.9);
|
|
padding: 0.5rem;
|
|
border-radius: 10px;
|
|
cursor: pointer;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.burger-btn svg {
|
|
width: 18px;
|
|
height: 18px;
|
|
stroke: currentColor;
|
|
stroke-width: 2;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.main-navigation {
|
|
position: relative;
|
|
z-index: 1000;
|
|
}
|
|
.burger-btn {
|
|
display: inline-flex;
|
|
margin-right: 0.5rem;
|
|
}
|
|
.nav-left {
|
|
display: none;
|
|
}
|
|
.main-navigation.mobile-open .nav-left {
|
|
display: flex;
|
|
flex-direction: column;
|
|
position: absolute;
|
|
top: 100%;
|
|
left: 0;
|
|
right: 0;
|
|
background: linear-gradient(135deg, #1c2a38 0%, #283746 50%, #1a252f 100%);
|
|
border: 1px solid rgba(255, 255, 255, 0.12);
|
|
border-radius: 12px;
|
|
padding: 0.5rem;
|
|
gap: 0.25rem;
|
|
z-index: 1100;
|
|
}
|
|
.main-navigation.mobile-open .nav-left .nav-tab {
|
|
width: 100%;
|
|
text-align: left;
|
|
}
|
|
}
|
|
|
|
/* Topology View Styles */
|
|
#topology-view {
|
|
height: 100%;
|
|
padding: 0;
|
|
min-height: 100vh; /* Ensure full viewport height */
|
|
}
|
|
|
|
#topology-graph-container {
|
|
background: rgba(0, 0, 0, 0.2);
|
|
border-radius: 12px;
|
|
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
|
|
min-height: 100%;
|
|
height: 100vh; /* Use full viewport height */
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
overflow: hidden;
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
#topology-graph-container svg {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
#topology-graph-container .loading,
|
|
#topology-graph-container .error,
|
|
#topology-graph-container .no-data {
|
|
text-align: center;
|
|
color: rgba(255, 255, 255, 0.7);
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
#topology-graph-container .error {
|
|
color: #f87171;
|
|
}
|
|
|
|
#topology-graph-container .no-data {
|
|
color: rgba(255, 255, 255, 0.5);
|
|
}
|
|
|
|
/* Node and link styles for the graph */
|
|
.node circle {
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.node text {
|
|
pointer-events: none;
|
|
user-select: none;
|
|
}
|
|
|
|
.node:hover circle {
|
|
stroke-width: 3;
|
|
stroke: #60a5fa;
|
|
}
|
|
|
|
/* Legend styles */
|
|
.legend text {
|
|
pointer-events: none;
|
|
user-select: none;
|
|
}
|
|
|
|
.legend line {
|
|
pointer-events: none;
|
|
}
|
|
|
|
/* Graph container enhancements */
|
|
#members-graph-container {
|
|
position: relative;
|
|
}
|
|
|
|
#members-graph-container svg {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
/* Loading and error states */
|
|
.loading, .error, .no-data {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: 100%;
|
|
font-size: 1.1rem;
|
|
color: rgba(255, 255, 255, 0.7);
|
|
}
|
|
|
|
.loading div {
|
|
text-align: center;
|
|
}
|
|
|
|
.error div {
|
|
color: #f87171;
|
|
text-align: center;
|
|
}
|
|
|
|
.no-data div {
|
|
color: rgba(255, 255, 255, 0.5);
|
|
text-align: center;
|
|
} |