g
This commit is contained in:
parent
a7af6d1e73
commit
78eedec588
|
|
@ -1,99 +1,127 @@
|
||||||
:root {
|
:root {
|
||||||
--primary: #2C3E50;
|
--primary: #2C3E50;
|
||||||
--accent: #08C5D1;
|
--accent: #08C5D1;
|
||||||
--bg-app: #f0f2f5; /* Un gris très léger pour faire ressortir les cartes blanches */
|
--accent-light: rgba(8, 197, 209, 0.1);
|
||||||
--shadow-wahoo: 0 10px 25px rgba(44, 62, 80, 0.1);
|
--bg-body: #F4F7FA; /* Un gris-bleu très doux */
|
||||||
|
--glass: rgba(255, 255, 255, 0.9);
|
||||||
|
--radius: 16px;
|
||||||
|
--shadow-sm: 0 4px 12px rgba(0,0,0,0.03);
|
||||||
|
--shadow-md: 0 10px 30px rgba(44, 62, 80, 0.08);
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
background-color: var(--bg-app) !important;
|
background-color: var(--bg-body) !important;
|
||||||
|
font-family: 'Plus Jakarta Sans', sans-serif !important;
|
||||||
|
color: #4A5568;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Le secret du Wahoo : Faire flotter le contenu principal */
|
/* --- EFFET WAHOO SUR LE MAIN --- */
|
||||||
#main {
|
#main {
|
||||||
margin: 80px 20px 20px 20px !important;
|
margin: 90px 25px 25px 25px !important;
|
||||||
padding: 25px !important;
|
padding: 30px !important;
|
||||||
background: #ffffff !important;
|
background: white !important;
|
||||||
border-radius: 20px !important; /* Arrondis prononcés */
|
border-radius: 24px !important;
|
||||||
box-shadow: var(--shadow-wahoo) !important;
|
box-shadow: var(--shadow-md) !important;
|
||||||
border: none !important;
|
border: 1px solid rgba(255, 255, 255, 0.6) !important;
|
||||||
|
transition: transform 0.3s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Modernisation de la Sidebar */
|
/* --- HEADER TRANSPARENT & FLOU --- */
|
||||||
|
.header {
|
||||||
|
background: rgba(255, 255, 255, 0.8) !important;
|
||||||
|
backdrop-filter: blur(12px);
|
||||||
|
-webkit-backdrop-filter: blur(12px);
|
||||||
|
border-bottom: 1px solid rgba(0,0,0,0.05) !important;
|
||||||
|
height: 70px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* --- SIDEBAR : PLUS DE LIGNES, QUE DU VIDE ET DU RELIEF --- */
|
||||||
.sidebar {
|
.sidebar {
|
||||||
background: var(--primary) !important;
|
background: var(--primary) !important;
|
||||||
box-shadow: 10px 0 30px rgba(0,0,0,0.05) !important;
|
|
||||||
border: none !important;
|
border: none !important;
|
||||||
|
box-shadow: 15px 0 40px rgba(0,0,0,0.04) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sidebar-nav .nav-link {
|
.sidebar-nav .nav-link {
|
||||||
border-radius: 10px !important;
|
background: transparent !important;
|
||||||
margin: 5px 15px !important;
|
color: rgba(255,255,255,0.7) !important;
|
||||||
padding: 12px !important;
|
margin: 4px 15px !important;
|
||||||
transition: all 0.3s ease !important;
|
border-radius: 12px !important;
|
||||||
|
font-weight: 500 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sidebar-nav .nav-link:hover {
|
.sidebar-nav .nav-link.active-main, .sidebar-nav .nav-link:hover {
|
||||||
background: rgba(8, 197, 209, 0.1) !important;
|
background: var(--accent) !important;
|
||||||
color: var(--accent) !important;
|
color: white !important;
|
||||||
transform: translateX(5px);
|
box-shadow: 0 8px 15px rgba(8, 197, 209, 0.3) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Style des Widgets dans la barre de contexte */
|
/* --- TABLEAUX : L'EFFET "STRIPED" MODERNE --- */
|
||||||
.sidenav {
|
|
||||||
background: #ffffff !important;
|
|
||||||
border-left: 1px solid rgba(0,0,0,0.05) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.context-card {
|
|
||||||
background: #f8fafc !important;
|
|
||||||
border: 1px solid #e2e8f0 !important;
|
|
||||||
border-radius: 15px !important;
|
|
||||||
padding: 15px !important;
|
|
||||||
margin-bottom: 15px !important;
|
|
||||||
transition: 0.3s !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.context-card:hover {
|
|
||||||
border-color: var(--accent) !important;
|
|
||||||
box-shadow: 0 5px 15px rgba(8, 197, 209, 0.1) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Aérer les tableaux de gestion */
|
|
||||||
.table {
|
.table {
|
||||||
border-collapse: separate !important;
|
border-collapse: separate !important;
|
||||||
border-spacing: 0 8px !important; /* Espacement entre les lignes */
|
border-spacing: 0 12px !important;
|
||||||
}
|
|
||||||
|
|
||||||
.table tr {
|
|
||||||
background: white !important;
|
|
||||||
box-shadow: 0 2px 5px rgba(0,0,0,0.02) !important;
|
|
||||||
border-radius: 8px !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.table td, .table th {
|
|
||||||
padding: 12px !important;
|
|
||||||
border: none !important;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.table thead th {
|
.table thead th {
|
||||||
background: transparent !important;
|
background: transparent !important;
|
||||||
color: var(--primary) !important;
|
border: none !important;
|
||||||
font-weight: 800 !important;
|
color: #A0AEC0 !important;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
font-size: 0.7rem;
|
font-size: 0.75rem;
|
||||||
|
letter-spacing: 1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.initials {
|
.table tbody tr {
|
||||||
background: linear-gradient(135deg, var(--accent), #2C3E50) !important;
|
background: white !important;
|
||||||
color: white !important;
|
box-shadow: var(--shadow-sm) !important;
|
||||||
width: 45px;
|
transition: all 0.2s ease;
|
||||||
height: 45px;
|
}
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
.table tbody tr:hover {
|
||||||
justify-content: center;
|
transform: scale(1.01);
|
||||||
border-radius: 50% !important; /* Rond parfait */
|
box-shadow: var(--shadow-md) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.table td {
|
||||||
|
padding: 15px !important;
|
||||||
|
border: none !important;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
|
||||||
|
.table td:first-child { border-radius: 12px 0 0 12px; }
|
||||||
|
.table td:last-child { border-radius: 0 12px 12px 0; }
|
||||||
|
|
||||||
|
.btn-info, .btn-primary {
|
||||||
|
background: linear-gradient(135deg, #08C5D1 0%, #06A2AD 100%) !important;
|
||||||
|
border: none !important;
|
||||||
|
border-radius: 10px !important;
|
||||||
|
padding: 8px 20px !important;
|
||||||
|
font-weight: 600 !important;
|
||||||
|
box-shadow: 0 4px 12px rgba(8, 197, 209, 0.2) !important;
|
||||||
|
transition: all 0.3s ease !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn-info:hover {
|
||||||
|
transform: translateY(-2px);
|
||||||
|
box-shadow: 0 6px 18px rgba(8, 197, 209, 0.3) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.context-sidebar {
|
||||||
|
background: white !important;
|
||||||
|
padding: 20px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.context-widget {
|
||||||
|
background: #F8FAFC !important;
|
||||||
|
border-radius: 16px !important;
|
||||||
|
padding: 20px !important;
|
||||||
|
margin-bottom: 20px !important;
|
||||||
|
border: 1px solid #EDF2F7 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.context-widget h6 {
|
||||||
|
color: #718096 !important;
|
||||||
|
font-size: 0.7rem !important;
|
||||||
font-weight: 800 !important;
|
font-weight: 800 !important;
|
||||||
box-shadow: 0 4px 10px rgba(8, 197, 209, 0.4) !important;
|
margin-bottom: 12px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -15,4 +15,4 @@
|
||||||
<link href="<?=$racineWeb?>Bootstrap_new/css/select2.min.css" rel="stylesheet">
|
<link href="<?=$racineWeb?>Bootstrap_new/css/select2.min.css" rel="stylesheet">
|
||||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css">
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css">
|
||||||
|
|
||||||
<link href="<?=$racineWeb?>Bootstrap_new/css/theme-modern.css?ver=2026.02.23.05" rel="stylesheet">
|
<link href="<?=$racineWeb?>Bootstrap_new/css/theme-modern.css?ver=2026.02.23.06" rel="stylesheet">
|
||||||
Loading…
Reference in New Issue
Block a user