Loading files
d12e5a18fThis file is pinned to the selected release. Download the original to open it in your design tool.
/* ==========================================================================
OWL Controller (Networked) - OWL Grid & Cards
Clean cards with left accent bar for status
========================================================================== */
/* OWL Units Grid */
.owls-container {
display: flex;
gap: 1.25rem;
justify-content: center;
align-items: stretch;
flex-wrap: wrap;
max-width: 1100px;
}
.owl-box {
background: white;
border-radius: var(--radius-md);
padding: 1rem 1rem 0.75rem;
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
min-width: 210px;
max-width: 240px;
display: flex;
flex-direction: column;
gap: 0.65rem;
transition: all var(--transition-normal);
border-left: 4px solid #cbd5e0;
}
.owl-box.online {
border-left-color: var(--success);
}
.owl-box.offline {
border-left-color: var(--danger);
opacity: 0.65;
}
.owl-box-header {
display: flex;
justify-content: space-between;
align-items: center;
}
.owl-card-title h3 {
font-size: 0.95rem;
font-weight: 700;
color: var(--text-dark);
margin: 0;
}
/* OWL status badge */
.owl-status-badge {
display: inline-flex;
align-items: center;
gap: 0.3rem;
padding: 0.2rem 0.55rem;
border-radius: var(--radius-pill);
font-size: 0.65rem;
font-weight: 700;
letter-spacing: 0.5px;
}
.owl-status-badge.online {
background: #e6f7ed;
color: #1b7a3d;
}
.owl-status-badge.offline {
background: #fde8e8;
color: #b91c1c;
}
.owl-stats {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 0.4rem;
}
.owl-stat-item {
display: flex;
flex-direction: column;
padding: 0.4rem 0.5rem;
background: #f7f8fa;
border-radius: 6px;
}
.owl-stat-label {
font-size: 0.6rem;
color: #8795a5;
font-weight: 700;
letter-spacing: 0.5px;
margin-bottom: 0.15rem;
}
.owl-stat-value {
font-size: 0.9rem;
font-weight: 700;
color: var(--text-dark);
}
.owl-stat-value.good { color: #1b9e4b; }
.owl-stat-value.warning { color: #d4820a; }
.owl-stat-value.danger { color: #c0392b; }
.owl-actions {
display: flex;
gap: 0.4rem;
margin-top: auto;
}
/* OWL card buttons - consistent pill style */
.owl-btn {
flex: 1;
min-width: 0;
padding: 0.5rem 0.4rem;
border: none;
border-radius: 6px;
font-size: 0.65rem;
font-weight: 700;
cursor: pointer;
transition: all var(--transition-fast);
color: white;
letter-spacing: 0.5px;
}
.owl-btn:disabled {
opacity: 0.4;
cursor: not-allowed;
}
.owl-btn:active:not(:disabled) {
transform: scale(0.95);
filter: brightness(0.92);
}
.owl-btn.btn-video {
background: #2980b9;
}
.owl-btn.btn-frame {
background: #6c5ce7;
}
.owl-btn.btn-restart {
background: #e67e22;
}
/* Empty state */
.empty-state {
text-align: center;
padding: 2rem;
}
.empty-state-text {
font-size: 1.2rem;
font-weight: 700;
color: var(--text-dark);
margin-bottom: 0.5rem;
}
.empty-state-subtext {
font-size: 0.9rem;
color: var(--text-light);
}