/* VOD Styles - White Background Theme */ /* Video Container */ #video-container { display: flex; flex-direction: column; background-color: white; border-radius: 8px; overflow: hidden; margin-bottom: 2rem; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); } /* Video Player */ #video-player { width: 100%; aspect-ratio: 16 / 9; background-color: #f5f5f5; position: relative; } #video-player video { width: 100%; height: 100%; object-fit: contain; } /* Video Info Section */ #video-info { padding: 1.5rem; background-color: white; color: #333; } #video-title { margin-top: 0; margin-bottom: 0.5rem; font-size: 1.5rem; color: #333; } #video-description { color: #666; font-size: 0.9rem; line-height: 1.5; } /* Media Controls */ #media-controls { display: flex; justify-content: center; margin-bottom: 1rem; } .media-icons { display: flex; background-color: white; border-radius: 50px; padding: 0.5rem 1.5rem; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); } .media-icon { font-size: 1.5rem; margin: 0 0.75rem; cursor: pointer; transition: transform 0.2s, opacity 0.2s; } .media-icon:hover { transform: scale(1.2); opacity: 0.8; } /* Video List Section */ #video-list { margin-top: 2rem; background-color: white; } #video-list h2 { color: #333; margin-bottom: 1rem; font-size: 1.5rem; border-bottom: 1px solid #eee; padding-bottom: 0.5rem; } /* Video Grid */ .video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.5rem; margin-bottom: 1.5rem; background-color: white; } /* Video Card */ .video-card { background-color: white; border-radius: 8px; overflow: hidden; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); border: 1px solid #eee; } .video-card:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); } .video-thumbnail { position: relative; width: 100%; aspect-ratio: 16 / 9; } .video-thumbnail img { width: 100%; height: 100%; object-fit: cover; } .video-duration { position: absolute; bottom: 8px; right: 8px; background-color: rgba(0, 0, 0, 0.7); color: white; padding: 2px 6px; border-radius: 4px; font-size: 0.8rem; } .video-info { padding: 1rem; } .video-title { margin-top: 0; margin-bottom: 0.5rem; font-size: 1.1rem; color: #333; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .video-description { color: #666; font-size: 0.85rem; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 0; } /* Pagination Controls */ #pagination-controls { display: flex; justify-content: center; align-items: center; margin-top: 1.5rem; } #pagination-controls button { background-color: #f5f5f5; color: #333; border: 1px solid #ddd; padding: 0.5rem 1rem; border-radius: 4px; cursor: pointer; transition: background-color 0.2s; } #pagination-controls button:hover:not(:disabled) { background-color: #e5e5e5; } #pagination-controls button:disabled { background-color: #f9f9f9; color: #999; cursor: not-allowed; opacity: 0.6; } #page-info { margin: 0 1rem; color: #666; } /* Loading and Error States */ .loading-spinner, .error-message, .no-videos { padding: 2rem; text-align: center; color: #666; grid-column: 1 / -1; } .error-message { color: #d9534f; } /* Search and Filter Controls */ .search-container { display: flex; gap: 10px; margin-bottom: 15px; background-color: white; padding: 15px; border-radius: 8px; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05); } #vod-search { flex: 1; padding: 10px; border: 1px solid #ddd; border-radius: 4px; font-size: 14px; } #vod-category { width: 150px; padding: 10px; border: 1px solid #ddd; border-radius: 4px; background-color: white; font-size: 14px; } /* View Mode Buttons */ .view-btn { padding: 8px 12px; background-color: white; border: 1px solid #ddd; border-radius: 4px; cursor: pointer; transition: all 0.2s; } .view-btn.active { background-color: #6495ED; color: white; border-color: #6495ED; } .view-btn:hover:not(.active) { background-color: #f5f5f5; } /* Video Item in List */ .video-item { display: flex; align-items: center; padding: 15px; background-color: white; border: 1px solid #eee; border-radius: 8px; margin-bottom: 10px; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; } .video-item:hover { transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); } .video-item i { margin-right: 15px; color: #6495ED; font-size: 20px; } .video-item-thumbnail { width: 80px; height: 45px; margin-right: 15px; flex-shrink: 0; overflow: hidden; border-radius: 4px; } .video-item-thumbnail img { width: 100%; height: 100%; object-fit: cover; } .video-item-content { flex-grow: 1; overflow: hidden; } .video-item-title { font-weight: 500; color: #333; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .video-item-description { color: #666; font-size: 0.9em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .video-item-category { margin-left: 10px; color: #666; font-size: 0.8em; flex-shrink: 0; } /* Custom Alert for VOD */ .custom-alert.media-alert .alert-content { background-color: white; color: #333; } .custom-alert.media-alert .alert-header { background-color: #6495ED; color: white; } /* Responsive Adjustments */ @media (max-width: 768px) { .video-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); } .media-icon { font-size: 1.2rem; margin: 0 0.5rem; } .search-container { flex-direction: column; } #vod-category { width: 100%; } .video-item-thumbnail { width: 60px; height: 34px; } } @media (max-width: 480px) { .video-grid { grid-template-columns: 1fr; } #video-title { font-size: 1.2rem; } .media-icons { padding: 0.4rem 1rem; } .media-icon { font-size: 1rem; margin: 0 0.4rem; } }