Ajout d'un captcha + Réactualisation du css + ajout cgu
This commit is contained in:
@@ -0,0 +1,507 @@
|
||||
body {
|
||||
background:
|
||||
radial-gradient(circle at top, rgba(108, 99, 255, 0.18), transparent 35%),
|
||||
#0d0d0d;
|
||||
margin: 0;
|
||||
font-family: Arial, sans-serif;
|
||||
color: white;
|
||||
min-height: 100vh;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 24px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.captcha-shell {
|
||||
width: 100%;
|
||||
max-width: 1100px;
|
||||
}
|
||||
|
||||
.captcha-card,
|
||||
.success-screen {
|
||||
background: linear-gradient(180deg, #111116 0%, #161622 100%);
|
||||
border: 1px solid #2a2a3e;
|
||||
border-radius: 24px;
|
||||
box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
|
||||
padding: 30px;
|
||||
}
|
||||
|
||||
.captcha-badge {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
padding: 8px 14px;
|
||||
border-radius: 999px;
|
||||
background: rgba(108, 99, 255, 0.14);
|
||||
border: 1px solid rgba(108, 99, 255, 0.28);
|
||||
color: #9d97ff;
|
||||
font-size: 13px;
|
||||
font-weight: bold;
|
||||
margin-bottom: 18px;
|
||||
}
|
||||
|
||||
.captcha-top {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: flex-start;
|
||||
gap: 24px;
|
||||
margin-bottom: 18px;
|
||||
}
|
||||
|
||||
.captcha-title {
|
||||
margin: 0 0 10px;
|
||||
font-size: 34px;
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.captcha-subtitle {
|
||||
margin: 0;
|
||||
color: #c1c1cf;
|
||||
font-size: 16px;
|
||||
line-height: 1.7;
|
||||
max-width: 700px;
|
||||
}
|
||||
|
||||
.captcha-target {
|
||||
min-width: 240px;
|
||||
background-color: #1a1a24;
|
||||
border: 1px solid #2a2a3e;
|
||||
border-radius: 18px;
|
||||
padding: 18px;
|
||||
}
|
||||
|
||||
.captcha-target span {
|
||||
display: block;
|
||||
color: #8f8fa8;
|
||||
font-size: 12px;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.08em;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.captcha-target strong {
|
||||
font-size: 22px;
|
||||
color: #8f88ff;
|
||||
}
|
||||
|
||||
.captcha-stats {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
gap: 16px;
|
||||
margin-bottom: 18px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.captcha-attempts {
|
||||
background-color: #171b28;
|
||||
border: 1px solid #283049;
|
||||
border-radius: 14px;
|
||||
padding: 12px 16px;
|
||||
}
|
||||
|
||||
.captcha-attempts span {
|
||||
display: block;
|
||||
color: #99a0bc;
|
||||
font-size: 12px;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.08em;
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
|
||||
.captcha-attempts strong {
|
||||
font-size: 22px;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.captcha-reset,
|
||||
.captcha-secondary-button {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 12px 18px;
|
||||
border-radius: 12px;
|
||||
text-decoration: none;
|
||||
color: white;
|
||||
background-color: #2a314a;
|
||||
border: 1px solid #3d4767;
|
||||
transition: transform 0.2s ease, background-color 0.2s ease;
|
||||
}
|
||||
|
||||
.captcha-reset:hover,
|
||||
.captcha-secondary-button:hover {
|
||||
background-color: #394362;
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
|
||||
.captcha-error {
|
||||
margin-bottom: 18px;
|
||||
background-color: rgba(161, 44, 47, 0.15);
|
||||
border: 1px solid rgba(255, 84, 84, 0.45);
|
||||
border-radius: 12px;
|
||||
color: #ffb8bb;
|
||||
padding: 14px 16px;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.mailbox {
|
||||
background-color: #0f1118;
|
||||
border: 1px solid #22263a;
|
||||
border-radius: 20px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.mailbox-toolbar {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 16px;
|
||||
padding: 16px 20px;
|
||||
background-color: #141825;
|
||||
border-bottom: 1px solid #22263a;
|
||||
}
|
||||
|
||||
.mailbox-dots {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.mailbox-dots span {
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
border-radius: 50%;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.mailbox-dots span:nth-child(1) {
|
||||
background-color: #ff5f57;
|
||||
}
|
||||
|
||||
.mailbox-dots span:nth-child(2) {
|
||||
background-color: #febc2e;
|
||||
}
|
||||
|
||||
.mailbox-dots span:nth-child(3) {
|
||||
background-color: #28c840;
|
||||
}
|
||||
|
||||
.mailbox-label {
|
||||
color: #d6daf0;
|
||||
font-size: 14px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.mail-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.mail-option {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.mail-option-disabled {
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.mail-option input {
|
||||
position: absolute;
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.mail-row {
|
||||
display: grid;
|
||||
grid-template-columns: 48px minmax(120px, 220px) 1fr 70px;
|
||||
gap: 14px;
|
||||
align-items: center;
|
||||
padding: 16px 18px;
|
||||
border-bottom: 1px solid #1d2234;
|
||||
cursor: pointer;
|
||||
transition:
|
||||
background-color 0.2s ease,
|
||||
border-color 0.2s ease,
|
||||
transform 0.2s ease,
|
||||
box-shadow 0.2s ease;
|
||||
}
|
||||
|
||||
.mail-row:hover {
|
||||
background-color: #161b2a;
|
||||
transform: translateX(2px);
|
||||
}
|
||||
|
||||
.mail-option input:checked + .mail-row {
|
||||
background-color: rgba(108, 99, 255, 0.14);
|
||||
box-shadow: inset 0 0 0 1px rgba(108, 99, 255, 0.35);
|
||||
}
|
||||
|
||||
.mail-avatar {
|
||||
width: 42px;
|
||||
height: 42px;
|
||||
border-radius: 50%;
|
||||
background: linear-gradient(180deg, #2f3550 0%, #1f2334 100%);
|
||||
border: 1px solid #303650;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
color: #d7dcf2;
|
||||
font-weight: bold;
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
.mail-sender {
|
||||
font-weight: bold;
|
||||
color: white;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.mail-content {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.mail-subject {
|
||||
color: #f3f4fb;
|
||||
font-size: 15px;
|
||||
margin-bottom: 4px;
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.mail-preview {
|
||||
color: #b5b8ca;
|
||||
font-size: 13px;
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.mail-time {
|
||||
color: #8f8fa8;
|
||||
font-size: 13px;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.captcha-footer {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
gap: 16px;
|
||||
margin-top: 24px;
|
||||
}
|
||||
|
||||
.captcha-note {
|
||||
color: #b7bbcd;
|
||||
font-size: 14px;
|
||||
line-height: 1.6;
|
||||
max-width: 720px;
|
||||
}
|
||||
|
||||
.captcha-actions {
|
||||
display: flex;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.captcha-submit {
|
||||
background: linear-gradient(180deg, #7a72ff 0%, #5e56eb 100%);
|
||||
color: white;
|
||||
border: none;
|
||||
border-radius: 12px;
|
||||
padding: 14px 24px;
|
||||
font-size: 15px;
|
||||
font-weight: bold;
|
||||
cursor: pointer;
|
||||
transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
|
||||
box-shadow: 0 12px 24px rgba(94, 86, 235, 0.28);
|
||||
}
|
||||
|
||||
.captcha-submit:hover {
|
||||
transform: translateY(-1px) scale(1.01);
|
||||
box-shadow: 0 16px 30px rgba(94, 86, 235, 0.34);
|
||||
}
|
||||
|
||||
.success-mode {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.success-screen {
|
||||
text-align: center;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
animation: successPop 0.6s ease;
|
||||
}
|
||||
|
||||
.success-icon {
|
||||
font-size: 68px;
|
||||
margin-bottom: 14px;
|
||||
animation: bounceIn 0.9s ease;
|
||||
}
|
||||
|
||||
.success-screen h1 {
|
||||
margin: 0 0 12px;
|
||||
font-size: 40px;
|
||||
}
|
||||
|
||||
.success-screen p {
|
||||
margin: 0 auto 24px;
|
||||
max-width: 520px;
|
||||
color: #ced2e6;
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
.success-loader {
|
||||
width: 240px;
|
||||
height: 10px;
|
||||
margin: 0 auto;
|
||||
background: #23283d;
|
||||
border-radius: 999px;
|
||||
overflow: hidden;
|
||||
border: 1px solid #323a5b;
|
||||
}
|
||||
|
||||
.success-loader span {
|
||||
display: block;
|
||||
height: 100%;
|
||||
width: 0;
|
||||
background: linear-gradient(90deg, #62d26f 0%, #9cffaf 100%);
|
||||
animation: loadingBar 1.8s linear forwards;
|
||||
}
|
||||
|
||||
.success-burst {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
pointer-events: none;
|
||||
background:
|
||||
radial-gradient(circle at 20% 30%, rgba(255, 215, 0, 0.25), transparent 18%),
|
||||
radial-gradient(circle at 80% 20%, rgba(98, 210, 111, 0.22), transparent 18%),
|
||||
radial-gradient(circle at 30% 80%, rgba(122, 114, 255, 0.2), transparent 20%),
|
||||
radial-gradient(circle at 75% 70%, rgba(255, 105, 180, 0.16), transparent 18%);
|
||||
animation: burstPulse 1s ease-in-out infinite alternate;
|
||||
}
|
||||
|
||||
@keyframes successPop {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: scale(0.96);
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
transform: scale(1);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes bounceIn {
|
||||
0% {
|
||||
opacity: 0;
|
||||
transform: scale(0.3) translateY(20px);
|
||||
}
|
||||
60% {
|
||||
opacity: 1;
|
||||
transform: scale(1.08) translateY(-6px);
|
||||
}
|
||||
100% {
|
||||
transform: scale(1) translateY(0);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes loadingBar {
|
||||
from {
|
||||
width: 0;
|
||||
}
|
||||
to {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes burstPulse {
|
||||
from {
|
||||
opacity: 0.7;
|
||||
transform: scale(1);
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
transform: scale(1.03);
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 900px) {
|
||||
.captcha-top {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.captcha-target {
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.mail-row {
|
||||
grid-template-columns: 42px 1fr 56px;
|
||||
}
|
||||
|
||||
.mail-sender {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.captcha-footer {
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
}
|
||||
|
||||
.captcha-actions {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.captcha-submit,
|
||||
.captcha-secondary-button {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
body {
|
||||
padding: 14px;
|
||||
}
|
||||
|
||||
.captcha-card,
|
||||
.success-screen {
|
||||
padding: 20px;
|
||||
border-radius: 18px;
|
||||
}
|
||||
|
||||
.captcha-title {
|
||||
font-size: 28px;
|
||||
}
|
||||
|
||||
.mailbox-toolbar {
|
||||
padding: 14px 16px;
|
||||
}
|
||||
|
||||
.mail-row {
|
||||
grid-template-columns: 36px 1fr;
|
||||
gap: 10px;
|
||||
padding: 14px 14px;
|
||||
}
|
||||
|
||||
.mail-time {
|
||||
grid-column: 2;
|
||||
text-align: left;
|
||||
margin-top: 4px;
|
||||
}
|
||||
|
||||
.success-screen h1 {
|
||||
font-size: 30px;
|
||||
}
|
||||
|
||||
.success-screen p {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.success-loader {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
+92
-1
@@ -771,4 +771,95 @@ main {
|
||||
.quick-link-card p {
|
||||
font-size: 16px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* ---- PAGE CGU ---- */
|
||||
.cgu-page {
|
||||
max-width: 980px;
|
||||
margin: 48px auto 72px;
|
||||
padding: 0 24px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.cgu-card {
|
||||
background: linear-gradient(180deg, #111116 0%, #15151f 100%);
|
||||
border: 1px solid #2a2a3e;
|
||||
border-radius: 20px;
|
||||
padding: 40px;
|
||||
box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
|
||||
}
|
||||
|
||||
.cgu-card h1 {
|
||||
margin: 0 0 10px;
|
||||
color: white;
|
||||
font-size: 38px;
|
||||
font-weight: 800;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.cgu-card h2 {
|
||||
margin: 0 0 24px;
|
||||
color: #b8b8c7;
|
||||
font-size: 17px;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.cgu-card hr {
|
||||
border: none;
|
||||
height: 1px;
|
||||
background-color: #2a2a3e;
|
||||
margin: 0 0 28px;
|
||||
}
|
||||
|
||||
.cgu-card h3 {
|
||||
margin: 30px 0 12px;
|
||||
color: #8f88ff;
|
||||
font-size: 22px;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.cgu-card p {
|
||||
margin: 0 0 14px;
|
||||
color: #c7c7d4;
|
||||
font-size: 16px;
|
||||
line-height: 1.8;
|
||||
}
|
||||
|
||||
.cgu-card p:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.cgu-card br {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@media (max-width: 700px) {
|
||||
.cgu-page {
|
||||
margin: 28px auto 48px;
|
||||
padding: 0 14px;
|
||||
}
|
||||
|
||||
.cgu-card {
|
||||
padding: 24px 18px;
|
||||
border-radius: 16px;
|
||||
}
|
||||
|
||||
.cgu-card h1 {
|
||||
font-size: 28px;
|
||||
}
|
||||
|
||||
.cgu-card h2 {
|
||||
font-size: 15px;
|
||||
margin-bottom: 18px;
|
||||
}
|
||||
|
||||
.cgu-card h3 {
|
||||
font-size: 19px;
|
||||
margin-top: 24px;
|
||||
}
|
||||
|
||||
.cgu-card p {
|
||||
font-size: 15px;
|
||||
line-height: 1.7;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user