Files
ferrovia-panel/src/pages/systeme-maj/SystemeMaj.css
T
mathis 37ab831aac RELEASE V.1.2.1 - Voici les fonctionnalités :
->Refonte visuelle + Prise en charge du mode sombre par l'ensemble des composants.
2026-09-22 22:14:21 +02:00

180 lines
2.8 KiB
CSS

.maj-content {
display: flex;
flex-direction: column;
}
.maj-card {
max-width: 800px;
width: 100%;
}
.maj-header {
display: flex;
align-items: center;
gap: 16px;
padding-bottom: 24px;
border-bottom: 1px solid #e5e7eb;
margin-bottom: 24px;
}
.maj-header wcs-mat-icon {
font-size: 48px;
color: #0088ce;
}
.maj-title h3 {
margin: 0 0 4px 0;
font-size: 18px;
color: #374151;
}
.version-text {
margin: 0;
font-size: 16px;
font-weight: 600;
color: #10b981;
}
.maj-body {
min-height: 200px;
display: flex;
flex-direction: column;
justify-content: center;
}
.maj-actions {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
gap: 16px;
}
.maj-actions p {
color: #6b7280;
margin: 0;
max-width: 500px;
}
.alert-new-version {
display: flex;
align-items: flex-start;
gap: 12px;
background: #fef3c7;
border-left: 4px solid #d97706;
padding: 16px;
border-radius: 4px;
text-align: left;
max-width: 600px;
width: 100%;
}
.alert-new-version strong {
display: block;
color: #92400e;
margin-bottom: 4px;
}
.alert-new-version p {
color: #b45309;
font-size: 14px;
margin: 0;
}
.progress-container {
width: 100%;
max-width: 500px;
margin: 16px 0;
display: flex;
align-items: center;
gap: 16px;
}
.progress-container wcs-progress-bar {
flex: 1;
}
.progress-text {
font-weight: bold;
color: #0088ce;
min-width: 40px;
}
.progress-details {
font-size: 13px !important;
font-style: italic;
}
.maj-actions.success {
color: #16a34a;
}
.maj-actions.success p {
color: #15803d;
font-weight: 500;
}
/* Dark mode adjustments */
body.dark-mode .maj-content,
[data-theme="dark"] .maj-content {
background: transparent;
}
body.dark-mode .maj-card,
[data-theme="dark"] .maj-card {
background: #151f30;
border: 1px solid #243247;
color: #f8fafc;
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
border-radius: 12px;
padding: 20px;
}
body.dark-mode .maj-header,
[data-theme="dark"] .maj-header {
border-bottom-color: #243247;
}
body.dark-mode .maj-title h3,
[data-theme="dark"] .maj-title h3 {
color: #f8fafc;
}
body.dark-mode .maj-actions p,
[data-theme="dark"] .maj-actions p {
color: #94a3b8;
}
body.dark-mode .alert-new-version,
[data-theme="dark"] .alert-new-version {
background: rgba(245, 158, 11, 0.12);
border-color: #f59e0b;
}
body.dark-mode .alert-new-version strong,
[data-theme="dark"] .alert-new-version strong {
color: #fde68a;
}
body.dark-mode .alert-new-version p,
[data-theme="dark"] .alert-new-version p {
color: #fcd34d;
}
body.dark-mode .progress-text,
[data-theme="dark"] .progress-text {
color: #38bdf8;
}
@media (max-width: 600px) {
.maj-header {
flex-direction: column;
align-items: flex-start;
gap: 10px;
}
.alert-new-version {
flex-direction: column;
}
}