diff --git a/src/login.html b/src/login.html index 0baa794..41eda6b 100644 --- a/src/login.html +++ b/src/login.html @@ -89,6 +89,19 @@ + + +
+ + ◈ + CONNEXION AVEC SKYNET AUTH + +
+
diff --git a/src/styles-skynet.css b/src/styles-skynet.css index 0c0e881..35a211f 100644 --- a/src/styles-skynet.css +++ b/src/styles-skynet.css @@ -1,4 +1,4 @@ -*, +*, *::before, *::after { box-sizing: border-box; @@ -247,7 +247,7 @@ body { opacity: 1; } 95% { - border-color: var(--blue-dark) + border-color: var(--blue-dark); opacity: 0.5; } } @@ -637,3 +637,162 @@ body { 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; + } +}