WIP: tout ok et popup centrées et modernes il ne reste plus que ordreJFG

This commit is contained in:
2026-07-07 17:54:53 +00:00
parent 4df8cf495a
commit 3a5e8a70e2
3 changed files with 367 additions and 92 deletions
+185 -20
View File
@@ -156,26 +156,6 @@
background-color: #283593;
}
.ordregf-modal {
border: none;
border-radius: 8px;
padding: 20px;
background: #1c2030;
color: #fff;
}
.ordregf-modal input {
background: #13161f;
border: 1px solid #333;
color: white;
padding: 5px;
margin: 5px 0;
}
.modal-actions {
margin-top: 15px;
display: flex;
gap: 10px;
}
.ordregf-master-row {
background: linear-gradient(90deg, #001f3f, #004cff) !important;
color: #ffffff;
@@ -243,3 +223,188 @@ body {
box-sizing: border-box;
transition: background 0.2s ease;
}
/* ===========================
MODALES
=========================== */
.ordregf-modal {
width: 520px;
max-width: 92vw;
border: none;
border-radius: 18px;
background: #20263a;
color: white;
padding: 30px;
box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
animation: popup 0.18s ease-out;
}
.ordregf-modal::backdrop {
background: rgba(0, 0, 0, 0.65);
backdrop-filter: blur(5px);
}
@keyframes popup {
from {
opacity: 0;
transform: translateY(-20px) scale(0.95);
}
to {
opacity: 1;
transform: translateY(0) scale(1);
}
}
.ordregf-modal h2 {
margin-top: 0;
margin-bottom: 25px;
text-align: center;
font-size: 24px;
font-weight: 600;
}
.form-group {
display: flex;
flex-direction: column;
gap: 8px;
margin-bottom: 18px;
}
.form-group label {
font-weight: 600;
color: #cfd8ff;
}
.ordregf-modal input,
.ordregf-modal select {
width: 100%;
box-sizing: border-box;
padding: 12px 14px;
border-radius: 10px;
border: 1px solid #3b4668;
background: #151b2d;
color: white;
font-size: 15px;
outline: none;
transition: 0.25s;
}
.ordregf-modal input:focus,
.ordregf-modal select:focus {
border-color: #4d84ff;
box-shadow: 0 0 0 3px rgba(77, 132, 255, 0.25);
}
.modal-actions {
display: flex;
justify-content: flex-end;
gap: 12px;
margin-top: 28px;
}
.modal-actions button {
border: none;
padding: 11px 22px;
border-radius: 10px;
font-weight: 600;
cursor: pointer;
transition: 0.2s;
}
.modal-actions button:first-child {
background: #444b63;
color: white;
}
.modal-actions button:first-child:hover {
background: #59617c;
}
.modal-actions button:last-child {
background: #2dbf5a;
color: white;
}
.modal-actions button:last-child:hover {
background: #27a84f;
}
.form-group .triple {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
gap: 10px;
}
#btnRechercher {
margin-top: 10px;
width: 100%;
padding: 12px;
border: none;
border-radius: 10px;
background: #2962ff;
color: white;
font-weight: 600;
cursor: pointer;
}
#btnRechercher:hover {
background: #1d4ed8;
}
dialog.ordregf-modal {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
margin: 0;
width: 520px;
max-width: 90vw;
border: none;
border-radius: 18px;
padding: 30px;
background: #20263a;
color: white;
box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
}
dialog.ordregf-modal::backdrop {
background: rgba(0, 0, 0, 0.65);
backdrop-filter: blur(5px);
}