This commit is contained in:
Alvin-Zilverstand
2026-02-09 10:59:59 +01:00
parent 83c1f586af
commit 10b9ba4e61
12 changed files with 991 additions and 250 deletions

View File

@@ -98,9 +98,8 @@ body {
}
@keyframes pulse {
0% { opacity: 1; }
0%, 100% { opacity: 1; }
50% { opacity: 0.5; }
100% { opacity: 1; }
}
/* Navigation Tabs */
@@ -108,33 +107,32 @@ body {
display: flex;
background: var(--light-color);
border-bottom: 1px solid var(--border-color);
overflow-x: auto;
padding: 0 2rem;
}
.nav-tab {
padding: 1rem 1.5rem;
background: none;
border: none;
padding: 1rem 1.5rem;
cursor: pointer;
font-size: 1rem;
color: var(--text-secondary);
border-bottom: 3px solid transparent;
transition: var(--transition);
display: flex;
align-items: center;
gap: 0.5rem;
white-space: nowrap;
}
.nav-tab:hover {
background: var(--secondary-color);
color: var(--primary-color);
background: var(--secondary-color);
}
.nav-tab.active {
background: white;
color: var(--primary-color);
border-bottom: 3px solid var(--primary-color);
font-weight: 500;
border-bottom-color: var(--primary-color);
background: white;
}
/* Main Content */
@@ -150,34 +148,33 @@ body {
display: block;
}
/* Section Header */
.section-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 2rem;
padding-bottom: 1rem;
border-bottom: 2px solid var(--border-color);
border-bottom: 1px solid var(--border-color);
}
.section-header h2 {
color: var(--dark-color);
font-size: 1.8rem;
font-weight: 500;
font-weight: 400;
}
/* Buttons */
.btn {
display: inline-flex;
align-items: center;
gap: 0.5rem;
padding: 0.75rem 1.5rem;
border: none;
border-radius: var(--border-radius);
cursor: pointer;
font-size: 1rem;
transition: var(--transition);
display: inline-flex;
align-items: center;
gap: 0.5rem;
text-decoration: none;
font-weight: 500;
}
.btn-primary {
@@ -191,14 +188,13 @@ body {
}
.btn-secondary {
background: var(--secondary-color);
color: var(--primary-color);
border: 1px solid var(--primary-color);
background: var(--light-color);
color: var(--text-primary);
border: 1px solid var(--border-color);
}
.btn-secondary:hover {
background: var(--primary-color);
color: white;
background: var(--border-color);
}
.btn-danger {
@@ -212,39 +208,7 @@ body {
.btn-small {
padding: 0.5rem 1rem;
font-size: 0.9rem;
}
/* Form Controls */
.form-group {
margin-bottom: 1.5rem;
}
.form-label {
display: block;
margin-bottom: 0.5rem;
font-weight: 500;
color: var(--text-primary);
}
.form-control {
width: 100%;
padding: 0.75rem;
border: 1px solid var(--border-color);
border-radius: var(--border-radius);
font-size: 1rem;
transition: var(--transition);
}
.form-control:focus {
outline: none;
border-color: var(--primary-color);
box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}
.form-select {
composes: form-control;
cursor: pointer;
font-size: 0.875rem;
}
/* Filter Controls */
@@ -252,11 +216,29 @@ body {
display: flex;
gap: 1rem;
margin-bottom: 2rem;
flex-wrap: wrap;
align-items: center;
}
.filter-controls .form-select {
min-width: 200px;
.form-select,
.form-control {
padding: 0.5rem 1rem;
border: 1px solid var(--border-color);
border-radius: var(--border-radius);
font-size: 1rem;
min-width: 150px;
}
.form-control:focus,
.form-select:focus {
outline: none;
border-color: var(--primary-color);
box-shadow: 0 0 0 2px rgba(0, 102, 204, 0.2);
}
textarea.form-control {
min-height: 120px;
resize: vertical;
font-family: inherit;
}
/* Content Grid */
@@ -271,8 +253,8 @@ body {
border-radius: var(--border-radius);
box-shadow: var(--shadow);
overflow: hidden;
transition: var(--transition);
border: 1px solid var(--border-color);
transition: var(--transition);
}
.content-item:hover {
@@ -286,7 +268,6 @@ body {
display: flex;
align-items: center;
justify-content: center;
position: relative;
overflow: hidden;
}
@@ -296,24 +277,63 @@ body {
object-fit: cover;
}
.content-preview.video {
background: linear-gradient(45deg, #667eea 0%, #764ba2 100%);
.content-preview i {
color: var(--text-secondary);
opacity: 0.6;
}
.content-preview.video::before {
content: '▶';
font-size: 3rem;
.content-preview.video {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.content-preview.video i {
color: white;
opacity: 0.8;
}
.content-preview.livestream {
background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}
.content-preview.livestream i {
color: white;
}
.content-preview.text {
background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}
.content-preview.text i {
color: white;
}
.text-preview {
text-align: center;
color: white;
padding: 1rem;
}
.text-preview i {
margin-bottom: 0.5rem;
}
.text-preview p {
font-size: 0.875rem;
opacity: 0.9;
max-width: 200px;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
.content-info {
padding: 1.5rem;
padding: 1rem;
}
.content-title {
font-size: 1.1rem;
font-weight: 600;
font-weight: 500;
margin-bottom: 0.5rem;
color: var(--dark-color);
}
@@ -321,10 +341,16 @@ body {
.content-meta {
display: flex;
flex-direction: column;
gap: 0.5rem;
margin-bottom: 1rem;
font-size: 0.9rem;
gap: 0.25rem;
font-size: 0.875rem;
color: var(--text-secondary);
margin-bottom: 1rem;
}
.content-meta span {
display: flex;
align-items: center;
gap: 0.25rem;
}
.content-actions {
@@ -332,6 +358,18 @@ body {
gap: 0.5rem;
}
/* Empty State */
.empty-state {
text-align: center;
padding: 3rem;
color: var(--text-secondary);
}
.empty-state i {
margin-bottom: 1rem;
color: var(--border-color);
}
/* Modal Styles */
.modal {
display: none;
@@ -342,19 +380,18 @@ body {
height: 100%;
background: rgba(0, 0, 0, 0.5);
z-index: 1000;
backdrop-filter: blur(5px);
align-items: center;
justify-content: center;
}
.modal.active {
display: flex;
align-items: center;
justify-content: center;
}
.modal-content {
background: white;
border-radius: var(--border-radius);
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
max-width: 500px;
width: 90%;
max-height: 90vh;
@@ -391,100 +428,79 @@ body {
padding: 1.5rem;
}
.form-group {
margin-bottom: 1.5rem;
}
.form-group label {
display: block;
margin-bottom: 0.5rem;
font-weight: 500;
color: var(--dark-color);
}
.file-info {
margin-top: 0.5rem;
padding: 0.75rem;
background: var(--light-color);
border-radius: var(--border-radius);
font-size: 0.875rem;
}
.modal-actions {
display: flex;
gap: 1rem;
justify-content: flex-end;
margin-top: 2rem;
padding-top: 1rem;
border-top: 1px solid var(--border-color);
}
/* Schedule Timeline */
.schedule-timeline {
/* Schedule Styles */
.schedule-container {
display: grid;
grid-template-columns: 300px 1fr;
gap: 2rem;
}
.zone-selector {
background: var(--light-color);
padding: 1.5rem;
border-radius: var(--border-radius);
height: fit-content;
}
.schedule-timeline {
background: white;
border: 1px solid var(--border-color);
border-radius: var(--border-radius);
padding: 1.5rem;
margin-top: 1rem;
min-height: 400px;
}
.schedule-item {
display: flex;
align-items: center;
gap: 1rem;
padding: 1rem;
background: white;
border-left: 4px solid var(--primary-color);
background: var(--light-color);
border-radius: var(--border-radius);
margin-bottom: 1rem;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
border-left: 4px solid var(--primary-color);
}
.schedule-time {
font-weight: 600;
font-weight: 500;
color: var(--primary-color);
min-width: 150px;
}
.schedule-content {
flex: 1;
margin-left: 1rem;
min-width: 120px;
}
.schedule-content h4 {
margin-bottom: 0.25rem;
color: var(--dark-color);
margin: 0 0 0.25rem 0;
}
.schedule-content p {
margin: 0;
font-size: 0.875rem;
color: var(--text-secondary);
font-size: 0.9rem;
}
/* Analytics */
.analytics-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 1.5rem;
}
.analytics-card {
background: white;
border-radius: var(--border-radius);
padding: 1.5rem;
box-shadow: var(--shadow);
border: 1px solid var(--border-color);
}
.analytics-card h3 {
margin-bottom: 1rem;
color: var(--dark-color);
font-size: 1.2rem;
}
.stats-container {
display: flex;
flex-direction: column;
gap: 1rem;
}
.stat-item {
display: flex;
justify-content: space-between;
align-items: center;
padding: 0.75rem;
background: var(--light-color);
border-radius: var(--border-radius);
}
.stat-label {
font-weight: 500;
color: var(--text-secondary);
}
.stat-value {
font-weight: 600;
color: var(--primary-color);
font-size: 1.1rem;
}
/* Zones Grid */
@@ -497,10 +513,10 @@ body {
.zone-card {
background: white;
border-radius: var(--border-radius);
padding: 1.5rem;
box-shadow: var(--shadow);
border: 1px solid var(--border-color);
padding: 2rem;
text-align: center;
border: 1px solid var(--border-color);
transition: var(--transition);
}
@@ -510,57 +526,114 @@ body {
}
.zone-icon {
font-size: 3rem;
color: var(--primary-color);
margin-bottom: 1rem;
}
.zone-icon i {
color: var(--primary-color);
}
.zone-name {
font-size: 1.2rem;
font-weight: 600;
color: var(--dark-color);
font-size: 1.25rem;
font-weight: 500;
margin-bottom: 0.5rem;
color: var(--dark-color);
}
.zone-description {
color: var(--text-secondary);
font-size: 0.9rem;
font-size: 0.875rem;
}
/* Analytics */
.analytics-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 1.5rem;
}
.analytics-card {
background: white;
border-radius: var(--border-radius);
box-shadow: var(--shadow);
padding: 1.5rem;
border: 1px solid var(--border-color);
}
.analytics-card h3 {
margin-bottom: 1rem;
color: var(--dark-color);
font-weight: 500;
}
.stats-container {
display: flex;
flex-direction: column;
gap: 0.75rem;
}
.stat-item {
display: flex;
justify-content: space-between;
align-items: center;
padding: 0.75rem;
background: var(--light-color);
border-radius: var(--border-radius);
}
.stat-label {
color: var(--text-secondary);
}
.stat-value {
font-weight: 500;
color: var(--dark-color);
}
/* Toast Notifications */
.toast-container {
position: fixed;
top: 20px;
right: 20px;
z-index: 1100;
top: 2rem;
right: 2rem;
z-index: 2000;
display: flex;
flex-direction: column;
gap: 10px;
gap: 0.5rem;
}
.toast {
background: white;
border-radius: var(--border-radius);
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
padding: 1rem 1.5rem;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
border-left: 4px solid var(--success-color);
min-width: 300px;
animation: slideInRight 0.3s ease;
border-radius: var(--border-radius);
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
animation: slideIn 0.3s ease;
max-width: 400px;
}
.toast.success {
background: var(--success-color);
color: white;
}
.toast.error {
border-left-color: var(--danger-color);
}
.toast.warning {
border-left-color: var(--warning-color);
background: var(--danger-color);
color: white;
}
.toast.info {
border-left-color: var(--info-color);
background: var(--primary-color);
color: white;
}
@keyframes slideInRight {
.toast.warning {
background: var(--warning-color);
color: var(--dark-color);
}
@keyframes slideIn {
from {
transform: translateX(100%);
opacity: 0;
@@ -571,6 +644,46 @@ body {
}
}
.toast-close {
background: none;
border: none;
color: inherit;
cursor: pointer;
font-size: 1.25rem;
opacity: 0.7;
transition: var(--transition);
}
.toast-close:hover {
opacity: 1;
}
/* Loading Overlay */
.loading-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
display: flex;
align-items: center;
justify-content: center;
z-index: 3000;
}
.loading-content {
background: white;
padding: 2rem;
border-radius: var(--border-radius);
text-align: center;
}
.loading-content p {
margin-top: 1rem;
color: var(--text-secondary);
}
/* Responsive Design */
@media (max-width: 768px) {
.container {
@@ -580,30 +693,24 @@ body {
.header-content {
flex-direction: column;
gap: 1rem;
text-align: center;
}
.nav-tabs {
flex-wrap: wrap;
}
.nav-tab {
flex: 1;
min-width: 150px;
padding: 0 1rem;
}
.main-content {
padding: 1rem;
}
.section-header {
flex-direction: column;
gap: 1rem;
text-align: center;
}
.filter-controls {
flex-direction: column;
align-items: stretch;
}
.schedule-container {
grid-template-columns: 1fr;
}
.content-grid {
@@ -615,8 +722,8 @@ body {
}
.modal-content {
width: 95%;
margin: 1rem;
max-width: none;
}
}
@@ -663,4 +770,46 @@ body {
.analytics-card {
border-top: 3px solid var(--accent-color);
}
}
/* Icon Selector Styles */
.icon-selector {
display: grid;
grid-template-columns: repeat(5, 1fr);
gap: 0.5rem;
margin-top: 0.5rem;
}
.icon-option {
display: flex;
align-items: center;
justify-content: center;
padding: 1rem;
border: 2px solid var(--border-color);
border-radius: var(--border-radius);
cursor: pointer;
transition: var(--transition);
background: white;
}
.icon-option:hover {
border-color: var(--primary-color);
background: var(--secondary-color);
transform: scale(1.05);
}
.icon-option.selected {
border-color: var(--primary-color);
background: var(--primary-color);
color: white;
}
.icon-option i {
font-size: 1.5rem;
}
@media (max-width: 768px) {
.icon-selector {
grid-template-columns: repeat(4, 1fr);
}
}