966 lines
18 KiB
CSS
966 lines
18 KiB
CSS
/**
|
|
* Custom Styles for Telvero Talpa Planning System
|
|
* Redesigned for uniform UI and typography
|
|
*/
|
|
|
|
:root {
|
|
/* Legacy support */
|
|
--text-color: #212529;
|
|
--brand-color: #32327D;
|
|
--accent-color: #32B4AA;
|
|
--primary-color: #32327D;
|
|
--secondary-color: #32327D;
|
|
--success-color: #28A745;
|
|
--warning-color: #FFC107;
|
|
--danger-color: #DC3545;
|
|
|
|
/* Brand Colors */
|
|
--brand-primary: #32327D;
|
|
--brand-accent: #32B4AA;
|
|
|
|
/* UI Colors - Rustig Palet */
|
|
--ui-bg-primary: #FFFFFF;
|
|
--ui-bg-secondary: #F8F9FA;
|
|
--ui-bg-tertiary: #E9ECEF;
|
|
--ui-border: #DEE2E6;
|
|
--ui-border-light: #E9ECEF;
|
|
|
|
/* Text Colors */
|
|
--text-primary: #212529;
|
|
--text-secondary: #6C757D;
|
|
--text-muted: #ADB5BD;
|
|
|
|
/* Status Colors - Gedempter */
|
|
--status-success: #28A745;
|
|
--status-success-light: #D4EDDA;
|
|
--status-warning: #FFC107;
|
|
--status-warning-light: #FFF3CD;
|
|
--status-danger: #DC3545;
|
|
--status-danger-light: #F8D7DA;
|
|
--status-info: #17A2B8;
|
|
--status-info-light: #D1ECF1;
|
|
|
|
/* Interaction States */
|
|
--hover-bg: #F1F3F5;
|
|
--active-bg: #E9ECEF;
|
|
--focus-ring: rgba(50, 50, 125, 0.25);
|
|
|
|
/* Typography */
|
|
--font-h1: 2rem;
|
|
--font-h2: 1.5rem;
|
|
--font-h3: 1.25rem;
|
|
--font-h4: 1.125rem;
|
|
--font-h5: 1rem;
|
|
--font-h6: 0.875rem;
|
|
--font-base: 0.9375rem;
|
|
--font-small: 0.875rem;
|
|
--font-tiny: 0.8125rem;
|
|
|
|
--font-weight-normal: 400;
|
|
--font-weight-medium: 500;
|
|
--font-weight-semibold: 600;
|
|
--font-weight-bold: 700;
|
|
|
|
--line-height-tight: 1.25;
|
|
--line-height-normal: 1.5;
|
|
--line-height-relaxed: 1.75;
|
|
|
|
/* Spacing System */
|
|
--space-xs: 0.25rem;
|
|
--space-sm: 0.5rem;
|
|
--space-md: 1rem;
|
|
--space-lg: 1.5rem;
|
|
--space-xl: 2rem;
|
|
--space-2xl: 3rem;
|
|
}
|
|
|
|
body {
|
|
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
|
color: var(--text-color);
|
|
}
|
|
|
|
/* Navigation */
|
|
.navbar-brand {
|
|
font-weight: 600;
|
|
font-size: 1.3rem;
|
|
color: var(--brand-color) !important;
|
|
}
|
|
|
|
.navbar-dark .navbar-brand {
|
|
color: #ffffff !important;
|
|
}
|
|
|
|
.navbar-dark {
|
|
background-color: var(--brand-color) !important;
|
|
}
|
|
|
|
/* Cards */
|
|
.card {
|
|
border: none;
|
|
border-radius: 8px;
|
|
transition: transform 0.2s, box-shadow 0.2s;
|
|
}
|
|
|
|
.card:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
|
|
}
|
|
|
|
.card-header {
|
|
border-radius: 8px 8px 0 0 !important;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.card-header.bg-primary {
|
|
background-color: var(--brand-color) !important;
|
|
}
|
|
|
|
/* ============================================
|
|
BUTTON SYSTEM - Uniform & Icon-Based
|
|
============================================ */
|
|
|
|
/* Base Button Styles */
|
|
.btn {
|
|
border-radius: 0.5rem;
|
|
font-weight: var(--font-weight-medium);
|
|
font-size: var(--font-base);
|
|
transition: all 0.15s ease;
|
|
padding: 0.5rem 1rem;
|
|
min-width: 40px;
|
|
height: 38px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.btn:hover {
|
|
transform: translateY(-1px);
|
|
box-shadow: 0 2px 8px rgba(0,0,0,0.15);
|
|
}
|
|
|
|
.btn:active {
|
|
transform: translateY(0);
|
|
}
|
|
|
|
.btn:focus {
|
|
outline: none;
|
|
box-shadow: 0 0 0 3px var(--focus-ring);
|
|
}
|
|
|
|
/* Button Sizes */
|
|
.btn-xs {
|
|
padding: 0.25rem 0.5rem;
|
|
font-size: 0.75rem;
|
|
border-radius: 0.25rem;
|
|
min-width: 32px;
|
|
height: 28px;
|
|
}
|
|
|
|
.btn-sm {
|
|
padding: 0.375rem 0.75rem;
|
|
font-size: var(--font-small);
|
|
border-radius: 0.375rem;
|
|
min-width: 36px;
|
|
height: 32px;
|
|
}
|
|
|
|
.btn-lg {
|
|
padding: 0.75rem 1.5rem;
|
|
font-size: 1rem;
|
|
border-radius: 0.5rem;
|
|
min-width: 48px;
|
|
height: 44px;
|
|
}
|
|
|
|
/* Icon-Only Buttons */
|
|
.btn-icon {
|
|
background: transparent;
|
|
border: 1px solid var(--ui-border);
|
|
color: var(--text-secondary);
|
|
padding: 0.5rem;
|
|
min-width: 38px;
|
|
width: 38px;
|
|
height: 38px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 0.375rem;
|
|
transition: all 0.15s ease;
|
|
}
|
|
|
|
.btn-icon:hover {
|
|
background: var(--hover-bg);
|
|
border-color: var(--ui-border);
|
|
color: var(--text-primary);
|
|
transform: translateY(-1px);
|
|
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
|
|
}
|
|
|
|
.btn-icon:active {
|
|
background: var(--active-bg);
|
|
transform: translateY(0);
|
|
}
|
|
|
|
.btn-icon:focus {
|
|
outline: none;
|
|
box-shadow: 0 0 0 3px var(--focus-ring);
|
|
}
|
|
|
|
/* Icon Button Sizes */
|
|
.btn-icon-xs {
|
|
min-width: 28px;
|
|
width: 28px;
|
|
height: 28px;
|
|
padding: 0.25rem;
|
|
border-radius: 0.25rem;
|
|
}
|
|
|
|
.btn-icon-sm {
|
|
min-width: 32px;
|
|
width: 32px;
|
|
height: 32px;
|
|
padding: 0.375rem;
|
|
border-radius: 0.375rem;
|
|
}
|
|
|
|
.btn-icon-lg {
|
|
min-width: 44px;
|
|
width: 44px;
|
|
height: 44px;
|
|
padding: 0.75rem;
|
|
border-radius: 0.5rem;
|
|
}
|
|
|
|
/* Icon Button Color Variants */
|
|
.btn-icon-primary {
|
|
border-color: var(--brand-primary);
|
|
color: var(--brand-primary);
|
|
}
|
|
|
|
.btn-icon-primary:hover {
|
|
background: var(--brand-primary);
|
|
color: white;
|
|
}
|
|
|
|
.btn-icon-secondary {
|
|
border-color: var(--ui-border);
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.btn-icon-secondary:hover {
|
|
background: var(--hover-bg);
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.btn-icon-success {
|
|
border-color: var(--status-success);
|
|
color: var(--status-success);
|
|
}
|
|
|
|
.btn-icon-success:hover {
|
|
background: var(--status-success);
|
|
color: white;
|
|
}
|
|
|
|
.btn-icon-danger {
|
|
border-color: var(--status-danger);
|
|
color: var(--status-danger);
|
|
}
|
|
|
|
.btn-icon-danger:hover {
|
|
background: var(--status-danger);
|
|
color: white;
|
|
}
|
|
|
|
.btn-icon-warning {
|
|
border-color: var(--status-warning);
|
|
color: #856404;
|
|
}
|
|
|
|
.btn-icon-warning:hover {
|
|
background: var(--status-warning);
|
|
color: #000;
|
|
}
|
|
|
|
.btn-icon-info {
|
|
border-color: var(--status-info);
|
|
color: var(--status-info);
|
|
}
|
|
|
|
.btn-icon-info:hover {
|
|
background: var(--status-info);
|
|
color: white;
|
|
}
|
|
|
|
/* Action Button Groups */
|
|
.action-buttons {
|
|
display: inline-flex;
|
|
gap: 0.25rem;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.action-buttons .btn-icon {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
/* Standard Button Colors */
|
|
.btn-primary {
|
|
background-color: var(--brand-primary);
|
|
border-color: var(--brand-primary);
|
|
color: white;
|
|
}
|
|
|
|
.btn-primary:hover,
|
|
.btn-primary:focus,
|
|
.btn-primary:active {
|
|
background-color: #28286a;
|
|
border-color: #28286a;
|
|
color: white;
|
|
}
|
|
|
|
.btn-outline-primary {
|
|
color: var(--brand-primary);
|
|
border-color: var(--brand-primary);
|
|
background: transparent;
|
|
}
|
|
|
|
.btn-outline-primary:hover,
|
|
.btn-outline-primary:focus,
|
|
.btn-outline-primary:active {
|
|
background-color: var(--brand-primary);
|
|
border-color: var(--brand-primary);
|
|
color: #ffffff;
|
|
}
|
|
|
|
.btn-success {
|
|
background-color: var(--status-success);
|
|
border-color: var(--status-success);
|
|
color: white;
|
|
}
|
|
|
|
.btn-success:hover {
|
|
background-color: #218838;
|
|
border-color: #218838;
|
|
}
|
|
|
|
.btn-danger {
|
|
background-color: var(--status-danger);
|
|
border-color: var(--status-danger);
|
|
color: white;
|
|
}
|
|
|
|
.btn-danger:hover {
|
|
background-color: #c82333;
|
|
border-color: #c82333;
|
|
}
|
|
|
|
.btn-info {
|
|
background-color: var(--status-info);
|
|
border-color: var(--status-info);
|
|
color: white;
|
|
}
|
|
|
|
.btn-info:hover {
|
|
background-color: #138496;
|
|
border-color: #138496;
|
|
}
|
|
|
|
.btn-warning {
|
|
background-color: var(--status-warning);
|
|
border-color: var(--status-warning);
|
|
color: #000;
|
|
}
|
|
|
|
.btn-warning:hover {
|
|
background-color: #e0a800;
|
|
border-color: #e0a800;
|
|
}
|
|
|
|
.btn-secondary {
|
|
background-color: var(--text-secondary);
|
|
border-color: var(--text-secondary);
|
|
color: white;
|
|
}
|
|
|
|
.btn-secondary:hover {
|
|
background-color: #5a6268;
|
|
border-color: #5a6268;
|
|
}
|
|
|
|
/* Tables */
|
|
.table {
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.table thead th {
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
font-size: 0.85rem;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
/* Badges */
|
|
.badge {
|
|
padding: 0.4em 0.8em;
|
|
font-weight: 500;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
/* Calendar Specific Styles */
|
|
#calendar {
|
|
background: white;
|
|
padding: 20px;
|
|
border-radius: 8px;
|
|
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
|
|
}
|
|
|
|
/* Vertical Calendar (timeGrid) Styles - very compact */
|
|
.fc-timegrid-event {
|
|
border-radius: 3px;
|
|
padding: 1px 3px !important;
|
|
cursor: move;
|
|
transition: transform 0.2s, box-shadow 0.2s;
|
|
border-width: 1px;
|
|
min-height: 18px;
|
|
}
|
|
|
|
.fc-timegrid-event:hover {
|
|
transform: translateX(2px);
|
|
box-shadow: 0 3px 8px rgba(0,0,0,0.2);
|
|
z-index: 100;
|
|
}
|
|
|
|
.fc-timegrid-event .fc-event-main {
|
|
padding: 0px !important;
|
|
}
|
|
|
|
.fc-timegrid-event .fc-event-main-frame {
|
|
padding: 1px 2px !important;
|
|
}
|
|
|
|
/* Timeline Calendar Styles */
|
|
.fc-timeline-event {
|
|
border-radius: 4px;
|
|
padding: 2px 4px;
|
|
cursor: move;
|
|
transition: transform 0.2s;
|
|
}
|
|
|
|
.fc-timeline-event:hover {
|
|
transform: scale(1.02);
|
|
box-shadow: 0 2px 8px rgba(0,0,0,0.2);
|
|
}
|
|
|
|
/* General Event Styles */
|
|
.fc-event {
|
|
border-radius: 4px;
|
|
cursor: move;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.fc-event-title {
|
|
font-weight: 600;
|
|
line-height: 1.3;
|
|
}
|
|
|
|
.fc-event-time {
|
|
font-size: 0.85em;
|
|
opacity: 0.9;
|
|
}
|
|
|
|
/* Make events more readable in vertical view */
|
|
.fc-timegrid-event-harness {
|
|
margin-right: 2px;
|
|
}
|
|
|
|
.fc-timegrid-col-events {
|
|
margin: 0 2px;
|
|
}
|
|
|
|
/* Improve time slot visibility - 150px per 15 minutes */
|
|
.fc-timegrid-slot {
|
|
height: 20px !important;
|
|
}
|
|
|
|
.fc-timegrid-slot-label {
|
|
font-weight: 500;
|
|
font-size: 0.85em;
|
|
padding: 4px 6px;
|
|
line-height: 1.3;
|
|
}
|
|
|
|
/* Make slot lines visible */
|
|
.fc-timegrid-slot-minor {
|
|
border-top-style: solid;
|
|
border-top-width: 1px;
|
|
border-top-color: #f0f0f0;
|
|
}
|
|
|
|
.fc-timegrid-slot-major {
|
|
border-top-width: 2px;
|
|
border-top-color: #dee2e6;
|
|
}
|
|
|
|
/* Current time indicator */
|
|
.fc-timegrid-now-indicator-line {
|
|
border-color: #e74c3c;
|
|
border-width: 2px;
|
|
}
|
|
|
|
.fc-timegrid-now-indicator-arrow {
|
|
border-color: #e74c3c;
|
|
}
|
|
|
|
/* Block background events */
|
|
.fc-bg-event {
|
|
opacity: 1 !important;
|
|
border: 1px dashed rgba(0,0,0,0.1);
|
|
}
|
|
|
|
.fc-timegrid .fc-bg-event {
|
|
opacity: 0.8 !important;
|
|
}
|
|
|
|
/* Block info cards */
|
|
#blockInfoContainer .card {
|
|
transition: transform 0.2s;
|
|
}
|
|
|
|
#blockInfoContainer .card:hover {
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
/* Resource TimeGrid specific styles */
|
|
.fc-resource-timeline-divider,
|
|
.fc-resource-timegrid-divider {
|
|
width: 2px;
|
|
background: #dee2e6;
|
|
}
|
|
|
|
.fc-col-header-cell {
|
|
background: #f8f9fa;
|
|
font-weight: 600;
|
|
border-right: 2px solid #dee2e6 !important;
|
|
}
|
|
|
|
.fc-timegrid-col {
|
|
border-right: 2px solid #dee2e6 !important;
|
|
}
|
|
|
|
/* Make resource columns more distinct */
|
|
.fc-timegrid-col.fc-resource {
|
|
background: rgba(255, 255, 255, 0.5);
|
|
}
|
|
|
|
.fc-timegrid-col.fc-resource:nth-child(even) {
|
|
background: rgba(248, 249, 250, 0.5);
|
|
}
|
|
|
|
/* Resource header styling */
|
|
.fc-col-header-cell-cushion {
|
|
padding: 8px 4px;
|
|
font-size: 0.95em;
|
|
}
|
|
|
|
/* Improve event spacing in resource columns */
|
|
.fc-timegrid-event-harness {
|
|
margin-right: 3px;
|
|
}
|
|
|
|
/* Resource background events (blocks) */
|
|
.fc-timegrid-col .fc-bg-event {
|
|
opacity: 0.15 !important;
|
|
border-left: 3px solid rgba(0,0,0,0.2);
|
|
border-right: 3px solid rgba(0,0,0,0.2);
|
|
}
|
|
|
|
/* Infomercial Sidebar */
|
|
.infomercial-sidebar {
|
|
max-height: 600px;
|
|
overflow-y: auto;
|
|
background: #f8f9fa;
|
|
border-radius: 8px;
|
|
padding: 15px;
|
|
}
|
|
|
|
.infomercial-item {
|
|
background: white;
|
|
border-radius: 6px;
|
|
padding: 12px;
|
|
margin-bottom: 10px;
|
|
cursor: move;
|
|
border-left: 4px solid;
|
|
transition: all 0.2s;
|
|
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
|
|
}
|
|
|
|
.infomercial-item:hover {
|
|
transform: translateX(5px);
|
|
box-shadow: 0 2px 8px rgba(0,0,0,0.15);
|
|
}
|
|
|
|
.infomercial-item.dragging {
|
|
opacity: 0.5;
|
|
}
|
|
|
|
.infomercial-title {
|
|
font-weight: 600;
|
|
font-size: 0.95rem;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.infomercial-duration {
|
|
font-size: 0.85rem;
|
|
color: #6c757d;
|
|
}
|
|
|
|
.infomercial-series {
|
|
font-size: 0.8rem;
|
|
font-weight: 500;
|
|
opacity: 0.8;
|
|
}
|
|
|
|
/* Block Time Editor */
|
|
.block-time-editor {
|
|
background: #fff3cd;
|
|
border: 2px dashed #ffc107;
|
|
border-radius: 6px;
|
|
padding: 10px;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.block-time-input {
|
|
font-weight: 600;
|
|
font-size: 1.1rem;
|
|
border: 2px solid #ffc107;
|
|
}
|
|
|
|
/* Status Indicators */
|
|
.status-pending {
|
|
background-color: #ffc107;
|
|
color: #000;
|
|
}
|
|
|
|
.status-synced {
|
|
background-color: #28a745;
|
|
color: #fff;
|
|
}
|
|
|
|
.status-error {
|
|
background-color: #dc3545;
|
|
color: #fff;
|
|
}
|
|
|
|
/* Loading Spinner */
|
|
.loading-overlay {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: rgba(0,0,0,0.5);
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
z-index: 9999;
|
|
}
|
|
|
|
.spinner-border-lg {
|
|
width: 3rem;
|
|
height: 3rem;
|
|
}
|
|
|
|
/* Responsive */
|
|
@media (max-width: 768px) {
|
|
.infomercial-sidebar {
|
|
max-height: 300px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.card {
|
|
margin-bottom: 15px;
|
|
}
|
|
}
|
|
|
|
/* Scrollbar Styling */
|
|
.infomercial-sidebar::-webkit-scrollbar {
|
|
width: 8px;
|
|
}
|
|
|
|
.infomercial-sidebar::-webkit-scrollbar-track {
|
|
background: #f1f1f1;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.infomercial-sidebar::-webkit-scrollbar-thumb {
|
|
background: #888;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.infomercial-sidebar::-webkit-scrollbar-thumb:hover {
|
|
background: #555;
|
|
}
|
|
|
|
/* Alert Animations */
|
|
@keyframes slideInDown {
|
|
from {
|
|
transform: translateY(-100%);
|
|
opacity: 0;
|
|
}
|
|
to {
|
|
transform: translateY(0);
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
.alert {
|
|
animation: slideInDown 0.3s ease-out;
|
|
}
|
|
|
|
/* Color Picker */
|
|
.color-preview {
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 6px;
|
|
border: 2px solid #dee2e6;
|
|
cursor: pointer;
|
|
transition: transform 0.2s;
|
|
}
|
|
|
|
.color-preview:hover {
|
|
transform: scale(1.1);
|
|
border-color: #adb5bd;
|
|
}
|
|
|
|
/* Dashboard Stats */
|
|
.stat-card {
|
|
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
color: white;
|
|
border-radius: 12px;
|
|
padding: 20px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.stat-card.success {
|
|
background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
|
|
}
|
|
|
|
.stat-card.warning {
|
|
background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
|
|
}
|
|
|
|
.stat-card.info {
|
|
background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
|
|
}
|
|
|
|
.stat-number {
|
|
font-size: 2.5rem;
|
|
font-weight: 700;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.stat-label {
|
|
font-size: 0.9rem;
|
|
opacity: 0.9;
|
|
text-transform: uppercase;
|
|
letter-spacing: 1px;
|
|
}
|
|
|
|
/* Timeline View Enhancements */
|
|
.fc-timeline-event {
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.fc-timeline-event .fc-event-main {
|
|
padding: 4px 8px;
|
|
}
|
|
|
|
/* Conflict Warning */
|
|
.conflict-warning {
|
|
background: #fff3cd;
|
|
border-left: 4px solid #ffc107;
|
|
padding: 12px;
|
|
border-radius: 4px;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
/* Success Message */
|
|
.success-message {
|
|
background: #d4edda;
|
|
border-left: 4px solid #28a745;
|
|
padding: 12px;
|
|
border-radius: 4px;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
/* Form Enhancements */
|
|
.form-control:focus,
|
|
.form-select:focus {
|
|
border-color: var(--accent-color);
|
|
box-shadow: 0 0 0 0.2rem rgba(50, 180, 170, 0.25);
|
|
}
|
|
|
|
/* Tooltip Styling */
|
|
.tooltip-inner {
|
|
background-color: var(--brand-color);
|
|
border-radius: 4px;
|
|
padding: 8px 12px;
|
|
}
|
|
|
|
/* ============================================
|
|
BADGE SYSTEM - Status & Sync Indicators
|
|
============================================ */
|
|
|
|
/* Sync Status Badges */
|
|
.badge-sync {
|
|
padding: 0.25rem 0.5rem;
|
|
font-size: 0.75rem;
|
|
font-weight: 600;
|
|
border-radius: 0.25rem;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.25rem;
|
|
}
|
|
|
|
.badge-sync-complete {
|
|
background: var(--status-success-light);
|
|
color: var(--status-success);
|
|
}
|
|
|
|
.badge-sync-partial {
|
|
background: var(--status-warning-light);
|
|
color: #856404;
|
|
}
|
|
|
|
.badge-sync-none {
|
|
background: var(--status-danger-light);
|
|
color: var(--status-danger);
|
|
}
|
|
|
|
.badge-sync-empty {
|
|
background: var(--ui-bg-tertiary);
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
/* Sync Status Indicators */
|
|
.sync-indicator {
|
|
font-size: 1.2rem;
|
|
cursor: help;
|
|
display: inline-block;
|
|
transition: transform 0.2s;
|
|
}
|
|
|
|
.sync-indicator.sync-success {
|
|
color: var(--status-success);
|
|
}
|
|
|
|
.sync-indicator.sync-pending {
|
|
color: var(--status-danger);
|
|
}
|
|
|
|
.sync-indicator.sync-error {
|
|
color: var(--status-warning);
|
|
}
|
|
|
|
.sync-indicator:hover {
|
|
transform: scale(1.2);
|
|
}
|
|
|
|
/* Block Sync Status Badges (Legacy Support) */
|
|
.block-sync-status {
|
|
font-size: 0.75rem;
|
|
padding: 0.25rem 0.5rem;
|
|
font-weight: 600;
|
|
border-radius: 0.25rem;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.25rem;
|
|
}
|
|
|
|
.block-sync-status.block-sync-complete {
|
|
background-color: var(--status-success-light);
|
|
color: var(--status-success);
|
|
}
|
|
|
|
.block-sync-status.block-sync-partial {
|
|
background-color: var(--status-warning-light);
|
|
color: #856404;
|
|
}
|
|
|
|
.block-sync-status.block-sync-none {
|
|
background-color: var(--status-danger-light);
|
|
color: var(--status-danger);
|
|
}
|
|
|
|
.block-sync-status.block-sync-empty {
|
|
background-color: var(--ui-bg-tertiary);
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
/* ============================================
|
|
PLANNER SPECIFIC STYLES
|
|
============================================ */
|
|
|
|
/* Block Header Redesign */
|
|
.block-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: var(--space-sm) var(--space-md);
|
|
background: var(--ui-bg-secondary);
|
|
border-bottom: 1px solid var(--ui-border);
|
|
gap: var(--space-md);
|
|
}
|
|
|
|
.block-header-left {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-sm);
|
|
flex: 1;
|
|
}
|
|
|
|
.block-title {
|
|
margin: 0;
|
|
font-size: var(--font-h6);
|
|
font-weight: var(--font-weight-semibold);
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.block-header-actions {
|
|
display: flex;
|
|
gap: 0.25rem;
|
|
align-items: center;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.block-header-actions .btn-icon {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.block-header-time {
|
|
font-size: var(--font-small);
|
|
color: var(--text-secondary);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
/* Print Styles */
|
|
@media print {
|
|
.navbar,
|
|
.btn,
|
|
.infomercial-sidebar {
|
|
display: none !important;
|
|
}
|
|
|
|
.card {
|
|
box-shadow: none !important;
|
|
border: 1px solid #dee2e6 !important;
|
|
}
|
|
}
|