3199 lines
67 KiB
CSS
3199 lines
67 KiB
CSS
/* ============================================================================
|
|
XIBO CMS MODERN THEME - OTS Signs
|
|
Dark Mode Override - Component Styling
|
|
============================================================================ */
|
|
|
|
/* Force dark mode */
|
|
:root {
|
|
--color-primary: #3b82f6;
|
|
--color-primary-dark: #1d4ed8;
|
|
--color-primary-light: #60a5fa;
|
|
--color-primary-lighter: #dbeafe;
|
|
--color-secondary: #7c3aed;
|
|
--color-success: #10b981;
|
|
--color-warning: #f59e0b;
|
|
--color-danger: #ef4444;
|
|
--color-info: #0ea5e9;
|
|
|
|
--color-background: #0f172a;
|
|
--color-surface: #1e293b;
|
|
--color-surface-elevated: #334155;
|
|
--color-border: #475569;
|
|
--color-border-light: #1e293b;
|
|
--color-text-primary: #ffffff;
|
|
--color-text-secondary: #f1f5f9;
|
|
--color-text-tertiary: #e2e8f0;
|
|
--color-text-inverse: #ffffff;
|
|
--color-on-primary: #ffffff;
|
|
|
|
color-scheme: dark;
|
|
}
|
|
|
|
html,
|
|
body {
|
|
background-color: var(--color-background);
|
|
color: var(--color-text-primary);
|
|
}
|
|
|
|
/* ============================================================================
|
|
SHELL LAYOUT - SIDEBAR + MAIN
|
|
============================================================================ */
|
|
|
|
.ots-shell {
|
|
display: flex;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
.ots-sidebar {
|
|
position: fixed;
|
|
left: 0;
|
|
top: 0;
|
|
width: 260px;
|
|
height: 100vh;
|
|
background-color: #08132a;
|
|
border-right: 1px solid rgba(255, 255, 255, 0.06);
|
|
padding: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
z-index: 1200;
|
|
}
|
|
|
|
.ots-main {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
margin-left: 260px;
|
|
}
|
|
|
|
.ots-main,
|
|
#page-wrapper {
|
|
position: relative;
|
|
}
|
|
|
|
.ots-content {
|
|
flex: 1;
|
|
padding: 32px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.ots-footer {
|
|
border-top: 1px solid var(--color-border);
|
|
padding: 16px 32px;
|
|
background-color: var(--color-surface-elevated);
|
|
text-align: center;
|
|
color: var(--color-text-primary);
|
|
}
|
|
|
|
/* Responsive sidebar */
|
|
@media (max-width: 768px) {
|
|
.ots-sidebar {
|
|
transform: translateX(-100%);
|
|
transition: transform var(--transition-base);
|
|
width: 280px;
|
|
}
|
|
.ots-sidebar.active {
|
|
transform: translateX(0);
|
|
box-shadow: 2px 0 8px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
.ots-main {
|
|
margin-left: 0;
|
|
}
|
|
|
|
.ots-content {
|
|
color: var(--color-text-primary);
|
|
}
|
|
}
|
|
|
|
/* ============================================================================
|
|
SIDEBAR STYLES
|
|
============================================================================ */
|
|
|
|
.sidebar-header {
|
|
padding: 18px 16px;
|
|
border-bottom: 1px solid var(--color-border);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.brand-link {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
color: var(--color-text-primary);
|
|
font-weight: 700;
|
|
font-size: 16px;
|
|
text-decoration: none;
|
|
flex: 1;
|
|
}
|
|
|
|
.brand-icon {
|
|
width: 32px;
|
|
height: 32px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 24px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.sidebar-content {
|
|
flex: 1;
|
|
padding: 12px 0;
|
|
overflow-y: auto;
|
|
min-height: 0;
|
|
}
|
|
|
|
.sidebar-nav {
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 12px 0 140px;
|
|
}
|
|
|
|
.sidebar-nav li {
|
|
display: block;
|
|
margin-top: 6px;
|
|
}
|
|
|
|
/* Compatibility: Xibo sidebar markup uses `sidebar-list`, `sidebar-main`, `sidebar-title`.
|
|
Map those into the modern `.nav-item/.nav-text/.nav-icon` style system so styles apply.
|
|
*/
|
|
.ots-sidebar li.sidebar-list > a,
|
|
.ots-sidebar li.sidebar-main > a,
|
|
.ots-sidebar li.sidebar-title > a {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 8px 12px;
|
|
color: #c8d5ee;
|
|
text-decoration: none;
|
|
transition: all var(--transition-fast);
|
|
position: relative;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
border-left: 2px solid transparent;
|
|
margin: 3px 10px;
|
|
border-radius: 12px;
|
|
min-height: 48px;
|
|
line-height: 1.25;
|
|
}
|
|
|
|
.ots-sidebar li.sidebar-list > a:hover {
|
|
color: #ffffff;
|
|
background-color: rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
.ots-sidebar li.sidebar-list.active > a,
|
|
.ots-sidebar li.sidebar-list > a.active,
|
|
.ots-sidebar li.sidebar-main.active > a,
|
|
.ots-sidebar li.sidebar-main > a.active {
|
|
color: #0b1221;
|
|
background-color: #ffffff;
|
|
border-left-color: transparent;
|
|
font-weight: 600;
|
|
box-shadow: 0 8px 18px rgba(15, 23, 42, 0.25);
|
|
}
|
|
|
|
.ots-sidebar .ots-nav-icon {
|
|
width: 28px;
|
|
height: 28px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-shrink: 0;
|
|
font-size: 16px;
|
|
color: currentColor;
|
|
margin-left: 0;
|
|
}
|
|
|
|
.ots-sidebar .ots-nav-text {
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
flex: 1;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.sidebar-group-toggle .ots-nav-icon,
|
|
.ots-sidebar-nav .ots-nav-icon {
|
|
justify-self: start;
|
|
}
|
|
|
|
.ots-sidebar li.sidebar-title > a {
|
|
display: block;
|
|
font-size: 10px;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
color: #8ea4c7;
|
|
letter-spacing: 0.12em;
|
|
padding: 12px 14px 4px;
|
|
margin: 8px 0 0;
|
|
min-height: auto;
|
|
line-height: 1;
|
|
}
|
|
|
|
.brand-logo {
|
|
width: 32px;
|
|
height: 32px;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.brand-text {
|
|
color: var(--color-text-primary);
|
|
font-size: 18px;
|
|
font-weight: 600;
|
|
letter-spacing: 0.02em;
|
|
}
|
|
|
|
.sidebar-header {
|
|
padding: 18px 16px;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.08);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
flex-shrink: 0;
|
|
height: 72px;
|
|
box-sizing: border-box;
|
|
position: sticky;
|
|
top: 0;
|
|
background: #08132a;
|
|
z-index: 1210;
|
|
}
|
|
|
|
.sidebar-collapse-btn {
|
|
width: 32px;
|
|
height: 32px;
|
|
border-radius: 8px;
|
|
border: 0;
|
|
background: rgba(255, 255, 255, 0.08);
|
|
color: #d7e2f8;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
cursor: pointer;
|
|
transition: all var(--transition-fast);
|
|
}
|
|
|
|
.sidebar-collapse-btn:hover {
|
|
background: rgba(255, 255, 255, 0.16);
|
|
color: #ffffff;
|
|
}
|
|
|
|
.ots-sidebar.collapsed {
|
|
width: 88px;
|
|
}
|
|
|
|
.ots-sidebar.collapsed .brand-text,
|
|
.ots-sidebar.collapsed .sidebar-group-toggle .ots-nav-text,
|
|
.ots-sidebar.collapsed .sidebar-list .ots-nav-text,
|
|
.ots-sidebar.collapsed .sidebar-submenu,
|
|
.ots-sidebar.collapsed .sidebar-group-caret,
|
|
.ots-sidebar.collapsed .user-details {
|
|
display: none !important;
|
|
}
|
|
|
|
.ots-sidebar.collapsed .sidebar-group-toggle,
|
|
.ots-sidebar.collapsed .sidebar-list > a {
|
|
justify-content: center;
|
|
padding: 10px;
|
|
}
|
|
|
|
/* Center icons when collapsed */
|
|
.ots-sidebar.collapsed .ots-nav-icon {
|
|
justify-self: center !important;
|
|
margin-left: 0 !important;
|
|
}
|
|
|
|
.ots-sidebar-collapsed #page-wrapper,
|
|
.ots-sidebar-collapsed .ots-main {
|
|
margin-left: 88px !important;
|
|
}
|
|
|
|
.ots-sidebar-nav {
|
|
padding: 12px 0 140px;
|
|
padding-top: 8px;
|
|
}
|
|
|
|
.sidebar-group {
|
|
margin-top: 6px;
|
|
}
|
|
|
|
.sidebar-group-toggle {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 10px 12px;
|
|
margin: 6px 10px;
|
|
border-radius: 12px;
|
|
color: #d7e2f8;
|
|
text-decoration: none;
|
|
background: rgba(255, 255, 255, 0.03);
|
|
transition: all var(--transition-fast);
|
|
}
|
|
|
|
.sidebar-group-toggle:hover {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
color: #ffffff;
|
|
}
|
|
|
|
.sidebar-group-caret {
|
|
margin-left: auto;
|
|
font-size: 12px;
|
|
opacity: 0.8;
|
|
}
|
|
|
|
.sidebar-submenu {
|
|
list-style: none;
|
|
margin: 4px 0 8px;
|
|
padding: 0 0 0 12px;
|
|
border-left: 1px solid rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
.sidebar-group.is-open .sidebar-group-caret {
|
|
transform: rotate(180deg);
|
|
}
|
|
|
|
.sidebar-submenu .sidebar-list > a {
|
|
margin: 4px 10px 4px 18px;
|
|
background: rgba(255, 255, 255, 0.04);
|
|
}
|
|
|
|
.sidebar-submenu .sidebar-list > a:hover {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.sidebar-submenu .sidebar-list.active > a,
|
|
.sidebar-submenu .sidebar-list > a.active {
|
|
color: #0b1221;
|
|
background-color: #ffffff;
|
|
box-shadow: 0 8px 18px rgba(15, 23, 42, 0.25);
|
|
}
|
|
|
|
.sidebar-footer {
|
|
border-top: 1px solid rgba(255, 255, 255, 0.08);
|
|
padding: 16px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
background-color: rgba(15, 23, 42, 0.6);
|
|
}
|
|
|
|
.sidebar-theme-toggle {
|
|
width: 36px;
|
|
height: 36px;
|
|
border-radius: 10px;
|
|
border: 0;
|
|
background: rgba(255, 255, 255, 0.08);
|
|
color: #ffffff;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
cursor: pointer;
|
|
transition: all var(--transition-fast);
|
|
}
|
|
|
|
.sidebar-theme-toggle:hover {
|
|
background: rgba(255, 255, 255, 0.16);
|
|
}
|
|
|
|
.user-role {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
font-size: 12px;
|
|
color: var(--color-text-secondary);
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.nav-section-divider {
|
|
padding: 12px 16px 8px;
|
|
margin-top: 8px;
|
|
border-top: 1px solid var(--color-border);
|
|
}
|
|
|
|
.nav-label {
|
|
display: block;
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
color: var(--color-text-tertiary);
|
|
letter-spacing: 0.08em;
|
|
padding: 12px 16px 8px;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.nav-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 14px;
|
|
padding: 12px 16px;
|
|
color: var(--color-text-primary);
|
|
text-decoration: none;
|
|
transition: all var(--transition-fast);
|
|
position: relative;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
border-left: 2px solid transparent;
|
|
margin: 0 4px;
|
|
border-radius: 6px;
|
|
}
|
|
|
|
.nav-item:hover {
|
|
color: var(--color-text-primary);
|
|
background-color: rgba(59, 130, 246, 0.1);
|
|
border-left-color: transparent;
|
|
}
|
|
|
|
.nav-item.active {
|
|
color: var(--color-primary);
|
|
background-color: rgba(59, 130, 246, 0.12);
|
|
border-left-color: var(--color-primary);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.nav-item.active::after {
|
|
content: '';
|
|
position: absolute;
|
|
right: 8px;
|
|
width: 8px;
|
|
height: 8px;
|
|
background-color: var(--color-primary);
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.nav-icon {
|
|
width: 24px;
|
|
height: 24px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-shrink: 0;
|
|
font-size: 18px;
|
|
}
|
|
|
|
.nav-text {
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
flex: 1;
|
|
}
|
|
|
|
.sidebar-footer {
|
|
border-top: 1px solid var(--color-border);
|
|
padding: 16px;
|
|
background-color: rgba(59, 130, 246, 0.05);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.sidebar-user {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
.user-avatar-lg {
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 50%;
|
|
background: linear-gradient(135deg, #3b82f6, #7c3aed);
|
|
color: white;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-weight: 600;
|
|
font-size: 16px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.user-details {
|
|
min-width: 0;
|
|
}
|
|
|
|
.user-name {
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
color: var(--color-text-primary);
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.user-role {
|
|
color: var(--color-text-secondary);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
/* ============================================================================
|
|
TOPBAR STYLES - DEEP ANALYSIS & MODERN OVERHAUL
|
|
============================================================================
|
|
Design decisions:
|
|
- 64px total height (44px content + 10px top/bottom padding) = consistent baseline
|
|
- All interactive elements are 40px (buttons, search height)
|
|
- Icon sizing: 20px container, 16px icon (scale-friendly)
|
|
- Consistent 16px gap spacing throughout
|
|
- Remove conflicting .navbar-nav rules
|
|
- Proper z-index layering for dropdowns
|
|
============================================================================ */
|
|
|
|
.ots-topbar {
|
|
background-color: var(--color-surface-elevated);
|
|
padding: 10px 32px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
height: 64px;
|
|
z-index: 1000;
|
|
}
|
|
|
|
/* Topbar nav container - override .navbar-nav defaults */
|
|
.ots-topbar.navbar-nav {
|
|
background: transparent !important;
|
|
border: 0 !important;
|
|
padding: 0 !important;
|
|
margin: 0 !important;
|
|
gap: 4px;
|
|
height: 100%;
|
|
align-items: center;
|
|
}
|
|
|
|
.ots-topbar .nav-item {
|
|
display: flex;
|
|
align-items: center;
|
|
height: 100%;
|
|
margin: 0 !important;
|
|
padding: 0 !important;
|
|
}
|
|
|
|
.ots-topbar .nav-link {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
height: 100%;
|
|
gap: 6px;
|
|
padding: 0 12px;
|
|
border-radius: 6px;
|
|
color: var(--color-text-secondary);
|
|
font-weight: 500;
|
|
font-size: 14px;
|
|
white-space: nowrap;
|
|
transition: all var(--transition-fast);
|
|
position: relative;
|
|
border: 0 !important;
|
|
background: transparent !important;
|
|
box-shadow: none !important;
|
|
}
|
|
|
|
.ots-topbar .nav-link:hover {
|
|
background-color: rgba(59, 130, 246, 0.06);
|
|
color: var(--color-primary);
|
|
}
|
|
|
|
.ots-topbar .nav-item.open .nav-link,
|
|
.ots-topbar .nav-item.active .nav-link {
|
|
background-color: rgba(59, 130, 246, 0.12);
|
|
color: var(--color-primary);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.ots-topbar .dropdown-toggle::after {
|
|
content: '';
|
|
display: inline-block;
|
|
margin-left: 6px;
|
|
width: 0;
|
|
height: 0;
|
|
border-left: 4px solid transparent;
|
|
border-right: 4px solid transparent;
|
|
border-top: 4px solid currentColor;
|
|
opacity: 0.6;
|
|
transition: transform var(--transition-fast);
|
|
}
|
|
|
|
.ots-topbar .nav-item.open .dropdown-toggle::after {
|
|
transform: rotate(180deg);
|
|
}
|
|
|
|
.ots-topbar .dropdown-menu {
|
|
border-radius: 8px;
|
|
padding: 6px 0;
|
|
margin-top: 4px;
|
|
box-shadow: none;
|
|
border: 0 !important;
|
|
background-color: var(--color-surface);
|
|
min-width: 180px;
|
|
z-index: 1100;
|
|
}
|
|
|
|
.ots-topbar .dropdown-item,
|
|
.ots-topbar .dropdown-menu a {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
border-radius: 4px;
|
|
padding: 8px 14px;
|
|
color: var(--color-text-secondary);
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
margin: 2px 6px;
|
|
transition: all var(--transition-fast);
|
|
}
|
|
|
|
.ots-topbar .dropdown-item:hover,
|
|
.ots-topbar .dropdown-menu a:hover {
|
|
background-color: rgba(59, 130, 246, 0.1);
|
|
color: var(--color-primary);
|
|
}
|
|
|
|
/* Icon sizing for topbar and nav */
|
|
.ots-topbar-icon {
|
|
width: 20px;
|
|
height: 20px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 14px;
|
|
opacity: 0.9;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.ots-topbar .dropdown-menu .ots-topbar-icon {
|
|
font-size: 13px;
|
|
}
|
|
|
|
/* Left section: toggle, title, nav */
|
|
.topbar-left {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 16px;
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.topbar-toggle {
|
|
display: none;
|
|
width: 40px;
|
|
height: 40px;
|
|
padding: 0;
|
|
border: none;
|
|
background-color: transparent;
|
|
color: var(--color-text-primary);
|
|
cursor: pointer;
|
|
border-radius: 6px;
|
|
transition: all var(--transition-fast);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.topbar-toggle:hover {
|
|
background-color: rgba(59, 130, 246, 0.1);
|
|
}
|
|
|
|
.topbar-toggle:active {
|
|
background-color: rgba(59, 130, 246, 0.15);
|
|
}
|
|
|
|
.topbar-toggle .icon {
|
|
width: 20px;
|
|
height: 20px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
/* Title section with proper vertical centering */
|
|
.topbar-title {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
gap: 0;
|
|
min-width: 0;
|
|
}
|
|
|
|
.topbar-title h1 {
|
|
margin: 0;
|
|
padding: 0;
|
|
font-size: 18px;
|
|
font-weight: 700;
|
|
color: var(--color-text-primary);
|
|
line-height: 1.2;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.topbar-title p {
|
|
margin: 0;
|
|
padding: 0;
|
|
font-size: 12px;
|
|
color: var(--color-text-tertiary);
|
|
line-height: 1.2;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
/* Right section: search, actions */
|
|
.topbar-right {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
/* Search box - 40px height to match button grid */
|
|
.topbar-search {
|
|
position: relative;
|
|
height: 40px;
|
|
width: 280px;
|
|
display: flex;
|
|
align-items: center;
|
|
background-color: var(--color-surface);
|
|
border: 1px solid var(--color-border);
|
|
border-radius: 6px;
|
|
padding: 0 12px;
|
|
gap: 8px;
|
|
transition: all var(--transition-fast);
|
|
}
|
|
|
|
.topbar-search:focus-within {
|
|
border-color: var(--color-primary);
|
|
box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
|
|
}
|
|
|
|
.topbar-search .search-icon {
|
|
color: var(--color-text-tertiary);
|
|
flex-shrink: 0;
|
|
font-size: 16px;
|
|
width: 16px;
|
|
height: 16px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.topbar-search .search-input {
|
|
flex: 1;
|
|
background: none;
|
|
border: none;
|
|
color: var(--color-text-primary);
|
|
font-size: 14px;
|
|
outline: none;
|
|
padding: 0;
|
|
height: 100%;
|
|
min-width: 120px;
|
|
}
|
|
|
|
.topbar-search .search-input::placeholder {
|
|
color: var(--color-text-tertiary);
|
|
}
|
|
|
|
/* Action buttons container */
|
|
.topbar-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
}
|
|
|
|
/* Consistent 40px button sizing */
|
|
.topbar-btn {
|
|
width: 40px;
|
|
height: 40px;
|
|
min-width: 40px;
|
|
min-height: 40px;
|
|
padding: 0;
|
|
border: none;
|
|
background-color: transparent;
|
|
color: var(--color-text-secondary);
|
|
cursor: pointer;
|
|
border-radius: 6px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: all var(--transition-fast);
|
|
position: relative;
|
|
}
|
|
|
|
.topbar-btn:hover {
|
|
background-color: rgba(59, 130, 246, 0.08);
|
|
color: var(--color-primary);
|
|
}
|
|
|
|
.topbar-btn:active {
|
|
background-color: rgba(59, 130, 246, 0.12);
|
|
}
|
|
|
|
.topbar-btn .icon {
|
|
width: 20px;
|
|
height: 20px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.user-btn {
|
|
padding: 2px;
|
|
}
|
|
|
|
.avatar {
|
|
width: 36px;
|
|
height: 36px;
|
|
border-radius: 50%;
|
|
background: linear-gradient(135deg, #3b82f6, #7c3aed);
|
|
color: white;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-weight: 600;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.avatar-sm {
|
|
width: 32px;
|
|
height: 32px;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.dropdown {
|
|
position: relative;
|
|
}
|
|
|
|
.dropdown-menu,
|
|
.dropdown-right {
|
|
position: absolute;
|
|
top: 100%;
|
|
right: 0;
|
|
margin-top: 8px;
|
|
background-color: var(--color-surface-elevated);
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
border-radius: 8px;
|
|
box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
|
|
list-style: none;
|
|
padding: 8px 0;
|
|
min-width: 180px;
|
|
display: none;
|
|
z-index: 1001;
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* Make DataTables button collections compatible with OTS dropdown styling */
|
|
.dt-buttons {
|
|
position: relative;
|
|
display: inline-block;
|
|
}
|
|
|
|
.dt-button-collection {
|
|
position: absolute;
|
|
top: 100%;
|
|
right: 0;
|
|
margin-top: 6px;
|
|
display: none;
|
|
z-index: 1002;
|
|
min-width: 160px;
|
|
background-color: var(--color-surface-elevated);
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
border-radius: 8px;
|
|
box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
|
|
overflow: hidden;
|
|
padding: 6px 0;
|
|
}
|
|
|
|
.dt-buttons.active .dt-button-collection,
|
|
.dt-button-collection.active,
|
|
.dt-button-collection.show {
|
|
display: block;
|
|
animation: slideDown 150ms ease-out;
|
|
}
|
|
|
|
/* Ensure collection items are visible and styled */
|
|
.dt-button-collection .dt-button,
|
|
.dt-button-collection button,
|
|
.dt-button-collection a {
|
|
display: block;
|
|
width: 100%;
|
|
padding: 6px 12px;
|
|
color: var(--color-text-primary);
|
|
background: transparent;
|
|
text-decoration: none;
|
|
font-size: 13px;
|
|
text-align: left;
|
|
border: none;
|
|
}
|
|
|
|
.dt-button-collection .dt-button:hover,
|
|
.dt-button-collection a:hover,
|
|
.dt-button-collection button:hover {
|
|
background-color: rgba(59, 130, 246, 0.06);
|
|
color: var(--color-primary);
|
|
}
|
|
|
|
.dt-button-collection input[type="checkbox"] {
|
|
margin-right: 8px;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.dt-button-collection .dt-button:focus,
|
|
.dt-button-collection a:focus,
|
|
.dt-button-collection button:focus {
|
|
outline: none;
|
|
box-shadow: none;
|
|
}
|
|
|
|
/* DataTables sometimes nests a `div.dropdown-menu` inside the collection.
|
|
Ensure that inner dropdown-menu is visible when the collection is shown. */
|
|
.dt-button-collection .dropdown-menu {
|
|
display: block !important;
|
|
position: static !important;
|
|
background: transparent !important;
|
|
border: none !important;
|
|
box-shadow: none !important;
|
|
padding: 0 !important;
|
|
min-width: 160px !important;
|
|
}
|
|
|
|
.dt-button-collection .dropdown-menu .dropdown-item,
|
|
.dt-button-collection .dropdown-menu a,
|
|
.dt-button-collection .dropdown-menu .dt-button {
|
|
display: block !important;
|
|
padding: 6px 12px !important;
|
|
color: var(--color-text-primary) !important;
|
|
text-decoration: none !important;
|
|
background: transparent !important;
|
|
text-align: left !important;
|
|
}
|
|
|
|
.dt-button-collection .dropdown-menu .dropdown-item:hover,
|
|
.dt-button-collection .dropdown-menu a:hover,
|
|
.dt-button-collection .dropdown-menu .dt-button:hover {
|
|
background-color: rgba(59, 130, 246, 0.06) !important;
|
|
color: var(--color-primary) !important;
|
|
}
|
|
|
|
.dropdown.active .dropdown-menu,
|
|
.dropdown:focus-within .dropdown-menu {
|
|
display: block;
|
|
animation: slideDown 150ms ease-out;
|
|
}
|
|
|
|
@keyframes slideDown {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(-8px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
.dropdown-menu li {
|
|
display: block;
|
|
}
|
|
|
|
/* OTS theme badge in topbar (authed-theme-topbar.twig) */
|
|
.ots-theme-badge .nav-link {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
padding: 6px 10px;
|
|
border-radius: 999px;
|
|
background: rgba(59, 130, 246, 0.12);
|
|
color: var(--color-text-primary);
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
letter-spacing: 0.04em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.dropdown-menu li a {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 10px 16px;
|
|
color: var(--color-text-primary);
|
|
text-decoration: none;
|
|
font-size: 14px;
|
|
transition: all var(--transition-fast);
|
|
font-weight: 500;
|
|
}
|
|
|
|
.dropdown-menu li a:hover {
|
|
background-color: rgba(59, 130, 246, 0.1);
|
|
color: var(--color-primary);
|
|
}
|
|
|
|
.dropdown-menu li a:active {
|
|
background-color: rgba(59, 130, 246, 0.15);
|
|
}
|
|
|
|
/* ============================================================================
|
|
DASHBOARD PAGE
|
|
============================================================================ */
|
|
|
|
.dashboard-card {
|
|
background: linear-gradient(180deg, rgba(30, 41, 59, 0.92), rgba(15, 23, 42, 0.92));
|
|
border: 1px solid rgba(148, 163, 184, 0.18);
|
|
border-radius: 16px;
|
|
box-shadow: 0 18px 40px rgba(8, 15, 30, 0.35);
|
|
backdrop-filter: blur(6px);
|
|
transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.dashboard-card:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 22px 50px rgba(8, 15, 30, 0.45);
|
|
border-color: rgba(59, 130, 246, 0.45);
|
|
}
|
|
|
|
.dashboard-card .panel-header,
|
|
.dashboard-card .widget-title {
|
|
background: linear-gradient(90deg, rgba(59, 130, 246, 0.16), rgba(99, 102, 241, 0.12));
|
|
border-bottom: 1px solid rgba(148, 163, 184, 0.2);
|
|
padding: 18px 20px;
|
|
border-radius: 16px 16px 0 0;
|
|
}
|
|
|
|
.dashboard-card .panel-header h3,
|
|
.dashboard-card .widget-title h3,
|
|
.dashboard-card .panel-header h4,
|
|
.dashboard-card .widget-title h4 {
|
|
color: var(--color-text-primary);
|
|
font-weight: 700;
|
|
}
|
|
|
|
.dashboard-card .panel-body,
|
|
.dashboard-card .widget-body {
|
|
padding: 20px;
|
|
min-width: 0;
|
|
width: 100%;
|
|
}
|
|
|
|
/* Ensure XiboData expands in grid */
|
|
.XiboData {
|
|
width: 100%;
|
|
min-width: 0;
|
|
flex: 1;
|
|
}
|
|
|
|
.kpi-card--modern {
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.kpi-card.dashboard-card {
|
|
border-radius: 18px;
|
|
padding: 22px;
|
|
}
|
|
|
|
.kpi-card--modern::after {
|
|
content: '';
|
|
position: absolute;
|
|
inset: 0;
|
|
background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.18), transparent 55%);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.kpi-card--modern .kpi-number {
|
|
font-size: 36px;
|
|
letter-spacing: -0.02em;
|
|
}
|
|
|
|
.kpi-card--modern .kpi-icon-box {
|
|
background: linear-gradient(135deg, rgba(59, 130, 246, 0.28), rgba(99, 102, 241, 0.2));
|
|
color: #e2e8f0;
|
|
}
|
|
|
|
.action-card--modern {
|
|
border-radius: 16px;
|
|
background: linear-gradient(180deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.88));
|
|
border: 1px solid rgba(148, 163, 184, 0.2);
|
|
box-shadow: 0 14px 30px rgba(8, 15, 30, 0.35);
|
|
}
|
|
|
|
.action-card--modern:hover {
|
|
transform: translateY(-4px);
|
|
border-color: rgba(59, 130, 246, 0.45);
|
|
box-shadow: 0 20px 36px rgba(8, 15, 30, 0.45);
|
|
}
|
|
|
|
/* OTS dashboard message (theme-dashboard-message.twig) */
|
|
.ots-dashboard-message {
|
|
margin: 16px 0 24px;
|
|
padding: 12px 16px;
|
|
border-radius: 10px;
|
|
background: rgba(59, 130, 246, 0.12);
|
|
border: 1px solid rgba(59, 130, 246, 0.35);
|
|
color: var(--color-text-primary);
|
|
}
|
|
|
|
.ots-dashboard-message__title {
|
|
font-weight: 700;
|
|
letter-spacing: 0.02em;
|
|
text-transform: uppercase;
|
|
font-size: 12px;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.ots-dashboard-message__body {
|
|
font-size: 13px;
|
|
color: var(--color-text-secondary);
|
|
}
|
|
|
|
.dashboard-page {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 32px;
|
|
}
|
|
|
|
.page-header {
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.page-header h1 {
|
|
margin: 0 0 8px;
|
|
font-size: 32px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.page-header .text-muted {
|
|
margin: 0;
|
|
font-size: 16px;
|
|
color: var(--color-text-secondary);
|
|
}
|
|
|
|
/* KPI Section */
|
|
.kpi-section {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
|
|
gap: 20px;
|
|
}
|
|
|
|
.kpi-card {
|
|
background-color: var(--color-surface);
|
|
border: 1px solid var(--color-border);
|
|
border-radius: 8px;
|
|
padding: 20px;
|
|
transition: all var(--transition-base);
|
|
}
|
|
|
|
.kpi-card:hover {
|
|
border-color: var(--color-primary);
|
|
box-shadow: 0 0 0 1px var(--color-primary);
|
|
}
|
|
|
|
.kpi-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: flex-start;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.kpi-label {
|
|
margin: 0;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
color: var(--color-text-secondary);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
}
|
|
|
|
.kpi-icon-box {
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 6px;
|
|
background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(124, 58, 237, 0.2));
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: var(--color-primary);
|
|
}
|
|
|
|
.kpi-body {
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.kpi-number {
|
|
font-size: 32px;
|
|
font-weight: 700;
|
|
color: var(--color-text-primary);
|
|
line-height: 1;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.kpi-meta {
|
|
font-size: 13px;
|
|
color: var(--color-text-secondary);
|
|
}
|
|
|
|
.kpi-footer {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding-top: 12px;
|
|
border-top: 1px solid var(--color-border);
|
|
}
|
|
|
|
/* Badges */
|
|
.badge {
|
|
display: inline-block;
|
|
padding: 4px 10px;
|
|
border-radius: 4px;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
}
|
|
|
|
.badge-success {
|
|
background-color: rgba(16, 185, 129, 0.2);
|
|
color: #a7f3d0;
|
|
}
|
|
|
|
.badge-danger {
|
|
background-color: rgba(239, 68, 68, 0.2);
|
|
color: #fca5a5;
|
|
}
|
|
|
|
.badge-info {
|
|
background-color: rgba(14, 165, 233, 0.2);
|
|
color: #7dd3fc;
|
|
}
|
|
|
|
.badge-secondary {
|
|
background-color: rgba(124, 58, 237, 0.2);
|
|
color: #d8b4fe;
|
|
}
|
|
|
|
/* Dashboard Panels */
|
|
.dashboard-panels {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 24px;
|
|
}
|
|
|
|
/* Dashboard chart cards (bandwidth/library) */
|
|
.dashboard-chart-card {
|
|
background: linear-gradient(180deg, rgba(59, 130, 246, 0.06), rgba(59, 130, 246, 0.02));
|
|
border: 1px solid rgba(59, 130, 246, 0.18);
|
|
box-shadow: 0 12px 26px rgba(8, 15, 30, 0.35);
|
|
display: flex !important;
|
|
flex-direction: column !important;
|
|
min-height: 380px;
|
|
height: 380px;
|
|
align-items: stretch !important;
|
|
overflow: visible !important;
|
|
}
|
|
|
|
.dashboard-chart-card > * {
|
|
width: 100% !important;
|
|
float: none !important;
|
|
clear: both !important;
|
|
}
|
|
|
|
.dashboard-chart-header {
|
|
display: flex !important;
|
|
flex-direction: column !important;
|
|
gap: 10px !important;
|
|
align-items: flex-start !important;
|
|
padding: 12px 16px !important;
|
|
box-sizing: border-box !important;
|
|
width: 100% !important;
|
|
background: transparent !important;
|
|
border: none !important;
|
|
float: none !important;
|
|
clear: both !important;
|
|
position: static !important;
|
|
inset: auto !important;
|
|
overflow: visible !important;
|
|
height: auto !important;
|
|
max-width: none !important;
|
|
flex: 0 0 auto !important;
|
|
}
|
|
|
|
.panel .dashboard-chart-header {
|
|
padding: 12px 20px !important;
|
|
}
|
|
|
|
.dashboard-chart-info {
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
gap: 10px !important;
|
|
flex: 0 0 auto !important;
|
|
min-width: 0 !important;
|
|
}
|
|
|
|
.dashboard-chart-icon {
|
|
width: 32px !important;
|
|
height: 32px !important;
|
|
border-radius: 10px !important;
|
|
background: rgba(59, 130, 246, 0.18) !important;
|
|
color: var(--color-primary-light) !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
justify-content: center !important;
|
|
font-size: 16px !important;
|
|
flex-shrink: 0 !important;
|
|
border: none !important;
|
|
padding: 0 !important;
|
|
margin: 0 !important;
|
|
}
|
|
|
|
.dashboard-chart-meta {
|
|
display: flex !important;
|
|
flex-direction: column !important;
|
|
gap: 2px !important;
|
|
flex-shrink: 0 !important;
|
|
}
|
|
|
|
.dashboard-chart-heading {
|
|
margin: 0;
|
|
font-size: 15px;
|
|
font-weight: 700;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.dashboard-chart-subtitle {
|
|
margin: 0;
|
|
font-size: 11px;
|
|
color: var(--color-text-secondary);
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.dashboard-chart-actions {
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
gap: 12px !important;
|
|
width: 100% !important;
|
|
flex-shrink: 0 !important;
|
|
padding: 0 !important;
|
|
border: none !important;
|
|
}
|
|
|
|
.dashboard-chart-toggle {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
padding: 4px;
|
|
border-radius: 999px;
|
|
background: rgba(15, 23, 42, 0.45);
|
|
}
|
|
|
|
.dashboard-chart-toggle-button {
|
|
border: none;
|
|
background: transparent;
|
|
color: var(--color-text-secondary);
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
width: 40px;
|
|
height: 34px;
|
|
padding: 0;
|
|
border-radius: 999px;
|
|
cursor: pointer;
|
|
transition: all 150ms ease;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.dashboard-chart-toggle-button:hover {
|
|
color: var(--color-text-primary);
|
|
}
|
|
|
|
.dashboard-chart-toggle-button.is-active {
|
|
background: rgba(59, 130, 246, 0.22);
|
|
color: var(--color-text-primary);
|
|
}
|
|
|
|
.dashboard-chart-toggle-button i {
|
|
font-size: 16px;
|
|
line-height: 1;
|
|
display: inline-block;
|
|
}
|
|
|
|
.dashboard-chart-body {
|
|
padding: 0 20px 20px;
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
float: none;
|
|
min-height: 0;
|
|
}
|
|
|
|
.dashboard-chart-canvas {
|
|
background: rgba(15, 23, 42, 0.45);
|
|
border: 1px solid rgba(255, 255, 255, 0.05);
|
|
border-radius: 12px;
|
|
padding: 12px;
|
|
height: 200px;
|
|
width: 100%;
|
|
position: relative;
|
|
overflow: hidden;
|
|
flex: 1;
|
|
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.dashboard-chart-canvas canvas {
|
|
display: block;
|
|
width: 100% !important;
|
|
height: 100% !important;
|
|
max-width: 100% !important;
|
|
max-height: 100% !important;
|
|
margin: 0 !important;
|
|
}
|
|
|
|
.dashboard-chart-card .panel-body canvas,
|
|
.dashboard-chart-card .widget-body canvas {
|
|
min-height: 0 !important;
|
|
}
|
|
|
|
/* Enhanced chart container styling */
|
|
.dashboard-chart-card {
|
|
transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1) !important;
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
|
|
}
|
|
|
|
.dashboard-chart-card:hover {
|
|
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25) !important;
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
/* Chart action improvements */
|
|
.dashboard-chart-actions {
|
|
gap: 16px !important;
|
|
}
|
|
|
|
.dashboard-chart-link {
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
color: var(--color-primary-light);
|
|
text-decoration: none;
|
|
white-space: nowrap;
|
|
transition: all 150ms ease;
|
|
padding: 4px 8px;
|
|
border-radius: 6px;
|
|
display: inline-block;
|
|
}
|
|
|
|
.dashboard-chart-link:hover {
|
|
color: var(--color-primary);
|
|
background: rgba(59, 130, 246, 0.1);
|
|
}
|
|
|
|
/* Modern toggle improvements */
|
|
.dashboard-chart-toggle {
|
|
background: rgba(15, 23, 42, 0.6);
|
|
border: 1px solid rgba(59, 130, 246, 0.2);
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.dashboard-chart-toggle-button {
|
|
transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
border: 1px solid transparent;
|
|
}
|
|
|
|
.dashboard-chart-toggle-button:hover {
|
|
background: rgba(59, 130, 246, 0.12);
|
|
border-color: rgba(59, 130, 246, 0.2);
|
|
}
|
|
|
|
.dashboard-chart-toggle-button.is-active {
|
|
background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(59, 130, 246, 0.2));
|
|
border-color: rgba(59, 130, 246, 0.3);
|
|
box-shadow: 0 0 12px rgba(59, 130, 246, 0.2);
|
|
}
|
|
|
|
.dashboard-chart-toggle-button i {
|
|
transition: transform 200ms ease;
|
|
}
|
|
|
|
.dashboard-chart-toggle-button:hover i {
|
|
transform: scale(1.15);
|
|
}
|
|
|
|
/* Responsive chart cards */
|
|
@media (max-width: 1200px) {
|
|
.dashboard-chart-canvas {
|
|
height: 180px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.dashboard-chart-card {
|
|
max-height: none;
|
|
}
|
|
|
|
.dashboard-chart-header {
|
|
flex-direction: row !important;
|
|
justify-content: space-between !important;
|
|
align-items: center !important;
|
|
gap: 12px !important;
|
|
}
|
|
|
|
.dashboard-chart-info {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.dashboard-chart-actions {
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.dashboard-chart-canvas {
|
|
height: 200px;
|
|
}
|
|
}
|
|
|
|
.panel {
|
|
background-color: var(--color-surface);
|
|
border: 1px solid var(--color-border);
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
/* Force Xibo panels/cards to dark theme (use higher specificity to override core styles) */
|
|
body .panel,
|
|
body .panel.panel-default,
|
|
.panel.panel-white,
|
|
.panel.card,
|
|
.panel.box,
|
|
.widget {
|
|
background-color: var(--color-surface) !important;
|
|
color: var(--color-text-primary) !important;
|
|
border: 1px solid var(--color-border) !important;
|
|
}
|
|
|
|
body .panel .panel-body,
|
|
body .panel .panel-footer,
|
|
body .panel .panel-heading,
|
|
.panel .panel-header {
|
|
background-color: transparent !important;
|
|
color: var(--color-text-primary) !important;
|
|
border-color: var(--color-border) !important;
|
|
}
|
|
|
|
body .panel .panel-heading,
|
|
.panel .panel-header {
|
|
background-color: var(--color-surface-elevated) !important;
|
|
border-bottom: 1px solid var(--color-border) !important;
|
|
}
|
|
|
|
/* Tables inside panels should inherit dark background and readable text */
|
|
.panel table,
|
|
.panel table thead,
|
|
.panel table tbody,
|
|
.panel table tr,
|
|
.panel table td,
|
|
.panel table th,
|
|
.panel .dataTables_wrapper {
|
|
background-color: transparent !important;
|
|
color: var(--color-text-primary) !important;
|
|
}
|
|
|
|
/* Card-specific fallbacks */
|
|
.card,
|
|
.card .card-body {
|
|
background-color: var(--color-surface) !important;
|
|
color: var(--color-text-primary) !important;
|
|
border: 1px solid var(--color-border) !important;
|
|
}
|
|
|
|
.panel-full {
|
|
grid-column: 1 / -1;
|
|
}
|
|
|
|
.panel-header {
|
|
padding: 20px;
|
|
border-bottom: 1px solid var(--color-border);
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.panel-header h3 {
|
|
margin: 0;
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
color: var(--color-text-primary);
|
|
}
|
|
|
|
.link-secondary {
|
|
color: var(--color-primary);
|
|
text-decoration: none;
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
transition: color var(--transition-fast);
|
|
}
|
|
|
|
.link-secondary:hover {
|
|
color: var(--color-primary-light);
|
|
}
|
|
|
|
.panel-body {
|
|
padding: 20px;
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 0;
|
|
}
|
|
|
|
.empty-state-compact {
|
|
text-align: center;
|
|
padding: 20px 0;
|
|
}
|
|
|
|
.empty-state-compact p {
|
|
margin: 0 0 16px;
|
|
color: var(--color-text-secondary);
|
|
}
|
|
|
|
/* Quick Actions */
|
|
.quick-actions-grid {
|
|
margin-top: 32px;
|
|
}
|
|
|
|
.section-title {
|
|
margin: 0 0 16px;
|
|
font-size: 18px;
|
|
font-weight: 600;
|
|
color: var(--color-text-primary);
|
|
}
|
|
|
|
.action-cards {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
|
gap: 16px;
|
|
}
|
|
|
|
.action-card {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 12px;
|
|
padding: 24px;
|
|
background-color: var(--color-surface);
|
|
border: 1px solid var(--color-border);
|
|
border-radius: 8px;
|
|
text-decoration: none;
|
|
color: var(--color-text-primary);
|
|
transition: all var(--transition-base);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.action-card:hover {
|
|
border-color: var(--color-primary);
|
|
background-color: rgba(59, 130, 246, 0.05);
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
|
|
}
|
|
|
|
.action-icon {
|
|
width: 40px;
|
|
height: 40px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: var(--color-primary);
|
|
}
|
|
|
|
.action-label {
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
text-align: center;
|
|
}
|
|
|
|
/* ============================================================================
|
|
TWO-COLUMN LAYOUT (Displays, Media)
|
|
============================================================================ */
|
|
|
|
.ots-displays-page .page-header {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.ots-displays-card {
|
|
padding: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-width: 0;
|
|
}
|
|
|
|
.ots-displays-body {
|
|
flex: 1;
|
|
min-width: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.ots-displays-body .XiboGrid {
|
|
flex: 1;
|
|
min-width: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.ots-displays-title {
|
|
font-size: 18px;
|
|
font-weight: 700;
|
|
letter-spacing: 0.02em;
|
|
}
|
|
|
|
.ots-filter-card {
|
|
background: linear-gradient(180deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.92));
|
|
border: 1px solid rgba(148, 163, 184, 0.22);
|
|
box-shadow: 0 18px 34px rgba(8, 15, 30, 0.32);
|
|
margin-bottom: 0;
|
|
border-radius: 12px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* Filter header with collapse button */
|
|
.ots-filter-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 14px 16px;
|
|
border-bottom: none;
|
|
background: transparent;
|
|
}
|
|
|
|
.ots-filter-title {
|
|
font-weight: 600;
|
|
color: var(--color-text-primary);
|
|
font-size: 14px;
|
|
margin: 0;
|
|
}
|
|
|
|
.ots-filter-toggle {
|
|
width: 32px;
|
|
height: 32px;
|
|
padding: 0;
|
|
border: none;
|
|
background: transparent;
|
|
color: var(--color-text-secondary);
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 6px;
|
|
transition: all var(--transition-fast);
|
|
}
|
|
|
|
.ots-filter-toggle:hover {
|
|
background: rgba(59, 130, 246, 0.1);
|
|
color: var(--color-primary);
|
|
}
|
|
|
|
.ots-filter-content {
|
|
padding: 16px;
|
|
max-height: none;
|
|
min-height: auto;
|
|
overflow: visible;
|
|
transition: max-height 300ms ease-out, padding 300ms ease-out;
|
|
display: block;
|
|
}
|
|
|
|
.ots-filter-content.collapsed {
|
|
max-height: 0;
|
|
min-height: 0;
|
|
padding: 0 16px;
|
|
overflow: hidden;
|
|
display: none;
|
|
}
|
|
|
|
.ots-filter-card .nav-tabs {
|
|
border-bottom: 1px solid rgba(148, 163, 184, 0.2);
|
|
gap: 8px;
|
|
margin-bottom: 14px;
|
|
}
|
|
|
|
.ots-filter-card .nav-tabs .nav-link {
|
|
color: var(--color-text-secondary);
|
|
border: 0;
|
|
border-radius: 8px;
|
|
padding: 10px 14px;
|
|
background: transparent;
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
transition: all var(--transition-fast);
|
|
}
|
|
|
|
.ots-filter-card .nav-tabs .nav-link.active,
|
|
.ots-filter-card .nav-tabs .nav-link:hover {
|
|
color: var(--color-text-primary);
|
|
background: rgba(59, 130, 246, 0.12);
|
|
}
|
|
|
|
.ots-filter-card .form-inline .form-group,
|
|
.ots-filter-card .form-inline .input-group {
|
|
margin-right: 16px;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.ots-filter-card .form-control,
|
|
.ots-filter-card select,
|
|
.ots-filter-card .select2-selection,
|
|
.ots-filter-card .input-group-addon {
|
|
background: var(--color-surface) !important;
|
|
border: 1px solid var(--color-border) !important;
|
|
color: var(--color-text-primary) !important;
|
|
border-radius: 6px !important;
|
|
padding: 8px 12px !important;
|
|
font-size: 13px !important;
|
|
transition: all var(--transition-fast) !important;
|
|
height: 36px !important;
|
|
}
|
|
|
|
.ots-filter-card .form-control:focus,
|
|
.ots-filter-card select:focus {
|
|
border-color: var(--color-primary) !important;
|
|
box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1) !important;
|
|
background: var(--color-surface) !important;
|
|
}
|
|
|
|
.ots-filter-card label {
|
|
color: var(--color-text-secondary);
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
margin-bottom: 4px;
|
|
display: block;
|
|
}
|
|
|
|
.ots-grid-with-folders {
|
|
display: grid;
|
|
grid-template-columns: 260px 1fr;
|
|
gap: 32px;
|
|
align-items: start;
|
|
width: 100%;
|
|
transition: grid-template-columns 200ms ease-out;
|
|
}
|
|
|
|
.ots-grid-with-folders.ots-folder-collapsed {
|
|
grid-template-columns: 1fr;
|
|
gap: 0;
|
|
}
|
|
|
|
.ots-grid-with-folders.ots-folder-collapsed .ots-folder-tree {
|
|
display: none;
|
|
width: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.ots-folder-tree {
|
|
min-height: 320px;
|
|
padding: 16px;
|
|
margin-right: -8px;
|
|
max-width: 100%;
|
|
box-sizing: content-box;
|
|
}
|
|
|
|
.ots-folder-tree .form-check {
|
|
margin-top: 12px;
|
|
}
|
|
|
|
.ots-grid-controller {
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.ots-grid-controller .btn {
|
|
border-radius: 10px;
|
|
box-shadow: 0 6px 16px rgba(8, 15, 30, 0.25);
|
|
}
|
|
|
|
.ots-table-card {
|
|
padding: 12px 16px 16px;
|
|
flex: 1;
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
#datatable-container {
|
|
width: 100%;
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.ots-table-card .table thead th {
|
|
background: rgba(15, 23, 42, 0.9);
|
|
color: var(--color-text-primary);
|
|
border-bottom: 1px solid rgba(148, 163, 184, 0.2);
|
|
}
|
|
|
|
.ots-table-card .table thead th,
|
|
.ots-table-card .table tbody td,
|
|
.ots-table-card .table tbody th,
|
|
.ots-table-card .table tbody tr {
|
|
color: #e2e8f0;
|
|
}
|
|
|
|
.ots-table-card .table tbody tr {
|
|
background: rgba(15, 23, 42, 0.7);
|
|
}
|
|
|
|
.ots-table-card .table tbody tr:nth-child(even) {
|
|
background: rgba(30, 41, 59, 0.75);
|
|
}
|
|
|
|
.ots-table-card .table tbody tr:hover {
|
|
background: rgba(59, 130, 246, 0.14);
|
|
color: #ffffff;
|
|
}
|
|
|
|
.ots-table-card .table tbody tr.selected,
|
|
.ots-table-card .table tbody tr.dt-row-selected,
|
|
.ots-table-card .table tbody tr.selected td,
|
|
.ots-table-card .table tbody tr.dt-row-selected td {
|
|
background: rgba(16, 185, 129, 0.25) !important;
|
|
color: #ffffff !important;
|
|
}
|
|
|
|
.ots-table-card .dataTables_wrapper,
|
|
.ots-table-card .dataTables_wrapper * {
|
|
color: #e2e8f0 !important;
|
|
}
|
|
|
|
.ots-table-card .dataTables_wrapper .dataTables_filter input,
|
|
.ots-table-card .dataTables_wrapper .dataTables_length select {
|
|
background: rgba(15, 23, 42, 0.8) !important;
|
|
color: #e2e8f0 !important;
|
|
border: 1px solid rgba(148, 163, 184, 0.25) !important;
|
|
}
|
|
|
|
/* Extra specificity for Xibo Displays DataTable */
|
|
.ots-displays-page #datatable-container .XiboData .table,
|
|
.ots-displays-page #datatable-container .XiboData table.dataTable {
|
|
color: #e2e8f0 !important;
|
|
}
|
|
|
|
.ots-displays-page #datatable-container .XiboData .table thead th,
|
|
.ots-displays-page #datatable-container .XiboData table.dataTable thead th {
|
|
color: #cbd5e1 !important;
|
|
background-color: var(--color-surface) !important;
|
|
font-weight: 600 !important;
|
|
opacity: 1 !important;
|
|
}
|
|
|
|
.ots-displays-page #datatable-container .XiboData .table tbody td,
|
|
.ots-displays-page #datatable-container .XiboData table.dataTable tbody td {
|
|
color: #e2e8f0 !important;
|
|
opacity: 1 !important;
|
|
}
|
|
|
|
.ots-displays-page #datatable-container .XiboData table.dataTable tbody tr {
|
|
background-color: rgba(15, 23, 42, 0.75) !important;
|
|
}
|
|
|
|
/* Status icons in Displays table */
|
|
.ots-displays-page #datatable-container .fa-check,
|
|
.ots-displays-page #datatable-container .fa-check-circle {
|
|
color: var(--color-success) !important;
|
|
}
|
|
|
|
.ots-displays-page #datatable-container .fa-times,
|
|
.ots-displays-page #datatable-container .fa-times-circle,
|
|
.ots-displays-page #datatable-container .fa-x {
|
|
color: var(--color-danger) !important;
|
|
}
|
|
|
|
.ots-displays-page #datatable-container .XiboData table.dataTable tbody tr:nth-child(even) {
|
|
background-color: rgba(30, 41, 59, 0.8) !important;
|
|
}
|
|
|
|
.ots-table-card .table tbody tr:hover {
|
|
background: rgba(59, 130, 246, 0.08);
|
|
}
|
|
|
|
.ots-map-card {
|
|
margin-top: 16px;
|
|
min-height: 360px;
|
|
background: rgba(15, 23, 42, 0.6);
|
|
border: 1px solid rgba(148, 163, 184, 0.2);
|
|
border-radius: 16px;
|
|
}
|
|
|
|
@media (max-width: 1024px) {
|
|
.ots-grid-with-folders {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
.two-column-layout {
|
|
display: grid;
|
|
grid-template-columns: 280px 1fr;
|
|
gap: 24px;
|
|
height: calc(100vh - 130px);
|
|
}
|
|
|
|
.left-panel {
|
|
background-color: var(--color-surface);
|
|
border: 1px solid var(--color-border);
|
|
border-radius: 8px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.content-panel {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
}
|
|
|
|
.folder-tree {
|
|
padding: 8px 0;
|
|
}
|
|
|
|
.folder-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 10px 16px;
|
|
color: var(--color-text-secondary);
|
|
cursor: pointer;
|
|
transition: all var(--transition-fast);
|
|
}
|
|
|
|
.folder-item:hover {
|
|
background-color: var(--color-surface-elevated);
|
|
color: var(--color-text-primary);
|
|
}
|
|
|
|
.folder-item.active {
|
|
background-color: rgba(59, 130, 246, 0.15);
|
|
color: var(--color-primary);
|
|
}
|
|
|
|
.folder-icon {
|
|
width: 18px;
|
|
height: 18px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.folder-name {
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.content-toolbar {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 16px;
|
|
padding: 16px;
|
|
background-color: var(--color-surface);
|
|
border: 1px solid var(--color-border);
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.search-wrapper {
|
|
flex: 1;
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
background-color: var(--color-surface-elevated);
|
|
border: 1px solid var(--color-border);
|
|
border-radius: 6px;
|
|
padding: 8px 12px;
|
|
}
|
|
|
|
.search-icon {
|
|
color: var(--color-text-tertiary);
|
|
margin-right: 8px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.search-field {
|
|
flex: 1;
|
|
background: none;
|
|
border: none;
|
|
color: var(--color-text-primary);
|
|
font-size: 14px;
|
|
outline: none;
|
|
padding: 0;
|
|
}
|
|
|
|
.search-field::placeholder {
|
|
color: var(--color-text-tertiary);
|
|
}
|
|
|
|
.toolbar-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
.stat-row {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
|
|
gap: 12px;
|
|
}
|
|
|
|
.stat-box {
|
|
background-color: var(--color-surface);
|
|
border: 1px solid var(--color-border);
|
|
border-radius: 6px;
|
|
padding: 12px;
|
|
text-align: center;
|
|
}
|
|
|
|
.stat-label {
|
|
font-size: 12px;
|
|
color: var(--color-text-secondary);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.stat-value {
|
|
font-size: 24px;
|
|
font-weight: 700;
|
|
color: var(--color-text-primary);
|
|
}
|
|
|
|
.text-success {
|
|
color: #10b981;
|
|
}
|
|
|
|
.text-danger {
|
|
color: #ef4444;
|
|
}
|
|
|
|
/* ============================================================================
|
|
TABLES
|
|
============================================================================ */
|
|
|
|
.table-wrapper {
|
|
background-color: var(--color-surface);
|
|
border: 1px solid var(--color-border);
|
|
border-radius: 8px;
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
margin: 0;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.table thead {
|
|
background-color: var(--color-surface);
|
|
border-bottom: 2px solid var(--color-border);
|
|
}
|
|
|
|
.table thead th {
|
|
padding: 12px 16px;
|
|
text-align: left;
|
|
font-weight: 600;
|
|
color: var(--color-text-secondary);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
font-size: 11px;
|
|
background-color: var(--color-surface);
|
|
}
|
|
|
|
/* Status icons and checkmarks color */
|
|
.table tbody td .fa-check,
|
|
.table tbody td .fa-check-circle {
|
|
color: var(--color-success);
|
|
}
|
|
|
|
.table tbody td .fa-times,
|
|
.table tbody td .fa-times-circle,
|
|
.table tbody td .fa-x {
|
|
color: var(--color-danger);
|
|
}
|
|
|
|
.table tbody td .fa-exclamation,
|
|
.table tbody td .fa-exclamation-circle,
|
|
.table tbody td .fa-question-circle {
|
|
color: var(--color-warning);
|
|
}
|
|
|
|
.table tbody td .fa-info-circle {
|
|
color: var(--color-info);
|
|
}
|
|
|
|
.table tbody tr {
|
|
border-bottom: 1px solid var(--color-border);
|
|
transition: background-color var(--transition-fast);
|
|
}
|
|
|
|
.table tbody tr:hover {
|
|
background-color: var(--color-surface-elevated);
|
|
}
|
|
|
|
.table tbody td {
|
|
padding: 12px 16px;
|
|
color: var(--color-text-primary);
|
|
}
|
|
|
|
.table-striped tbody tr:nth-child(even) {
|
|
background-color: rgba(59, 130, 246, 0.02);
|
|
}
|
|
|
|
/* ============================================================================
|
|
MEDIA LIBRARY
|
|
============================================================================ */
|
|
|
|
.media-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
|
|
gap: 16px;
|
|
padding: 16px;
|
|
background-color: var(--color-surface);
|
|
border: 1px solid var(--color-border);
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.media-item {
|
|
background-color: var(--color-surface-elevated);
|
|
border: 1px solid var(--color-border);
|
|
border-radius: 6px;
|
|
overflow: hidden;
|
|
cursor: pointer;
|
|
transition: all var(--transition-base);
|
|
}
|
|
|
|
.media-item:hover {
|
|
border-color: var(--color-primary);
|
|
box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
|
|
transform: translateY(-4px);
|
|
}
|
|
|
|
.media-thumbnail {
|
|
position: relative;
|
|
width: 100%;
|
|
padding-bottom: 75%;
|
|
overflow: hidden;
|
|
background-color: var(--color-border);
|
|
}
|
|
|
|
.media-thumbnail img {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.media-type-badge {
|
|
position: absolute;
|
|
top: 8px;
|
|
right: 8px;
|
|
background-color: rgba(0, 0, 0, 0.6);
|
|
color: white;
|
|
padding: 4px 8px;
|
|
border-radius: 4px;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.media-info {
|
|
padding: 12px;
|
|
}
|
|
|
|
.media-name {
|
|
margin: 0 0 4px;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
color: var(--color-text-primary);
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.media-size {
|
|
margin: 0;
|
|
color: var(--color-text-tertiary);
|
|
}
|
|
|
|
/* ============================================================================
|
|
BUTTONS
|
|
============================================================================ */
|
|
|
|
.btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
padding: 10px 16px;
|
|
border: none;
|
|
border-radius: 6px;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
text-decoration: none;
|
|
cursor: pointer;
|
|
transition: all var(--transition-fast);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.btn-primary {
|
|
background-color: var(--color-primary);
|
|
color: white;
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
background-color: var(--color-primary-dark);
|
|
}
|
|
|
|
.btn-outline {
|
|
background-color: transparent;
|
|
border: 1px solid var(--color-border);
|
|
color: var(--color-text-primary);
|
|
}
|
|
|
|
.btn-outline:hover {
|
|
background-color: var(--color-surface);
|
|
border-color: var(--color-primary);
|
|
color: var(--color-primary);
|
|
}
|
|
|
|
.btn-sm {
|
|
padding: 6px 12px;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.btn-ghost {
|
|
background-color: transparent;
|
|
color: var(--color-text-secondary);
|
|
padding: 0;
|
|
}
|
|
|
|
.btn-ghost:hover {
|
|
color: var(--color-text-primary);
|
|
}
|
|
|
|
/* Minimal Icon-Only Buttons */
|
|
.btn-icon {
|
|
width: 40px !important;
|
|
height: 40px !important;
|
|
padding: 0 !important;
|
|
border-radius: 8px !important;
|
|
display: inline-flex !important;
|
|
align-items: center !important;
|
|
justify-content: center !important;
|
|
background-color: var(--color-surface-elevated) !important;
|
|
border: 1px solid var(--color-border) !important;
|
|
color: var(--color-text-secondary) !important;
|
|
font-size: 0 !important;
|
|
transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1) !important;
|
|
cursor: pointer !important;
|
|
position: relative !important;
|
|
margin-left: 6px !important;
|
|
flex-shrink: 0 !important;
|
|
}
|
|
|
|
.btn-icon:hover {
|
|
background-color: rgba(59, 130, 246, 0.12) !important;
|
|
border-color: rgba(59, 130, 246, 0.3) !important;
|
|
color: var(--color-primary-light) !important;
|
|
box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1) !important;
|
|
}
|
|
|
|
.btn-icon:active {
|
|
background-color: rgba(59, 130, 246, 0.2) !important;
|
|
border-color: rgba(59, 130, 246, 0.4) !important;
|
|
transform: scale(0.95);
|
|
}
|
|
|
|
.btn-icon i,
|
|
.btn-icon svg {
|
|
font-size: 17px !important;
|
|
line-height: 1 !important;
|
|
display: inline-block !important;
|
|
}
|
|
|
|
.btn-icon.btn-success {
|
|
background-color: rgba(34, 197, 94, 0.08) !important;
|
|
border-color: rgba(34, 197, 94, 0.2) !important;
|
|
color: rgb(34, 197, 94) !important;
|
|
}
|
|
|
|
.btn-icon.btn-success:hover {
|
|
background-color: rgba(34, 197, 94, 0.15) !important;
|
|
border-color: rgba(34, 197, 94, 0.4) !important;
|
|
box-shadow: 0 2px 8px rgba(34, 197, 94, 0.1) !important;
|
|
}
|
|
|
|
/* ============================================================================
|
|
UTILITY CLASSES
|
|
============================================================================ */
|
|
|
|
.text-muted {
|
|
color: var(--color-text-secondary);
|
|
}
|
|
|
|
.text-tertiary {
|
|
color: var(--color-text-tertiary);
|
|
}
|
|
|
|
.text-xs {
|
|
font-size: 12px;
|
|
}
|
|
|
|
.text-sm {
|
|
font-size: 14px;
|
|
}
|
|
|
|
.form-control {
|
|
background-color: var(--color-surface);
|
|
border: 1px solid var(--color-border);
|
|
color: var(--color-text-primary);
|
|
padding: 8px 12px;
|
|
border-radius: 6px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.form-control::placeholder {
|
|
color: var(--color-text-secondary);
|
|
}
|
|
|
|
.form-control:focus {
|
|
outline: none;
|
|
border-color: var(--color-primary);
|
|
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
|
|
}
|
|
|
|
/* ============================================================================
|
|
RESPONSIVE
|
|
============================================================================ */
|
|
|
|
@media (max-width: 768px) {
|
|
.ots-topbar {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
gap: 12px;
|
|
height: auto;
|
|
padding: 12px 16px;
|
|
}
|
|
|
|
.topbar-right {
|
|
width: 100%;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.topbar-search {
|
|
width: 100%;
|
|
}
|
|
|
|
.two-column-layout {
|
|
grid-template-columns: 1fr;
|
|
height: auto;
|
|
}
|
|
|
|
.left-panel {
|
|
max-height: 300px;
|
|
}
|
|
|
|
.dashboard-panels {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.kpi-section {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.action-cards {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.media-grid {
|
|
grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
|
|
}
|
|
|
|
.ots-content {
|
|
padding: 16px;
|
|
}
|
|
|
|
.ots-footer {
|
|
padding: 12px 16px;
|
|
}
|
|
}
|
|
|
|
/* ============================================================================
|
|
CANVAS / CHART ELEMENTS
|
|
============================================================================ */
|
|
|
|
/* Ensure canvas elements and chart containers render properly */
|
|
canvas {
|
|
max-width: 100%;
|
|
height: auto;
|
|
display: block;
|
|
}
|
|
|
|
.chart-container,
|
|
.chart-wrapper {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
/* OTS sidebar override marker */
|
|
.ots-sidebar-wrapper {
|
|
box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.15);
|
|
}
|
|
|
|
.ots-sidebar .sidebar-list a,
|
|
.ots-sidebar .sidebar-main a {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.ots-nav-icon {
|
|
width: 18px;
|
|
text-align: center;
|
|
opacity: 0.85;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.ots-nav-text {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
/* Xibo sidebar refinements (light) */
|
|
#sidebar-wrapper .sidebar-title a {
|
|
color: var(--color-text-tertiary);
|
|
font-size: 11px;
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
padding: 12px 16px 6px;
|
|
}
|
|
|
|
#sidebar-wrapper .sidebar-list a,
|
|
#sidebar-wrapper .sidebar-main a {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
margin: 2px 8px;
|
|
padding: 10px 12px;
|
|
border-radius: 8px;
|
|
transition: background-color var(--transition-fast), color var(--transition-fast);
|
|
}
|
|
|
|
#sidebar-wrapper .sidebar-list a:hover,
|
|
#sidebar-wrapper .sidebar-main a:hover {
|
|
background: rgba(59, 130, 246, 0.1);
|
|
color: var(--color-primary);
|
|
}
|
|
|
|
/* Ensure chart parent containers have proper sizing */
|
|
.panel-body canvas,
|
|
.panel-body .chart-container {
|
|
flex: 1;
|
|
min-height: 300px;
|
|
}
|
|
|
|
.panel-body > .chart-container,
|
|
.panel-body > .chart-wrapper {
|
|
width: 100% !important;
|
|
height: 100% !important;
|
|
}
|
|
|
|
.panel-body > .chart-container > canvas,
|
|
.panel-body > .chart-wrapper > canvas {
|
|
width: 100% !important;
|
|
height: 100% !important;
|
|
}
|
|
|
|
.dashboard-chart-card [class*="chart"] {
|
|
height: auto;
|
|
}
|
|
|
|
/* Hidden dashboard chart canvas bridge */
|
|
.chart-sandbox {
|
|
position: absolute;
|
|
left: -10000px;
|
|
top: -10000px;
|
|
width: 1px;
|
|
height: 1px;
|
|
overflow: hidden;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.chart-sandbox canvas {
|
|
width: 1px !important;
|
|
height: 1px !important;
|
|
}
|
|
|
|
/* Transition variable fallback */
|
|
:root {
|
|
--transition-fast: 150ms ease-in-out;
|
|
--transition-base: 200ms ease-in-out;
|
|
--transition-slow: 300ms ease-in-out;
|
|
}
|
|
|
|
/* ================================================================
|
|
Modern table styles (theme override)
|
|
Applied: makes XIBO tables look cleaner and responsive
|
|
================================================================ */
|
|
|
|
.modern-table-card {
|
|
background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
|
|
border-radius: 10px;
|
|
box-shadow: 0 6px 18px rgba(2,6,23,0.45);
|
|
padding: 18px;
|
|
margin: 16px 0;
|
|
border: 1px solid rgba(255,255,255,0.02);
|
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial;
|
|
}
|
|
|
|
.modern-table {
|
|
width: 100%;
|
|
border-collapse: separate;
|
|
border-spacing: 0;
|
|
font-size: 13px;
|
|
color: var(--color-text-primary);
|
|
}
|
|
|
|
.modern-table thead th {
|
|
background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
|
|
color: var(--color-text-primary);
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
letter-spacing: .06em;
|
|
font-size: 11px;
|
|
padding: 10px 12px;
|
|
border-bottom: 1px solid rgba(255,255,255,0.1);
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 2;
|
|
}
|
|
|
|
.modern-table tbody tr {
|
|
background: transparent;
|
|
}
|
|
.modern-table tbody tr:nth-child(odd) {
|
|
background: rgba(255,255,255,0.01);
|
|
}
|
|
.modern-table tbody tr:hover {
|
|
background: rgba(59,130,246,0.06);
|
|
}
|
|
|
|
.modern-table td {
|
|
padding: 12px;
|
|
vertical-align: middle;
|
|
border-bottom: 1px solid rgba(255,255,255,0.02);
|
|
}
|
|
|
|
.table-controls {
|
|
display:flex;
|
|
gap:8px;
|
|
align-items:center;
|
|
justify-content:flex-end;
|
|
margin-bottom:12px;
|
|
}
|
|
.table-controls .btn {
|
|
background: var(--color-primary);
|
|
color: var(--color-on-primary);
|
|
border-radius: 999px;
|
|
padding: 6px 10px;
|
|
font-size: 13px;
|
|
border: none;
|
|
cursor: pointer;
|
|
}
|
|
.table-controls .btn.ghost {
|
|
background:transparent;
|
|
color:var(--color-primary);
|
|
border:1px solid rgba(59,130,246,0.12);
|
|
}
|
|
|
|
.table-meta {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding-top: 10px;
|
|
font-size: 13px;
|
|
color: var(--color-text-secondary);
|
|
}
|
|
|
|
@media (max-width: 880px) {
|
|
.modern-table thead th:nth-child(n+6),
|
|
.modern-table tbody td:nth-child(n+6) {
|
|
display: none;
|
|
}
|
|
.modern-table tbody td.details-toggle {
|
|
display: table-cell;
|
|
}
|
|
.modern-table-card {
|
|
padding: 12px;
|
|
}
|
|
}
|
|
|
|
/* Improve legibility: force table and datatables text to full contrast */
|
|
.modern-table,
|
|
.modern-table tbody,
|
|
.modern-table tbody tr,
|
|
.modern-table td,
|
|
.dataTables_wrapper,
|
|
.dataTables_wrapper table,
|
|
.dataTables_wrapper .dataTables_info,
|
|
.dataTables_wrapper .dataTables_length,
|
|
.dataTables_wrapper .dataTables_filter {
|
|
color: var(--Color-fallback, var(--color-text-primary)) !important;
|
|
opacity: 1 !important;
|
|
}
|
|
|
|
/* Stronger selected row for readability */
|
|
.modern-table tbody tr.selected,
|
|
.modern-table tbody tr.dt-row-selected,
|
|
.dataTables_wrapper table tbody tr.selected,
|
|
.dataTable tbody tr.selected {
|
|
background: rgba(16,185,129,0.14) !important; /* stronger mint */
|
|
color: var(--color-text-primary) !important;
|
|
}
|
|
|
|
/* Inputs and selects used in filters/search should be readable */
|
|
.dataTables_wrapper .dataTables_filter input,
|
|
.dataTables_wrapper .dataTables_length select,
|
|
.topbar-search .search-input,
|
|
.table-controls input,
|
|
input[type="search"],
|
|
input[type="text"],
|
|
select,
|
|
textarea {
|
|
background: var(--color-surface) !important;
|
|
color: var(--color-text-primary) !important;
|
|
border: 1px solid var(--color-border) !important;
|
|
}
|
|
|
|
/* Buttons - ensure contrast */
|
|
.btn,
|
|
.button,
|
|
.dataTables_wrapper .dataTables_paginate .paginate_button {
|
|
color: var(--color-text-primary) !important;
|
|
}
|
|
|
|
/* If panels or overlays dim content, ensure table contents remain fully visible */
|
|
.panel,
|
|
.panel-body,
|
|
.table-wrapper,
|
|
.dataTables_wrapper .dataTables_scrollBody {
|
|
opacity: 1 !important;
|
|
background: transparent !important;
|
|
}
|
|
|
|
|
|
/* DataTables color adjustments to ensure legibility in dark theme */
|
|
.dataTables_wrapper,
|
|
.dataTables_wrapper * {
|
|
color: var(--color-text-primary) !important;
|
|
}
|
|
.dataTables_wrapper .dataTables_info,
|
|
.dataTables_wrapper .dataTables_paginate {
|
|
color: var(--color-text-primary) !important;
|
|
}
|
|
.dataTables_wrapper .dataTables_paginate .paginate_button {
|
|
background: transparent;
|
|
color: var(--color-text-primary) !important;
|
|
border: 1px solid transparent;
|
|
border-radius: 6px;
|
|
padding: 4px 8px;
|
|
}
|
|
.dataTables_wrapper .dataTables_paginate .paginate_button.current,
|
|
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
|
|
background: var(--color-primary) !important;
|
|
color: var(--color-on-primary) !important;
|
|
border-color: rgba(255,255,255,0.06);
|
|
}
|
|
|
|
/* Global legibility overrides */
|
|
body,
|
|
.ots-content,
|
|
.content,
|
|
.container,
|
|
.card,
|
|
.panel,
|
|
.panel-body,
|
|
.table,
|
|
.dataTables_wrapper,
|
|
.dropdown-menu,
|
|
.dropdown-right {
|
|
color: var(--color-text-primary) !important;
|
|
}
|
|
|
|
.text-muted,
|
|
.text-secondary,
|
|
.text-tertiary {
|
|
color: var(--color-text-secondary) !important;
|
|
opacity: 1 !important;
|
|
}
|
|
|
|
.ots-sidebar a,
|
|
.ots-sidebar .nav-item,
|
|
.ots-sidebar .nav-label,
|
|
.ots-sidebar .nav-text {
|
|
color: var(--color-text-primary) !important;
|
|
}
|
|
|
|
a,
|
|
.nav-link {
|
|
color: var(--color-text-primary);
|
|
}
|
|
|
|
a:hover,
|
|
.nav-link:hover {
|
|
color: var(--color-primary);
|
|
}
|
|
|
|
/* ============================================================================
|
|
COMPREHENSIVE DARK THEME ENFORCEMENT
|
|
Ensure all elements have readable contrast and dark backgrounds
|
|
============================================================================ */
|
|
|
|
/* Force ALL text to be readable - master override */
|
|
* {
|
|
color-scheme: dark;
|
|
}
|
|
|
|
/* Ensure headings are always visible */
|
|
h1, h2, h3, h4, h5, h6,
|
|
.h1, .h2, .h3, .h4, .h5, .h6 {
|
|
color: var(--color-text-primary) !important;
|
|
}
|
|
|
|
/* All labels must be readable */
|
|
label,
|
|
.label,
|
|
.form-label,
|
|
legend {
|
|
color: var(--color-text-primary) !important;
|
|
}
|
|
|
|
/* Dropdowns, modals, and popovers */
|
|
.dropdown-menu,
|
|
.dropdown-toggle,
|
|
.popover {
|
|
background-color: var(--color-surface) !important;
|
|
color: var(--color-text-primary) !important;
|
|
border: 1px solid var(--color-border) !important;
|
|
}
|
|
|
|
.modal,
|
|
.modal-body,
|
|
.modal-footer {
|
|
background-color: transparent !important;
|
|
color: var(--color-text-primary) !important;
|
|
border: 1px solid var(--color-border) !important;
|
|
}
|
|
|
|
.modal-content {
|
|
background-color: var(--color-surface) !important;
|
|
color: var(--color-text-primary) !important;
|
|
border: 1px solid var(--color-border) !important;
|
|
}
|
|
|
|
.modal-backdrop,
|
|
.modal-backdrop.show,
|
|
.modal-backdrop.in {
|
|
background-color: rgba(0, 0, 0, 0.3) !important;
|
|
backdrop-filter: blur(4px) !important;
|
|
opacity: 1 !important;
|
|
}
|
|
|
|
.modal-header {
|
|
background-color: var(--color-surface-elevated) !important;
|
|
border-bottom: 1px solid var(--color-border) !important;
|
|
}
|
|
|
|
.dropdown-menu a,
|
|
.dropdown-item {
|
|
color: var(--color-text-primary) !important;
|
|
}
|
|
|
|
.dropdown-menu a:hover,
|
|
.dropdown-item:hover {
|
|
background-color: rgba(59, 130, 246, 0.12) !important;
|
|
color: var(--color-primary) !important;
|
|
}
|
|
|
|
/* Ensure form elements are dark and readable */
|
|
.form-group,
|
|
.form-check,
|
|
.input-group {
|
|
color: var(--color-text-primary) !important;
|
|
}
|
|
|
|
input,
|
|
textarea,
|
|
select,
|
|
.form-control,
|
|
.form-select {
|
|
background-color: var(--color-surface) !important;
|
|
color: var(--color-text-primary) !important;
|
|
border: 1px solid var(--color-border) !important;
|
|
}
|
|
|
|
input::placeholder,
|
|
textarea::placeholder {
|
|
color: var(--color-text-secondary) !important;
|
|
}
|
|
|
|
input:focus,
|
|
textarea:focus,
|
|
select:focus {
|
|
background-color: var(--color-surface) !important;
|
|
color: var(--color-text-primary) !important;
|
|
border-color: var(--color-primary) !important;
|
|
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important;
|
|
}
|
|
|
|
/* Alerts and messages */
|
|
.alert,
|
|
.alert-info,
|
|
.alert-warning,
|
|
.alert-success,
|
|
.alert-danger,
|
|
.alert-light {
|
|
background-color: var(--color-surface) !important;
|
|
border: 1px solid var(--color-border) !important;
|
|
color: var(--color-text-primary) !important;
|
|
}
|
|
|
|
.alert-light {
|
|
background-color: var(--color-surface-elevated) !important;
|
|
}
|
|
|
|
/* Tooltips and help text */
|
|
.tooltip,
|
|
.tooltip-inner,
|
|
.help-block,
|
|
.form-text,
|
|
small {
|
|
color: var(--color-text-secondary) !important;
|
|
background-color: transparent !important;
|
|
}
|
|
|
|
/* Breadcrumbs */
|
|
.breadcrumb {
|
|
background-color: transparent !important;
|
|
color: var(--color-text-primary) !important;
|
|
}
|
|
|
|
.breadcrumb a {
|
|
color: var(--color-primary) !important;
|
|
}
|
|
|
|
.breadcrumb-item.active {
|
|
color: var(--color-text-secondary) !important;
|
|
}
|
|
|
|
/* Pagination */
|
|
.pagination,
|
|
.pager {
|
|
background-color: transparent !important;
|
|
}
|
|
|
|
.pagination a,
|
|
.pagination button,
|
|
.pager a {
|
|
color: var(--color-text-primary) !important;
|
|
background-color: transparent !important;
|
|
border: 1px solid var(--color-border) !important;
|
|
}
|
|
|
|
.pagination a:hover,
|
|
.pagination button:hover,
|
|
.pager a:hover {
|
|
background-color: var(--color-surface) !important;
|
|
color: var(--color-primary) !important;
|
|
border-color: var(--color-primary) !important;
|
|
}
|
|
|
|
.pagination .active a,
|
|
.pagination .active button,
|
|
.pager .active a {
|
|
background-color: var(--color-primary) !important;
|
|
border-color: var(--color-primary) !important;
|
|
color: white !important;
|
|
}
|
|
|
|
/* Disabled state */
|
|
[disabled],
|
|
:disabled,
|
|
.disabled {
|
|
opacity: 0.6 !important;
|
|
color: var(--color-text-secondary) !important;
|
|
}
|
|
|
|
/* Badge customization */
|
|
.badge,
|
|
.badge-default {
|
|
background-color: var(--color-surface-elevated) !important;
|
|
color: var(--color-text-primary) !important;
|
|
}
|
|
|
|
/* List groups */
|
|
.list-group,
|
|
.list-group-item {
|
|
background-color: var(--color-surface) !important;
|
|
color: var(--color-text-primary) !important;
|
|
border: 1px solid var(--color-border) !important;
|
|
}
|
|
|
|
.list-group-item:hover {
|
|
background-color: var(--color-surface-elevated) !important;
|
|
}
|
|
|
|
.list-group-item.active {
|
|
background-color: var(--color-primary) !important;
|
|
border-color: var(--color-primary) !important;
|
|
color: white !important;
|
|
}
|
|
|
|
/* Tabs */
|
|
.nav-tabs,
|
|
.nav-pills {
|
|
background-color: transparent !important;
|
|
}
|
|
|
|
.nav-tabs .nav-link,
|
|
.nav-pills .nav-link {
|
|
color: var(--color-text-secondary) !important;
|
|
background-color: transparent !important;
|
|
}
|
|
|
|
.nav-tabs .nav-link:hover,
|
|
.nav-pills .nav-link:hover {
|
|
color: var(--color-text-primary) !important;
|
|
background-color: rgba(59, 130, 246, 0.1) !important;
|
|
}
|
|
|
|
.nav-tabs .nav-link.active,
|
|
.nav-pills .nav-link.active {
|
|
color: white !important;
|
|
background-color: var(--color-primary) !important;
|
|
border-color: var(--color-primary) !important;
|
|
}
|
|
|
|
/* Cards */
|
|
.card {
|
|
background-color: var(--color-surface) !important;
|
|
color: var(--color-text-primary) !important;
|
|
border: 1px solid var(--color-border) !important;
|
|
}
|
|
|
|
.card-header {
|
|
background-color: var(--color-surface-elevated) !important;
|
|
border-bottom: 1px solid var(--color-border) !important;
|
|
color: var(--color-text-primary) !important;
|
|
}
|
|
|
|
.card-footer {
|
|
background-color: var(--color-surface-elevated) !important;
|
|
border-top: 1px solid var(--color-border) !important;
|
|
color: var(--color-text-secondary) !important;
|
|
}
|
|
|
|
/* Progress bars */
|
|
.progress {
|
|
background-color: var(--color-surface-elevated) !important;
|
|
}
|
|
|
|
.progress-bar {
|
|
background-color: var(--color-primary) !important;
|
|
}
|
|
|
|
/* Ensure code blocks are readable */
|
|
code,
|
|
.code,
|
|
pre {
|
|
background-color: var(--color-surface-elevated) !important;
|
|
color: var(--color-text-primary) !important;
|
|
border: 1px solid var(--color-border) !important;
|
|
}
|
|
|
|
/* DataTables specific overrides */
|
|
.dataTables_wrapper {
|
|
color: var(--color-text-primary) !important;
|
|
}
|
|
|
|
.dataTables_wrapper .dataTables_info,
|
|
.dataTables_wrapper .dataTables_paginate {
|
|
background-color: transparent !important;
|
|
color: var(--color-text-primary) !important;
|
|
}
|
|
|
|
.dataTables_wrapper table tbody tr {
|
|
color: var(--color-text-primary) !important;
|
|
}
|
|
|
|
.dataTables_wrapper table tbody tr:hover {
|
|
background-color: rgba(59, 130, 246, 0.08) !important;
|
|
}
|
|
|
|
/* Spinner/loading indicators */
|
|
.spinner,
|
|
.spinner-border,
|
|
.spinner-grow {
|
|
border-color: rgba(255, 255, 255, 0.25) !important;
|
|
}
|
|
|
|
.spinner-border.text-primary,
|
|
.spinner-grow.text-primary {
|
|
color: var(--color-primary) !important;
|
|
border-color: var(--color-primary) !important;
|
|
}
|
|
|
|
/* Links should always be visible and contrasting */
|
|
a {
|
|
color: var(--color-primary) !important;
|
|
text-decoration: none;
|
|
}
|
|
|
|
a:hover {
|
|
color: var(--color-primary-light) !important;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
a.text-muted {
|
|
color: var(--color-text-secondary) !important;
|
|
}
|
|
|
|
a.text-muted:hover {
|
|
color: var(--color-text-primary) !important;
|
|
}
|
|
|
|
/* Ensure absolutely nothing is invisible */
|
|
.hidden,
|
|
[hidden] {
|
|
display: none !important;
|
|
}
|
|
|
|
.invisible {
|
|
visibility: hidden !important;
|
|
}
|
|
|
|
/* ============================================================================
|
|
FILTER FIELDS PADDING
|
|
============================================================================ */
|
|
|
|
.FilterDiv.card-body {
|
|
padding-top: 20px !important;
|
|
}
|
|
/* ============================================================================
|
|
LOGO WITH TEXT STYLING
|
|
============================================================================ */
|
|
|
|
.navbar-brand.xibo-logo-container {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 0;
|
|
margin-right: 16px;
|
|
}
|
|
|
|
.xibo-logo-text {
|
|
color: var(--color-text-primary);
|
|
font-size: 18px;
|
|
font-weight: 600;
|
|
margin: 0;
|
|
white-space: nowrap;
|
|
} |