Initial commit
This commit is contained in:
159
app/globals.css
Normal file
159
app/globals.css
Normal file
@@ -0,0 +1,159 @@
|
||||
/* Styles globaux pour éviter le flash de contenu */
|
||||
.landing-page-active .layout-sidebar,
|
||||
.landing-page-active .layout-topbar,
|
||||
.landing-page-active .content-breadcrumb {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.landing-page-active .layout-content-wrapper {
|
||||
margin-left: 0 !important;
|
||||
}
|
||||
|
||||
.landing-page-container {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
z-index: 9999;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
/* Styles pour les pages d'exception Atlantis */
|
||||
.exception-body {
|
||||
background: var(--body-bg);
|
||||
min-height: 100vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.exception-body::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-image: var(--exception-pages-image);
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
background-size: cover;
|
||||
z-index: 0;
|
||||
}
|
||||
|
||||
.exception-body .logo {
|
||||
width: 200px;
|
||||
height: auto;
|
||||
margin-bottom: 3rem;
|
||||
z-index: 1;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.exception-content {
|
||||
text-align: center;
|
||||
z-index: 1;
|
||||
position: relative;
|
||||
max-width: 600px;
|
||||
padding: 0 2rem;
|
||||
}
|
||||
|
||||
.exception-title {
|
||||
font-size: 3rem;
|
||||
font-weight: 700;
|
||||
color: var(--text-color);
|
||||
margin-bottom: 1rem;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.exception-detail {
|
||||
font-size: 1.25rem;
|
||||
color: var(--text-color-secondary);
|
||||
margin-bottom: 2rem;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.exception-content a {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
padding: 0.75rem 1.5rem;
|
||||
background: var(--primary-color);
|
||||
color: var(--primary-color-text);
|
||||
text-decoration: none;
|
||||
border-radius: var(--border-radius);
|
||||
font-weight: 500;
|
||||
transition: all 0.2s;
|
||||
box-shadow: var(--card-shadow);
|
||||
}
|
||||
|
||||
.exception-content a:hover {
|
||||
background: var(--primary-color);
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
|
||||
}
|
||||
|
||||
/* Responsive pour les pages d'exception */
|
||||
@media (max-width: 768px) {
|
||||
.exception-title {
|
||||
font-size: 2rem;
|
||||
}
|
||||
|
||||
.exception-detail {
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.exception-body .logo {
|
||||
width: 150px;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
.exception-content {
|
||||
padding: 0 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
/* Styles pour les ProgressBar des chantiers */
|
||||
.p-progressbar {
|
||||
border-radius: 6px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.p-progressbar .p-progressbar-value {
|
||||
border-radius: 6px;
|
||||
transition: width 0.3s ease;
|
||||
}
|
||||
|
||||
/* Couleurs d'avancement selon le niveau */
|
||||
.progress-small .p-progressbar-value {
|
||||
background: linear-gradient(90deg, #4CAF50 0%, #8BC34A 100%);
|
||||
}
|
||||
|
||||
/* Amélioration visuelle des petites jauges */
|
||||
.progress-small {
|
||||
height: 8px !important;
|
||||
min-width: 80px;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
.progress-small .p-progressbar-value {
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
/* Texte dans les petites jauges */
|
||||
.progress-small .p-progressbar-label {
|
||||
font-size: 9px !important;
|
||||
font-weight: 600 !important;
|
||||
color: white !important;
|
||||
text-shadow: 0 0 2px rgba(0,0,0,0.3);
|
||||
line-height: 12px !important;
|
||||
}
|
||||
|
||||
/* Assurer que le texte reste visible sur la barre verte */
|
||||
.progress-small .p-progressbar-value .p-progressbar-label {
|
||||
color: white !important;
|
||||
font-size: 9px !important;
|
||||
}
|
||||
Reference in New Issue
Block a user