357 lines
6.9 KiB
SCSS
357 lines
6.9 KiB
SCSS
/*!*
|
|
* This file is part of the SplendidBear Websites' projects.
|
|
*
|
|
* Copyright (c) 2026 @ www.splendidbear.org
|
|
*
|
|
* For the full copyright and license information, please view the LICENSE
|
|
* file that was distributed with this source code.
|
|
*/
|
|
|
|
.opd-paper {
|
|
background: #07090d !important;
|
|
background-image: linear-gradient(rgba(35, 111, 135, 0.08) 1px, transparent 1px),
|
|
linear-gradient(90deg, rgba(35, 111, 135, 0.08) 1px, transparent 1px) !important;
|
|
background-size: 46px 46px !important;
|
|
border: 1px solid rgba(35, 111, 135, 0.4) !important;
|
|
border-radius: 12px !important;
|
|
box-shadow: 0 0 80px rgba(35, 111, 135, 0.15),
|
|
0 32px 80px rgba(0, 0, 0, 0.9) !important;
|
|
width: 500px;
|
|
max-width: 94vw !important;
|
|
overflow: hidden !important;
|
|
}
|
|
|
|
.opd {
|
|
padding: 28px 28px 22px;
|
|
position: relative;
|
|
}
|
|
|
|
.opd-header {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
margin-bottom: 22px;
|
|
gap: 12px;
|
|
}
|
|
|
|
.opd-header-text {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.opd-header-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
flex-shrink: 0;
|
|
padding-top: 2px;
|
|
}
|
|
|
|
.opd-label {
|
|
display: block;
|
|
font: 700 11px 'Rajdhani', sans-serif;
|
|
text-transform: uppercase;
|
|
letter-spacing: 4px;
|
|
color: rgba(149, 207, 245, 0.55);
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.opd-title {
|
|
font: 800 28px 'Rajdhani', sans-serif;
|
|
color: #fff;
|
|
letter-spacing: 0.5px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 11px;
|
|
|
|
i {
|
|
color: rgba(35, 111, 135, 0.9);
|
|
font-size: 22px;
|
|
}
|
|
}
|
|
|
|
.opd-refresh,
|
|
.opd-close {
|
|
background: transparent;
|
|
border: 1px solid rgba(35, 111, 135, 0.3);
|
|
border-radius: 6px;
|
|
color: rgba(149, 207, 245, 0.55);
|
|
width: 32px;
|
|
height: 32px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
cursor: pointer;
|
|
transition: all 200ms ease;
|
|
flex-shrink: 0;
|
|
|
|
&:hover:not(:disabled) {
|
|
border-color: rgba(149, 207, 245, 0.5);
|
|
color: #fff;
|
|
background: rgba(35, 111, 135, 0.15);
|
|
}
|
|
|
|
&:disabled {
|
|
opacity: 0.4;
|
|
cursor: default;
|
|
}
|
|
}
|
|
|
|
.opd-refresh--spin i {
|
|
animation: opd-spin 0.7s linear infinite;
|
|
}
|
|
|
|
@keyframes opd-spin {
|
|
from {
|
|
transform: rotate(0deg);
|
|
}
|
|
to {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
.opd-search-wrap {
|
|
display: flex;
|
|
align-items: center;
|
|
background: rgba(35, 111, 135, 0.07);
|
|
border: 1px solid rgba(35, 111, 135, 0.28);
|
|
border-radius: 8px;
|
|
padding: 0 14px;
|
|
margin-bottom: 16px;
|
|
transition: border-color 200ms ease, background 200ms ease;
|
|
|
|
&:focus-within {
|
|
border-color: rgba(35, 111, 135, 0.65);
|
|
background: rgba(35, 111, 135, 0.12);
|
|
}
|
|
}
|
|
|
|
.opd-search-icon {
|
|
color: rgba(149, 207, 245, 0.38);
|
|
font-size: 13px;
|
|
flex-shrink: 0;
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.opd-search {
|
|
flex: 1;
|
|
background: transparent;
|
|
border: 0;
|
|
outline: 0;
|
|
height: 44px;
|
|
font: 400 14px 'Rajdhani', sans-serif;
|
|
letter-spacing: 0.3px;
|
|
color: #fff;
|
|
|
|
&::placeholder {
|
|
color: rgba(149, 207, 245, 0.32);
|
|
}
|
|
}
|
|
|
|
.opd-search-clear {
|
|
background: transparent;
|
|
border: 0;
|
|
color: rgba(149, 207, 245, 0.4);
|
|
cursor: pointer;
|
|
padding: 0 0 0 8px;
|
|
font-size: 12px;
|
|
transition: color 150ms ease;
|
|
|
|
&:hover {
|
|
color: rgba(149, 207, 245, 0.8);
|
|
}
|
|
}
|
|
|
|
.opd-list {
|
|
min-height: 110px;
|
|
}
|
|
|
|
.opd-empty {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 30px 0 22px;
|
|
gap: 12px;
|
|
|
|
i {
|
|
font-size: 34px;
|
|
color: rgba(35, 111, 135, 0.35);
|
|
}
|
|
|
|
p {
|
|
font: 400 14px 'Rajdhani', sans-serif;
|
|
color: rgba(255, 255, 255, 0.38);
|
|
letter-spacing: 0.4px;
|
|
}
|
|
}
|
|
|
|
.opd-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 14px;
|
|
padding: 11px 12px;
|
|
border-radius: 8px;
|
|
border: 1px solid transparent;
|
|
transition: all 180ms ease;
|
|
margin-bottom: 5px;
|
|
|
|
&:hover {
|
|
background: rgba(35, 111, 135, 0.1);
|
|
border-color: rgba(35, 111, 135, 0.28);
|
|
}
|
|
|
|
&:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
}
|
|
|
|
.opd-avatar {
|
|
width: 42px;
|
|
height: 42px;
|
|
border-radius: 50%;
|
|
background: linear-gradient(135deg, rgba(35, 111, 135, 0.55) 0%, rgba(35, 111, 135, 0.28) 100%);
|
|
border: 1px solid rgba(35, 111, 135, 0.5);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font: 700 13px 'Rajdhani', sans-serif;
|
|
color: rgba(149, 207, 245, 0.9);
|
|
letter-spacing: 1px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.opd-info {
|
|
flex: 1;
|
|
min-width: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 3px;
|
|
}
|
|
|
|
.opd-name {
|
|
font: 700 15px 'Rajdhani', sans-serif;
|
|
color: #fff;
|
|
letter-spacing: 0.3px;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.opd-since {
|
|
font: 400 12px 'Rajdhani', sans-serif;
|
|
color: rgba(149, 207, 245, 0.48);
|
|
|
|
i {
|
|
margin-right: 4px;
|
|
}
|
|
}
|
|
|
|
.opd-join {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
background: linear-gradient(to bottom, rgba(35, 111, 135, 0.75) 0%, rgba(26, 80, 104, 0.9) 100%);
|
|
border: 1px solid rgba(35, 111, 135, 0.55);
|
|
color: rgba(149, 207, 245, 0.9);
|
|
font: 700 12px 'Rajdhani', sans-serif;
|
|
letter-spacing: 1.5px;
|
|
text-transform: uppercase;
|
|
text-decoration: none;
|
|
padding: 7px 16px;
|
|
border-radius: 5px;
|
|
cursor: pointer;
|
|
transition: all 200ms ease;
|
|
flex-shrink: 0;
|
|
|
|
&:hover:not(:disabled) {
|
|
background: linear-gradient(to bottom, rgba(45, 138, 168, 0.9) 0%, rgba(35, 111, 135, 0.95) 100%);
|
|
border-color: rgba(149, 207, 245, 0.5);
|
|
color: #fff;
|
|
box-shadow: 0 0 14px rgba(35, 111, 135, 0.5);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
&:disabled {
|
|
cursor: default;
|
|
opacity: 0.55;
|
|
}
|
|
|
|
&.opd-join--waiting {
|
|
background: linear-gradient(to bottom, rgba(26, 80, 104, 0.6) 0%, rgba(15, 50, 70, 0.7) 100%);
|
|
border-color: rgba(35, 111, 135, 0.3);
|
|
color: rgba(149, 207, 245, 0.6);
|
|
opacity: 1;
|
|
letter-spacing: 1px;
|
|
}
|
|
}
|
|
|
|
.opd-declined {
|
|
font: 600 12px 'Rajdhani', sans-serif;
|
|
color: rgba(255, 120, 120, 0.85);
|
|
letter-spacing: 0.5px;
|
|
padding: 8px 12px;
|
|
margin-bottom: 8px;
|
|
border-radius: 6px;
|
|
border: 1px solid rgba(180, 60, 60, 0.3);
|
|
background: rgba(180, 60, 60, 0.08);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 7px;
|
|
|
|
i {
|
|
font-size: 14px;
|
|
flex-shrink: 0;
|
|
}
|
|
}
|
|
|
|
.opd-note {
|
|
font: 400 11px 'Rajdhani', sans-serif;
|
|
color: rgba(149, 207, 245, 0.32);
|
|
text-align: center;
|
|
letter-spacing: 0.5px;
|
|
margin-top: 14px;
|
|
padding-top: 14px;
|
|
border-top: 1px solid rgba(35, 111, 135, 0.14);
|
|
}
|
|
|
|
.opd-header-actions {
|
|
.opd-refresh[disabled] {
|
|
opacity: 0.4;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.opd-close[disabled] {
|
|
opacity: 0.4;
|
|
cursor: not-allowed;
|
|
}
|
|
}
|
|
|
|
.opd-waiting {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 14px 16px;
|
|
margin-bottom: 16px;
|
|
background: rgba(35, 111, 135, 0.07);
|
|
border: 1px solid rgba(35, 111, 135, 0.28);
|
|
border-radius: 8px;
|
|
color: #95cff5;
|
|
|
|
i {
|
|
font-size: 16px;
|
|
animation: opd-hourglass 1s ease-in-out infinite;
|
|
}
|
|
|
|
p {
|
|
margin: 0;
|
|
font: 600 14px 'Rajdhani', sans-serif;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
}
|
|
|
|
@keyframes opd-hourglass {
|
|
0%, 100% { transform: rotate(0deg); }
|
|
50% { transform: rotate(180deg); }
|
|
}
|