2026-07-27 20:11:31 +00:00
|
|
|
/* ─── Reconnect Modal — Dark/Light compatible ───────────────── */
|
|
|
|
|
|
2026-07-16 19:09:28 +00:00
|
|
|
.components-reconnect-first-attempt-visible,
|
|
|
|
|
.components-reconnect-repeated-attempt-visible,
|
|
|
|
|
.components-reconnect-failed-visible,
|
|
|
|
|
.components-pause-visible,
|
|
|
|
|
.components-resume-failed-visible,
|
|
|
|
|
.components-rejoining-animation {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible,
|
|
|
|
|
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation,
|
|
|
|
|
#components-reconnect-modal.components-reconnect-paused .components-pause-visible,
|
|
|
|
|
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible,
|
|
|
|
|
#components-reconnect-modal.components-reconnect-retrying,
|
|
|
|
|
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible,
|
|
|
|
|
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation,
|
|
|
|
|
#components-reconnect-modal.components-reconnect-failed,
|
|
|
|
|
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible {
|
|
|
|
|
display: block;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#components-reconnect-modal {
|
2026-07-27 20:11:31 +00:00
|
|
|
background-color: var(--bg-card, #FFFFFF);
|
|
|
|
|
color: var(--text-primary, #111111);
|
|
|
|
|
width: 22rem;
|
|
|
|
|
max-width: 90vw;
|
2026-07-16 19:09:28 +00:00
|
|
|
margin: 20vh auto;
|
|
|
|
|
padding: 2rem;
|
2026-07-27 20:11:31 +00:00
|
|
|
border: 1px solid var(--border-color, #E5E5E5);
|
|
|
|
|
border-radius: 16px;
|
|
|
|
|
box-shadow: var(--shadow-xl, 0 25px 50px -12px rgba(0, 0, 0, 0.25));
|
2026-07-16 19:09:28 +00:00
|
|
|
opacity: 0;
|
|
|
|
|
transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
|
|
|
|
|
animation: components-reconnect-modal-fadeOutOpacity 0.5s both;
|
2026-07-19 06:28:13 +00:00
|
|
|
}
|
2026-07-16 19:09:28 +00:00
|
|
|
|
2026-07-19 06:28:13 +00:00
|
|
|
#components-reconnect-modal[open] {
|
2026-07-27 20:11:31 +00:00
|
|
|
animation: components-reconnect-modal-slideUp 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s,
|
|
|
|
|
components-reconnect-modal-fadeInOpacity 0.5s ease-in-out 0.3s;
|
2026-07-16 19:09:28 +00:00
|
|
|
animation-fill-mode: both;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#components-reconnect-modal::backdrop {
|
2026-07-27 20:11:31 +00:00
|
|
|
background-color: rgba(0, 0, 0, 0.5);
|
2026-07-16 19:09:28 +00:00
|
|
|
animation: components-reconnect-modal-fadeInOpacity 0.5s ease-in-out;
|
|
|
|
|
opacity: 1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@keyframes components-reconnect-modal-slideUp {
|
|
|
|
|
0% {
|
|
|
|
|
transform: translateY(30px) scale(0.95);
|
|
|
|
|
}
|
|
|
|
|
100% {
|
|
|
|
|
transform: translateY(0);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@keyframes components-reconnect-modal-fadeInOpacity {
|
2026-07-27 20:11:31 +00:00
|
|
|
0% { opacity: 0; }
|
|
|
|
|
100% { opacity: 1; }
|
2026-07-16 19:09:28 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@keyframes components-reconnect-modal-fadeOutOpacity {
|
2026-07-27 20:11:31 +00:00
|
|
|
0% { opacity: 1; }
|
|
|
|
|
100% { opacity: 0; }
|
2026-07-16 19:09:28 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.components-reconnect-container {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 1rem;
|
2026-07-27 20:11:31 +00:00
|
|
|
text-align: center;
|
2026-07-16 19:09:28 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#components-reconnect-modal p {
|
|
|
|
|
margin: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#components-reconnect-modal button {
|
2026-07-27 20:11:31 +00:00
|
|
|
border: 1.5px solid var(--border-color, #E5E5E5);
|
|
|
|
|
background: var(--bg-surface, #FFFFFF);
|
|
|
|
|
color: var(--text-primary, #111111);
|
|
|
|
|
padding: 8px 28px;
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
transition: background 0.2s ease, border-color 0.2s ease;
|
2026-07-16 19:09:28 +00:00
|
|
|
}
|
|
|
|
|
|
2026-07-27 20:11:31 +00:00
|
|
|
#components-reconnect-modal button:hover {
|
|
|
|
|
background: var(--bg-hover, rgba(0, 0, 0, 0.04));
|
|
|
|
|
border-color: var(--text-secondary, #555555);
|
|
|
|
|
}
|
2026-07-16 19:09:28 +00:00
|
|
|
|
2026-07-27 20:11:31 +00:00
|
|
|
#components-reconnect-modal button:active {
|
|
|
|
|
background: var(--bg-active, rgba(0, 0, 0, 0.06));
|
|
|
|
|
}
|
2026-07-16 19:09:28 +00:00
|
|
|
|
2026-07-27 20:11:31 +00:00
|
|
|
/* Rejoining animation ring */
|
2026-07-16 19:09:28 +00:00
|
|
|
.components-rejoining-animation {
|
|
|
|
|
position: relative;
|
2026-07-27 20:11:31 +00:00
|
|
|
width: 72px;
|
|
|
|
|
height: 72px;
|
2026-07-16 19:09:28 +00:00
|
|
|
}
|
|
|
|
|
|
2026-07-27 20:11:31 +00:00
|
|
|
.components-rejoining-animation div {
|
|
|
|
|
position: absolute;
|
|
|
|
|
border: 3px solid #555555;
|
|
|
|
|
opacity: 1;
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
animation: components-rejoining-animation 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
|
|
|
|
|
}
|
2026-07-16 19:09:28 +00:00
|
|
|
|
2026-07-27 20:11:31 +00:00
|
|
|
.components-rejoining-animation div:nth-child(2) {
|
|
|
|
|
animation-delay: -0.5s;
|
|
|
|
|
}
|
2026-07-16 19:09:28 +00:00
|
|
|
|
|
|
|
|
@keyframes components-rejoining-animation {
|
|
|
|
|
0% {
|
2026-07-27 20:11:31 +00:00
|
|
|
top: 36px;
|
|
|
|
|
left: 36px;
|
2026-07-16 19:09:28 +00:00
|
|
|
width: 0;
|
|
|
|
|
height: 0;
|
|
|
|
|
opacity: 0;
|
|
|
|
|
}
|
|
|
|
|
4.9% {
|
2026-07-27 20:11:31 +00:00
|
|
|
top: 36px;
|
|
|
|
|
left: 36px;
|
2026-07-16 19:09:28 +00:00
|
|
|
width: 0;
|
|
|
|
|
height: 0;
|
|
|
|
|
opacity: 0;
|
|
|
|
|
}
|
|
|
|
|
5% {
|
2026-07-27 20:11:31 +00:00
|
|
|
top: 36px;
|
|
|
|
|
left: 36px;
|
2026-07-16 19:09:28 +00:00
|
|
|
width: 0;
|
|
|
|
|
height: 0;
|
|
|
|
|
opacity: 1;
|
|
|
|
|
}
|
|
|
|
|
100% {
|
2026-07-27 20:11:31 +00:00
|
|
|
top: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
width: 72px;
|
|
|
|
|
height: 72px;
|
2026-07-16 19:09:28 +00:00
|
|
|
opacity: 0;
|
|
|
|
|
}
|
|
|
|
|
}
|