Fix: Add SSO button
Release / release (push) Successful in 23s

Cette révision appartient à :
jimmyGALLAND committed 2026-11-18 22:22:50 +01:00
1 Parent 321e65ef3b
révision 0e0fa5b1d0
2 files changed
+174 -2

No files matched your search

+13
Voir le fichier
@@ -89,6 +89,19 @@
<button class="sky-submit" id="sky-submit-btn" type="button"> <button class="sky-submit" id="sky-submit-btn" type="button">
CONNEXION <span class="blink">_</span> CONNEXION <span class="blink">_</span>
</button> </button>
<div class="sky-oauth-wrap">
<a
href="/?_task=login&amp;_action=oauth"
id="rcmloginoauth"
class="sky-oauth-button"
>
<span class="sky-oauth-icon">◈</span>
<span>CONNEXION AVEC SKYNET AUTH</span>
</a>
</div>
</div> </div>
<div class="sky-threat"> <div class="sky-threat">
+161 -2
Voir le fichier
@@ -1,4 +1,4 @@
*, *,
*::before, *::before,
*::after { *::after {
box-sizing: border-box; box-sizing: border-box;
@@ -247,7 +247,7 @@ body {
opacity: 1; opacity: 1;
} }
95% { 95% {
border-color: var(--blue-dark) border-color: var(--blue-dark);
opacity: 0.5; opacity: 0.5;
} }
} }
@@ -637,3 +637,162 @@ body {
padding: 1.5rem 1rem; padding: 1.5rem 1rem;
} }
} }
/* ── SKYNET OAUTH / SSO BUTTON ── */
.sky-oauth-wrap {
margin-top: 12px;
width: 100%;
animation: slide-up 0.6s ease both 1.1s;
}
.sky-oauth-button {
display: flex;
align-items: center;
justify-content: center;
gap: 12px;
width: 100%;
padding: 14px 10px;
position: relative;
overflow: hidden;
isolation: isolate;
background: rgba(0, 207, 255, 0.035);
border: 1px solid rgba(0, 207, 255, 0.5);
border-radius: 0;
color: var(--cyan);
font-family: "Orbitron", monospace;
font-size: 10px;
font-weight: 700;
letter-spacing: 2px;
text-align: center;
text-decoration: none;
text-transform: uppercase;
cursor: pointer;
transition:
background 0.25s,
border-color 0.25s,
color 0.25s,
box-shadow 0.25s;
}
/* Reflet lumineux principal */
.sky-oauth-button::before {
content: "";
position: absolute;
z-index: -1;
top: -50%;
bottom: -50%;
left: -65%;
width: 38%;
transform: skewX(-22deg);
background: linear-gradient(
90deg,
transparent,
rgba(0, 207, 255, 0.08) 20%,
rgba(122, 184, 255, 0.48) 50%,
rgba(0, 207, 255, 0.08) 80%,
transparent
);
filter: blur(3px);
animation: skynetSweep 3.2s ease-in-out infinite;
}
/* Halo secondaire */
.sky-oauth-button::after {
content: "";
position: absolute;
z-index: -1;
top: 0;
bottom: 0;
left: -65%;
width: 38%;
transform: skewX(-22deg);
background: linear-gradient(
90deg,
transparent,
rgba(0, 207, 255, 0.22),
transparent
);
animation: skynetSweep 3.2s ease-in-out infinite;
}
/* Symbole Skynet */
.sky-oauth-icon {
position: relative;
color: var(--blue-light);
font-size: 19px;
line-height: 1;
text-shadow: 0 0 9px var(--cyan);
}
/* Survol */
.sky-oauth-button:hover {
background: rgba(0, 207, 255, 0.12);
border-color: var(--cyan);
color: var(--blue-pale);
box-shadow:
0 0 12px rgba(0, 207, 255, 0.17),
inset 0 0 18px rgba(0, 207, 255, 0.07);
text-decoration: none;
}
.sky-oauth-button:active {
transform: scale(0.99);
}
.sky-oauth-button:focus-visible {
outline: 1px solid var(--cyan);
outline-offset: 3px;
}
/* Animation du balayage horizontal */
@keyframes skynetSweep {
0% {
left: -65%;
opacity: 0;
}
12% {
opacity: 1;
}
65% {
opacity: 1;
}
82%, 100% {
left: 130%;
opacity: 0;
}
}
/* Affichage mobile */
@media (max-width: 480px) {
.sky-oauth-button {
font-size: 10px !important;
padding: 16px 8px !important;
letter-spacing: 1.5px;
}
}
/* Respect des préférences de réduction des animations */
@media (prefers-reduced-motion: reduce) {
.sky-oauth-button::before,
.sky-oauth-button::after {
animation: none;
}
}