Files
SamiAhmed7777 0b7e2d0a5b feat: Add comprehensive documentation suite and reorganize project structure
- Created complete documentation in docs/ directory
- Added PROJECT_OVERVIEW.md with feature highlights and getting started guide
- Added ARCHITECTURE.md with system design and technical details
- Added SECURITY.md with comprehensive security implementation guide
- Added DEVELOPMENT.md with development workflows and best practices
- Added DEPLOYMENT.md with production deployment instructions
- Added API.md with complete REST API documentation
- Added CONTRIBUTING.md with contribution guidelines
- Added CHANGELOG.md with version history and migration notes
- Reorganized all documentation files into docs/ directory for better organization
- Updated README.md with proper documentation links and quick navigation
- Enhanced project structure with professional documentation standards
2025-10-21 00:39:45 -07:00

451 lines
7.6 KiB
CSS

/* EasyStream Channel Page Styles */
/* Channel Header */
.channel-header {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
padding: 3rem 0;
margin-bottom: 2rem;
position: relative;
overflow: hidden;
}
.channel-header::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0,0,0,0.1);
z-index: 1;
}
.channel-header .container {
position: relative;
z-index: 2;
}
.channel-info {
display: flex;
align-items: center;
gap: 2rem;
}
.channel-avatar {
width: 120px;
height: 120px;
border-radius: 50%;
border: 4px solid white;
object-fit: cover;
box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.channel-details {
flex: 1;
}
.channel-details h1 {
margin: 0 0 0.5rem 0;
font-size: 2rem;
font-weight: 700;
text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.channel-details p {
margin: 0 0 1rem 0;
opacity: 0.9;
font-size: 1.1rem;
}
/* Channel Stats */
.channel-stats {
display: flex;
gap: 2rem;
margin-bottom: 1rem;
}
.stat {
text-align: center;
}
.stat-number {
font-size: 1.5rem;
font-weight: bold;
display: block;
text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}
.stat-label {
font-size: 0.875rem;
opacity: 0.8;
text-transform: uppercase;
letter-spacing: 0.5px;
}
/* Subscribe Button */
.subscribe-btn {
background: #cc0000;
color: white;
border: none;
padding: 0.75rem 2rem;
border-radius: 25px;
cursor: pointer;
font-weight: 500;
font-size: 1rem;
transition: all 0.2s ease;
box-shadow: 0 2px 8px rgba(204,0,0,0.3);
}
.subscribe-btn:hover {
background: #aa0000;
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(204,0,0,0.4);
}
.subscribe-btn.subscribed {
background: #28a745;
box-shadow: 0 2px 8px rgba(40,167,69,0.3);
}
.subscribe-btn.subscribed:hover {
background: #218838;
}
/* Channel Navigation */
.channel-nav {
background: white;
border-radius: 8px;
padding: 1rem;
margin-bottom: 2rem;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.nav-tabs {
display: flex;
gap: 1rem;
flex-wrap: wrap;
}
.nav-tab {
padding: 0.5rem 1rem;
border-radius: 20px;
text-decoration: none;
color: #495057;
transition: all 0.2s ease;
font-weight: 500;
display: flex;
align-items: center;
gap: 0.25rem;
}
.nav-tab:hover {
background: #f8f9fa;
color: #007bff;
transform: translateY(-1px);
}
.nav-tab.active {
background: #007bff;
color: white;
box-shadow: 0 2px 8px rgba(0,123,255,0.3);
}
/* Channel Content */
.channel-content {
background: white;
border-radius: 8px;
padding: 2rem;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
min-height: 400px;
}
/* Channel Videos Grid */
.channel-videos {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 1.5rem;
margin-top: 1rem;
}
.channel-video {
background: white;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
transition: transform 0.2s ease;
}
.channel-video:hover {
transform: translateY(-2px);
box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.channel-video-thumbnail {
width: 100%;
height: 160px;
object-fit: cover;
}
.channel-video-info {
padding: 1rem;
}
.channel-video-title {
font-weight: 600;
margin: 0 0 0.5rem 0;
line-height: 1.3;
}
.channel-video-title a {
color: #212529;
text-decoration: none;
}
.channel-video-title a:hover {
color: #007bff;
}
.channel-video-meta {
color: #6c757d;
font-size: 0.875rem;
}
/* Channel About Section */
.channel-about {
line-height: 1.6;
}
.channel-about h3 {
margin: 0 0 1rem 0;
color: #212529;
}
.channel-about p {
margin: 0 0 1rem 0;
color: #495057;
}
.channel-links {
display: flex;
gap: 1rem;
margin-top: 1.5rem;
}
.channel-link {
padding: 0.5rem 1rem;
background: #f8f9fa;
color: #495057;
text-decoration: none;
border-radius: 20px;
transition: all 0.2s ease;
}
.channel-link:hover {
background: #007bff;
color: white;
}
/* Channel Actions */
.channel-actions {
display: flex;
gap: 1rem;
margin-top: 1rem;
}
.action-btn {
background: #f8f9fa;
color: #495057;
border: 1px solid #dee2e6;
padding: 0.5rem 1rem;
border-radius: 20px;
cursor: pointer;
transition: all 0.2s ease;
text-decoration: none;
display: flex;
align-items: center;
gap: 0.25rem;
}
.action-btn:hover {
background: #007bff;
color: white;
border-color: #007bff;
}
/* Empty States */
.empty-state {
text-align: center;
padding: 3rem;
color: #6c757d;
}
.empty-state h3 {
margin: 0 0 1rem 0;
color: #495057;
}
.empty-state p {
margin: 0;
}
/* Loading States */
.channel-loading {
display: flex;
align-items: center;
justify-content: center;
padding: 3rem;
color: #6c757d;
}
.channel-loading::before {
content: '';
width: 24px;
height: 24px;
border: 2px solid #e9ecef;
border-top: 2px solid #007bff;
border-radius: 50%;
animation: spin 1s linear infinite;
margin-right: 0.5rem;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
/* Responsive Design */
@media (max-width: 768px) {
.channel-header {
padding: 2rem 0;
}
.channel-info {
flex-direction: column;
text-align: center;
gap: 1rem;
}
.channel-avatar {
width: 100px;
height: 100px;
}
.channel-details h1 {
font-size: 1.5rem;
}
.channel-stats {
justify-content: center;
}
.nav-tabs {
justify-content: center;
}
.nav-tab {
flex: 1;
justify-content: center;
min-width: 0;
}
.channel-content {
padding: 1rem;
}
.channel-videos {
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
gap: 1rem;
}
.channel-actions {
flex-direction: column;
}
.action-btn {
justify-content: center;
}
}
@media (max-width: 480px) {
.container {
padding: 0 10px;
}
.channel-header {
padding: 1.5rem 0;
}
.channel-avatar {
width: 80px;
height: 80px;
}
.channel-details h1 {
font-size: 1.25rem;
}
.channel-stats {
gap: 1rem;
}
.stat-number {
font-size: 1.25rem;
}
.nav-tabs {
flex-direction: column;
}
.nav-tab {
width: 100%;
}
.channel-videos {
grid-template-columns: 1fr;
}
}
/* Channel Background Support */
.channel-header.has-background {
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}
.channel-header.has-background::before {
background: rgba(0,0,0,0.4);
}
/* Channel Verification Badge */
.verified-badge {
display: inline-block;
margin-left: 0.5rem;
color: #007bff;
font-size: 1.2rem;
}
/* Channel Subscriber Count Animation */
.stat-number.animate {
animation: countUp 0.5s ease-out;
}
@keyframes countUp {
from { transform: scale(0.8); opacity: 0; }
to { transform: scale(1); opacity: 1; }
}
/* Channel Tab Content */
.tab-content {
display: none;
}
.tab-content.active {
display: block;
animation: fadeIn 0.3s ease-in;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(10px); }
to { opacity: 1; transform: translateY(0); }
}