107 lines
1.8 KiB
CSS
107 lines
1.8 KiB
CSS
/* Server Card Styling */
|
|
.server-card {
|
|
transition: transform 0.2s ease, box-shadow 0.2s ease;
|
|
border: 1px solid rgba(0, 0, 0, 0.125);
|
|
background: var(--color-surface);
|
|
color: var(--color-text);
|
|
}
|
|
|
|
.server-card:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
|
|
}
|
|
|
|
.server-card .card-header {
|
|
background-color: var(--color-bg);
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
|
|
padding: 0.75rem 1rem;
|
|
}
|
|
|
|
.server-card .card-body {
|
|
padding: 1rem;
|
|
}
|
|
|
|
/* Ensure all text in server-card uses light color */
|
|
.server-card,
|
|
.server-card * {
|
|
color: var(--color-text);
|
|
}
|
|
|
|
/* Allow Bootstrap badge colors to work */
|
|
.server-card .badge {
|
|
color: white;
|
|
}
|
|
|
|
/* Allow button colors to work */
|
|
.server-card .btn {
|
|
color: inherit;
|
|
}
|
|
|
|
/* Server Info Rows */
|
|
.server-info {
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.info-row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
padding: 0.4rem 0;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
|
|
}
|
|
|
|
.info-row:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.info-label {
|
|
color: var(--color-muted);
|
|
font-weight: 500;
|
|
}
|
|
|
|
.info-value {
|
|
word-break: break-all;
|
|
}
|
|
|
|
/* Current Metrics Section */
|
|
.current-metrics h6 {
|
|
font-size: 0.9rem;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.metric-bar-item {
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.metric-bar-item:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.progress {
|
|
background-color: rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
/* Action Buttons */
|
|
.action-buttons .btn {
|
|
font-size: 0.85rem;
|
|
padding: 0.4rem 0.6rem;
|
|
}
|
|
|
|
/* Responsive Adjustments */
|
|
@media (max-width: 768px) {
|
|
.action-buttons {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.action-buttons .btn {
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
/* Badge Styling */
|
|
.badge {
|
|
font-size: 0.75rem;
|
|
padding: 0.35em 0.65em;
|
|
}
|