2600 lines
46 KiB
CSS
2600 lines
46 KiB
CSS
:root {
|
|
--primary-color: #ff3e3e;
|
|
--primary-hover: #ff1a1a;
|
|
--secondary-color: #2c2c2c;
|
|
--text-color: #f0f0f0;
|
|
--text-secondary: #b0b0b0;
|
|
--background-dark: #121212;
|
|
--background-darker: #0a0a0a;
|
|
--background-lighter: #1e1e1e;
|
|
--card-background: #1e1e1e;
|
|
--border-color: #333333;
|
|
--hover-color: #2a2a2a;
|
|
--shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
|
|
--border-radius: 8px;
|
|
--spacing-xs: 5px;
|
|
--spacing-sm: 10px;
|
|
--spacing-md: 15px;
|
|
--spacing-lg: 20px;
|
|
--spacing-xl: 30px;
|
|
--input-height: 46px;
|
|
}
|
|
|
|
/* ... (lines 22-131 unchanged) ... */
|
|
|
|
.url-input {
|
|
width: 100%;
|
|
height: var(--input-height);
|
|
padding: 0 20px;
|
|
border-radius: 24px 0 0 24px;
|
|
border: 1px solid var(--border-color);
|
|
background-color: var(--background-light);
|
|
color: var(--text-primary);
|
|
font-size: 1rem;
|
|
transition: all 0.2s ease;
|
|
min-width: 0;
|
|
/* Prevents flex item from overflowing */
|
|
}
|
|
|
|
/* ... (lines 145-156 unchanged) ... */
|
|
|
|
.submit-btn {
|
|
height: var(--input-height);
|
|
padding: 0 24px;
|
|
background-color: var(--background-light);
|
|
border: 1px solid var(--border-color);
|
|
border-left: none;
|
|
border-radius: 0 24px 24px 0;
|
|
color: var(--text-secondary);
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
font-weight: 500;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
/* ... (lines 170-198 unchanged) ... */
|
|
|
|
.downloads-summary {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
background-color: var(--background-light);
|
|
border: 1px solid var(--border-color);
|
|
padding: 0 16px;
|
|
height: var(--input-height);
|
|
border-radius: 23px;
|
|
/* Half of 46px */
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
white-space: nowrap;
|
|
min-width: 160px;
|
|
}
|
|
|
|
.light-mode {
|
|
--primary-color: #ff3e3e;
|
|
--primary-hover: #ff1a1a;
|
|
--secondary-color: #e0e0e0;
|
|
--text-color: #121212;
|
|
--text-secondary: #555555;
|
|
--background-dark: #f9f9f9;
|
|
--background-darker: #ffffff;
|
|
--background-lighter: #f0f0f0;
|
|
--card-background: #ffffff;
|
|
--border-color: #e0e0e0;
|
|
--hover-color: #f0f0f0;
|
|
--shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
|
|
--background-light: #f0f0f0;
|
|
/* Added for input backgrounds */
|
|
--text-primary: #121212;
|
|
/* Added for input text */
|
|
}
|
|
|
|
/* Default dark mode variables that were missing or hardcoded */
|
|
:root {
|
|
--background-light: #2a2a2a;
|
|
--text-primary: #f0f0f0;
|
|
}
|
|
|
|
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html,
|
|
body {
|
|
width: 100%;
|
|
height: 100%;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
|
|
Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
|
|
background-color: var(--background-dark);
|
|
color: var(--text-color);
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.app {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 100vh;
|
|
width: 100%;
|
|
}
|
|
|
|
/* Header Styles */
|
|
.header {
|
|
background-color: var(--background-darker);
|
|
box-shadow: var(--shadow);
|
|
padding: var(--spacing-md) var(--spacing-lg);
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 100;
|
|
width: 100%;
|
|
border-bottom: 1px solid var(--border-color);
|
|
}
|
|
|
|
.header-content {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: 0 var(--spacing-md);
|
|
}
|
|
|
|
.logo {
|
|
font-size: 1.5rem;
|
|
font-weight: 800;
|
|
color: var(--primary-color);
|
|
text-decoration: none;
|
|
letter-spacing: -0.5px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.logo-icon {
|
|
height: 40px;
|
|
width: auto;
|
|
}
|
|
|
|
/* Header Form */
|
|
.url-form {
|
|
flex: 1;
|
|
max-width: 800px;
|
|
/* Increased from 600px to accommodate download indicator */
|
|
margin-left: var(--spacing-xl);
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 16px;
|
|
}
|
|
|
|
.form-group {
|
|
display: flex;
|
|
width: 100%;
|
|
position: relative;
|
|
flex: 1;
|
|
}
|
|
|
|
.url-input {
|
|
width: 100%;
|
|
height: var(--input-height);
|
|
padding: 0 20px;
|
|
border-radius: 24px 0 0 24px;
|
|
border: 1px solid var(--border-color);
|
|
background-color: var(--background-light);
|
|
color: var(--text-primary);
|
|
font-size: 1rem;
|
|
transition: all 0.2s ease;
|
|
min-width: 0;
|
|
/* Prevents flex item from overflowing */
|
|
}
|
|
|
|
.url-input:focus {
|
|
outline: none;
|
|
border-color: var(--primary-color);
|
|
box-shadow: 0 0 0 2px rgba(255, 62, 62, 0.2);
|
|
}
|
|
|
|
.url-input.downloading {
|
|
background-color: rgba(255, 62, 62, 0.1);
|
|
border-color: var(--primary-color);
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.submit-btn {
|
|
height: var(--input-height);
|
|
padding: 0 24px;
|
|
background-color: var(--background-light);
|
|
border: 1px solid var(--border-color);
|
|
border-left: none;
|
|
border-radius: 0 24px 24px 0;
|
|
color: var(--text-secondary);
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
font-weight: 500;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.submit-btn:hover:not(:disabled) {
|
|
background-color: var(--hover-color);
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.submit-btn:disabled {
|
|
opacity: 0.7;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.form-error {
|
|
position: absolute;
|
|
top: 100%;
|
|
left: 0;
|
|
margin-top: 8px;
|
|
color: var(--primary-color);
|
|
font-size: 0.875rem;
|
|
padding-left: 12px;
|
|
}
|
|
|
|
/* Downloads Indicator */
|
|
.downloads-indicator-container {
|
|
position: relative;
|
|
z-index: 100;
|
|
display: flex;
|
|
align-items: center;
|
|
height: 100%;
|
|
}
|
|
|
|
.downloads-summary {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
background-color: var(--background-light);
|
|
border: 1px solid var(--border-color);
|
|
padding: 0 16px;
|
|
height: var(--input-height);
|
|
border-radius: 23px;
|
|
/* Half of 46px */
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
white-space: nowrap;
|
|
min-width: 160px;
|
|
}
|
|
|
|
.downloads-summary:hover {
|
|
background-color: var(--hover-color);
|
|
border-color: var(--primary-color);
|
|
}
|
|
|
|
.download-icon {
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
.download-count {
|
|
font-size: 0.9rem;
|
|
font-weight: 600;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.download-arrow {
|
|
font-size: 0.8rem;
|
|
color: var(--text-secondary);
|
|
margin-left: auto;
|
|
}
|
|
|
|
.downloads-dropdown {
|
|
position: absolute;
|
|
top: calc(100% + 10px);
|
|
right: 0;
|
|
width: 300px;
|
|
background-color: var(--card-background);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 12px;
|
|
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
|
|
overflow: hidden;
|
|
animation: slideDown 0.2s ease-out;
|
|
}
|
|
|
|
@keyframes slideDown {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(-10px);
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
.download-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 12px 16px;
|
|
border-bottom: 1px solid var(--border-color);
|
|
}
|
|
|
|
.download-item:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.download-spinner {
|
|
width: 16px;
|
|
height: 16px;
|
|
border: 2px solid rgba(255, 62, 62, 0.3);
|
|
border-radius: 50%;
|
|
border-top-color: var(--primary-color);
|
|
animation: spin 1s linear infinite;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.download-title {
|
|
font-size: 0.9rem;
|
|
color: var(--text-primary);
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
/* Main Content */
|
|
.main-content {
|
|
flex: 1;
|
|
padding: var(--spacing-lg);
|
|
width: 100%;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
/* Videos Grid */
|
|
.videos-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
|
|
gap: var(--spacing-lg);
|
|
width: 100%;
|
|
align-items: start;
|
|
/* Align items to the start of the grid cell */
|
|
}
|
|
|
|
/* Home Container */
|
|
.home-container {
|
|
padding: var(--spacing-lg);
|
|
width: 100%;
|
|
}
|
|
|
|
.no-videos {
|
|
text-align: center;
|
|
padding: var(--spacing-xl);
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
/* Responsive adjustments for videos grid */
|
|
@media (max-width: 768px) {
|
|
.home-container {
|
|
padding: var(--spacing-md);
|
|
}
|
|
|
|
.videos-grid {
|
|
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
|
|
gap: var(--spacing-md);
|
|
}
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.videos-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
/* Video Card */
|
|
.video-card {
|
|
background-color: var(--card-background);
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
box-shadow: var(--shadow);
|
|
transition: box-shadow 0.2s;
|
|
color: inherit;
|
|
min-height: 290px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
border: 1px solid var(--border-color);
|
|
}
|
|
|
|
.video-card:hover {
|
|
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
|
|
}
|
|
|
|
.thumbnail-container {
|
|
position: relative;
|
|
width: 100%;
|
|
padding-top: 56.25%;
|
|
/* 16:9 aspect ratio */
|
|
overflow: hidden;
|
|
background-color: var(--background-darker);
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.thumbnail {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.video-info {
|
|
padding: var(--spacing-md);
|
|
flex: 1 1 auto;
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* Clickable elements */
|
|
.clickable {
|
|
cursor: pointer;
|
|
transition: opacity 0.2s;
|
|
}
|
|
|
|
.clickable:hover {
|
|
opacity: 0.85;
|
|
}
|
|
|
|
/* Video title */
|
|
.video-title {
|
|
margin: 0 0 var(--spacing-sm);
|
|
font-size: 16px;
|
|
font-weight: 500;
|
|
line-height: 1.3;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 2;
|
|
-webkit-box-orient: vertical;
|
|
color: var(--text-color);
|
|
max-height: 42px;
|
|
/* Approximately 2 lines of text with line-height 1.3 */
|
|
}
|
|
|
|
.video-title.clickable:hover {
|
|
color: var(--primary-color);
|
|
}
|
|
|
|
.video-meta {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
font-size: 14px;
|
|
color: var(--text-secondary);
|
|
margin-top: auto;
|
|
}
|
|
|
|
/* Video Player Page Layout */
|
|
.video-player-page {
|
|
display: flex;
|
|
flex-direction: column;
|
|
max-width: 1800px;
|
|
margin: 0 auto;
|
|
padding: 24px;
|
|
gap: 24px;
|
|
}
|
|
|
|
@media (min-width: 1024px) {
|
|
.video-player-page {
|
|
flex-direction: row;
|
|
align-items: flex-start;
|
|
}
|
|
}
|
|
|
|
/* Main Content Column */
|
|
.video-main-content {
|
|
flex: 1;
|
|
width: 100%;
|
|
min-width: 0;
|
|
/* Prevents flex item from overflowing */
|
|
}
|
|
|
|
/* Sidebar Column */
|
|
.video-sidebar {
|
|
width: 100%;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
@media (min-width: 1024px) {
|
|
.video-sidebar {
|
|
width: 400px;
|
|
}
|
|
}
|
|
|
|
/* Video Player Wrapper */
|
|
.video-wrapper {
|
|
position: relative;
|
|
padding-top: 56.25%;
|
|
/* 16:9 aspect ratio */
|
|
background-color: #000;
|
|
border-radius: 12px;
|
|
overflow: hidden;
|
|
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.video-player {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
/* Video Info Section */
|
|
.video-info-section {
|
|
color: var(--text-color);
|
|
}
|
|
|
|
.video-title-h1 {
|
|
font-size: 1.25rem;
|
|
font-weight: 700;
|
|
line-height: 1.4;
|
|
margin-bottom: 12px;
|
|
color: var(--text-color);
|
|
}
|
|
|
|
.video-actions-row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: 12px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.video-primary-actions {
|
|
display: flex;
|
|
gap: 10px;
|
|
}
|
|
|
|
/* Action Buttons */
|
|
.action-btn {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 8px 16px;
|
|
border-radius: 18px;
|
|
font-size: 0.9rem;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
border: none;
|
|
transition: background-color 0.2s;
|
|
}
|
|
|
|
.btn-secondary {
|
|
background-color: rgba(255, 255, 255, 0.1);
|
|
color: var(--text-color);
|
|
}
|
|
|
|
.btn-secondary:hover {
|
|
background-color: rgba(255, 255, 255, 0.2);
|
|
}
|
|
|
|
.light-mode .btn-secondary {
|
|
background-color: rgba(0, 0, 0, 0.05);
|
|
}
|
|
|
|
.light-mode .btn-secondary:hover {
|
|
background-color: rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.btn-primary {
|
|
background-color: var(--text-color);
|
|
color: var(--background-darker);
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
opacity: 0.9;
|
|
}
|
|
|
|
.btn-danger {
|
|
background-color: rgba(255, 255, 255, 0.1);
|
|
color: var(--primary-color);
|
|
}
|
|
|
|
.light-mode .btn-danger {
|
|
background-color: rgba(0, 0, 0, 0.05);
|
|
}
|
|
|
|
.btn-danger:hover {
|
|
background-color: rgba(255, 62, 62, 0.15);
|
|
}
|
|
|
|
/* Channel/Description Box */
|
|
.channel-desc-container {
|
|
background-color: var(--background-light);
|
|
border-radius: 12px;
|
|
padding: 16px;
|
|
margin-top: 16px;
|
|
}
|
|
|
|
.channel-row {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-bottom: 12px;
|
|
gap: 12px;
|
|
}
|
|
|
|
.channel-avatar {
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 50%;
|
|
background-color: var(--primary-color);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-weight: bold;
|
|
color: #fff;
|
|
font-size: 1.2rem;
|
|
}
|
|
|
|
.channel-info {
|
|
flex: 1;
|
|
}
|
|
|
|
.channel-name {
|
|
font-weight: 600;
|
|
font-size: 1rem;
|
|
color: var(--text-color);
|
|
text-decoration: none;
|
|
}
|
|
|
|
.channel-name:hover {
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.video-stats {
|
|
font-size: 0.85rem;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.description-text {
|
|
font-size: 0.9rem;
|
|
line-height: 1.5;
|
|
color: var(--text-color);
|
|
white-space: pre-wrap;
|
|
}
|
|
|
|
.description-meta {
|
|
margin-top: 12px;
|
|
font-size: 0.85rem;
|
|
color: var(--text-secondary);
|
|
display: flex;
|
|
gap: 16px;
|
|
}
|
|
|
|
/* Sidebar - Up Next */
|
|
.sidebar-title {
|
|
font-size: 1.1rem;
|
|
font-weight: 600;
|
|
margin-bottom: 16px;
|
|
color: var(--text-color);
|
|
}
|
|
|
|
.related-videos-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
}
|
|
|
|
.related-video-card {
|
|
display: flex;
|
|
gap: 8px;
|
|
cursor: pointer;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.related-video-thumbnail {
|
|
position: relative;
|
|
width: 168px;
|
|
height: 94px;
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
flex-shrink: 0;
|
|
background-color: #2a2a2a;
|
|
}
|
|
|
|
.related-video-thumbnail img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.related-video-info {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.related-video-title {
|
|
font-size: 0.9rem;
|
|
font-weight: 600;
|
|
line-height: 1.4;
|
|
color: var(--text-color);
|
|
margin-bottom: 4px;
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 2;
|
|
-webkit-box-orient: vertical;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.related-video-author,
|
|
.related-video-meta {
|
|
font-size: 0.8rem;
|
|
color: var(--text-secondary);
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.duration-badge {
|
|
position: absolute;
|
|
bottom: 4px;
|
|
right: 4px;
|
|
background-color: rgba(0, 0, 0, 0.8);
|
|
color: #fff;
|
|
padding: 2px 4px;
|
|
border-radius: 4px;
|
|
font-size: 0.75rem;
|
|
font-weight: 500;
|
|
}
|
|
|
|
/* Collection Tags */
|
|
.collection-tags {
|
|
display: flex;
|
|
gap: 8px;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.collection-pill {
|
|
background-color: rgba(62, 166, 255, 0.2);
|
|
color: #3ea6ff;
|
|
padding: 2px 8px;
|
|
border-radius: 4px;
|
|
font-size: 0.8rem;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.collection-pill:hover {
|
|
background-color: rgba(62, 166, 255, 0.3);
|
|
}
|
|
|
|
/* Loading and Error States */
|
|
.loading,
|
|
.error {
|
|
text-align: center;
|
|
padding: var(--spacing-xl);
|
|
font-size: 1.2rem;
|
|
}
|
|
|
|
.loading {
|
|
color: var(--text-color);
|
|
}
|
|
|
|
.error {
|
|
color: var(--primary-color);
|
|
}
|
|
|
|
/* Responsive Adjustments */
|
|
@media (max-width: 768px) {
|
|
.header-content {
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
gap: var(--spacing-md);
|
|
}
|
|
|
|
.url-form {
|
|
max-width: 100%;
|
|
margin-left: 0;
|
|
}
|
|
|
|
.logo {
|
|
margin-bottom: var(--spacing-sm);
|
|
}
|
|
|
|
.videos-grid {
|
|
grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
|
|
gap: var(--spacing-md);
|
|
}
|
|
|
|
.video-details-header {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.delete-btn {
|
|
margin-top: var(--spacing-sm);
|
|
}
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.videos-grid {
|
|
grid-template-columns: 1fr;
|
|
gap: var(--spacing-md);
|
|
}
|
|
|
|
.main-content {
|
|
padding: var(--spacing-md);
|
|
}
|
|
|
|
.video-details-meta {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.url-form .form-group {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.submit-btn {
|
|
width: 100%;
|
|
}
|
|
|
|
.form-error {
|
|
text-align: left;
|
|
}
|
|
}
|
|
|
|
/* Author link in VideoCard */
|
|
.author-link {
|
|
color: var(--primary-color);
|
|
text-decoration: none;
|
|
font-weight: 500;
|
|
position: relative;
|
|
z-index: 10;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.author-link:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
/* Author Videos Page */
|
|
.author-videos-container {
|
|
padding: var(--spacing-lg);
|
|
}
|
|
|
|
.author-header {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-bottom: var(--spacing-lg);
|
|
gap: var(--spacing-md);
|
|
}
|
|
|
|
.author-info {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.author-info h2 {
|
|
margin: 0;
|
|
color: var(--text-color);
|
|
}
|
|
|
|
.video-count {
|
|
color: var(--text-secondary);
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
/* Responsive styles for author page */
|
|
@media (max-width: 768px) {
|
|
.author-videos-container {
|
|
padding: var(--spacing-md);
|
|
}
|
|
|
|
.author-header {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
gap: var(--spacing-sm);
|
|
}
|
|
|
|
.author-info {
|
|
width: 100%;
|
|
margin-top: var(--spacing-sm);
|
|
}
|
|
}
|
|
|
|
.back-button {
|
|
background-color: var(--secondary-color);
|
|
border: none;
|
|
border-radius: var(--border-radius);
|
|
padding: var(--spacing-sm) var(--spacing-md);
|
|
cursor: pointer;
|
|
font-size: 1rem;
|
|
transition: background-color 0.2s;
|
|
color: var(--text-color);
|
|
}
|
|
|
|
.back-button:hover {
|
|
background-color: var(--border-color);
|
|
}
|
|
|
|
/* Video details author link */
|
|
.video-details .author-link {
|
|
display: inline-block;
|
|
position: relative;
|
|
padding: 2px 4px;
|
|
margin: -2px -4px;
|
|
border-radius: 4px;
|
|
transition: background-color 0.2s;
|
|
}
|
|
|
|
.video-details .author-link:hover {
|
|
background-color: rgba(255, 62, 62, 0.1);
|
|
text-decoration: none;
|
|
}
|
|
|
|
.video-details .author-link:focus {
|
|
outline: none;
|
|
box-shadow: 0 0 0 2px rgba(255, 62, 62, 0.5);
|
|
}
|
|
|
|
.video-details .author-link::after {
|
|
content: '';
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 1px;
|
|
background-color: var(--primary-color);
|
|
transform: scaleX(0);
|
|
transform-origin: left;
|
|
transition: transform 0.3s ease;
|
|
}
|
|
|
|
.video-details .author-link:hover::after {
|
|
transform: scaleX(1);
|
|
}
|
|
|
|
/* Source icons */
|
|
.source-icon {
|
|
position: absolute;
|
|
top: 10px;
|
|
right: 10px;
|
|
width: 30px;
|
|
height: 30px;
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 12px;
|
|
font-weight: bold;
|
|
color: #fff;
|
|
z-index: 5;
|
|
}
|
|
|
|
.youtube-icon {
|
|
background-color: #ff3e3e;
|
|
}
|
|
|
|
.bilibili-icon {
|
|
background-color: #00a1d6;
|
|
}
|
|
|
|
/* Source badges */
|
|
.source-badge {
|
|
display: inline-block;
|
|
padding: 4px 8px;
|
|
border-radius: 4px;
|
|
font-size: 12px;
|
|
font-weight: bold;
|
|
color: #fff;
|
|
margin-left: 10px;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.source-badge.youtube {
|
|
background-color: #ff3e3e;
|
|
}
|
|
|
|
.source-badge.bilibili {
|
|
background-color: #00a1d6;
|
|
}
|
|
|
|
.title-container {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: 10px;
|
|
}
|
|
|
|
.source-link {
|
|
color: var(--text-color);
|
|
text-decoration: none;
|
|
position: relative;
|
|
}
|
|
|
|
.source-link:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
/* Search Results Styles */
|
|
.search-results {
|
|
width: 100%;
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: 20px;
|
|
}
|
|
|
|
.search-header {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-bottom: 20px;
|
|
gap: 15px;
|
|
}
|
|
|
|
.search-header h2 {
|
|
color: #f0f0f0;
|
|
font-size: 1.8rem;
|
|
margin: 0;
|
|
}
|
|
|
|
.search-header .back-button {
|
|
background-color: var(--secondary-color);
|
|
color: var(--text-color);
|
|
border: none;
|
|
border-radius: var(--border-radius);
|
|
padding: 8px 15px;
|
|
font-size: 0.9rem;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
}
|
|
|
|
.search-header .back-button:hover {
|
|
background-color: var(--primary-color);
|
|
transform: translateX(-3px);
|
|
}
|
|
|
|
.search-header .back-button span {
|
|
font-size: 1.2rem;
|
|
line-height: 1;
|
|
}
|
|
|
|
.back-to-home-btn {
|
|
background-color: var(--secondary-color);
|
|
color: var(--text-color);
|
|
border: none;
|
|
border-radius: var(--border-radius);
|
|
padding: 8px 15px;
|
|
font-size: 0.9rem;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
margin-left: auto;
|
|
}
|
|
|
|
.back-to-home-btn:hover {
|
|
background-color: var(--primary-color);
|
|
transform: translateX(-3px);
|
|
}
|
|
|
|
.search-results-section {
|
|
margin-bottom: 40px;
|
|
}
|
|
|
|
.section-title {
|
|
color: #aaa;
|
|
font-size: 1.4rem;
|
|
margin-bottom: 15px;
|
|
padding-bottom: 8px;
|
|
border-bottom: 1px solid #444;
|
|
}
|
|
|
|
.search-results-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
|
|
gap: 20px;
|
|
}
|
|
|
|
.search-result-card {
|
|
background-color: #2a2a2a;
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
|
|
transition: transform 0.2s ease-in-out;
|
|
}
|
|
|
|
.search-result-card:hover {
|
|
transform: translateY(-5px);
|
|
}
|
|
|
|
.search-result-card.local-result {
|
|
border-left: 3px solid #ff3e3e;
|
|
}
|
|
|
|
.search-result-thumbnail {
|
|
width: 100%;
|
|
height: 180px;
|
|
overflow: hidden;
|
|
position: relative;
|
|
}
|
|
|
|
.search-result-thumbnail img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.thumbnail-placeholder {
|
|
width: 100%;
|
|
height: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background-color: #1a1a1a;
|
|
color: #888;
|
|
}
|
|
|
|
.search-result-info {
|
|
padding: 15px;
|
|
}
|
|
|
|
.search-result-title {
|
|
color: #f0f0f0;
|
|
font-size: 1.1rem;
|
|
margin-bottom: 8px;
|
|
line-height: 1.3;
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 2;
|
|
-webkit-box-orient: vertical;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.search-result-author {
|
|
color: #aaa;
|
|
font-size: 0.9rem;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.search-result-meta {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: 10px;
|
|
margin-bottom: 15px;
|
|
font-size: 0.8rem;
|
|
color: #888;
|
|
}
|
|
|
|
.search-result-duration,
|
|
.search-result-views,
|
|
.search-result-date {
|
|
background-color: #333;
|
|
padding: 3px 8px;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.download-btn {
|
|
background-color: #ff3e3e;
|
|
color: white;
|
|
border: none;
|
|
border-radius: 4px;
|
|
padding: 8px 15px;
|
|
font-size: 0.9rem;
|
|
cursor: pointer;
|
|
transition: background-color 0.2s;
|
|
width: 100%;
|
|
}
|
|
|
|
.download-btn:hover {
|
|
background-color: #e62e2e;
|
|
}
|
|
|
|
.search-result-actions {
|
|
display: flex;
|
|
gap: 10px;
|
|
}
|
|
|
|
.play-btn,
|
|
.delete-btn {
|
|
flex: 1;
|
|
padding: 8px 15px;
|
|
border-radius: 4px;
|
|
font-size: 0.9rem;
|
|
cursor: pointer;
|
|
text-align: center;
|
|
transition: background-color 0.2s;
|
|
}
|
|
|
|
.play-btn {
|
|
background-color: #ff3e3e;
|
|
color: white;
|
|
border: none;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.play-btn:hover {
|
|
background-color: #e62e2e;
|
|
}
|
|
|
|
.delete-btn {
|
|
background-color: transparent;
|
|
color: #aaa;
|
|
border: 1px solid #444;
|
|
}
|
|
|
|
.delete-btn:hover {
|
|
background-color: rgba(255, 0, 0, 0.1);
|
|
color: #ff3e3e;
|
|
border-color: #ff3e3e;
|
|
}
|
|
|
|
.light-mode .glass-panel:hover {
|
|
background-color: rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.glass-panel:focus {
|
|
outline: none;
|
|
border-color: rgba(62, 166, 255, 0.5);
|
|
background-color: rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.light-mode .glass-panel:focus {
|
|
border-color: rgba(62, 166, 255, 0.5);
|
|
background-color: rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.video-link,
|
|
.author-link {
|
|
text-decoration: none;
|
|
}
|
|
|
|
.author-link:hover .search-result-author {
|
|
color: #ff3e3e;
|
|
}
|
|
|
|
.no-results {
|
|
color: #aaa;
|
|
font-size: 1.1rem;
|
|
text-align: center;
|
|
margin-top: 40px;
|
|
}
|
|
|
|
.loading-spinner {
|
|
width: 40px;
|
|
height: 40px;
|
|
border: 4px solid rgba(255, 62, 62, 0.3);
|
|
border-radius: 50%;
|
|
border-top-color: #ff3e3e;
|
|
margin: 40px auto;
|
|
animation: spin 1s linear infinite;
|
|
}
|
|
|
|
@keyframes spin {
|
|
0% {
|
|
transform: rotate(0deg);
|
|
}
|
|
|
|
100% {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
.youtube-loading {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 30px 0;
|
|
}
|
|
|
|
.youtube-loading p {
|
|
color: #aaa;
|
|
margin-top: 15px;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.youtube-loading .loading-spinner {
|
|
width: 30px;
|
|
height: 30px;
|
|
border-width: 3px;
|
|
}
|
|
|
|
/* Downloading state for input field */
|
|
.url-input.downloading {
|
|
background-color: rgba(255, 62, 62, 0.1);
|
|
border-color: var(--primary-color);
|
|
color: var(--text-color);
|
|
font-style: italic;
|
|
animation: pulse 2s infinite;
|
|
}
|
|
|
|
@keyframes pulse {
|
|
0% {
|
|
box-shadow: 0 0 0 0 rgba(255, 62, 62, 0.4);
|
|
}
|
|
|
|
70% {
|
|
box-shadow: 0 0 0 10px rgba(255, 62, 62, 0);
|
|
}
|
|
|
|
100% {
|
|
box-shadow: 0 0 0 0 rgba(255, 62, 62, 0);
|
|
}
|
|
}
|
|
|
|
/* Placeholder color for downloading state */
|
|
.url-input.downloading::placeholder {
|
|
color: var(--primary-color);
|
|
opacity: 0.8;
|
|
}
|
|
|
|
/* Download status message */
|
|
.download-status {
|
|
color: var(--primary-color);
|
|
font-size: 0.875rem;
|
|
margin-top: var(--spacing-xs);
|
|
text-align: center;
|
|
font-weight: bold;
|
|
animation: blink 1.5s infinite;
|
|
}
|
|
|
|
@keyframes blink {
|
|
|
|
0%,
|
|
100% {
|
|
opacity: 1;
|
|
}
|
|
|
|
50% {
|
|
opacity: 0.7;
|
|
}
|
|
}
|
|
|
|
/* Specific style for delete button in VideoPlayer */
|
|
.video-details-header .delete-btn {
|
|
width: auto;
|
|
min-width: 120px;
|
|
max-width: 150px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
/* Authors List Styles */
|
|
.home-content {
|
|
display: flex;
|
|
width: 100%;
|
|
gap: var(--spacing-lg);
|
|
}
|
|
|
|
.authors-container {
|
|
width: 220px;
|
|
flex-shrink: 0;
|
|
background-color: var(--background-lighter);
|
|
border-radius: var(--border-radius);
|
|
box-shadow: var(--shadow);
|
|
overflow: hidden;
|
|
margin-bottom: var(--spacing-lg);
|
|
}
|
|
|
|
.authors-dropdown-toggle {
|
|
display: none;
|
|
/* Hidden on desktop */
|
|
padding: var(--spacing-md);
|
|
background-color: var(--background-darker);
|
|
cursor: pointer;
|
|
border-bottom: 1px solid var(--border-color);
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.dropdown-arrow {
|
|
transition: transform 0.3s ease;
|
|
}
|
|
|
|
.dropdown-arrow.open {
|
|
transform: rotate(180deg);
|
|
}
|
|
|
|
.authors-list {
|
|
padding: var(--spacing-md);
|
|
}
|
|
|
|
.authors-title {
|
|
margin-bottom: var(--spacing-md);
|
|
color: var(--primary-color);
|
|
font-size: 1.2rem;
|
|
}
|
|
|
|
.authors-list ul {
|
|
list-style: none;
|
|
padding: 0;
|
|
}
|
|
|
|
.author-item {
|
|
margin-bottom: var(--spacing-sm);
|
|
}
|
|
|
|
.author-link {
|
|
color: var(--text-color);
|
|
text-decoration: none;
|
|
display: block;
|
|
padding: var(--spacing-xs) var(--spacing-sm);
|
|
border-radius: var(--border-radius);
|
|
transition: background-color 0.2s ease, color 0.2s ease;
|
|
}
|
|
|
|
.author-link:hover {
|
|
background-color: var(--primary-color);
|
|
color: white;
|
|
}
|
|
|
|
/* Responsive styles for authors list */
|
|
@media (max-width: 768px) {
|
|
.home-content {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.authors-container {
|
|
width: 100%;
|
|
margin-bottom: var(--spacing-md);
|
|
}
|
|
|
|
.authors-dropdown-toggle {
|
|
display: flex;
|
|
}
|
|
|
|
.authors-list {
|
|
display: none;
|
|
max-height: 0;
|
|
transition: max-height 0.3s ease;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.authors-list.open {
|
|
display: block;
|
|
max-height: 500px;
|
|
/* Adjust as needed */
|
|
}
|
|
|
|
.authors-list .authors-title {
|
|
display: none;
|
|
/* Hide the duplicate title in mobile view */
|
|
}
|
|
}
|
|
|
|
/* Video Card Actions */
|
|
.video-actions {
|
|
margin-top: var(--spacing-md);
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.video-card .delete-btn {
|
|
background-color: transparent;
|
|
color: var(--text-secondary);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: var(--border-radius);
|
|
padding: var(--spacing-xs) var(--spacing-sm);
|
|
font-size: 0.9rem;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
width: 100%;
|
|
}
|
|
|
|
.video-card .delete-btn:hover {
|
|
background-color: rgba(255, 62, 62, 0.1);
|
|
color: var(--primary-color);
|
|
border-color: var(--primary-color);
|
|
}
|
|
|
|
.video-card .delete-btn:disabled {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
/* Collections Component */
|
|
.collections-container {
|
|
width: 220px;
|
|
flex-shrink: 0;
|
|
background-color: var(--background-lighter);
|
|
border-radius: var(--border-radius);
|
|
box-shadow: var(--shadow);
|
|
overflow: hidden;
|
|
margin-bottom: var(--spacing-lg);
|
|
}
|
|
|
|
.collections-dropdown-toggle {
|
|
display: none;
|
|
/* Hidden on desktop */
|
|
padding: var(--spacing-md);
|
|
background-color: var(--background-darker);
|
|
cursor: pointer;
|
|
border-bottom: 1px solid var(--border-color);
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.collections-dropdown-toggle h3 {
|
|
margin: 0;
|
|
font-size: 1.2rem;
|
|
color: var(--text-color);
|
|
}
|
|
|
|
.collections-list {
|
|
padding: var(--spacing-md);
|
|
}
|
|
|
|
.collections-list ul {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
.collections-title {
|
|
margin-bottom: var(--spacing-md);
|
|
color: var(--primary-color);
|
|
font-size: 1.2rem;
|
|
}
|
|
|
|
.collection-item {
|
|
margin-bottom: var(--spacing-sm);
|
|
}
|
|
|
|
.collection-link {
|
|
color: var(--text-color);
|
|
text-decoration: none;
|
|
display: block;
|
|
padding: var(--spacing-xs) var(--spacing-sm);
|
|
border-radius: var(--border-radius);
|
|
transition: background-color 0.2s ease, color 0.2s ease;
|
|
}
|
|
|
|
.collection-link:hover {
|
|
background-color: var(--hover-color);
|
|
text-decoration: none;
|
|
color: var(--primary-color);
|
|
}
|
|
|
|
/* Collection Page */
|
|
.collection-page {
|
|
padding: 20px;
|
|
}
|
|
|
|
.collection-title {
|
|
margin-bottom: 20px;
|
|
font-size: 1.8rem;
|
|
color: #333;
|
|
}
|
|
|
|
/* Video Player Collection Button */
|
|
.video-actions {
|
|
display: flex;
|
|
gap: 10px;
|
|
}
|
|
|
|
.collection-btn {
|
|
background-color: var(--secondary-color);
|
|
color: white;
|
|
border: none;
|
|
border-radius: 4px;
|
|
padding: 8px 16px;
|
|
cursor: pointer;
|
|
font-size: 0.9rem;
|
|
transition: background-color 0.2s;
|
|
}
|
|
|
|
.collection-btn:hover {
|
|
background-color: #0069d9;
|
|
}
|
|
|
|
/* Collection Modal */
|
|
.modal-overlay {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background-color: rgba(0, 0, 0, 0.85);
|
|
backdrop-filter: blur(4px);
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
z-index: 1000;
|
|
padding: 20px;
|
|
animation: overlayFadeIn 0.2s ease-out;
|
|
}
|
|
|
|
@keyframes overlayFadeIn {
|
|
from {
|
|
opacity: 0;
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
.modal-content {
|
|
background: var(--card-background);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 16px;
|
|
width: 100%;
|
|
max-width: 550px;
|
|
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 1px rgba(255, 255, 255, 0.1);
|
|
animation: modalFadeIn 0.3s ease-out;
|
|
overflow: visible;
|
|
}
|
|
|
|
.light-mode .modal-content {
|
|
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1), 0 0 1px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.modal-header {
|
|
padding: 24px 24px 20px;
|
|
border-bottom: 1px solid var(--border-color);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
position: relative;
|
|
}
|
|
|
|
.modal-header h2 {
|
|
margin: 0;
|
|
font-size: 1.4rem;
|
|
font-weight: 600;
|
|
color: var(--text-color);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.close-btn {
|
|
background: none;
|
|
border: none;
|
|
color: var(--text-secondary);
|
|
font-size: 28px;
|
|
cursor: pointer;
|
|
padding: 0;
|
|
width: 32px;
|
|
height: 32px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 6px;
|
|
transition: all 0.2s ease;
|
|
line-height: 1;
|
|
}
|
|
|
|
.close-btn:hover {
|
|
background-color: rgba(255, 255, 255, 0.1);
|
|
color: var(--text-color);
|
|
}
|
|
|
|
.modal-body {
|
|
padding: 24px;
|
|
}
|
|
|
|
.modal-body p {
|
|
margin: 0 0 12px 0;
|
|
color: var(--text-secondary);
|
|
font-size: 0.95rem;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.modal-body p strong {
|
|
color: var(--text-color);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.modal-body .video-count-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
background: linear-gradient(135deg, var(--primary-color) 0%, #ff6b6b 100%);
|
|
color: white;
|
|
padding: 4px 12px;
|
|
border-radius: 12px;
|
|
font-weight: 600;
|
|
font-size: 0.9rem;
|
|
margin: 0 4px;
|
|
}
|
|
|
|
.form-group {
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.form-group label {
|
|
display: block;
|
|
margin-bottom: 8px;
|
|
color: var(--text-color);
|
|
font-weight: 500;
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
.form-group .collection-input {
|
|
width: 100%;
|
|
padding: 12px 16px;
|
|
background-color: rgba(0, 0, 0, 0.3);
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
border-radius: 8px;
|
|
color: var(--text-color);
|
|
font-size: 1rem;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.form-group .collection-input:focus {
|
|
outline: none;
|
|
border-color: var(--primary-color);
|
|
background-color: rgba(0, 0, 0, 0.4);
|
|
box-shadow: 0 0 0 3px rgba(255, 62, 62, 0.1);
|
|
}
|
|
|
|
.form-group .collection-input:disabled {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.form-group small {
|
|
display: block;
|
|
margin-top: 6px;
|
|
color: var(--text-secondary);
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
.modal-footer {
|
|
padding: 20px 24px 24px;
|
|
display: flex;
|
|
gap: 12px;
|
|
background: var(--background-lighter);
|
|
border-top: 1px solid var(--border-color);
|
|
}
|
|
|
|
.modal-footer .btn {
|
|
flex: 1;
|
|
padding: 12px 20px;
|
|
border: none;
|
|
border-radius: 8px;
|
|
font-size: 0.95rem;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.modal-footer .btn:disabled {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.modal-footer .primary-btn {
|
|
background: linear-gradient(135deg, var(--primary-color) 0%, #ff6b6b 100%);
|
|
color: white;
|
|
box-shadow: 0 4px 12px rgba(255, 62, 62, 0.3);
|
|
}
|
|
|
|
.modal-footer .primary-btn:hover:not(:disabled) {
|
|
transform: translateY(-1px);
|
|
box-shadow: 0 6px 16px rgba(255, 62, 62, 0.4);
|
|
}
|
|
|
|
.modal-footer .primary-btn:active:not(:disabled) {
|
|
transform: translateY(0);
|
|
}
|
|
|
|
.modal-footer .secondary-btn {
|
|
background-color: var(--background-light);
|
|
color: var(--text-color);
|
|
border: 1px solid var(--border-color);
|
|
}
|
|
|
|
.modal-footer .secondary-btn:hover:not(:disabled) {
|
|
background-color: var(--hover-color);
|
|
border-color: var(--border-color);
|
|
}
|
|
|
|
/* Responsive modal styles */
|
|
@media (max-width: 768px) {
|
|
.modal-overlay {
|
|
padding: 16px;
|
|
}
|
|
|
|
.modal-content {
|
|
max-width: 100%;
|
|
border-radius: 12px;
|
|
}
|
|
|
|
.modal-header {
|
|
padding: 20px 20px 16px;
|
|
}
|
|
|
|
.modal-header h2 {
|
|
font-size: 1.25rem;
|
|
}
|
|
|
|
.modal-body {
|
|
padding: 20px;
|
|
}
|
|
|
|
.modal-footer {
|
|
flex-direction: column;
|
|
padding: 16px 20px 20px;
|
|
}
|
|
|
|
.modal-footer .btn {
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
@keyframes modalFadeIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(-20px);
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
/* Existing collections section */
|
|
.existing-collections {
|
|
margin-bottom: 20px;
|
|
padding-bottom: 20px;
|
|
border-bottom: 1px solid var(--border-color);
|
|
}
|
|
|
|
.existing-collections select {
|
|
width: 100%;
|
|
padding: 10px;
|
|
background-color: var(--background-darker);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: var(--border-radius);
|
|
color: var(--text-color);
|
|
font-size: 1rem;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.existing-collections select:focus {
|
|
outline: none;
|
|
border-color: var(--primary-color);
|
|
}
|
|
|
|
.existing-collections button,
|
|
.new-collection button {
|
|
background-color: var(--primary-color);
|
|
color: white;
|
|
border: none;
|
|
border-radius: var(--border-radius);
|
|
padding: 10px 15px;
|
|
font-size: 0.9rem;
|
|
cursor: pointer;
|
|
transition: background-color 0.2s;
|
|
width: 100%;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.existing-collections button:hover,
|
|
.new-collection button:hover {
|
|
background-color: var(--primary-hover);
|
|
}
|
|
|
|
.existing-collections button:disabled,
|
|
.new-collection button:disabled {
|
|
background-color: var(--secondary-color);
|
|
cursor: not-allowed;
|
|
opacity: 0.7;
|
|
}
|
|
|
|
/* New collection section */
|
|
.new-collection {
|
|
margin-bottom: 20px;
|
|
padding-bottom: 20px;
|
|
border-bottom: 1px solid var(--border-color);
|
|
}
|
|
|
|
.new-collection input {
|
|
width: 100%;
|
|
padding: 10px;
|
|
background-color: var(--background-darker);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: var(--border-radius);
|
|
color: var(--text-color);
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.new-collection input:focus {
|
|
outline: none;
|
|
border-color: var(--primary-color);
|
|
}
|
|
|
|
/* Close modal button */
|
|
.close-modal {
|
|
background-color: var(--secondary-color);
|
|
color: var(--text-color);
|
|
border: none;
|
|
border-radius: var(--border-radius);
|
|
padding: 10px 15px;
|
|
font-size: 0.9rem;
|
|
cursor: pointer;
|
|
transition: background-color 0.2s;
|
|
width: 100%;
|
|
}
|
|
|
|
.close-modal:hover {
|
|
background-color: var(--hover-color);
|
|
}
|
|
|
|
|
|
/* Unified Modal Button Styles */
|
|
.modal-btn {
|
|
width: 100%;
|
|
padding: 12px 20px;
|
|
border: none;
|
|
border-radius: var(--border-radius);
|
|
font-size: 1rem;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.modal-btn:disabled {
|
|
opacity: 0.6;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.modal-btn.primary-btn {
|
|
background-color: var(--primary-color);
|
|
color: white;
|
|
}
|
|
|
|
.modal-btn.primary-btn:hover:not(:disabled) {
|
|
background-color: var(--primary-hover);
|
|
}
|
|
|
|
.modal-btn.secondary-btn {
|
|
background-color: rgba(255, 255, 255, 0.1);
|
|
color: var(--text-color);
|
|
border: 1px solid var(--border-color);
|
|
}
|
|
|
|
.modal-btn.secondary-btn:hover:not(:disabled) {
|
|
background-color: rgba(255, 255, 255, 0.15);
|
|
border-color: var(--text-color);
|
|
}
|
|
|
|
.modal-btn.danger-btn {
|
|
background-color: rgba(255, 62, 62, 0.15);
|
|
color: var(--primary-color);
|
|
border: 1px solid var(--primary-color);
|
|
}
|
|
|
|
.modal-btn.danger-btn:hover:not(:disabled) {
|
|
background-color: var(--primary-color);
|
|
color: white;
|
|
}
|
|
|
|
.modal-btn.cancel-btn {
|
|
background-color: transparent;
|
|
color: var(--text-secondary);
|
|
border: 1px solid var(--border-color);
|
|
}
|
|
|
|
.modal-btn.cancel-btn:hover:not(:disabled) {
|
|
background-color: rgba(255, 255, 255, 0.05);
|
|
border-color: var(--text-color);
|
|
color: var(--text-color);
|
|
}
|
|
|
|
/* Video collections info */
|
|
|
|
.video-collections-title {
|
|
font-weight: bold;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.video-collections-list {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
}
|
|
|
|
.video-collection-tag {
|
|
display: inline-block;
|
|
position: relative;
|
|
padding: 2px 4px;
|
|
margin: 2px 0;
|
|
border-radius: 4px;
|
|
color: var(--primary-color);
|
|
text-decoration: none;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: background-color 0.2s;
|
|
}
|
|
|
|
.video-collection-tag:hover {
|
|
background-color: rgba(255, 62, 62, 0.1);
|
|
text-decoration: none;
|
|
}
|
|
|
|
.video-collection-tag:focus {
|
|
outline: none;
|
|
box-shadow: 0 0 0 2px rgba(255, 62, 62, 0.5);
|
|
}
|
|
|
|
.video-collection-tag::after {
|
|
content: '';
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 1px;
|
|
background-color: var(--primary-color);
|
|
transform: scaleX(0);
|
|
transform-origin: left;
|
|
transition: transform 0.3s ease;
|
|
}
|
|
|
|
.video-collection-tag:hover::after {
|
|
transform: scaleX(1);
|
|
}
|
|
|
|
/* Media Queries for Collections */
|
|
@media (max-width: 768px) {
|
|
.collections-container {
|
|
width: 100%;
|
|
margin-bottom: var(--spacing-md);
|
|
}
|
|
|
|
.collections-dropdown-toggle {
|
|
display: flex;
|
|
}
|
|
|
|
.collections-list {
|
|
display: none;
|
|
max-height: 0;
|
|
transition: max-height 0.3s ease;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.collections-list.open {
|
|
display: block;
|
|
max-height: 500px;
|
|
/* Adjust as needed */
|
|
}
|
|
|
|
.collections-list .collections-title {
|
|
display: none;
|
|
/* Hide the duplicate title in mobile view */
|
|
}
|
|
}
|
|
|
|
@media (min-width: 769px) {
|
|
.collections-dropdown-toggle .dropdown-arrow {
|
|
display: none;
|
|
}
|
|
|
|
.collections-list {
|
|
display: block !important;
|
|
}
|
|
|
|
.collections-title {
|
|
display: block;
|
|
}
|
|
|
|
.collections-dropdown-toggle h3 {
|
|
display: none;
|
|
}
|
|
|
|
.home-content {
|
|
display: grid;
|
|
grid-template-columns: 250px 1fr;
|
|
grid-template-rows: auto 1fr;
|
|
grid-template-areas:
|
|
"sidebar videos"
|
|
"sidebar videos";
|
|
gap: 20px;
|
|
}
|
|
|
|
.sidebar-container {
|
|
grid-area: sidebar;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.collections-container {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.videos-grid {
|
|
grid-area: videos;
|
|
}
|
|
}
|
|
|
|
/* Collection Page Header */
|
|
.collection-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-bottom: var(--spacing-lg);
|
|
padding: var(--spacing-md);
|
|
background-color: var(--background-lighter);
|
|
border-radius: var(--border-radius);
|
|
}
|
|
|
|
.collection-info {
|
|
flex: 1;
|
|
margin: 0 var(--spacing-md);
|
|
}
|
|
|
|
.collection-info .collection-title {
|
|
font-size: 1.5rem;
|
|
margin-bottom: var(--spacing-xs);
|
|
}
|
|
|
|
.delete-collection-button {
|
|
background-color: var(--primary-color);
|
|
color: white;
|
|
border: none;
|
|
border-radius: var(--border-radius);
|
|
padding: 8px 16px;
|
|
font-size: 0.9rem;
|
|
cursor: pointer;
|
|
transition: background-color 0.2s ease;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.delete-collection-button:hover {
|
|
background-color: var(--primary-hover);
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.collection-page {
|
|
padding: var(--spacing-md);
|
|
}
|
|
|
|
.collection-header {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.collection-info {
|
|
margin: var(--spacing-md) 0;
|
|
width: 100%;
|
|
}
|
|
|
|
.delete-collection-button {
|
|
margin-top: var(--spacing-md);
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
/* Current collection in modal */
|
|
.current-collection {
|
|
margin-bottom: 20px;
|
|
padding: 15px;
|
|
background-color: rgba(255, 62, 62, 0.05);
|
|
border-left: 3px solid var(--primary-color);
|
|
border-radius: var(--border-radius);
|
|
}
|
|
|
|
.collection-note {
|
|
margin-bottom: 10px;
|
|
color: var(--text-color);
|
|
}
|
|
|
|
.collection-warning {
|
|
margin: 0 0 15px 0;
|
|
color: var(--text-secondary);
|
|
font-style: italic;
|
|
}
|
|
|
|
.remove-from-collection {
|
|
background-color: var(--primary-color);
|
|
color: var(--text-color);
|
|
border: none;
|
|
border-radius: var(--border-radius);
|
|
padding: 10px 15px;
|
|
cursor: pointer;
|
|
font-size: 0.9rem;
|
|
transition: background-color 0.2s;
|
|
width: 100%;
|
|
}
|
|
|
|
.remove-from-collection:hover {
|
|
background-color: var(--primary-hover);
|
|
}
|
|
|
|
/* Delete Collection Modal */
|
|
.modal-buttons {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.modal-button {
|
|
padding: 10px 15px;
|
|
border-radius: var(--border-radius);
|
|
border: none;
|
|
cursor: pointer;
|
|
font-weight: 500;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.modal-button.delete-collection-only {
|
|
background-color: #4a4a4a;
|
|
color: white;
|
|
}
|
|
|
|
.modal-button.delete-collection-only:hover {
|
|
background-color: #5a5a5a;
|
|
}
|
|
|
|
.modal-button.delete-all {
|
|
background-color: #d32f2f;
|
|
color: white;
|
|
}
|
|
|
|
.modal-button.delete-all:hover {
|
|
background-color: #f44336;
|
|
}
|
|
|
|
.modal-button.cancel {
|
|
background-color: transparent;
|
|
border: 1px solid var(--border-color);
|
|
color: var(--text-color);
|
|
}
|
|
|
|
.modal-button.cancel:hover {
|
|
background-color: rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.modal-button.danger {
|
|
background-color: #d32f2f;
|
|
color: white;
|
|
}
|
|
|
|
.modal-button.danger:hover {
|
|
background-color: #f44336;
|
|
}
|
|
|
|
/* Part badge for multi-part videos */
|
|
.part-badge {
|
|
position: absolute;
|
|
bottom: 10px;
|
|
right: 10px;
|
|
background-color: rgba(0, 0, 0, 0.7);
|
|
color: white;
|
|
padding: 4px 8px;
|
|
border-radius: 4px;
|
|
font-size: 0.8rem;
|
|
font-weight: bold;
|
|
}
|
|
|
|
/* Video collections in video card */
|
|
.video-card .video-collections {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 5px;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.video-card .video-collection-tag {
|
|
display: inline-block;
|
|
background-color: var(--background-lighter);
|
|
color: var(--primary-color);
|
|
padding: 3px 8px;
|
|
border-radius: 12px;
|
|
font-size: 0.75rem;
|
|
cursor: pointer;
|
|
transition: background-color 0.2s, color 0.2s;
|
|
border: 1px solid var(--primary-color);
|
|
}
|
|
|
|
.video-card .video-collection-tag:hover {
|
|
background-color: var(--primary-color);
|
|
color: white;
|
|
}
|
|
|
|
/* Collection badge for videos that are first in a collection */
|
|
.collection-badge {
|
|
position: absolute;
|
|
top: 10px;
|
|
right: 10px;
|
|
background-color: rgba(0, 0, 0, 0.7);
|
|
color: white;
|
|
padding: 6px 10px;
|
|
border-radius: 4px;
|
|
font-size: 1rem;
|
|
z-index: 2;
|
|
border: 1px solid var(--primary-color);
|
|
box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
|
|
}
|
|
|
|
.collection-icon {
|
|
display: inline-block;
|
|
}
|
|
|
|
/* Style for collection tags that are first in collection */
|
|
.video-collection-tag.first-in-collection {
|
|
background-color: var(--primary-color);
|
|
color: white;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.first-badge {
|
|
display: inline-block;
|
|
margin-left: 3px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
/* Collection title styling */
|
|
.collection-title-prefix {
|
|
color: var(--primary-color);
|
|
font-weight: bold;
|
|
font-size: 0.85em;
|
|
display: block;
|
|
margin-bottom: 2px;
|
|
}
|
|
|
|
.more-collections {
|
|
font-size: 0.85em;
|
|
color: var(--text-secondary);
|
|
margin-left: 5px;
|
|
}
|
|
|
|
/* Make collection-first cards more prominent */
|
|
.video-card.collection-first {
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.video-card.collection-first::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 4px;
|
|
background-color: var(--primary-color);
|
|
z-index: 1;
|
|
}
|
|
|
|
/* Improve collection badge visibility */
|
|
.collection-badge {
|
|
position: absolute;
|
|
top: 10px;
|
|
right: 10px;
|
|
background-color: rgba(0, 0, 0, 0.7);
|
|
color: white;
|
|
padding: 6px 10px;
|
|
border-radius: 4px;
|
|
font-size: 1rem;
|
|
z-index: 2;
|
|
border: 1px solid var(--primary-color);
|
|
box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
|
|
}
|
|
|
|
.collection-icon {
|
|
display: inline-block;
|
|
}
|
|
|
|
/* Style for collection tags that are first in collection */
|
|
.video-collection-tag.first-in-collection {
|
|
background-color: var(--primary-color);
|
|
color: white;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.first-badge {
|
|
display: inline-block;
|
|
margin-left: 3px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
/* Manage Page Styles */
|
|
.manage-page {
|
|
padding: 2rem;
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.manage-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.manage-header h1 {
|
|
font-size: 2rem;
|
|
color: var(--text-primary);
|
|
margin: 0;
|
|
}
|
|
|
|
.back-link {
|
|
color: var(--primary-color);
|
|
text-decoration: none;
|
|
font-weight: 500;
|
|
transition: color 0.2s;
|
|
}
|
|
|
|
.back-link:hover {
|
|
color: var(--primary-hover);
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.manage-controls {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 2rem;
|
|
background: var(--bg-secondary);
|
|
padding: 1rem;
|
|
border-radius: 8px;
|
|
border: 1px solid var(--border-color);
|
|
}
|
|
|
|
.manage-search {
|
|
flex: 1;
|
|
max-width: 400px;
|
|
padding: 0.75rem 1rem;
|
|
border-radius: 6px;
|
|
border: 1px solid var(--border-color);
|
|
background: var(--bg-primary);
|
|
color: var(--text-primary);
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.video-count {
|
|
color: var(--text-secondary);
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.manage-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
background: var(--bg-secondary);
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.manage-table th,
|
|
.manage-table td {
|
|
padding: 1rem;
|
|
text-align: left;
|
|
border-bottom: 1px solid var(--border-color);
|
|
}
|
|
|
|
.manage-table th {
|
|
background: rgba(0, 0, 0, 0.2);
|
|
font-weight: 600;
|
|
color: var(--text-secondary);
|
|
text-transform: uppercase;
|
|
font-size: 0.85rem;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.manage-table tr:last-child td {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.manage-table tr:hover {
|
|
background: rgba(255, 255, 255, 0.02);
|
|
}
|
|
|
|
.manage-thumbnail {
|
|
width: 80px;
|
|
height: 60px;
|
|
object-fit: cover;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.col-thumbnail {
|
|
width: 100px;
|
|
}
|
|
|
|
.col-title {
|
|
font-weight: 500;
|
|
}
|
|
|
|
.col-author {
|
|
color: var(--text-secondary);
|
|
width: 200px;
|
|
}
|
|
|
|
.col-actions {
|
|
width: 100px;
|
|
text-align: right;
|
|
}
|
|
|
|
.delete-btn-small {
|
|
background: rgba(255, 62, 62, 0.1);
|
|
color: #ff3e3e;
|
|
border: 1px solid rgba(255, 62, 62, 0.2);
|
|
padding: 0.5rem 1rem;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
font-size: 0.85rem;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.delete-btn-small:hover:not(:disabled) {
|
|
background: rgba(255, 62, 62, 0.2);
|
|
border-color: #ff3e3e;
|
|
}
|
|
|
|
.delete-btn-small:disabled {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.no-videos-found {
|
|
text-align: center;
|
|
padding: 3rem;
|
|
color: var(--text-secondary);
|
|
background: var(--bg-secondary);
|
|
border-radius: 8px;
|
|
}
|
|
|
|
/* Manage Page Sections */
|
|
.manage-section {
|
|
margin-bottom: 40px;
|
|
}
|
|
|
|
.manage-section h2 {
|
|
margin-bottom: 20px;
|
|
color: var(--text-color);
|
|
font-size: 1.5rem;
|
|
border-bottom: 1px solid var(--border-color);
|
|
padding-bottom: 10px;
|
|
}
|
|
|
|
/* Modal Actions */
|
|
.column-actions {
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.column-actions button {
|
|
width: 100%;
|
|
margin-bottom: 10px;
|
|
justify-content: center;
|
|
}
|
|
|
|
.cancel-btn {
|
|
background-color: transparent;
|
|
color: var(--text-secondary);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 4px;
|
|
padding: 10px 15px;
|
|
font-size: 0.9rem;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.cancel-btn:hover {
|
|
background-color: rgba(255, 255, 255, 0.05);
|
|
color: var(--text-color);
|
|
border-color: var(--text-secondary);
|
|
}
|
|
|
|
.delete-btn.danger {
|
|
background-color: rgba(255, 62, 62, 0.1);
|
|
color: var(--primary-color);
|
|
border: 1px solid var(--primary-color);
|
|
}
|
|
|
|
.delete-btn.danger:hover {
|
|
background-color: var(--primary-color);
|
|
color: white;
|
|
} |