- 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
422 lines
7.3 KiB
CSS
422 lines
7.3 KiB
CSS
/* EasyStream Upload Page Styles */
|
|
|
|
/* Upload Area Enhancements */
|
|
.upload-area {
|
|
background: white;
|
|
border-radius: 12px;
|
|
padding: 3rem;
|
|
box-shadow: 0 4px 16px rgba(0,0,0,0.1);
|
|
margin-bottom: 2rem;
|
|
position: relative;
|
|
}
|
|
|
|
/* Upload Types Grid */
|
|
.upload-types {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 1rem;
|
|
flex-wrap: wrap;
|
|
margin-bottom: 3rem;
|
|
}
|
|
|
|
.upload-type {
|
|
padding: 0.75rem 1.5rem;
|
|
border: 2px solid #dee2e6;
|
|
border-radius: 25px;
|
|
background: white;
|
|
color: #495057;
|
|
text-decoration: none;
|
|
transition: all 0.2s ease;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
font-weight: 500;
|
|
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
|
|
}
|
|
|
|
.upload-type:hover {
|
|
background: #f8f9fa;
|
|
border-color: #007bff;
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 4px 8px rgba(0,0,0,0.15);
|
|
}
|
|
|
|
.upload-type.active {
|
|
background: #007bff;
|
|
color: white;
|
|
border-color: #007bff;
|
|
box-shadow: 0 4px 12px rgba(0,123,255,0.3);
|
|
}
|
|
|
|
/* Uploader Container */
|
|
#uploader {
|
|
min-height: 300px;
|
|
border: 2px dashed #dee2e6;
|
|
border-radius: 8px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: #f8f9fa;
|
|
transition: all 0.2s ease;
|
|
position: relative;
|
|
}
|
|
|
|
#uploader:hover {
|
|
border-color: #007bff;
|
|
background: #f0f8ff;
|
|
}
|
|
|
|
#uploader.dragover {
|
|
border-color: #28a745;
|
|
background: #f0fff0;
|
|
}
|
|
|
|
/* Upload Progress */
|
|
.upload-progress {
|
|
background: white;
|
|
border-radius: 8px;
|
|
padding: 1rem;
|
|
margin: 1rem 0;
|
|
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
|
|
}
|
|
|
|
.progress-bar {
|
|
width: 100%;
|
|
height: 8px;
|
|
background: #e9ecef;
|
|
border-radius: 4px;
|
|
overflow: hidden;
|
|
margin: 0.5rem 0;
|
|
}
|
|
|
|
.progress-fill {
|
|
height: 100%;
|
|
background: linear-gradient(90deg, #007bff, #28a745);
|
|
border-radius: 4px;
|
|
transition: width 0.3s ease;
|
|
}
|
|
|
|
/* File List */
|
|
.file-list {
|
|
margin-top: 1.5rem;
|
|
}
|
|
|
|
.file-item {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 1rem;
|
|
background: white;
|
|
border: 1px solid #dee2e6;
|
|
border-radius: 8px;
|
|
margin-bottom: 0.5rem;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.file-item:hover {
|
|
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
|
|
}
|
|
|
|
.file-info {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
flex: 1;
|
|
}
|
|
|
|
.file-icon {
|
|
width: 40px;
|
|
height: 40px;
|
|
background: #007bff;
|
|
border-radius: 8px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: white;
|
|
font-size: 1.2rem;
|
|
}
|
|
|
|
.file-details h4 {
|
|
margin: 0 0 0.25rem 0;
|
|
color: #212529;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.file-details p {
|
|
margin: 0;
|
|
color: #6c757d;
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.file-actions {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.file-action {
|
|
padding: 0.25rem 0.5rem;
|
|
border: 1px solid #dee2e6;
|
|
border-radius: 4px;
|
|
background: white;
|
|
color: #495057;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.file-action:hover {
|
|
background: #f8f9fa;
|
|
}
|
|
|
|
.file-action.remove {
|
|
color: #dc3545;
|
|
border-color: #dc3545;
|
|
}
|
|
|
|
.file-action.remove:hover {
|
|
background: #dc3545;
|
|
color: white;
|
|
}
|
|
|
|
/* Upload Options */
|
|
.upload-options {
|
|
background: #f8f9fa;
|
|
padding: 1rem;
|
|
border-radius: 8px;
|
|
margin-top: 1rem;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
}
|
|
|
|
/* Form Enhancements */
|
|
.form-group {
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.form-label {
|
|
display: block;
|
|
margin-bottom: 0.5rem;
|
|
font-weight: 500;
|
|
color: #495057;
|
|
}
|
|
|
|
.form-input {
|
|
width: 100%;
|
|
padding: 0.75rem;
|
|
border: 1px solid #dee2e6;
|
|
border-radius: 4px;
|
|
font-size: 1rem;
|
|
transition: border-color 0.2s ease;
|
|
}
|
|
|
|
.form-input:focus {
|
|
outline: none;
|
|
border-color: #007bff;
|
|
box-shadow: 0 0 0 3px rgba(0,123,255,0.1);
|
|
}
|
|
|
|
.form-button {
|
|
background: #007bff;
|
|
color: white;
|
|
border: none;
|
|
padding: 0.75rem 1.5rem;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
font-size: 1rem;
|
|
transition: all 0.2s ease;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.form-button:hover {
|
|
background: #0056b3;
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.form-button:active {
|
|
transform: translateY(0);
|
|
}
|
|
|
|
/* Captcha Group */
|
|
.captcha-group {
|
|
display: flex;
|
|
gap: 1rem;
|
|
align-items: center;
|
|
}
|
|
|
|
.captcha-group img {
|
|
border-radius: 4px;
|
|
border: 1px solid #dee2e6;
|
|
}
|
|
|
|
/* Messages */
|
|
.error-message, .notice-message, .info-message {
|
|
padding: 1rem;
|
|
border-radius: 8px;
|
|
margin-bottom: 1rem;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.error-message {
|
|
background: #f8d7da;
|
|
border: 1px solid #f5c6cb;
|
|
color: #721c24;
|
|
}
|
|
|
|
.notice-message {
|
|
background: #d1ecf1;
|
|
border: 1px solid #bee5eb;
|
|
color: #0c5460;
|
|
}
|
|
|
|
.info-message {
|
|
background: #d4edda;
|
|
border: 1px solid #c3e6cb;
|
|
color: #155724;
|
|
}
|
|
|
|
.error-message:hover, .notice-message:hover, .info-message:hover {
|
|
opacity: 0.8;
|
|
}
|
|
|
|
/* Verification Notice */
|
|
.verification-notice {
|
|
background: #fff3cd;
|
|
border: 1px solid #ffeaa7;
|
|
border-radius: 8px;
|
|
padding: 2rem;
|
|
margin-bottom: 2rem;
|
|
text-align: center;
|
|
}
|
|
|
|
.verification-form {
|
|
max-width: 400px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
/* Upload Stats */
|
|
.upload-stats {
|
|
background: white;
|
|
border-radius: 8px;
|
|
padding: 1.5rem;
|
|
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
|
|
}
|
|
|
|
.stats-title {
|
|
margin: 0 0 1rem 0;
|
|
color: #495057;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
/* Responsive Design */
|
|
@media (max-width: 768px) {
|
|
.upload-types {
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
|
|
.upload-type {
|
|
width: 100%;
|
|
max-width: 300px;
|
|
justify-content: center;
|
|
}
|
|
|
|
.upload-area {
|
|
padding: 1.5rem;
|
|
}
|
|
|
|
.captcha-group {
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.file-item {
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.file-actions {
|
|
justify-content: center;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.container {
|
|
padding: 1rem 10px;
|
|
}
|
|
|
|
.upload-header {
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.upload-title {
|
|
font-size: 2rem;
|
|
}
|
|
|
|
.upload-area {
|
|
padding: 1rem;
|
|
}
|
|
}
|
|
|
|
/* Loading States */
|
|
.loading {
|
|
opacity: 0.6;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.loading::after {
|
|
content: '';
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
width: 32px;
|
|
height: 32px;
|
|
margin: -16px 0 0 -16px;
|
|
border: 3px solid #f3f3f3;
|
|
border-top: 3px solid #007bff;
|
|
border-radius: 50%;
|
|
animation: spin 1s linear infinite;
|
|
}
|
|
|
|
@keyframes spin {
|
|
0% { transform: rotate(0deg); }
|
|
100% { transform: rotate(360deg); }
|
|
}
|
|
|
|
/* Success States */
|
|
.upload-success {
|
|
background: #d4edda;
|
|
border: 1px solid #c3e6cb;
|
|
color: #155724;
|
|
padding: 1rem;
|
|
border-radius: 8px;
|
|
text-align: center;
|
|
margin: 1rem 0;
|
|
}
|
|
|
|
.upload-success h3 {
|
|
margin: 0 0 0.5rem 0;
|
|
color: #155724;
|
|
}
|
|
|
|
/* Drag and Drop Enhancements */
|
|
.drag-active {
|
|
border-color: #28a745 !important;
|
|
background: #f0fff0 !important;
|
|
}
|
|
|
|
.drag-active::before {
|
|
content: '📁 Drop files here to upload';
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
font-size: 1.2rem;
|
|
color: #28a745;
|
|
font-weight: 500;
|
|
} |