Initial commit
This commit is contained in:
1424
app/static/css/admin.css
Normal file
1424
app/static/css/admin.css
Normal file
File diff suppressed because it is too large
Load Diff
48
app/static/css/cache-info.css
Normal file
48
app/static/css/cache-info.css
Normal file
@@ -0,0 +1,48 @@
|
||||
/* ============================================================
|
||||
CACHE INFO - Styles communs
|
||||
============================================================ */
|
||||
|
||||
.cache-info {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
padding: 8px 15px;
|
||||
background: var(--bg-card);
|
||||
border: 1px solid var(--border-color);
|
||||
border-radius: 20px;
|
||||
font-size: 0.85rem;
|
||||
margin: 15px 0;
|
||||
width: fit-content;
|
||||
}
|
||||
|
||||
.cache-badge {
|
||||
color: var(--accent-primary);
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.cache-timestamp {
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
|
||||
.btn-refresh {
|
||||
background: transparent;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
font-size: 1rem;
|
||||
padding: 2px 6px;
|
||||
border-radius: 4px;
|
||||
transition: all 0.2s;
|
||||
}
|
||||
|
||||
.btn-refresh:hover {
|
||||
background: var(--bg-primary);
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
|
||||
/* Mobile */
|
||||
@media (max-width: 768px) {
|
||||
.cache-info {
|
||||
width: 100%;
|
||||
justify-content: center;
|
||||
}
|
||||
}
|
||||
699
app/static/css/discover.css
Normal file
699
app/static/css/discover.css
Normal file
@@ -0,0 +1,699 @@
|
||||
/* ============================================================
|
||||
LYCOSTORRENT - Page Découvrir
|
||||
============================================================ */
|
||||
|
||||
/* Onglets de catégories */
|
||||
.discover-tabs {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
margin-bottom: 30px;
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.discover-tab {
|
||||
padding: 12px 20px;
|
||||
background: var(--bg-secondary);
|
||||
border: 1px solid var(--border-color);
|
||||
border-radius: var(--radius);
|
||||
color: var(--text-secondary);
|
||||
font-size: 0.95rem;
|
||||
font-weight: 500;
|
||||
cursor: pointer;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.discover-tab:hover {
|
||||
background: var(--bg-card);
|
||||
color: var(--text-primary);
|
||||
border-color: var(--accent-primary);
|
||||
}
|
||||
|
||||
.discover-tab.active {
|
||||
background: var(--accent-primary);
|
||||
color: white;
|
||||
border-color: var(--accent-primary);
|
||||
}
|
||||
|
||||
/* Grille de résultats */
|
||||
.discover-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
|
||||
gap: 25px;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
/* Carte de film/série */
|
||||
.discover-card {
|
||||
background: var(--bg-secondary);
|
||||
border-radius: var(--radius);
|
||||
overflow: hidden;
|
||||
cursor: pointer;
|
||||
transition: all 0.3s ease;
|
||||
border: 1px solid var(--border-color);
|
||||
}
|
||||
|
||||
.discover-card:hover {
|
||||
transform: translateY(-5px);
|
||||
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
|
||||
border-color: var(--accent-primary);
|
||||
}
|
||||
|
||||
.discover-card .poster-container {
|
||||
position: relative;
|
||||
aspect-ratio: 2/3;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.discover-card .poster {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
transition: transform 0.3s ease;
|
||||
}
|
||||
|
||||
.discover-card:hover .poster {
|
||||
transform: scale(1.05);
|
||||
}
|
||||
|
||||
.discover-card .poster-placeholder {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: var(--bg-card);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 3rem;
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
|
||||
.discover-card .rating-badge {
|
||||
position: absolute;
|
||||
top: 10px;
|
||||
right: 10px;
|
||||
background: rgba(0, 0, 0, 0.8);
|
||||
color: #ffd700;
|
||||
padding: 5px 10px;
|
||||
border-radius: 20px;
|
||||
font-size: 0.85rem;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.discover-card .card-info {
|
||||
padding: 15px;
|
||||
}
|
||||
|
||||
.discover-card .card-title {
|
||||
font-size: 0.95rem;
|
||||
font-weight: 600;
|
||||
color: var(--text-primary);
|
||||
margin-bottom: 5px;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.discover-card .card-meta {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
font-size: 0.85rem;
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
|
||||
.discover-card .card-year {
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
.discover-card .card-type {
|
||||
background: var(--accent-secondary);
|
||||
padding: 2px 8px;
|
||||
border-radius: 10px;
|
||||
font-size: 0.75rem;
|
||||
}
|
||||
|
||||
/* Badge nombre de torrents sur les cartes */
|
||||
.torrent-badge {
|
||||
position: absolute;
|
||||
bottom: 8px;
|
||||
left: 8px;
|
||||
background: rgba(0, 0, 0, 0.8);
|
||||
color: #4ade80;
|
||||
padding: 3px 8px;
|
||||
border-radius: 12px;
|
||||
font-size: 0.75rem;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
|
||||
/* Loader */
|
||||
.discover-loader {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 60px;
|
||||
color: var(--text-secondary);
|
||||
gap: 15px;
|
||||
}
|
||||
|
||||
.spinner {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
border: 3px solid var(--border-color);
|
||||
border-top-color: var(--accent-primary);
|
||||
border-radius: 50%;
|
||||
animation: spin 1s linear infinite;
|
||||
}
|
||||
|
||||
.spinner-small {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
border: 2px solid var(--border-color);
|
||||
border-top-color: var(--accent-primary);
|
||||
border-radius: 50%;
|
||||
animation: spin 1s linear infinite;
|
||||
}
|
||||
|
||||
@keyframes spin {
|
||||
to { transform: rotate(360deg); }
|
||||
}
|
||||
|
||||
/* État vide */
|
||||
.discover-empty {
|
||||
text-align: center;
|
||||
padding: 60px 20px;
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
|
||||
.discover-empty .empty-icon {
|
||||
font-size: 4rem;
|
||||
display: block;
|
||||
margin-bottom: 15px;
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
/* Modal détails */
|
||||
.modal-overlay {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: rgba(0, 0, 0, 0.9);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
z-index: 10000;
|
||||
padding: 20px;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.detail-modal {
|
||||
background: var(--bg-secondary);
|
||||
border-radius: var(--radius);
|
||||
max-width: 900px;
|
||||
width: 100%;
|
||||
max-height: 90vh;
|
||||
overflow-y: auto;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.modal-close {
|
||||
position: absolute;
|
||||
top: 15px;
|
||||
right: 15px;
|
||||
background: var(--bg-card);
|
||||
border: none;
|
||||
color: var(--text-primary);
|
||||
width: 35px;
|
||||
height: 35px;
|
||||
border-radius: 50%;
|
||||
font-size: 1.2rem;
|
||||
cursor: pointer;
|
||||
z-index: 10;
|
||||
transition: all 0.2s;
|
||||
}
|
||||
|
||||
.modal-close:hover {
|
||||
background: var(--danger);
|
||||
color: white;
|
||||
}
|
||||
|
||||
.detail-header {
|
||||
display: flex;
|
||||
gap: 25px;
|
||||
padding: 25px;
|
||||
}
|
||||
|
||||
.detail-poster {
|
||||
width: 200px;
|
||||
border-radius: var(--radius);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.detail-info {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.detail-info h2 {
|
||||
font-size: 1.8rem;
|
||||
margin-bottom: 10px;
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
.detail-meta {
|
||||
display: flex;
|
||||
gap: 15px;
|
||||
margin-bottom: 15px;
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
|
||||
.detail-rating {
|
||||
color: #ffd700;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.detail-overview {
|
||||
color: var(--text-secondary);
|
||||
line-height: 1.7;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
.detail-genres {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.detail-genres span {
|
||||
background: var(--accent-secondary);
|
||||
color: var(--text-primary);
|
||||
padding: 5px 12px;
|
||||
border-radius: 15px;
|
||||
font-size: 0.85rem;
|
||||
}
|
||||
|
||||
/* Section torrents */
|
||||
.detail-torrents {
|
||||
padding: 25px;
|
||||
border-top: 1px solid var(--border-color);
|
||||
}
|
||||
|
||||
.detail-torrents h3 {
|
||||
margin-bottom: 15px;
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
.torrents-loading {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
color: var(--text-secondary);
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.torrents-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.torrent-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 15px;
|
||||
padding: 12px 15px;
|
||||
background: var(--bg-primary);
|
||||
border-radius: var(--radius);
|
||||
transition: all 0.2s;
|
||||
}
|
||||
|
||||
.torrent-item:hover {
|
||||
background: var(--bg-card);
|
||||
}
|
||||
|
||||
.torrent-info {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.torrent-name {
|
||||
font-weight: 500;
|
||||
color: var(--text-primary);
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
.torrent-meta {
|
||||
display: flex;
|
||||
gap: 15px;
|
||||
font-size: 0.85rem;
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
|
||||
.torrent-meta .seeds {
|
||||
color: var(--success);
|
||||
}
|
||||
|
||||
.torrent-meta .quality {
|
||||
color: var(--accent-primary);
|
||||
}
|
||||
|
||||
.torrent-actions {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.torrent-actions button {
|
||||
padding: 8px 12px;
|
||||
border: none;
|
||||
border-radius: var(--radius);
|
||||
cursor: pointer;
|
||||
font-size: 1rem;
|
||||
transition: all 0.2s;
|
||||
}
|
||||
|
||||
.torrent-actions .btn-download {
|
||||
background: var(--accent-primary);
|
||||
color: white;
|
||||
}
|
||||
|
||||
.torrent-actions .btn-download:hover {
|
||||
background: #d63850;
|
||||
}
|
||||
|
||||
.torrent-actions .btn-magnet {
|
||||
background: var(--bg-secondary);
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
.torrent-actions .btn-send {
|
||||
background: var(--success);
|
||||
color: white;
|
||||
}
|
||||
|
||||
.torrents-empty {
|
||||
text-align: center;
|
||||
padding: 30px;
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
|
||||
/* Footer crédit TMDb */
|
||||
.tmdb-credit {
|
||||
margin-left: 15px;
|
||||
font-size: 0.85rem;
|
||||
}
|
||||
|
||||
.tmdb-credit a {
|
||||
color: var(--accent-primary);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.tmdb-credit a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
/* Responsive */
|
||||
@media (max-width: 768px) {
|
||||
/* Navigation mobile */
|
||||
.main-nav {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 8px;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.main-nav a {
|
||||
padding: 8px 15px;
|
||||
font-size: 0.85rem;
|
||||
flex: 1 1 auto;
|
||||
text-align: center;
|
||||
min-width: 80px;
|
||||
max-width: 150px;
|
||||
}
|
||||
|
||||
.main-nav a.nav-logout {
|
||||
flex: 0 0 auto;
|
||||
min-width: 50px;
|
||||
max-width: 50px;
|
||||
padding: 8px 12px;
|
||||
}
|
||||
|
||||
.discover-tabs {
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.discover-tab {
|
||||
padding: 10px 15px;
|
||||
font-size: 0.85rem;
|
||||
}
|
||||
|
||||
.discover-grid {
|
||||
grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
|
||||
gap: 15px;
|
||||
}
|
||||
|
||||
.modal-overlay {
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.detail-modal {
|
||||
max-height: 95vh;
|
||||
}
|
||||
|
||||
.detail-header {
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
text-align: center;
|
||||
padding: 15px;
|
||||
gap: 15px;
|
||||
}
|
||||
|
||||
.detail-poster {
|
||||
width: 120px;
|
||||
}
|
||||
|
||||
.detail-info h2 {
|
||||
font-size: 1.3rem;
|
||||
}
|
||||
|
||||
.detail-meta {
|
||||
justify-content: center;
|
||||
flex-wrap: wrap;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.detail-overview {
|
||||
font-size: 0.9rem;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.detail-genres {
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.detail-genres span {
|
||||
padding: 4px 10px;
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
|
||||
/* Bande-annonce mobile */
|
||||
.detail-trailer {
|
||||
padding: 0 15px 15px;
|
||||
}
|
||||
|
||||
.detail-trailer h3 {
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
/* Torrents mobile */
|
||||
.detail-torrents {
|
||||
padding: 15px;
|
||||
}
|
||||
|
||||
.detail-torrents h3 {
|
||||
font-size: 1rem;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.torrents-list {
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.torrent-item {
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
padding: 12px;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.torrent-info {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.torrent-name {
|
||||
font-size: 0.85rem;
|
||||
white-space: normal;
|
||||
word-break: break-word;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.torrent-meta {
|
||||
flex-wrap: wrap;
|
||||
gap: 8px;
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
|
||||
.torrent-meta span {
|
||||
background: var(--bg-secondary);
|
||||
padding: 3px 8px;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.torrent-actions {
|
||||
width: 100%;
|
||||
justify-content: space-between;
|
||||
gap: 6px;
|
||||
padding-top: 10px;
|
||||
border-top: 1px solid var(--border-color);
|
||||
}
|
||||
|
||||
.torrent-actions a,
|
||||
.torrent-actions button {
|
||||
flex: 1;
|
||||
padding: 10px 8px;
|
||||
text-align: center;
|
||||
font-size: 1rem;
|
||||
min-width: 0;
|
||||
}
|
||||
}
|
||||
|
||||
/* Très petit écran */
|
||||
@media (max-width: 480px) {
|
||||
/* Navigation */
|
||||
.main-nav {
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.main-nav a {
|
||||
padding: 8px 10px;
|
||||
font-size: 0.8rem;
|
||||
min-width: 70px;
|
||||
}
|
||||
|
||||
.main-nav a.nav-logout {
|
||||
min-width: 40px;
|
||||
max-width: 40px;
|
||||
padding: 8px;
|
||||
}
|
||||
|
||||
.discover-tabs {
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.discover-tab {
|
||||
padding: 8px 12px;
|
||||
font-size: 0.8rem;
|
||||
flex: 1 1 auto;
|
||||
text-align: center;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.discover-grid {
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.discover-card .card-info {
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.discover-card .card-title {
|
||||
font-size: 0.85rem;
|
||||
}
|
||||
|
||||
.discover-card .card-meta {
|
||||
font-size: 0.75rem;
|
||||
}
|
||||
|
||||
.detail-poster {
|
||||
width: 100px;
|
||||
}
|
||||
|
||||
.detail-info h2 {
|
||||
font-size: 1.1rem;
|
||||
}
|
||||
|
||||
.torrent-actions {
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.torrent-actions a,
|
||||
.torrent-actions button {
|
||||
flex: 1 1 45%;
|
||||
padding: 10px 6px;
|
||||
font-size: 0.95rem;
|
||||
}
|
||||
}
|
||||
|
||||
/* Hidden class */
|
||||
.hidden {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
/* Bande-annonce YouTube */
|
||||
.detail-trailer {
|
||||
padding: 0 25px 25px;
|
||||
}
|
||||
|
||||
.detail-trailer h3 {
|
||||
margin-bottom: 15px;
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
.trailer-container {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
padding-bottom: 56.25%; /* Ratio 16:9 */
|
||||
height: 0;
|
||||
overflow: hidden;
|
||||
border-radius: var(--radius);
|
||||
background: var(--bg-primary);
|
||||
}
|
||||
|
||||
.trailer-container iframe {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border-radius: var(--radius);
|
||||
}
|
||||
|
||||
/* Lien vers le tracker */
|
||||
.torrent-item .torrent-link {
|
||||
color: var(--accent-primary);
|
||||
text-decoration: none;
|
||||
font-size: 0.85rem;
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
.torrent-item .torrent-link:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.torrent-actions .btn-link {
|
||||
background: var(--bg-secondary);
|
||||
color: var(--text-primary);
|
||||
text-decoration: none;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.torrent-actions .btn-link:hover {
|
||||
background: var(--accent-secondary);
|
||||
}
|
||||
1678
app/static/css/latest.css
Normal file
1678
app/static/css/latest.css
Normal file
File diff suppressed because it is too large
Load Diff
1168
app/static/css/style.css
Normal file
1168
app/static/css/style.css
Normal file
File diff suppressed because it is too large
Load Diff
168
app/static/css/themes.css
Normal file
168
app/static/css/themes.css
Normal file
@@ -0,0 +1,168 @@
|
||||
/* ============================================================
|
||||
LYCOSTORRENT - Système de Thèmes
|
||||
============================================================ */
|
||||
|
||||
/* ============================================================
|
||||
THÈME SOMBRE (par défaut)
|
||||
============================================================ */
|
||||
[data-theme="dark"] {
|
||||
--bg-primary: #1a1a2e;
|
||||
--bg-secondary: #16213e;
|
||||
--bg-card: #1f2940;
|
||||
--text-primary: #eaeaea;
|
||||
--text-secondary: #a0a0a0;
|
||||
--accent-primary: #e94560;
|
||||
--accent-secondary: #0f3460;
|
||||
--success: #4ade80;
|
||||
--warning: #fbbf24;
|
||||
--danger: #ef4444;
|
||||
--border-color: #2d3748;
|
||||
--shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
/* ============================================================
|
||||
THÈME CLAIR
|
||||
============================================================ */
|
||||
[data-theme="light"] {
|
||||
--bg-primary: #f5f5f5;
|
||||
--bg-secondary: #ffffff;
|
||||
--bg-card: #ffffff;
|
||||
--text-primary: #1a1a2e;
|
||||
--text-secondary: #666666;
|
||||
--accent-primary: #e94560;
|
||||
--accent-secondary: #e8e8e8;
|
||||
--success: #22c55e;
|
||||
--warning: #f59e0b;
|
||||
--danger: #dc2626;
|
||||
--border-color: #e0e0e0;
|
||||
--shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
/* ============================================================
|
||||
THÈME BLEU OCÉAN
|
||||
============================================================ */
|
||||
[data-theme="ocean"] {
|
||||
--bg-primary: #0a192f;
|
||||
--bg-secondary: #112240;
|
||||
--bg-card: #1d3557;
|
||||
--text-primary: #e6f1ff;
|
||||
--text-secondary: #8892b0;
|
||||
--accent-primary: #64ffda;
|
||||
--accent-secondary: #233554;
|
||||
--success: #64ffda;
|
||||
--warning: #ffd700;
|
||||
--danger: #ff6b6b;
|
||||
--border-color: #233554;
|
||||
--shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
|
||||
}
|
||||
|
||||
/* ============================================================
|
||||
THÈME VIOLET NUIT
|
||||
============================================================ */
|
||||
[data-theme="purple"] {
|
||||
--bg-primary: #13111c;
|
||||
--bg-secondary: #1e1a2e;
|
||||
--bg-card: #2a2440;
|
||||
--text-primary: #e8e6f0;
|
||||
--text-secondary: #9d99b0;
|
||||
--accent-primary: #a855f7;
|
||||
--accent-secondary: #3b3256;
|
||||
--success: #4ade80;
|
||||
--warning: #fbbf24;
|
||||
--danger: #f472b6;
|
||||
--border-color: #3b3256;
|
||||
--shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
|
||||
}
|
||||
|
||||
/* ============================================================
|
||||
THÈME VERT NATURE
|
||||
============================================================ */
|
||||
[data-theme="nature"] {
|
||||
--bg-primary: #1a2f1a;
|
||||
--bg-secondary: #0f2010;
|
||||
--bg-card: #243524;
|
||||
--text-primary: #e8f5e9;
|
||||
--text-secondary: #a5d6a7;
|
||||
--accent-primary: #4caf50;
|
||||
--accent-secondary: #2e4a2e;
|
||||
--success: #81c784;
|
||||
--warning: #ffb74d;
|
||||
--danger: #e57373;
|
||||
--border-color: #2e4a2e;
|
||||
--shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
|
||||
}
|
||||
|
||||
/* ============================================================
|
||||
THÈME ORANGE SUNSET
|
||||
============================================================ */
|
||||
[data-theme="sunset"] {
|
||||
--bg-primary: #1f1510;
|
||||
--bg-secondary: #2d1f15;
|
||||
--bg-card: #3d2a1a;
|
||||
--text-primary: #fff3e0;
|
||||
--text-secondary: #bcaaa4;
|
||||
--accent-primary: #ff7043;
|
||||
--accent-secondary: #4a3228;
|
||||
--success: #81c784;
|
||||
--warning: #ffb74d;
|
||||
--danger: #ef5350;
|
||||
--border-color: #4a3228;
|
||||
--shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
|
||||
}
|
||||
|
||||
/* ============================================================
|
||||
THÈME CYBERPUNK
|
||||
============================================================ */
|
||||
[data-theme="cyberpunk"] {
|
||||
--bg-primary: #0d0d0d;
|
||||
--bg-secondary: #1a1a1a;
|
||||
--bg-card: #262626;
|
||||
--text-primary: #00ff9f;
|
||||
--text-secondary: #00cc7f;
|
||||
--accent-primary: #ff00ff;
|
||||
--accent-secondary: #330033;
|
||||
--success: #00ff9f;
|
||||
--warning: #ffff00;
|
||||
--danger: #ff0066;
|
||||
--border-color: #333333;
|
||||
--shadow: 0 0 20px rgba(255, 0, 255, 0.3);
|
||||
}
|
||||
|
||||
/* ============================================================
|
||||
THÈME NORD
|
||||
============================================================ */
|
||||
[data-theme="nord"] {
|
||||
--bg-primary: #2e3440;
|
||||
--bg-secondary: #3b4252;
|
||||
--bg-card: #434c5e;
|
||||
--text-primary: #eceff4;
|
||||
--text-secondary: #d8dee9;
|
||||
--accent-primary: #88c0d0;
|
||||
--accent-secondary: #4c566a;
|
||||
--success: #a3be8c;
|
||||
--warning: #ebcb8b;
|
||||
--danger: #bf616a;
|
||||
--border-color: #4c566a;
|
||||
--shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
/* ============================================================
|
||||
TRANSITIONS FLUIDES
|
||||
============================================================ */
|
||||
body,
|
||||
.container,
|
||||
.header,
|
||||
.search-box,
|
||||
.results-table,
|
||||
.filter-bar,
|
||||
.admin-card,
|
||||
.modal-content,
|
||||
.nav-link,
|
||||
button,
|
||||
input,
|
||||
select {
|
||||
transition: background-color 0.3s ease,
|
||||
color 0.3s ease,
|
||||
border-color 0.3s ease,
|
||||
box-shadow 0.3s ease;
|
||||
}
|
||||
Reference in New Issue
Block a user