2025-04-06 21:16:14 +08:00
|
|
|
:root {
|
|
|
|
|
/* 赛博影视主题配色方案 - 柔和版 */
|
|
|
|
|
--primary-color: #00ccff; /* 霓虹蓝主色调 */
|
|
|
|
|
--primary-light: #33d6ff; /* 浅霓虹蓝变体 */
|
|
|
|
|
--secondary-color: #0f1622; /* 深蓝黑背景色 */
|
|
|
|
|
--accent-color: #ff3c78; /* 霓虹粉强调色 */
|
|
|
|
|
--text-color: #e6f2ff; /* 柔和的蓝白色文本 */
|
|
|
|
|
--text-muted: #8599b2; /* 淡蓝灰色次级文本 */
|
|
|
|
|
--border-color: rgba(0, 204, 255, 0.15);
|
|
|
|
|
--page-gradient-start: #0f1622; /* 深蓝黑起始色 */
|
|
|
|
|
--page-gradient-end: #192231; /* 深靛蓝结束色 */
|
|
|
|
|
--card-gradient-start: #121b29; /* 卡片起始色 */
|
|
|
|
|
--card-gradient-end: #1c2939; /* 卡片结束色 */
|
|
|
|
|
--card-accent: rgba(0, 204, 255, 0.12); /* 霓虹蓝卡片强调色 */
|
|
|
|
|
--card-hover-border: rgba(0, 204, 255, 0.5); /* 悬停边框颜色 */
|
|
|
|
|
}
|
|
|
|
|
|
2025-04-06 18:55:17 +08:00
|
|
|
.page-bg {
|
2025-04-06 21:16:14 +08:00
|
|
|
background: linear-gradient(180deg, var(--page-gradient-start), var(--page-gradient-end));
|
2025-04-06 18:55:17 +08:00
|
|
|
min-height: 100vh;
|
2025-04-06 21:16:14 +08:00
|
|
|
/* 柔和赛博点状背景 */
|
2025-04-06 18:55:17 +08:00
|
|
|
background-image:
|
2025-04-06 21:16:14 +08:00
|
|
|
linear-gradient(180deg, var(--page-gradient-start), var(--page-gradient-end)),
|
|
|
|
|
radial-gradient(circle at 25px 25px, rgba(0, 204, 255, 0.04) 2px, transparent 3px),
|
|
|
|
|
radial-gradient(circle at 75px 75px, rgba(255, 60, 120, 0.02) 1px, transparent 2px),
|
|
|
|
|
radial-gradient(circle at 50px 50px, rgba(150, 255, 250, 0.015) 1px, transparent 2px);
|
|
|
|
|
background-blend-mode: normal;
|
|
|
|
|
background-size: cover, 100px 100px, 50px 50px, 75px 75px;
|
2025-04-06 18:55:17 +08:00
|
|
|
}
|
|
|
|
|
|
2025-04-06 21:16:14 +08:00
|
|
|
button, .card-hover {
|
2025-04-06 18:55:17 +08:00
|
|
|
transition: all 0.3s ease;
|
2025-04-06 21:16:14 +08:00
|
|
|
}
|
|
|
|
|
|
2025-04-12 16:15:22 +08:00
|
|
|
/* 改进卡片适应不同内容长度 */
|
2025-04-06 21:16:14 +08:00
|
|
|
.card-hover {
|
|
|
|
|
border: 1px solid var(--border-color);
|
|
|
|
|
background: linear-gradient(135deg, var(--card-gradient-start), var(--card-gradient-end));
|
|
|
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
|
|
|
|
|
position: relative;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
border-radius: 6px;
|
2025-04-12 16:15:22 +08:00
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
height: 100%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 确保卡片内容区域高度一致性 */
|
|
|
|
|
.card-hover .flex-grow {
|
|
|
|
|
min-height: 90px;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 针对不同长度的标题优化显示 */
|
|
|
|
|
.card-hover h3 {
|
|
|
|
|
min-height: 3rem; /* 至少能显示2行标题 */
|
|
|
|
|
display: -webkit-box;
|
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
-webkit-line-clamp: 2; /* 最多显示2行 */
|
2025-04-06 21:16:14 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.card-hover::before {
|
|
|
|
|
content: "";
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 0;
|
|
|
|
|
left: -100%;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
background: linear-gradient(90deg, transparent, var(--card-accent), transparent);
|
|
|
|
|
transition: left 0.6s ease;
|
2025-04-06 18:55:17 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.card-hover:hover {
|
2025-04-06 21:16:14 +08:00
|
|
|
border-color: var(--card-hover-border);
|
|
|
|
|
transform: translateY(-3px);
|
|
|
|
|
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.card-hover:hover::before {
|
|
|
|
|
left: 100%;
|
2025-04-06 18:55:17 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.gradient-text {
|
2025-04-06 21:16:14 +08:00
|
|
|
background: linear-gradient(to right, var(--primary-color), var(--accent-color));
|
2025-04-06 18:55:17 +08:00
|
|
|
-webkit-background-clip: text;
|
|
|
|
|
-webkit-text-fill-color: transparent;
|
|
|
|
|
}
|
|
|
|
|
|
2025-04-13 01:24:43 +08:00
|
|
|
/* 改进设置面板样式 */
|
2025-04-06 18:55:17 +08:00
|
|
|
.settings-panel {
|
2025-04-13 01:24:43 +08:00
|
|
|
scrollbar-width: thin;
|
|
|
|
|
scrollbar-color: #444 #222;
|
2025-04-06 18:55:17 +08:00
|
|
|
transform: translateX(100%);
|
|
|
|
|
transition: transform 0.3s ease;
|
2025-04-06 21:16:14 +08:00
|
|
|
background: linear-gradient(135deg, var(--page-gradient-end), var(--page-gradient-start));
|
|
|
|
|
border-left: 1px solid var(--primary-color);
|
2025-04-06 18:55:17 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.settings-panel.show {
|
|
|
|
|
transform: translateX(0);
|
|
|
|
|
}
|
|
|
|
|
|
2025-04-13 01:24:43 +08:00
|
|
|
.settings-panel::-webkit-scrollbar {
|
|
|
|
|
width: 6px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.settings-panel::-webkit-scrollbar-track {
|
|
|
|
|
background: transparent;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.settings-panel::-webkit-scrollbar-thumb {
|
|
|
|
|
background-color: #444;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 设置面板区块样式 */
|
|
|
|
|
.settings-panel .shadow-inner {
|
|
|
|
|
box-shadow: inset 0 2px 4px rgba(0,0,0,0.3);
|
|
|
|
|
transition: all 0.2s ease-in-out;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.settings-panel .shadow-inner:hover {
|
|
|
|
|
box-shadow: inset 0 2px 8px rgba(0,0,0,0.4);
|
|
|
|
|
}
|
|
|
|
|
|
2025-04-06 21:16:14 +08:00
|
|
|
.search-button {
|
|
|
|
|
background: var(--primary-color);
|
|
|
|
|
color: var(--text-color);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.search-button:hover {
|
|
|
|
|
background: var(--primary-light);
|
|
|
|
|
}
|
|
|
|
|
|
2025-04-06 18:55:17 +08:00
|
|
|
::-webkit-scrollbar {
|
|
|
|
|
width: 8px;
|
|
|
|
|
height: 8px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
::-webkit-scrollbar-track {
|
|
|
|
|
background: #111;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
|
|
|
background: #333;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
transition: all 0.3s ease;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
::-webkit-scrollbar-thumb:hover {
|
|
|
|
|
background: #444;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
* {
|
|
|
|
|
scrollbar-width: thin;
|
|
|
|
|
scrollbar-color: #333 #111;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.search-tag {
|
2025-04-06 21:16:14 +08:00
|
|
|
background: linear-gradient(135deg, var(--card-gradient-start), var(--card-gradient-end));
|
|
|
|
|
color: var(--text-color);
|
2025-04-06 18:55:17 +08:00
|
|
|
padding: 0.5rem 1rem;
|
|
|
|
|
border-radius: 0.5rem;
|
|
|
|
|
font-size: 0.875rem;
|
2025-04-06 21:16:14 +08:00
|
|
|
border: 1px solid var(--border-color);
|
|
|
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
|
2025-04-06 18:55:17 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.search-tag:hover {
|
2025-04-06 21:16:14 +08:00
|
|
|
background: linear-gradient(135deg, var(--card-gradient-end), var(--card-gradient-start));
|
|
|
|
|
border-color: var(--primary-color);
|
2025-04-06 18:55:17 +08:00
|
|
|
}
|
2025-04-06 20:07:23 +08:00
|
|
|
|
|
|
|
|
.footer {
|
|
|
|
|
width: 100%;
|
|
|
|
|
transition: all 0.3s ease;
|
2025-04-06 21:16:14 +08:00
|
|
|
margin-top: auto;
|
|
|
|
|
background: linear-gradient(to bottom, transparent, var(--page-gradient-start));
|
|
|
|
|
border-top: 1px solid var(--border-color);
|
2025-04-06 20:07:23 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.footer a:hover {
|
|
|
|
|
text-decoration: underline;
|
|
|
|
|
}
|
|
|
|
|
|
2025-04-06 21:16:14 +08:00
|
|
|
body {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
min-height: 100vh;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.container {
|
|
|
|
|
flex: 1;
|
|
|
|
|
}
|
|
|
|
|
|
2025-04-06 20:07:23 +08:00
|
|
|
@media screen and (min-height: 800px) {
|
|
|
|
|
body {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
min-height: 100vh;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.container {
|
|
|
|
|
flex: 1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.footer {
|
|
|
|
|
margin-top: auto;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@media screen and (max-width: 640px) {
|
|
|
|
|
.footer {
|
|
|
|
|
padding-bottom: 2rem;
|
|
|
|
|
}
|
|
|
|
|
}
|
2025-04-06 21:16:14 +08:00
|
|
|
|
2025-04-12 16:15:22 +08:00
|
|
|
/* 移动端布局优化 */
|
|
|
|
|
@media screen and (max-width: 768px) {
|
|
|
|
|
.card-hover h3 {
|
|
|
|
|
min-height: 2.5rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.card-hover .flex-grow {
|
|
|
|
|
min-height: 80px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2025-04-06 21:16:14 +08:00
|
|
|
@keyframes fadeIn {
|
|
|
|
|
from { opacity: 0; }
|
|
|
|
|
to { opacity: 1; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@keyframes fadeOut {
|
|
|
|
|
from { opacity: 1; }
|
|
|
|
|
to { opacity: 0; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#modal.show {
|
|
|
|
|
animation: fadeIn 0.3s forwards;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#modal.hide {
|
|
|
|
|
animation: fadeOut 0.3s forwards;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#modal > div {
|
|
|
|
|
background: linear-gradient(135deg, var(--card-gradient-start), var(--card-gradient-end));
|
|
|
|
|
border: 1px solid var(--primary-color);
|
|
|
|
|
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 15px rgba(0, 204, 255, 0.1);
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#modalContent button {
|
|
|
|
|
background: rgba(0, 204, 255, 0.08);
|
|
|
|
|
border: 1px solid rgba(0, 204, 255, 0.2);
|
|
|
|
|
transition: all 0.2s ease;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#modalContent button:hover {
|
|
|
|
|
background: rgba(0, 204, 255, 0.15);
|
|
|
|
|
border-color: var(--primary-color);
|
|
|
|
|
box-shadow: 0 0 8px rgba(0, 204, 255, 0.3);
|
|
|
|
|
}
|
2025-04-10 13:53:26 +08:00
|
|
|
|
|
|
|
|
#yellowFilterToggle:checked + .toggle-bg {
|
|
|
|
|
background-color: var(--primary-color);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#yellowFilterToggle:checked ~ .toggle-dot {
|
|
|
|
|
transform: translateX(1.5rem);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#yellowFilterToggle:focus + .toggle-bg,
|
|
|
|
|
#yellowFilterToggle:hover + .toggle-bg {
|
|
|
|
|
box-shadow: 0 0 0 2px rgba(0, 204, 255, 0.3);
|
|
|
|
|
}
|
|
|
|
|
|
2025-04-10 21:40:38 +08:00
|
|
|
/* 添加广告过滤开关的CSS */
|
|
|
|
|
#adFilterToggle:checked + .toggle-bg {
|
|
|
|
|
background-color: var(--primary-color);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#adFilterToggle:checked ~ .toggle-dot {
|
|
|
|
|
transform: translateX(1.5rem);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#adFilterToggle:focus + .toggle-bg,
|
|
|
|
|
#adFilterToggle:hover + .toggle-bg {
|
|
|
|
|
box-shadow: 0 0 0 2px rgba(0, 204, 255, 0.3);
|
|
|
|
|
}
|
|
|
|
|
|
2025-04-10 13:53:26 +08:00
|
|
|
.toggle-dot {
|
|
|
|
|
transition: transform 0.3s ease-in-out;
|
|
|
|
|
box-shadow: 0 2px 4px rgba(0,0,0,0.2);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.toggle-bg {
|
|
|
|
|
transition: background-color 0.3s ease-in-out;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#yellowFilterToggle:checked ~ .toggle-dot {
|
|
|
|
|
box-shadow: 0 2px 4px rgba(0, 204, 255, 0.3);
|
|
|
|
|
}
|
2025-04-10 21:40:38 +08:00
|
|
|
|
|
|
|
|
#adFilterToggle:checked ~ .toggle-dot {
|
|
|
|
|
box-shadow: 0 2px 4px rgba(0, 204, 255, 0.3);
|
|
|
|
|
}
|
2025-04-13 01:24:43 +08:00
|
|
|
|
|
|
|
|
/* 添加API复选框样式 */
|
|
|
|
|
.form-checkbox {
|
|
|
|
|
appearance: none;
|
|
|
|
|
-webkit-appearance: none;
|
|
|
|
|
-moz-appearance: none;
|
|
|
|
|
height: 14px;
|
|
|
|
|
width: 14px;
|
|
|
|
|
background-color: #222;
|
|
|
|
|
border: 1px solid #333;
|
|
|
|
|
border-radius: 3px;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
position: relative;
|
|
|
|
|
outline: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.form-checkbox:checked {
|
|
|
|
|
background-color: var(--primary-color);
|
|
|
|
|
border-color: var(--primary-color);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.form-checkbox:checked::after {
|
|
|
|
|
content: '';
|
|
|
|
|
position: absolute;
|
|
|
|
|
left: 4px;
|
|
|
|
|
top: 1px;
|
|
|
|
|
width: 4px;
|
|
|
|
|
height: 8px;
|
|
|
|
|
border: solid white;
|
|
|
|
|
border-width: 0 2px 2px 0;
|
|
|
|
|
transform: rotate(45deg);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* API滚动区域美化 */
|
|
|
|
|
#apiCheckboxes {
|
|
|
|
|
scrollbar-width: thin;
|
|
|
|
|
scrollbar-color: #444 #222;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#apiCheckboxes::-webkit-scrollbar {
|
|
|
|
|
width: 6px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#apiCheckboxes::-webkit-scrollbar-track {
|
|
|
|
|
background: #222;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#apiCheckboxes::-webkit-scrollbar-thumb {
|
|
|
|
|
background-color: #444;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 自定义API列表样式 */
|
|
|
|
|
#customApisList {
|
|
|
|
|
scrollbar-width: thin;
|
|
|
|
|
scrollbar-color: #444 #222;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#customApisList::-webkit-scrollbar {
|
|
|
|
|
width: 6px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#customApisList::-webkit-scrollbar-track {
|
|
|
|
|
background: transparent;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#customApisList::-webkit-scrollbar-thumb {
|
|
|
|
|
background-color: #444;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 设置面板滚动样式 */
|
|
|
|
|
.settings-panel {
|
|
|
|
|
scrollbar-width: thin;
|
|
|
|
|
scrollbar-color: #444 #222;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.settings-panel::-webkit-scrollbar {
|
|
|
|
|
width: 6px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.settings-panel::-webkit-scrollbar-track {
|
|
|
|
|
background: transparent;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.settings-panel::-webkit-scrollbar-thumb {
|
|
|
|
|
background-color: #444;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 添加自定义API表单动画 */
|
|
|
|
|
#addCustomApiForm {
|
|
|
|
|
transition: all 0.3s ease;
|
|
|
|
|
max-height: 0;
|
|
|
|
|
opacity: 0;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#addCustomApiForm.hidden {
|
|
|
|
|
max-height: 0;
|
|
|
|
|
padding: 0;
|
|
|
|
|
opacity: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#addCustomApiForm:not(.hidden) {
|
|
|
|
|
max-height: 230px;
|
|
|
|
|
opacity: 1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 成人内容API标记样式 */
|
|
|
|
|
.api-adult + label {
|
|
|
|
|
color: #ff6b8b !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 添加警告图标和标签样式 */
|
|
|
|
|
.adult-warning {
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
margin-left: 0.25rem;
|
|
|
|
|
color: #ff6b8b;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.adult-warning svg {
|
|
|
|
|
width: 12px;
|
|
|
|
|
height: 12px;
|
|
|
|
|
margin-right: 4px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 过滤器禁用样式 */
|
|
|
|
|
.filter-disabled {
|
|
|
|
|
opacity: 0.5;
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
cursor: not-allowed;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* API组标题样式 */
|
|
|
|
|
.api-group-title {
|
|
|
|
|
grid-column: span 2;
|
|
|
|
|
padding: 0.25rem 0;
|
|
|
|
|
margin-top: 0.5rem;
|
|
|
|
|
border-top: 1px solid #333;
|
|
|
|
|
color: #8599b2;
|
|
|
|
|
font-size: 0.75rem;
|
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
letter-spacing: 0.05em;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.api-group-title.adult {
|
|
|
|
|
color: #ff6b8b;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 过滤器禁用样式 - 改进版本 */
|
|
|
|
|
.filter-disabled {
|
|
|
|
|
position: relative;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.filter-disabled::after {
|
|
|
|
|
content: '';
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
background-color: rgba(0,0,0,0.4);
|
|
|
|
|
border-radius: 0.5rem;
|
|
|
|
|
z-index: 5;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.filter-disabled > * {
|
|
|
|
|
opacity: 0.7;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.filter-disabled .toggle-bg {
|
|
|
|
|
background-color: #333 !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.filter-disabled .toggle-dot {
|
|
|
|
|
transform: translateX(0) !important;
|
|
|
|
|
background-color: #666 !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 改进过滤器禁用样式 */
|
|
|
|
|
.filter-disabled .filter-description {
|
|
|
|
|
color: #ff6b8b !important;
|
|
|
|
|
font-style: italic;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 修改过滤器禁用样式,确保文字清晰可见 */
|
|
|
|
|
.filter-disabled {
|
|
|
|
|
position: relative;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.filter-disabled::after {
|
|
|
|
|
content: '';
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
background-color: rgba(0,0,0,0.3);
|
|
|
|
|
border-radius: 0.5rem;
|
|
|
|
|
z-index: 5;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.filter-disabled > * {
|
|
|
|
|
opacity: 1; /* 提高子元素不透明度,保证可见性 */
|
|
|
|
|
z-index: 6; /* 确保内容在遮罩上方 */
|
|
|
|
|
position: relative;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 改进过滤器禁用状态下的描述样式 */
|
|
|
|
|
.filter-disabled .filter-description {
|
|
|
|
|
color: #ff7b9d !important; /* 更亮的粉色 */
|
|
|
|
|
font-style: italic;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
text-shadow: 0 0 2px rgba(0,0,0,0.8); /* 添加文字阴影提高对比度 */
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 开关的禁用样式 */
|
|
|
|
|
.filter-disabled .toggle-bg {
|
|
|
|
|
background-color: #444 !important;
|
|
|
|
|
opacity: 0.8;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.filter-disabled .toggle-dot {
|
2025-04-14 21:59:32 +08:00
|
|
|
transform: translateX(0) ;
|
|
|
|
|
background-color: #777 ;
|
2025-04-13 01:24:43 +08:00
|
|
|
opacity: 0.9;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 警告提示样式改进 */
|
|
|
|
|
.filter-tooltip {
|
|
|
|
|
background-color: rgba(255, 61, 87, 0.1);
|
|
|
|
|
border: 1px solid rgba(255, 61, 87, 0.2);
|
|
|
|
|
border-radius: 0.25rem;
|
|
|
|
|
padding: 0.5rem;
|
|
|
|
|
margin-top: 0.5rem;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
font-size: 0.75rem;
|
|
|
|
|
line-height: 1.25;
|
|
|
|
|
position: relative;
|
|
|
|
|
z-index: 10;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.filter-tooltip svg {
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
width: 14px;
|
|
|
|
|
height: 14px;
|
|
|
|
|
margin-right: 0.35rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 编辑按钮样式 */
|
|
|
|
|
.custom-api-edit {
|
|
|
|
|
color: #3b82f6;
|
|
|
|
|
transition: color 0.2s ease;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.custom-api-edit:hover {
|
|
|
|
|
color: #2563eb;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 自定义API条目样式改进 */
|
|
|
|
|
#customApisList .api-item {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
padding: 0.25rem 0.5rem;
|
|
|
|
|
margin-bottom: 0.25rem;
|
|
|
|
|
background-color: #222;
|
|
|
|
|
border-radius: 0.25rem;
|
|
|
|
|
transition: background-color 0.2s ease;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#customApisList .api-item:hover {
|
|
|
|
|
background-color: #2a2a2a;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 成人内容标签样式 */
|
|
|
|
|
.adult-tag {
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
color: #ff6b8b;
|
|
|
|
|
font-size: 0.7rem;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
margin-right: 0.35rem;
|
|
|
|
|
}
|
2025-04-14 20:06:16 +08:00
|
|
|
|
|
|
|
|
/* 历史记录面板样式 */
|
|
|
|
|
.history-panel {
|
|
|
|
|
box-shadow: 2px 0 10px rgba(0,0,0,0.5);
|
|
|
|
|
transition: transform 0.3s ease-in-out;
|
2025-04-14 21:59:32 +08:00
|
|
|
overflow-y: scroll; /* 始终显示滚动条,防止宽度变化 */
|
|
|
|
|
overflow-x: hidden; /* 防止水平滚动 */
|
|
|
|
|
width: 320px; /* 固定宽度 */
|
|
|
|
|
box-sizing: border-box; /* 确保padding不影响总宽度 */
|
|
|
|
|
scrollbar-gutter: stable; /* 现代浏览器:为滚动条预留空间 */
|
2025-04-14 20:06:16 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.history-panel.show {
|
|
|
|
|
transform: translateX(0);
|
|
|
|
|
}
|
|
|
|
|
|
2025-04-14 21:59:32 +08:00
|
|
|
#historyList {
|
|
|
|
|
padding-right: 6px; /* 为滚动条预留空间,确保内容不被挤压 */
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 历史记录项样式优化 */
|
2025-04-14 20:06:16 +08:00
|
|
|
.history-item {
|
|
|
|
|
background: #1a1a1a;
|
2025-04-14 21:59:32 +08:00
|
|
|
border-radius: 6px; /* 减小圆角 */
|
2025-04-14 20:06:16 +08:00
|
|
|
border: 1px solid #333;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
transition: all 0.2s ease;
|
2025-04-14 22:24:12 +08:00
|
|
|
padding: 10px 14px;
|
2025-04-14 21:59:32 +08:00
|
|
|
position: relative;
|
|
|
|
|
margin-bottom: 8px; /* 减小底部间距 */
|
|
|
|
|
width: 100%; /* 确保宽度一致 */
|
2025-04-14 20:06:16 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.history-item:hover {
|
|
|
|
|
transform: translateY(-2px);
|
|
|
|
|
border-color: #444;
|
|
|
|
|
box-shadow: 0 4px 8px rgba(0,0,0,0.2);
|
|
|
|
|
}
|
|
|
|
|
|
2025-04-14 21:59:32 +08:00
|
|
|
/* 添加组悬停效果,使删除按钮在悬停时显示 */
|
|
|
|
|
.history-item .delete-btn {
|
|
|
|
|
opacity: 0;
|
|
|
|
|
transition: opacity 0.2s ease;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.history-item:hover .delete-btn {
|
|
|
|
|
opacity: 1;
|
|
|
|
|
}
|
|
|
|
|
|
2025-04-14 20:06:16 +08:00
|
|
|
.history-info {
|
2025-04-14 21:59:32 +08:00
|
|
|
padding: 0; /* 移除额外的内边距 */
|
2025-04-14 22:24:12 +08:00
|
|
|
min-height: 70px;
|
2025-04-14 20:06:16 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.history-title {
|
|
|
|
|
font-weight: 500;
|
2025-04-14 21:59:32 +08:00
|
|
|
font-size: 0.95rem; /* 减小字体大小 */
|
|
|
|
|
margin-bottom: 2px; /* 减小底部边距 */
|
2025-04-14 20:06:16 +08:00
|
|
|
overflow: hidden;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.history-meta {
|
|
|
|
|
color: #bbb;
|
2025-04-14 21:59:32 +08:00
|
|
|
font-size: 0.75rem; /* 减小字体大小 */
|
2025-04-14 20:06:16 +08:00
|
|
|
display: flex;
|
|
|
|
|
flex-wrap: wrap;
|
2025-04-14 21:59:32 +08:00
|
|
|
margin-bottom: 1px; /* 减小边距 */
|
2025-04-14 20:06:16 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.history-episode {
|
|
|
|
|
color: #3b82f6;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.history-source {
|
|
|
|
|
color: #10b981;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.history-time {
|
|
|
|
|
color: #888;
|
2025-04-14 21:59:32 +08:00
|
|
|
font-size: 0.7rem; /* 减小字体大小 */
|
|
|
|
|
margin-top: 1px; /* 减小顶部边距 */
|
2025-04-14 20:06:16 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.history-separator {
|
|
|
|
|
color: #666;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.history-thumbnail {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 90px;
|
|
|
|
|
background-color: #222;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.history-thumbnail img {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
object-fit: cover;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.history-info {
|
|
|
|
|
padding: 10px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.history-time {
|
|
|
|
|
color: #888;
|
|
|
|
|
font-size: 0.8rem;
|
|
|
|
|
margin-top: 4px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.history-title {
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
}
|
2025-04-14 22:24:12 +08:00
|
|
|
|
|
|
|
|
/* 添加播放进度条样式 */
|
|
|
|
|
.history-progress {
|
|
|
|
|
margin: 5px 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.progress-bar {
|
|
|
|
|
height: 3px;
|
|
|
|
|
background-color: rgba(255, 255, 255, 0.1);
|
|
|
|
|
border-radius: 2px;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
margin-bottom: 2px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.progress-filled {
|
|
|
|
|
height: 100%;
|
|
|
|
|
background: linear-gradient(to right, #00ccff, #3b82f6);
|
|
|
|
|
border-radius: 2px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.progress-text {
|
|
|
|
|
font-size: 10px;
|
|
|
|
|
color: #888;
|
|
|
|
|
text-align: right;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 添加恢复播放提示样式 */
|
|
|
|
|
.position-restore-hint {
|
|
|
|
|
position: absolute;
|
|
|
|
|
bottom: 60px;
|
|
|
|
|
left: 50%;
|
|
|
|
|
transform: translateX(-50%) translateY(20px);
|
|
|
|
|
background-color: rgba(0, 0, 0, 0.7);
|
|
|
|
|
color: white;
|
|
|
|
|
padding: 8px 16px;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
z-index: 100;
|
|
|
|
|
opacity: 0;
|
|
|
|
|
transition: all 0.3s ease;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.position-restore-hint.show {
|
|
|
|
|
opacity: 1;
|
|
|
|
|
transform: translateX(-50%) translateY(0);
|
|
|
|
|
}
|