Files
WaifuBoard/docker/views/css/room.css
2026-01-04 20:09:06 +01:00

980 lines
24 KiB
CSS

:root {
--brand-color: #8b5cf6;
--brand-gradient: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
--glass-bg: rgba(20, 20, 20, 0.6);
--glass-border: rgba(255, 255, 255, 0.08);
--glass-blur: blur(12px);
--text-main: #ffffff;
--text-muted: rgba(255, 255, 255, 0.6);
}
::-webkit-scrollbar {
width: 6px;
height: 6px;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
background: rgba(255, 255, 255, 0.2);
border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
background: rgba(255, 255, 255, 0.4);
}
.spinner {
width: 24px;
height: 24px;
border: 3px solid rgba(255, 255, 255, 0.1);
border-top-color: var(--brand-color);
border-radius: 50%;
animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.btn-icon-glass, .btn-icon-small, .modal-close {
appearance: none;
background: rgba(255, 255, 255, 0.05);
border: 1px solid rgba(255, 255, 255, 0.05);
color: #eee;
border-radius: 8px;
cursor: pointer;
transition: all 0.2s ease;
display: flex;
align-items: center;
justify-content: center;
}
.btn-icon-glass { width: 36px; height: 36px; backdrop-filter: blur(8px); }
.btn-icon-small { padding: 6px; }
.modal-close { width: 32px; height: 32px; position: absolute; top: 20px; right: 20px; background: rgba(255, 255, 255, 0.1); }
.btn-icon-glass:hover, .btn-icon-small:hover {
background: rgba(255, 255, 255, 0.15);
border-color: rgba(255, 255, 255, 0.2);
transform: translateY(-1px);
color: white;
}
.modal-close:hover { background: rgba(255, 255, 255, 0.3); transform: rotate(90deg); }
.btn-glass-primary {
display: flex;
align-items: center;
gap: 8px;
background: rgba(139, 92, 246, 0.25);
border: 1px solid rgba(139, 92, 246, 0.4);
color: white;
padding: 0 16px;
height: 36px;
border-radius: 10px;
font-weight: 600;
font-size: 0.9rem;
cursor: pointer;
backdrop-filter: blur(8px);
transition: all 0.2s;
}
.btn-glass-primary:hover {
background: rgba(139, 92, 246, 0.4);
box-shadow: 0 0 15px rgba(139, 92, 246, 0.2);
transform: translateY(-1px);
}
.btn-confirm, .btn-primary {
background: var(--brand-color);
border: none;
color: white;
padding: 10px 24px;
border-radius: 10px;
font-weight: 700;
cursor: pointer;
transition: all 0.2s;
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
}
.btn-confirm:hover, .btn-primary:hover {
background: #7c3aed;
transform: translateY(-2px);
}
.btn-confirm:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn-confirm.full-width { width: 100%; }
.btn-cancel {
background: transparent;
border: 1px solid rgba(255, 255, 255, 0.2);
color: rgba(255, 255, 255, 0.8);
padding: 10px 20px;
border-radius: 8px;
cursor: pointer;
font-weight: 600;
transition: all 0.2s;
}
.btn-cancel:hover { background: rgba(255, 255, 255, 0.1); color: white; }
input[type="text"], input[type="password"], input[type="number"], .form-input {
width: 100%;
background: rgba(255, 255, 255, 0.05);
border: 1px solid rgba(255, 255, 255, 0.1);
color: white;
padding: 12px 16px;
border-radius: 10px;
font-size: 1rem;
outline: none;
transition: border-color 0.2s;
}
input:focus, .form-input:focus {
border-color: var(--brand-color);
background: rgba(255, 255, 255, 0.08);
}
.glass-select-sm {
appearance: none;
-webkit-appearance: none;
background-color: rgba(255, 255, 255, 0.05);
border: 1px solid rgba(255, 255, 255, 0.1);
color: #eee;
padding: 0 32px 0 12px;
height: 32px;
line-height: 30px;
border-radius: 8px;
font-size: 0.85rem;
font-weight: 600;
cursor: pointer;
outline: none;
transition: all 0.2s;
max-width: 140px;
white-space: nowrap;
text-overflow: ellipsis;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.6)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: right 8px center;
background-size: 14px;
}
.glass-select-sm:hover {
background-color: rgba(255, 255, 255, 0.1);
border-color: rgba(255,255,255,0.3);
color: #fff;
}
.glass-select-sm option { background: #1a1a1a; color: #e0e0e0; }
.chips-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
padding: 8px 16px;
background: rgba(255, 255, 255, 0.05);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 8px;
color: #ccc;
font-size: 0.9rem;
cursor: pointer;
transition: all 0.2s;
user-select: none;
}
.chip:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.3); transform: translateY(-2px); }
.chip.active {
background: var(--brand-color);
border-color: var(--brand-color);
color: white;
box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}
.chip.disabled { opacity: 0.5; pointer-events: none; filter: grayscale(1); }
.room-layout {
display: grid;
grid-template-columns: 1fr 380px;
height: 100vh;
overflow: hidden;
transition: grid-template-columns 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.room-layout.chat-hidden {
grid-template-columns: 1fr 0px !important;
}
.video-area {
display: flex;
flex-direction: column;
background: #000;
flex: 1;
min-height: 0;
overflow: hidden;
position: relative;
}
@media (max-width: 1200px) {
.room-layout {
grid-template-columns: 1fr;
grid-template-rows: 1fr auto;
}
.room-layout.chat-hidden {
grid-template-rows: 1fr 0px;
}
.chat-sidebar {
height: 350px;
border-left: none;
border-top: 1px solid var(--glass-border);
}
}
.room-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 0 24px;
background: rgba(10, 10, 10, 0.85);
backdrop-filter: blur(20px);
border-bottom: 1px solid var(--glass-border);
height: 64px;
z-index: 20;
flex-shrink: 0;
}
.header-left, .header-right {
display: flex;
align-items: center;
gap: 16px;
flex: 1;
}
.header-right { justify-content: flex-end; }
.room-info { display: flex; flex-direction: column; justify-content: center; line-height: 1.2; }
#room-name {
margin: 0;
font-size: 1rem;
font-weight: 700;
color: white;
letter-spacing: -0.01em;
}
.np-fade { display: flex; align-items: center; opacity: 0.7; font-size: 0.8rem; gap: 6px; margin-top: 2px; }
.np-title { color: #ccc; font-weight: 500; max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.np-sep { color: #555; }
.np-badge {
background: rgba(255, 255, 255, 0.1);
color: #fff;
padding: 1px 6px;
border-radius: 4px;
font-size: 0.7rem;
font-weight: 700;
}
.header-center { flex: 2; display: flex; justify-content: center; z-index: 50; }
.quick-controls-group {
display: flex;
align-items: center;
gap: 8px;
background: rgba(20, 20, 20, 0.6);
backdrop-filter: blur(12px);
padding: 4px 8px;
border-radius: 10px;
border: 1px solid var(--glass-border);
box-shadow: 0 4px 12px rgba(0,0,0,0.2);
transition: all 0.2s ease;
height: 42px;
}
.quick-controls-group:hover { border-color: rgba(255,255,255,0.15); background: rgba(30, 30, 30, 0.7); }
.sd-toggle.small {
height: 32px;
background: rgba(255, 255, 255, 0.05);
border: 1px solid rgba(255,255,255,0.1);
border-radius: 8px;
padding: 2px;
display: flex;
position: relative;
cursor: pointer;
min-width: 80px;
box-sizing: border-box;
}
.sd-toggle.small .sd-bg {
position: absolute;
top: 2px; left: 2px;
width: calc(50% - 2px); height: calc(100% - 4px);
background: rgba(255, 255, 255, 0.2);
border-radius: 6px;
transition: transform 0.2s cubic-bezier(0.4, 0.0, 0.2, 1);
}
.sd-toggle[data-state="dub"] .sd-bg { transform: translateX(100%); }
.sd-toggle.small .sd-option {
flex: 1;
z-index: 2;
display: flex;
align-items: center;
justify-content: center;
font-size: 0.75rem;
font-weight: 700;
color: rgba(255,255,255,0.4);
transition: color 0.2s;
user-select: none;
}
.sd-toggle.small .sd-option.active { color: #fff; }
.viewers-pill {
display: flex;
align-items: center;
gap: 6px;
background: rgba(0,0,0,0.3);
padding: 0 10px;
border-radius: 20px;
border: 1px solid rgba(255,255,255,0.05);
font-size: 0.8rem;
color: #aaa;
height: 32px;
}
.player-wrapper {
display: flex !important;
flex-direction: column;
flex: 1;
width: 100%;
height: auto !important;
min-height: 0;
position: relative !important;
z-index: 1 !important;
background: transparent !important;
overflow: hidden;
}
.player-container {
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
position: relative;
}
.video-frame {
flex: 1;
min-height: 0;
position: relative;
background: #000;
display: flex;
align-items: center;
justify-content: center;
}
#player {
width: 100%;
height: 100%;
max-height: 100%;
}
.custom-controls {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
z-index: 60;
background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
padding: 20px 10px 10px;
}
.controls-left {
display: flex;
align-items: center;
gap: 10px;
}
.time-display {
white-space: nowrap;
font-variant-numeric: tabular-nums;
font-size: 0.9rem;
color: #ddd;
min-width: fit-content;
}
#subtitles-canvas {
position: absolute;
top: 0; left: 0;
width: 100%; height: 100%;
pointer-events: none;
z-index: 10;
}
#download-btn,
#manual-match-btn,
#server-select,
#extension-select,
#sd-toggle,
.side-nav-btn {
display: none !important;
}
.settings-panel {
position: absolute;
bottom: 70px;
right: 20px;
z-index: 1000;
max-height: 60vh;
overflow-y: auto;
background: rgba(15, 15, 15, 0.95);
border: 1px solid var(--glass-border);
border-radius: 8px;
}
.chat-sidebar {
display: flex;
flex-direction: column;
background: rgba(15, 15, 15, 0.95);
border-left: 1px solid var(--glass-border);
height: 100%;
overflow: hidden;
}
.room-layout.chat-hidden .chat-sidebar {
opacity: 0;
pointer-events: none;
border-left: none;
}
.chat-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 16px 20px;
border-bottom: 1px solid var(--glass-border);
}
.chat-header h3 { margin: 0; font-size: 1.1rem; font-weight: 700; color: white; }
.users-list {
padding: 12px;
border-bottom: 1px solid var(--glass-border);
max-height: 200px;
overflow-y: auto;
background: rgba(0,0,0,0.2);
}
.user-item {
display: flex;
align-items: center;
gap: 10px;
padding: 8px 12px;
border-radius: 8px;
margin-bottom: 4px;
}
.user-item:hover { background: rgba(255, 255, 255, 0.05); }
.user-avatar {
width: 32px; height: 32px;
border-radius: 50%;
background: var(--brand-gradient);
display: flex;
align-items: center;
justify-content: center;
font-weight: 700;
color: white;
font-size: 0.8rem;
}
.user-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.user-name { flex: 1; font-size: 0.9rem; color: white; }
.user-badge {
font-size: 0.7rem;
background: var(--brand-color);
color: white;
padding: 2px 8px;
border-radius: 4px;
font-weight: 600;
}
.chat-messages {
flex: 1;
overflow-y: auto;
padding: 16px;
display: flex;
flex-direction: column;
gap: 12px;
min-height: 0;
}
.chat-message { display: flex; gap: 10px; }
.chat-message.system { justify-content: center; margin: 8px 0; }
.chat-message.system .message-content {
background: rgba(255, 255, 255, 0.05);
color: var(--text-muted);
font-size: 0.8rem;
text-align: center;
padding: 4px 12px;
border-radius: 12px;
}
.message-avatar {
width: 36px; height: 36px;
border-radius: 50%;
background: var(--brand-gradient);
display: flex;
align-items: center;
justify-content: center;
font-weight: 700;
color: white;
font-size: 0.9rem;
flex-shrink: 0;
}
.message-body { flex: 1; min-width: 0; }
.message-header { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.message-username { font-weight: 600; color: white; font-size: 0.9rem; }
.message-time { font-size: 0.75rem; color: rgba(255, 255, 255, 0.4); }
.message-content {
color: rgba(255, 255, 255, 0.9);
font-size: 0.95rem;
line-height: 1.4;
word-wrap: break-word;
}
.chat-input {
display: flex;
gap: 8px;
padding: 16px;
border-top: 1px solid var(--glass-border);
}
.chat-input input {
flex: 1;
background: rgba(255, 255, 255, 0.05);
border: 1px solid var(--glass-border);
color: white;
padding: 12px 16px;
border-radius: 10px;
outline: none;
}
.chat-input button {
background: var(--brand-color);
border: none;
color: white;
padding: 0 16px;
border-radius: 10px;
cursor: pointer;
transition: background 0.2s;
}
.chat-input button:hover { background: #7c3aed; }
.modal-overlay {
position: fixed; inset: 0;
background: rgba(0, 0, 0, 0.8);
backdrop-filter: blur(8px);
display: none;
align-items: center;
justify-content: center;
z-index: 10000;
opacity: 0;
transition: opacity 0.3s ease;
}
.modal-overlay.show { display: flex; opacity: 1; }
.modal-content {
background: rgba(20, 20, 20, 0.95);
border: 1px solid var(--glass-border);
border-radius: 16px;
padding: 32px;
max-width: 500px;
width: 90%;
position: relative;
transform: scale(0.9);
transition: transform 0.3s ease;
}
.modal-overlay.show .modal-content { transform: scale(1); }
.modal-title { margin: 0 0 24px 0; font-size: 1.5rem; font-weight: 800; color: white; }
.modal-header-row { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.modal-header-row .modal-title { margin: 0; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; color: white; }
.form-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 24px; }
.anime-search-content { max-width: 800px; max-height: 85vh; display: flex; flex-direction: column; }
.search-bar { display: flex; gap: 12px; margin-bottom: 20px; }
.search-bar button {
background: var(--brand-color);
border: none; color: white; padding: 12px 24px;
border-radius: 10px; font-weight: 700; cursor: pointer;
}
.anime-results {
flex: 1;
overflow-y: auto;
display: flex;
flex-direction: column;
gap: 12px;
min-height: 0;
max-height: 60vh;
padding-right: 8px;
}
.anime-result-item, .search-item {
display: flex; gap: 16px; padding: 12px;
background: rgba(255, 255, 255, 0.03);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 12px;
cursor: pointer; text-decoration: none; color: inherit;
transition: all 0.2s;
}
.anime-result-item:hover {
background: rgba(255, 255, 255, 0.08);
border-color: var(--brand-color);
transform: translateX(4px);
}
.search-poster { width: 60px; height: 85px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.search-info { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.search-title { font-weight: 700; color: white; margin-bottom: 4px; font-size: 1rem; }
.search-meta { font-size: 0.85rem; color: var(--text-muted); }
.config-layout { display: flex; gap: 24px; margin-top: 20px; }
.config-sidebar { width: 140px; flex-shrink: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.config-cover {
width: 100%; aspect-ratio: 2/3; object-fit: cover;
border-radius: 12px; box-shadow: 0 8px 20px rgba(0,0,0,0.4);
border: 1px solid var(--glass-border);
}
.config-main { flex: 1; display: flex; flex-direction: column; gap: 20px; }
.cfg-section-title {
font-size: 0.85rem; text-transform: uppercase;
letter-spacing: 1px; color: rgba(255,255,255,0.5);
margin-bottom: 8px; font-weight: 700;
}
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
-webkit-appearance: none;
margin: 0;
}
input[type=number] {
-moz-appearance: textfield; /* Firefox */
}
/* Enhanced Episode Control Container */
.ep-control {
display: flex;
align-items: center;
justify-content: space-between;
background: rgba(0, 0, 0, 0.4); /* Darker background for visibility */
border: 1px solid rgba(255, 255, 255, 0.2); /* brighter border */
border-radius: 12px;
padding: 4px;
width: 100%;
height: 48px; /* Fixed height */
margin-top: 8px;
box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}
/* Button Styling */
.ep-btn {
width: 40px; /* Fixed width */
height: 38px; /* Fixed height */
flex-shrink: 0; /* Prevent shrinking */
display: flex;
align-items: center;
justify-content: center;
background: rgba(255, 255, 255, 0.1);
border: 1px solid rgba(255,255,255,0.05);
color: white;
border-radius: 8px;
cursor: pointer;
font-size: 1.2rem;
transition: all 0.2s ease;
}
.ep-btn:hover {
background: var(--brand-color);
border-color: var(--brand-color);
transform: translateY(-1px);
}
.ep-btn:active {
transform: translateY(1px);
}
/* Input Styling */
.ep-input {
flex: 1;
min-width: 0; /* Allows flex item to shrink below content size */
background: transparent;
border: none;
color: white;
text-align: center;
font-size: 1.2rem;
font-weight: 800;
outline: none;
font-family: monospace; /* Better number alignment */
}
.ep-input:focus {
background: transparent;
border: none;
}
.cat-toggle {
display: flex; background: rgba(0,0,0,0.3);
padding: 4px; border-radius: 10px; width: fit-content;
}
.cat-opt {
padding: 6px 16px; border-radius: 8px;
font-size: 0.85rem; color: #888;
cursor: pointer; transition: all 0.2s; font-weight: 600;
}
.cat-opt.active { background: rgba(255,255,255,0.15); color: white; }
.cat-opt.disabled { opacity: 0.3; pointer-events: none; text-decoration: line-through; }
.grid-loader {
width: 100%; padding: 20px; text-align: center;
color: var(--text-muted); font-size: 0.9rem;
}
@media (max-width: 600px) {
.config-layout { flex-direction: column; }
.config-sidebar { width: 100%; flex-direction: row; }
.config-cover { width: 80px; }
.ep-control { width: auto; flex: 1; }
}
.container { max-width: 1400px; margin: 0 auto; padding: 80px 40px 40px; }
.header h1 {
font-size: 2.5rem; font-weight: 800;
background: var(--brand-gradient);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.rooms-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
gap: 24px;
}
.room-card {
background: var(--glass-bg);
border: 1px solid var(--glass-border);
border-radius: 16px; padding: 24px;
backdrop-filter: var(--glass-blur);
cursor: pointer; transition: all 0.3s;
}
.room-card:hover {
transform: translateY(-4px);
border-color: var(--brand-color);
box-shadow: 0 8px 32px rgba(139, 92, 246, 0.3);
}
.room-card-title { font-size: 1.25rem; font-weight: 700; color: white; margin-bottom: 4px; }
.room-card-host { font-size: 0.85rem; color: var(--text-muted); }
.room-card-footer {
display: flex; justify-content: space-between;
align-items: center; padding-top: 16px;
border-top: 1px solid rgba(255, 255, 255, 0.1); margin-top: 16px;
}
.join-host-info {
display: flex;
flex-direction: column;
align-items: center;
margin-bottom: 24px;
animation: fadeIn 0.5s ease;
}
.join-avatar-container {
width: 80px;
height: 80px;
border-radius: 50%;
padding: 3px;
background: var(--brand-gradient);
margin-bottom: 12px;
box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}
.join-avatar-container img {
width: 100%;
height: 100%;
border-radius: 50%;
object-fit: cover;
border: 3px solid #1a1a1a;
background: #2a2a2a;
}
.join-text {
font-size: 1.1rem;
color: white;
font-weight: 500;
text-align: center;
margin: 0;
}
.join-text span {
font-weight: 700;
color: #a78bfa;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(-10px); }
to { opacity: 1; transform: translateY(0); }
}
.video-toast-container {
position: absolute;
bottom: 100px;
left: 20px;
z-index: 80;
display: flex;
flex-direction: column;
gap: 10px;
pointer-events: none;
max-width: 400px;
}
.video-toast {
display: flex;
align-items: center;
gap: 10px;
background: rgba(15, 15, 15, 0.85);
backdrop-filter: blur(8px);
padding: 8px 12px;
border-radius: 8px;
border-left: 3px solid var(--brand-color);
color: white;
font-size: 0.9rem;
box-shadow: 0 4px 12px rgba(0,0,0,0.3);
animation: toastSlideIn 0.3s ease forwards, toastFadeOut 0.5s ease 4.5s forwards;
pointer-events: auto;
opacity: 0;
}
.toast-avatar {
width: 28px;
height: 28px;
border-radius: 50%;
object-fit: cover;
flex-shrink: 0;
}
.toast-content {
display: flex;
flex-direction: column;
line-height: 1.2;
}
.toast-user {
font-weight: 700;
font-size: 0.8rem;
color: #a78bfa;
}
.toast-msg {
color: #eee;
margin-top: 2px;
}
#toggle-chat-btn {
position: relative;
}
#toggle-chat-btn.has-unread::after {
content: '';
position: absolute;
top: 2px;
right: 2px;
width: 10px;
height: 10px;
background-color: #ef4444;
border: 2px solid #1a1a1a;
border-radius: 50%;
animation: pulse 2s infinite;
}
@keyframes toastSlideIn {
from { opacity: 0; transform: translateX(-20px); }
to { opacity: 1; transform: translateX(0); }
}
@keyframes toastFadeOut {
from { opacity: 1; transform: translateY(0); }
to { opacity: 0; transform: translateY(-10px); visibility: hidden; }
}
@keyframes pulse {
0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}
.video-toast.system-toast {
border-left-color: #9ca3af;
background: rgba(20, 20, 20, 0.7);
justify-content: center;
padding: 6px 12px;
min-height: auto;
}
.video-toast.system-toast .toast-msg {
font-size: 0.85rem;
font-style: italic;
color: rgba(255, 255, 255, 0.8);
margin: 0;
}
@keyframes slideUp {
from {
transform: translateX(-50%) translateY(20px);
opacity: 0;
}
to {
transform: translateX(-50%) translateY(0);
opacity: 1;
}
}
@keyframes fadeOut {
from {
opacity: 1;
}
to {
opacity: 0;
}
}
@keyframes slideUp {
from {
transform: translateX(-50%) translateY(20px);
opacity: 0;
}
to {
transform: translateX(-50%) translateY(0);
opacity: 1;
}
}
@keyframes slideDown {
from {
transform: translateX(-50%) translateY(-20px);
opacity: 0;
}
to {
transform: translateX(-50%) translateY(0);
opacity: 1;
}
}
@keyframes fadeOut {
from {
opacity: 1;
}
to {
opacity: 0;
}
}
#copy-invite-btn {
transition: all 0.3s ease;
}
#copy-invite-btn:hover {
transform: scale(1.05);
}
#copy-invite-btn:active {
transform: scale(0.95);
}
@keyframes scaleIn {
from {
transform: translate(-50%, -50%) scale(0.8);
opacity: 0;
}
to {
transform: translate(-50%, -50%) scale(1);
opacity: 1;
}
}