487 lines
8.6 KiB
CSS
487 lines
8.6 KiB
CSS
/**
|
|
* Custom Styles for Telvero Talpa Planning System
|
|
*/
|
|
|
|
:root {
|
|
--primary-color: #2c3e50;
|
|
--secondary-color: #34495e;
|
|
--accent-color: #3498db;
|
|
--success-color: #2ecc71;
|
|
--warning-color: #f39c12;
|
|
--danger-color: #e74c3c;
|
|
}
|
|
|
|
body {
|
|
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
|
}
|
|
|
|
/* Navigation */
|
|
.navbar-brand {
|
|
font-weight: 600;
|
|
font-size: 1.3rem;
|
|
}
|
|
|
|
/* 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;
|
|
}
|
|
|
|
/* Buttons */
|
|
.btn {
|
|
border-radius: 6px;
|
|
font-weight: 500;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.btn:hover {
|
|
transform: translateY(-1px);
|
|
box-shadow: 0 2px 8px rgba(0,0,0,0.15);
|
|
}
|
|
|
|
/* 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(52, 152, 219, 0.25);
|
|
}
|
|
|
|
/* Tooltip Styling */
|
|
.tooltip-inner {
|
|
background-color: var(--primary-color);
|
|
border-radius: 4px;
|
|
padding: 8px 12px;
|
|
}
|
|
|
|
/* Print Styles */
|
|
@media print {
|
|
.navbar,
|
|
.btn,
|
|
.infomercial-sidebar {
|
|
display: none !important;
|
|
}
|
|
|
|
.card {
|
|
box-shadow: none !important;
|
|
border: 1px solid #dee2e6 !important;
|
|
}
|
|
}
|