1869 lines
54 KiB
CSS
1869 lines
54 KiB
CSS
/* ==========================================================================
|
|
Shortcodes 样式 - 1:1 移植自 Hugo-Theme-Amigo
|
|
========================================================================== */
|
|
|
|
/* ---- CSS 变量定义(Amigo 主题) ---- */
|
|
:root {
|
|
/* 字体 */
|
|
--font-family: 'ZQL', -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
|
|
|
|
/* 核心配色 - 亮色模式 */
|
|
--bg-body: #f2f2f2;
|
|
--bg-card: #ffffff;
|
|
--bg-header: rgba(255, 255, 255, 0.85);
|
|
--bg-header-transparent: rgba(255, 255, 255, 0);
|
|
--bg-hover: rgba(0, 0, 0, 0.05);
|
|
--bg-active: rgba(0, 0, 0, 0.1);
|
|
--bg-input: #f7f7f7;
|
|
--bg-code: rgba(27, 31, 35, 0.05);
|
|
--bg-code-block: #f6f8fa;
|
|
--bg-popover: #ffffff;
|
|
--bg-mask: rgba(20, 20, 20, 0.85);
|
|
|
|
/* 文字颜色 */
|
|
--text-main: #333333;
|
|
--text-desc: #777777;
|
|
--text-muted: #999999;
|
|
--text-link: #576b95;
|
|
--text-white: #ffffff;
|
|
--text-on-cover: #ffffff;
|
|
--text-quote: #6a737d;
|
|
|
|
/* 功能性颜色 */
|
|
--theme-color: #07c160; /* 微信绿 */
|
|
--theme-main: #07c160;
|
|
--theme-main-20: rgba(7, 193, 96, 0.2);
|
|
--theme-main-30: rgba(7, 193, 96, 0.3);
|
|
--border-main: #eeeeee;
|
|
--border-quote: #dfe2e5;
|
|
--shadow-main: rgba(0, 0, 0, 0.03);
|
|
--shadow-header: rgba(0, 0, 0, 0.05);
|
|
--shadow-popover: 0 4px 20px rgba(0, 0, 0, 0.1);
|
|
--shadow-button: 0 2px 8px rgba(0, 0, 0, 0.1);
|
|
--shadow-button-hover: 0 4px 12px rgba(0, 0, 0, 0.15);
|
|
--shadow-card: 0 1px 2px rgba(0, 0, 0, 0.1);
|
|
--shadow-text: 0 1px 1px rgba(0, 0, 0, 0.5);
|
|
|
|
/* 布局参数 */
|
|
--max-width: 680px;
|
|
}
|
|
|
|
/* 深色模式变量 */
|
|
[data-theme="dark"] {
|
|
--bg-body: #111111;
|
|
--bg-card: #1e1e1e;
|
|
--bg-header: rgba(30, 30, 30, 0.85);
|
|
--bg-header-transparent: rgba(30, 30, 30, 0);
|
|
--bg-hover: rgba(255, 255, 255, 0.1);
|
|
--bg-active: rgba(255, 255, 255, 0.15);
|
|
--bg-input: #222222;
|
|
--bg-code: rgba(200, 200, 200, 0.1);
|
|
--bg-code-block: #2d2d2d;
|
|
--bg-popover: #2d2d2d;
|
|
--bg-mask: rgba(0, 0, 0, 0.9);
|
|
|
|
--text-main: #e0e0e0;
|
|
--text-desc: #a0a0a0;
|
|
--text-muted: #777777;
|
|
--text-link: #7a95cc;
|
|
--text-quote: #999999;
|
|
|
|
--border-main: #333333;
|
|
--theme-main: #07c160;
|
|
--theme-main-20: rgba(7, 193, 96, 0.25);
|
|
--theme-main-30: rgba(7, 193, 96, 0.35);
|
|
--border-quote: #444444;
|
|
--shadow-main: rgba(0, 0, 0, 0.3);
|
|
--shadow-header: rgba(0, 0, 0, 0.5);
|
|
--shadow-popover: 0 4px 20px rgba(0, 0, 0, 0.4);
|
|
--shadow-button: 0 2px 8px rgba(0, 0, 0, 0.3);
|
|
--shadow-button-hover: 0 4px 12px rgba(0, 0, 0, 0.45);
|
|
--shadow-card: 0 1px 2px rgba(0, 0, 0, 0.3);
|
|
--shadow-text: 0 1px 1px rgba(0, 0, 0, 0.8);
|
|
}
|
|
|
|
/* ==========================================================================
|
|
Voice Bubble - 语音气泡(主题风格 + 头像昵称)
|
|
========================================================================== */
|
|
|
|
.amigo-voice-wrapper {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 10px;
|
|
margin: 12px 0 12px 16px;
|
|
}
|
|
|
|
.amigo-voice-user {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 4px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.amigo-voice-avatar {
|
|
width: 36px;
|
|
height: 36px;
|
|
border-radius: 50%;
|
|
object-fit: cover;
|
|
border: 1px solid var(--border-main);
|
|
}
|
|
|
|
.amigo-voice-name {
|
|
font-size: 11px;
|
|
color: var(--text-muted);
|
|
line-height: 1;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.amigo-voice-bubble {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
background: var(--bg-card);
|
|
border-radius: 12px;
|
|
padding: 10px 14px;
|
|
min-width: 120px;
|
|
max-width: 240px;
|
|
cursor: pointer;
|
|
-webkit-user-select: none;
|
|
user-select: none;
|
|
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
|
|
border: 1px solid var(--border-main);
|
|
}
|
|
|
|
.amigo-voice-bubble:hover {
|
|
transform: translateY(-1px);
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.amigo-voice-bubble:active {
|
|
transform: scale(0.96);
|
|
}
|
|
|
|
.amigo-voice-bubble.is-playing {
|
|
background: var(--theme-main);
|
|
border: none;
|
|
padding: 11px 15px;
|
|
transform: scale(1.02);
|
|
box-shadow: 0 4px 16px var(--theme-main-20);
|
|
}
|
|
|
|
.amigo-voice-bubble.is-playing:hover {
|
|
transform: scale(1.04) translateY(-1px);
|
|
box-shadow: 0 6px 20px var(--theme-main-30);
|
|
}
|
|
|
|
.amigo-voice-bubble.is-playing .amigo-voice-icon span {
|
|
background: #ffffff !important;
|
|
}
|
|
|
|
.amigo-voice-bubble.is-playing .amigo-voice-duration {
|
|
color: #ffffff !important;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.amigo-voice-icon {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 2px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.amigo-voice-icon span {
|
|
display: block;
|
|
width: 2px;
|
|
border-radius: 2px;
|
|
background: var(--text-muted);
|
|
transition: background 0.2s ease;
|
|
}
|
|
|
|
.amigo-voice-icon span:nth-child(1) { height: 8px; }
|
|
.amigo-voice-icon span:nth-child(2) { height: 14px; }
|
|
.amigo-voice-icon span:nth-child(3) { height: 6px; }
|
|
|
|
.amigo-voice-bubble.is-playing .amigo-voice-icon span {
|
|
animation: voiceWaveApple 0.45s ease-in-out infinite alternate;
|
|
}
|
|
|
|
.amigo-voice-bubble.is-playing .amigo-voice-icon span:nth-child(1) { animation-delay: 0s; }
|
|
.amigo-voice-bubble.is-playing .amigo-voice-icon span:nth-child(2) { animation-delay: 0.1s; }
|
|
.amigo-voice-bubble.is-playing .amigo-voice-icon span:nth-child(3) { animation-delay: 0.2s; }
|
|
|
|
@keyframes voiceWaveApple {
|
|
0% {
|
|
transform: scaleY(0.5);
|
|
opacity: 0.7;
|
|
}
|
|
100% {
|
|
transform: scaleY(1);
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
.amigo-voice-duration {
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
color: var(--text-main);
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.amigo-voice-unread {
|
|
position: absolute;
|
|
right: 6px;
|
|
top: 6px;
|
|
width: 8px;
|
|
height: 8px;
|
|
background: var(--theme-main);
|
|
border-radius: 50%;
|
|
}
|
|
|
|
/* 首页语音气泡:柔和风格 */
|
|
.moments-feed .amigo-voice-bubble {
|
|
background: var(--bg-hover);
|
|
color: var(--text-main);
|
|
border: 1px solid var(--border-main);
|
|
height: 34px;
|
|
min-width: 180px;
|
|
max-width: 170px;
|
|
padding: 0 14px;
|
|
font-size: 15px;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.moments-feed .amigo-voice-bubble::before {
|
|
display: none;
|
|
}
|
|
|
|
.moments-feed .amigo-voice-bubble.is-playing {
|
|
background: var(--bg-active);
|
|
}
|
|
|
|
.moments-feed .amigo-voice-icon span {
|
|
background: var(--text-desc);
|
|
}
|
|
|
|
.moments-feed .amigo-voice-duration {
|
|
color: var(--text-desc);
|
|
font-size: 15px;
|
|
}
|
|
|
|
/* ==========================================================================
|
|
Bilibili - B站视频嵌入
|
|
========================================================================== */
|
|
|
|
.amigo-bilibili-wrapper {
|
|
position: relative;
|
|
width: 100%;
|
|
max-width: 100%;
|
|
padding-bottom: var(--padding-bottom, 56.25%);
|
|
margin: 16px 0;
|
|
border-radius: 12px;
|
|
overflow: hidden;
|
|
background: #000;
|
|
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.amigo-bilibili-inner {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.amigo-bilibili-inner iframe {
|
|
width: 100%;
|
|
height: 100%;
|
|
border: none;
|
|
display: block;
|
|
}
|
|
|
|
[data-theme="dark"] .amigo-bilibili-wrapper {
|
|
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
/* ==========================================================================
|
|
Live Photo - 实况照片
|
|
========================================================================== */
|
|
|
|
.amigo-livephoto {
|
|
position: relative;
|
|
width: 100%;
|
|
max-width: 100%;
|
|
margin: 16px 0;
|
|
border-radius: 12px;
|
|
overflow: hidden;
|
|
cursor: pointer;
|
|
-webkit-user-select: none;
|
|
user-select: none;
|
|
background: var(--bg-card);
|
|
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
|
|
transition: box-shadow 0.2s ease;
|
|
}
|
|
|
|
.amigo-livephoto:hover {
|
|
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
|
|
}
|
|
|
|
.amigo-livephoto:active {
|
|
transform: scale(0.99);
|
|
}
|
|
|
|
.amigo-livephoto-badge {
|
|
position: absolute;
|
|
top: 12px;
|
|
left: 12px;
|
|
z-index: 10;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.amigo-livephoto-live {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: 28px;
|
|
padding: 0 12px;
|
|
border-radius: 14px;
|
|
background: rgba(0, 0, 0, 0.6);
|
|
backdrop-filter: blur(10px);
|
|
-webkit-backdrop-filter: blur(10px);
|
|
color: #ffffff;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.amigo-livephoto-sound {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 28px;
|
|
height: 28px;
|
|
border: none;
|
|
border-radius: 50%;
|
|
background: rgba(0, 0, 0, 0.6);
|
|
backdrop-filter: blur(10px);
|
|
-webkit-backdrop-filter: blur(10px);
|
|
color: #ffffff;
|
|
cursor: pointer;
|
|
padding: 0;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.amigo-livephoto-sound:hover {
|
|
background: rgba(0, 0, 0, 0.8);
|
|
transform: scale(1.1);
|
|
}
|
|
|
|
.amigo-livephoto-sound svg {
|
|
width: 16px;
|
|
height: 16px;
|
|
}
|
|
|
|
.amigo-livephoto-sound-on {
|
|
display: none;
|
|
}
|
|
|
|
.amigo-livephoto:not(.is-muted) .amigo-livephoto-sound-off {
|
|
display: none;
|
|
}
|
|
|
|
.amigo-livephoto:not(.is-muted) .amigo-livephoto-sound-on {
|
|
display: block;
|
|
}
|
|
|
|
.amigo-livephoto-img {
|
|
width: 100%;
|
|
height: auto;
|
|
display: block;
|
|
object-fit: cover;
|
|
transition: opacity 0.3s ease;
|
|
}
|
|
|
|
.amigo-livephoto-video {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
transition: opacity 0.3s ease;
|
|
}
|
|
|
|
.amigo-livephoto.is-playing .amigo-livephoto-img {
|
|
opacity: 0;
|
|
}
|
|
|
|
.amigo-livephoto.is-playing .amigo-livephoto-video {
|
|
opacity: 1;
|
|
}
|
|
|
|
[data-theme="dark"] .amigo-livephoto {
|
|
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
[data-theme="dark"] .amigo-livephoto:hover {
|
|
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
|
|
}
|
|
|
|
/* ==========================================================================
|
|
Music Card - 音乐卡片(Apple 风格)
|
|
========================================================================== */
|
|
|
|
.amigo-music-card-mark {
|
|
display: flex;
|
|
justify-content: center;
|
|
width: 100%;
|
|
margin: 16px 0;
|
|
}
|
|
|
|
.amigo-music-card {
|
|
--music-accent: #d43c33;
|
|
--music-progress: 0%;
|
|
--music-card-bg: #f5f5f7;
|
|
--music-card-border: rgba(0, 0, 0, 0.06);
|
|
--music-card-hover-border: rgba(0, 0, 0, 0.1);
|
|
--music-card-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
|
|
--music-cover-bg: #e8e8ed;
|
|
--music-cover-image-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
|
|
--music-title-color: var(--text-main);
|
|
--music-artist-color: var(--text-desc);
|
|
--music-meta-color: var(--text-muted);
|
|
--music-button-border: rgba(0, 0, 0, 0.08);
|
|
--music-button-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(248, 248, 249, 0.9));
|
|
--music-button-color: color-mix(in srgb, var(--music-accent) 60%, #111 40%);
|
|
--music-button-shadow: 0 4px 10px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.05);
|
|
--music-track-bg: rgba(0, 0, 0, 0.08);
|
|
--music-track-fill-shadow: 0 1px 2px color-mix(in srgb, var(--music-accent) 25%, transparent);
|
|
--music-thumb-bg: #fff;
|
|
--music-thumb-border: var(--music-accent);
|
|
--music-thumb-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
|
|
--music-equalizer-bg: rgba(0, 0, 0, 0.5);
|
|
width: 100%;
|
|
max-width: 500px;
|
|
padding: 10px 14px;
|
|
border-radius: 16px;
|
|
border: 1px solid var(--music-card-border);
|
|
background: var(--music-card-bg);
|
|
box-shadow: var(--music-card-shadow);
|
|
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
|
|
}
|
|
|
|
.amigo-music-card:hover {
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12), 0 2px 4px rgba(0, 0, 0, 0.08);
|
|
border-color: var(--music-card-hover-border);
|
|
}
|
|
|
|
.amigo-music-card__hero {
|
|
display: grid;
|
|
grid-template-columns: 62px minmax(0, 1fr);
|
|
gap: 12px;
|
|
align-items: center;
|
|
}
|
|
|
|
.amigo-music-card__art {
|
|
position: relative;
|
|
width: 62px;
|
|
min-width: 62px;
|
|
border-radius: 11px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.amigo-music-card__cover {
|
|
width: 62px;
|
|
height: 62px;
|
|
border-radius: 11px;
|
|
background: var(--music-cover-bg);
|
|
}
|
|
|
|
.amigo-music-card__cover--image {
|
|
display: block;
|
|
object-fit: cover;
|
|
box-shadow: var(--music-cover-image-shadow);
|
|
}
|
|
|
|
.amigo-music-card__meta {
|
|
min-width: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.amigo-music-card__title {
|
|
display: block;
|
|
overflow: hidden;
|
|
color: var(--music-title-color);
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
line-height: 1.22;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.amigo-music-card__subtitle {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.amigo-music-card__subtitle > span {
|
|
min-width: 0;
|
|
}
|
|
|
|
.amigo-music-card__artist {
|
|
overflow: hidden;
|
|
font-size: 12px;
|
|
line-height: 1.3;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
color: var(--music-artist-color);
|
|
}
|
|
|
|
.amigo-music-card__play {
|
|
position: absolute;
|
|
right: 4px;
|
|
bottom: 4px;
|
|
z-index: 2;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 24px;
|
|
height: 24px;
|
|
border: 1px solid var(--music-button-border);
|
|
border-radius: 50%;
|
|
background: var(--music-button-bg);
|
|
color: var(--music-button-color);
|
|
box-shadow: var(--music-button-shadow);
|
|
cursor: pointer;
|
|
transition: border-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
|
|
}
|
|
|
|
.amigo-music-card__play-icon {
|
|
width: 0;
|
|
height: 0;
|
|
margin-left: 1px;
|
|
border-top: 4px solid transparent;
|
|
border-bottom: 4px solid transparent;
|
|
border-left: 6px solid;
|
|
}
|
|
|
|
.amigo-music-card[data-playing="true"] .amigo-music-card__play-icon {
|
|
width: 6px;
|
|
height: 8px;
|
|
margin-left: 0;
|
|
border: 0;
|
|
background: linear-gradient(90deg, currentColor 0 2px, transparent 2px 4px, currentColor 4px 6px, transparent 6px 100%);
|
|
}
|
|
|
|
.amigo-music-card__equalizer {
|
|
position: absolute;
|
|
top: 5px;
|
|
left: 5px;
|
|
z-index: 2;
|
|
display: inline-flex;
|
|
align-items: end;
|
|
gap: 2px;
|
|
width: 0;
|
|
height: 12px;
|
|
padding: 0;
|
|
overflow: hidden;
|
|
border-radius: 999px;
|
|
background: var(--music-equalizer-bg);
|
|
opacity: 0;
|
|
transition: width 0.16s ease, padding 0.16s ease, opacity 0.16s ease;
|
|
}
|
|
|
|
.amigo-music-card[data-playing="true"] .amigo-music-card__equalizer {
|
|
width: 16px;
|
|
padding: 2px 3px;
|
|
opacity: 0.9;
|
|
}
|
|
|
|
.amigo-music-card__equalizer span {
|
|
width: 3px;
|
|
height: 4px;
|
|
border-radius: 999px;
|
|
background: #fff;
|
|
transform-origin: bottom center;
|
|
}
|
|
|
|
.amigo-music-card[data-playing="true"] .amigo-music-card__equalizer span {
|
|
animation: amigo-music-bars 1s ease-in-out infinite;
|
|
}
|
|
|
|
.amigo-music-card[data-playing="true"] .amigo-music-card__equalizer span:nth-child(2) {
|
|
animation-delay: 0.12s;
|
|
}
|
|
|
|
.amigo-music-card[data-playing="true"] .amigo-music-card__equalizer span:nth-child(3) {
|
|
animation-delay: 0.24s;
|
|
}
|
|
|
|
@keyframes amigo-music-bars {
|
|
0%, 100% { height: 4px; }
|
|
50% { height: 12px; }
|
|
}
|
|
|
|
/* 时间线 */
|
|
.amigo-music-card__timeline {
|
|
--music-track-height: 4px;
|
|
--music-thumb-size: 12px;
|
|
display: grid;
|
|
grid-template-columns: auto minmax(0, 1fr) auto;
|
|
grid-template-areas: "seek seek seek" "current . duration";
|
|
align-items: center;
|
|
margin-top: 6px;
|
|
row-gap: 6px;
|
|
column-gap: 8px;
|
|
}
|
|
|
|
.amigo-music-card__time {
|
|
min-width: 28px;
|
|
font-size: 10px;
|
|
font-weight: 500;
|
|
font-variant-numeric: tabular-nums;
|
|
line-height: 1;
|
|
letter-spacing: 0.01em;
|
|
color: var(--music-meta-color);
|
|
}
|
|
|
|
.amigo-music-card__time--current {
|
|
grid-area: current;
|
|
justify-self: start;
|
|
}
|
|
|
|
.amigo-music-card__time--duration {
|
|
grid-area: duration;
|
|
justify-self: end;
|
|
}
|
|
|
|
.amigo-music-card__seek-wrap {
|
|
grid-area: seek;
|
|
position: relative;
|
|
min-width: 0;
|
|
height: var(--music-thumb-size);
|
|
overflow: visible;
|
|
}
|
|
|
|
.amigo-music-card__seek-wrap::before,
|
|
.amigo-music-card__seek-wrap::after {
|
|
content: "";
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 0;
|
|
right: 0;
|
|
height: var(--music-track-height);
|
|
border-radius: 999px;
|
|
transform: translateY(-50%);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.amigo-music-card__seek-wrap::before {
|
|
background: var(--music-track-bg);
|
|
}
|
|
|
|
.amigo-music-card__seek-wrap::after {
|
|
right: auto;
|
|
width: max(0px, calc(var(--music-progress) - (var(--music-thumb-size) / 2)));
|
|
background: var(--music-accent);
|
|
box-shadow: var(--music-track-fill-shadow);
|
|
}
|
|
|
|
.amigo-music-card__seek {
|
|
position: absolute;
|
|
inset: 0;
|
|
z-index: 3;
|
|
width: 100%;
|
|
height: var(--music-thumb-size);
|
|
margin: 0;
|
|
-webkit-appearance: none;
|
|
appearance: none;
|
|
background: 0 0;
|
|
cursor: pointer;
|
|
opacity: 0;
|
|
}
|
|
|
|
.amigo-music-card__seek::-webkit-slider-runnable-track {
|
|
height: var(--music-thumb-size);
|
|
background: 0 0;
|
|
}
|
|
|
|
.amigo-music-card__seek::-webkit-slider-thumb {
|
|
-webkit-appearance: none;
|
|
appearance: none;
|
|
width: var(--music-thumb-size);
|
|
height: var(--music-thumb-size);
|
|
margin-top: 0;
|
|
border: 0;
|
|
border-radius: 50%;
|
|
background: 0 0;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.amigo-music-card__seek::-moz-range-track {
|
|
height: var(--music-thumb-size);
|
|
background: 0 0;
|
|
border: 0;
|
|
}
|
|
|
|
.amigo-music-card__seek::-moz-range-progress {
|
|
background: 0 0;
|
|
}
|
|
|
|
.amigo-music-card__seek::-moz-range-thumb {
|
|
width: var(--music-thumb-size);
|
|
height: var(--music-thumb-size);
|
|
border: 0;
|
|
border-radius: 50%;
|
|
background: 0 0;
|
|
box-sizing: border-box;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.amigo-music-card__seek-thumb {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: clamp(0px, calc(var(--music-progress) - (var(--music-thumb-size) / 2)), calc(100% - var(--music-thumb-size)));
|
|
z-index: 2;
|
|
width: var(--music-thumb-size);
|
|
height: var(--music-thumb-size);
|
|
border: 2px solid var(--music-thumb-border);
|
|
border-radius: 50%;
|
|
background: var(--music-thumb-bg);
|
|
box-sizing: border-box;
|
|
transform: translateY(-50%);
|
|
pointer-events: none;
|
|
box-shadow: var(--music-thumb-shadow);
|
|
}
|
|
|
|
.amigo-music-card .sr-only {
|
|
position: absolute;
|
|
width: 1px;
|
|
height: 1px;
|
|
padding: 0;
|
|
margin: -1px;
|
|
overflow: hidden;
|
|
clip: rect(0, 0, 0, 0);
|
|
white-space: nowrap;
|
|
border: 0;
|
|
}
|
|
|
|
/* 响应式 */
|
|
@media (max-width: 640px) {
|
|
.amigo-music-card {
|
|
padding: 11px;
|
|
}
|
|
.amigo-music-card__hero {
|
|
grid-template-columns: 56px minmax(0, 1fr);
|
|
gap: 10px;
|
|
}
|
|
.amigo-music-card__art,
|
|
.amigo-music-card__cover {
|
|
width: 56px;
|
|
height: 56px;
|
|
}
|
|
.amigo-music-card__title {
|
|
font-size: 15px;
|
|
}
|
|
.amigo-music-card__play {
|
|
right: 3px;
|
|
bottom: 3px;
|
|
}
|
|
.amigo-music-card__timeline {
|
|
--music-thumb-size: 11px;
|
|
row-gap: 5px;
|
|
}
|
|
.amigo-music-card__time {
|
|
min-width: 24px;
|
|
font-size: 9px;
|
|
}
|
|
}
|
|
|
|
/* 深色模式 */
|
|
[data-theme="dark"] .amigo-music-card {
|
|
--music-card-bg: #232427;
|
|
--music-card-border: rgba(255, 255, 255, 0.06);
|
|
--music-card-hover-border: rgba(255, 255, 255, 0.1);
|
|
--music-card-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 1px 3px rgba(0, 0, 0, 0.3);
|
|
--music-cover-bg: #2a2b2e;
|
|
--music-cover-image-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
|
|
--music-title-color: #e8e8e8;
|
|
--music-artist-color: #9a9a9a;
|
|
--music-meta-color: #6a6a6a;
|
|
--music-button-border: rgba(255, 255, 255, 0.08);
|
|
--music-button-bg: linear-gradient(180deg, rgba(50, 50, 54, 0.98), rgba(40, 40, 44, 0.92));
|
|
--music-button-color: color-mix(in srgb, var(--music-accent) 70%, #ddd 30%);
|
|
--music-button-shadow: 0 4px 10px rgba(0, 0, 0, 0.4), 0 1px 2px rgba(0, 0, 0, 0.2);
|
|
--music-track-bg: rgba(255, 255, 255, 0.08);
|
|
--music-thumb-bg: #3a3b3e;
|
|
--music-thumb-border: var(--music-accent);
|
|
--music-thumb-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
/* ==========================================================================
|
|
Live Photo - 实况照片
|
|
========================================================================== */
|
|
|
|
.live-photo {
|
|
--border-radius: 4px;
|
|
--live-photo-aspect: 4 / 5;
|
|
position: relative;
|
|
overflow: hidden;
|
|
border-radius: var(--border-radius);
|
|
width: 100%;
|
|
max-width: min(360px, 100%);
|
|
margin: 12px auto;
|
|
aspect-ratio: var(--live-photo-aspect);
|
|
background: #f5f5f5;
|
|
container-type: inline-size;
|
|
}
|
|
|
|
.live-photo .live-photo-video {
|
|
position: absolute;
|
|
display: block;
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
inset: 0;
|
|
opacity: 0;
|
|
transition: opacity 0.2s ease;
|
|
z-index: 1;
|
|
}
|
|
|
|
.live-photo .live-photo-poster {
|
|
position: absolute;
|
|
inset: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
opacity: 1;
|
|
transition: opacity 0.25s ease;
|
|
z-index: 0;
|
|
}
|
|
|
|
.live-photo.is-playing .live-photo-video {
|
|
opacity: 1;
|
|
}
|
|
|
|
.live-photo.is-playing .live-photo-poster {
|
|
opacity: 0;
|
|
}
|
|
|
|
.live-photo .live-photo-controls-group {
|
|
position: absolute;
|
|
left: 10px;
|
|
top: 10px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
z-index: 2;
|
|
}
|
|
|
|
.live-photo .live-photo-control-btn {
|
|
border: none;
|
|
padding: 4px 8px;
|
|
border-radius: var(--border-radius);
|
|
height: 24px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
background-color: transparent;
|
|
color: #606060;
|
|
cursor: pointer;
|
|
user-select: none;
|
|
border: 1px solid rgba(255, 255, 255, 0.7);
|
|
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
|
|
backdrop-filter: blur(10px);
|
|
-webkit-backdrop-filter: blur(10px);
|
|
transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
|
|
}
|
|
|
|
.live-photo .live-photo-control-btn:hover {
|
|
transform: translateY(-1px);
|
|
box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
|
|
background-color: transparent;
|
|
}
|
|
|
|
.live-photo .live-photo-toggle-btn {
|
|
background-color: rgba(44, 44, 46, 0.62);
|
|
border-color: rgba(255, 255, 255, 0.22);
|
|
color: rgb(205 205 205 / 92%);
|
|
}
|
|
|
|
.live-photo .live-photo-toggle-btn:hover {
|
|
background-color: rgba(44, 44, 46, 0.72);
|
|
}
|
|
|
|
.live-photo .live-photo-mute-btn {
|
|
background-color: rgba(44, 44, 46, 0.35);
|
|
border-color: rgba(255, 255, 255, 0.18);
|
|
color: rgb(205 205 205 / 92%);
|
|
}
|
|
|
|
.live-photo .live-photo-mute-btn:hover {
|
|
background-color: rgba(44, 44, 46, 0.42);
|
|
}
|
|
|
|
.live-photo-mute-btn .live-photo-mute-icon {
|
|
display: block;
|
|
width: 18px;
|
|
height: 18px;
|
|
font-size: 15px;
|
|
line-height: 19px;
|
|
color: rgb(205 205 205 / 92%);
|
|
}
|
|
|
|
.live-photo-mute-btn[data-muted="true"] .icon-unmuted {
|
|
display: none;
|
|
}
|
|
|
|
.live-photo-mute-btn[data-muted="false"] .icon-muted {
|
|
display: none;
|
|
}
|
|
|
|
/* ==========================================================================
|
|
强制优先级 - 覆盖 ying 主题默认样式
|
|
========================================================================== */
|
|
|
|
/* 强制使用主题风格语音样式 */
|
|
.article-content .amigo-voice-wrapper,
|
|
.article-text .amigo-voice-wrapper,
|
|
.post-content .amigo-voice-wrapper,
|
|
main .amigo-voice-wrapper,
|
|
.amigo-voice-wrapper {
|
|
display: flex !important;
|
|
align-items: flex-start !important;
|
|
gap: 10px !important;
|
|
margin: 12px 0 12px 16px !important;
|
|
padding: 0 !important;
|
|
border: none !important;
|
|
background: none !important;
|
|
}
|
|
|
|
.article-content .amigo-voice-user,
|
|
.article-text .amigo-voice-user,
|
|
.post-content .amigo-voice-user,
|
|
main .amigo-voice-user,
|
|
.amigo-voice-user {
|
|
display: flex !important;
|
|
flex-direction: column !important;
|
|
align-items: center !important;
|
|
gap: 4px !important;
|
|
flex-shrink: 0 !important;
|
|
}
|
|
|
|
.article-content .amigo-voice-avatar,
|
|
.article-text .amigo-voice-avatar,
|
|
.post-content .amigo-voice-avatar,
|
|
main .amigo-voice-avatar,
|
|
.amigo-voice-avatar {
|
|
width: 36px !important;
|
|
height: 36px !important;
|
|
border-radius: 50% !important;
|
|
object-fit: cover !important;
|
|
border: 1px solid var(--border-main) !important;
|
|
margin: 0 !important;
|
|
padding: 0 !important;
|
|
}
|
|
|
|
.article-content .amigo-voice-name,
|
|
.article-text .amigo-voice-name,
|
|
.post-content .amigo-voice-name,
|
|
main .amigo-voice-name,
|
|
.amigo-voice-name {
|
|
font-size: 11px !important;
|
|
color: var(--text-muted) !important;
|
|
line-height: 1 !important;
|
|
white-space: nowrap !important;
|
|
margin: 0 !important;
|
|
padding: 0 !important;
|
|
font-weight: normal !important;
|
|
}
|
|
|
|
.article-content .amigo-voice-bubble,
|
|
.article-text .amigo-voice-bubble,
|
|
.post-content .amigo-voice-bubble,
|
|
main .amigo-voice-bubble,
|
|
.amigo-voice-bubble {
|
|
position: relative !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
gap: 10px !important;
|
|
background: var(--bg-card) !important;
|
|
border-radius: 12px !important;
|
|
padding: 10px 14px !important;
|
|
min-width: 120px !important;
|
|
max-width: 240px !important;
|
|
cursor: pointer !important;
|
|
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
|
|
border: 1px solid var(--border-main) !important;
|
|
height: auto !important;
|
|
-webkit-user-select: none !important;
|
|
user-select: none !important;
|
|
}
|
|
|
|
.article-content .amigo-voice-bubble::before,
|
|
.article-text .amigo-voice-bubble::before,
|
|
.post-content .amigo-voice-bubble::before,
|
|
main .amigo-voice-bubble::before,
|
|
.amigo-voice-bubble::before {
|
|
display: none !important;
|
|
}
|
|
|
|
.article-content .amigo-voice-bubble:hover,
|
|
.article-text .amigo-voice-bubble:hover,
|
|
.post-content .amigo-voice-bubble:hover,
|
|
main .amigo-voice-bubble:hover,
|
|
.amigo-voice-bubble:hover {
|
|
transform: translateY(-1px) !important;
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
|
|
background: var(--bg-card) !important;
|
|
}
|
|
|
|
.article-content .amigo-voice-bubble:active,
|
|
.article-text .amigo-voice-bubble:active,
|
|
.post-content .amigo-voice-bubble:active,
|
|
main .amigo-voice-bubble:active,
|
|
.amigo-voice-bubble:active {
|
|
transform: scale(0.96) !important;
|
|
}
|
|
|
|
.article-content .amigo-voice-bubble.is-playing,
|
|
.article-text .amigo-voice-bubble.is-playing,
|
|
.post-content .amigo-voice-bubble.is-playing,
|
|
main .amigo-voice-bubble.is-playing,
|
|
.amigo-voice-bubble.is-playing {
|
|
background: var(--theme-main) !important;
|
|
border: none !important;
|
|
padding: 11px 15px !important;
|
|
transform: scale(1.02) !important;
|
|
box-shadow: 0 4px 16px var(--theme-main-20) !important;
|
|
}
|
|
|
|
.article-content .amigo-voice-bubble.is-playing:hover,
|
|
.article-text .amigo-voice-bubble.is-playing:hover,
|
|
.post-content .amigo-voice-bubble.is-playing:hover,
|
|
main .amigo-voice-bubble.is-playing:hover,
|
|
.amigo-voice-bubble.is-playing:hover {
|
|
transform: scale(1.04) translateY(-1px) !important;
|
|
box-shadow: 0 6px 20px var(--theme-main-30) !important;
|
|
}
|
|
|
|
.article-content .amigo-voice-bubble.is-playing .amigo-voice-icon span,
|
|
.article-text .amigo-voice-bubble.is-playing .amigo-voice-icon span,
|
|
.post-content .amigo-voice-bubble.is-playing .amigo-voice-icon span,
|
|
main .amigo-voice-bubble.is-playing .amigo-voice-icon span,
|
|
.amigo-voice-bubble.is-playing .amigo-voice-icon span {
|
|
background: #ffffff !important;
|
|
}
|
|
|
|
.article-content .amigo-voice-bubble.is-playing .amigo-voice-duration,
|
|
.article-text .amigo-voice-bubble.is-playing .amigo-voice-duration,
|
|
.post-content .amigo-voice-bubble.is-playing .amigo-voice-duration,
|
|
main .amigo-voice-bubble.is-playing .amigo-voice-duration,
|
|
.amigo-voice-bubble.is-playing .amigo-voice-duration {
|
|
color: #ffffff !important;
|
|
font-weight: 600 !important;
|
|
}
|
|
|
|
.article-content .amigo-voice-content,
|
|
.article-text .amigo-voice-content,
|
|
.post-content .amigo-voice-content,
|
|
main .amigo-voice-content,
|
|
.amigo-voice-content {
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
gap: 10px !important;
|
|
}
|
|
|
|
.article-content .amigo-voice-icon,
|
|
.article-text .amigo-voice-icon,
|
|
.post-content .amigo-voice-icon,
|
|
main .amigo-voice-icon,
|
|
.amigo-voice-icon {
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
gap: 2px !important;
|
|
flex-shrink: 0 !important;
|
|
margin-right: 0 !important;
|
|
width: auto !important;
|
|
height: auto !important;
|
|
background: none !important;
|
|
border-radius: 0 !important;
|
|
justify-content: flex-start !important;
|
|
}
|
|
|
|
.article-content .amigo-voice-icon span,
|
|
.article-text .amigo-voice-icon span,
|
|
.post-content .amigo-voice-icon span,
|
|
main .amigo-voice-icon span,
|
|
.amigo-voice-icon span {
|
|
position: static !important;
|
|
display: block !important;
|
|
width: 2px !important;
|
|
border-radius: 2px !important;
|
|
background: var(--text-muted) !important;
|
|
transition: background 0.2s ease !important;
|
|
left: auto !important;
|
|
}
|
|
|
|
.article-content .amigo-voice-icon span:nth-child(1),
|
|
.article-text .amigo-voice-icon span:nth-child(1),
|
|
.post-content .amigo-voice-icon span:nth-child(1),
|
|
main .amigo-voice-icon span:nth-child(1),
|
|
.amigo-voice-icon span:nth-child(1) {
|
|
height: 8px !important;
|
|
}
|
|
|
|
.article-content .amigo-voice-icon span:nth-child(2),
|
|
.article-text .amigo-voice-icon span:nth-child(2),
|
|
.post-content .amigo-voice-icon span:nth-child(2),
|
|
main .amigo-voice-icon span:nth-child(2),
|
|
.amigo-voice-icon span:nth-child(2) {
|
|
height: 14px !important;
|
|
}
|
|
|
|
.article-content .amigo-voice-icon span:nth-child(3),
|
|
.article-text .amigo-voice-icon span:nth-child(3),
|
|
.post-content .amigo-voice-icon span:nth-child(3),
|
|
main .amigo-voice-icon span:nth-child(3),
|
|
.amigo-voice-icon span:nth-child(3) {
|
|
height: 6px !important;
|
|
}
|
|
|
|
.article-content .amigo-voice-bubble.is-playing .amigo-voice-icon span,
|
|
.article-text .amigo-voice-bubble.is-playing .amigo-voice-icon span,
|
|
.post-content .amigo-voice-bubble.is-playing .amigo-voice-icon span,
|
|
main .amigo-voice-bubble.is-playing .amigo-voice-icon span,
|
|
.amigo-voice-bubble.is-playing .amigo-voice-icon span {
|
|
animation: voiceWaveApple 0.45s ease-in-out infinite alternate !important;
|
|
}
|
|
|
|
.article-content .amigo-voice-bubble.is-playing .amigo-voice-icon span:nth-child(1),
|
|
.article-text .amigo-voice-bubble.is-playing .amigo-voice-icon span:nth-child(1),
|
|
.post-content .amigo-voice-bubble.is-playing .amigo-voice-icon span:nth-child(1),
|
|
main .amigo-voice-bubble.is-playing .amigo-voice-icon span:nth-child(1),
|
|
.amigo-voice-bubble.is-playing .amigo-voice-icon span:nth-child(1) {
|
|
animation-delay: 0s !important;
|
|
}
|
|
|
|
.article-content .amigo-voice-bubble.is-playing .amigo-voice-icon span:nth-child(2),
|
|
.article-text .amigo-voice-bubble.is-playing .amigo-voice-icon span:nth-child(2),
|
|
.post-content .amigo-voice-bubble.is-playing .amigo-voice-icon span:nth-child(2),
|
|
main .amigo-voice-bubble.is-playing .amigo-voice-icon span:nth-child(2),
|
|
.amigo-voice-bubble.is-playing .amigo-voice-icon span:nth-child(2) {
|
|
animation-delay: 0.1s !important;
|
|
}
|
|
|
|
.article-content .amigo-voice-bubble.is-playing .amigo-voice-icon span:nth-child(3),
|
|
.article-text .amigo-voice-bubble.is-playing .amigo-voice-icon span:nth-child(3),
|
|
.post-content .amigo-voice-bubble.is-playing .amigo-voice-icon span:nth-child(3),
|
|
main .amigo-voice-bubble.is-playing .amigo-voice-icon span:nth-child(3),
|
|
.amigo-voice-bubble.is-playing .amigo-voice-icon span:nth-child(3) {
|
|
animation-delay: 0.2s !important;
|
|
}
|
|
|
|
@keyframes voiceWaveApple {
|
|
0% {
|
|
transform: scaleY(0.5);
|
|
opacity: 0.7;
|
|
}
|
|
100% {
|
|
transform: scaleY(1);
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
.article-content .amigo-voice-duration,
|
|
.article-text .amigo-voice-duration,
|
|
.post-content .amigo-voice-duration,
|
|
main .amigo-voice-duration,
|
|
.amigo-voice-duration {
|
|
font-size: 13px !important;
|
|
font-weight: 500 !important;
|
|
color: var(--text-main) !important;
|
|
font-variant-numeric: tabular-nums !important;
|
|
margin: 0 !important;
|
|
padding: 0 !important;
|
|
}
|
|
|
|
.article-content .amigo-voice-unread,
|
|
.article-text .amigo-voice-unread,
|
|
.post-content .amigo-voice-unread,
|
|
main .amigo-voice-unread,
|
|
.amigo-voice-unread {
|
|
position: absolute !important;
|
|
right: 6px !important;
|
|
top: 6px !important;
|
|
width: 8px !important;
|
|
height: 8px !important;
|
|
background: var(--theme-main) !important;
|
|
border-radius: 50% !important;
|
|
border: none !important;
|
|
font-style: normal !important;
|
|
pointer-events: none !important;
|
|
}
|
|
|
|
/* ==========================================================================
|
|
Bilibili 强制优先级
|
|
========================================================================== */
|
|
|
|
.article-content .amigo-bilibili-wrapper,
|
|
.article-text .amigo-bilibili-wrapper,
|
|
.post-content .amigo-bilibili-wrapper,
|
|
main .amigo-bilibili-wrapper,
|
|
.amigo-bilibili-wrapper {
|
|
position: relative !important;
|
|
width: 100% !important;
|
|
max-width: 100% !important;
|
|
padding-bottom: var(--padding-bottom, 56.25%) !important;
|
|
margin: 16px 0 !important;
|
|
border-radius: 12px !important;
|
|
overflow: hidden !important;
|
|
background: #000 !important;
|
|
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1) !important;
|
|
padding: 0 0 var(--padding-bottom, 56.25%) 0 !important;
|
|
}
|
|
|
|
.article-content .amigo-bilibili-inner,
|
|
.article-text .amigo-bilibili-inner,
|
|
.post-content .amigo-bilibili-inner,
|
|
main .amigo-bilibili-inner,
|
|
.amigo-bilibili-inner {
|
|
position: absolute !important;
|
|
top: 0 !important;
|
|
left: 0 !important;
|
|
width: 100% !important;
|
|
height: 100% !important;
|
|
padding: 0 !important;
|
|
margin: 0 !important;
|
|
}
|
|
|
|
.article-content .amigo-bilibili-inner iframe,
|
|
.article-text .amigo-bilibili-inner iframe,
|
|
.post-content .amigo-bilibili-inner iframe,
|
|
main .amigo-bilibili-inner iframe,
|
|
.amigo-bilibili-inner iframe {
|
|
width: 100% !important;
|
|
height: 100% !important;
|
|
border: none !important;
|
|
display: block !important;
|
|
margin: 0 !important;
|
|
padding: 0 !important;
|
|
}
|
|
|
|
/* ==========================================================================
|
|
Live Photo 强制优先级
|
|
========================================================================== */
|
|
|
|
.article-content .amigo-livephoto,
|
|
.article-text .amigo-livephoto,
|
|
.post-content .amigo-livephoto,
|
|
main .amigo-livephoto,
|
|
.amigo-livephoto {
|
|
position: relative !important;
|
|
width: 100% !important;
|
|
max-width: 100% !important;
|
|
margin: 16px 0 !important;
|
|
border-radius: 12px !important;
|
|
overflow: hidden !important;
|
|
cursor: pointer !important;
|
|
-webkit-user-select: none !important;
|
|
user-select: none !important;
|
|
background: var(--bg-card) !important;
|
|
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08) !important;
|
|
transition: box-shadow 0.2s ease !important;
|
|
padding: 0 !important;
|
|
border: none !important;
|
|
}
|
|
|
|
.article-content .amigo-livephoto:hover,
|
|
.article-text .amigo-livephoto:hover,
|
|
.post-content .amigo-livephoto:hover,
|
|
main .amigo-livephoto:hover,
|
|
.amigo-livephoto:hover {
|
|
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12) !important;
|
|
}
|
|
|
|
.article-content .amigo-livephoto:active,
|
|
.article-text .amigo-livephoto:active,
|
|
.post-content .amigo-livephoto:active,
|
|
main .amigo-livephoto:active,
|
|
.amigo-livephoto:active {
|
|
transform: scale(0.99) !important;
|
|
}
|
|
|
|
.article-content .amigo-livephoto-badge,
|
|
.article-text .amigo-livephoto-badge,
|
|
.post-content .amigo-livephoto-badge,
|
|
main .amigo-livephoto-badge,
|
|
.amigo-livephoto-badge {
|
|
position: absolute !important;
|
|
top: 12px !important;
|
|
left: 12px !important;
|
|
z-index: 10 !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
gap: 8px !important;
|
|
margin: 0 !important;
|
|
padding: 0 !important;
|
|
}
|
|
|
|
.article-content .amigo-livephoto-live,
|
|
.article-text .amigo-livephoto-live,
|
|
.post-content .amigo-livephoto-live,
|
|
main .amigo-livephoto-live,
|
|
.amigo-livephoto-live {
|
|
display: inline-flex !important;
|
|
align-items: center !important;
|
|
justify-content: center !important;
|
|
height: 28px !important;
|
|
padding: 0 12px !important;
|
|
border-radius: 14px !important;
|
|
background: rgba(0, 0, 0, 0.6) !important;
|
|
backdrop-filter: blur(10px) !important;
|
|
-webkit-backdrop-filter: blur(10px) !important;
|
|
color: #ffffff !important;
|
|
font-size: 12px !important;
|
|
font-weight: 600 !important;
|
|
letter-spacing: 0.5px !important;
|
|
line-height: 1 !important;
|
|
margin: 0 !important;
|
|
}
|
|
|
|
.article-content .amigo-livephoto-sound,
|
|
.article-text .amigo-livephoto-sound,
|
|
.post-content .amigo-livephoto-sound,
|
|
main .amigo-livephoto-sound,
|
|
.amigo-livephoto-sound {
|
|
display: inline-flex !important;
|
|
align-items: center !important;
|
|
justify-content: center !important;
|
|
width: 28px !important;
|
|
height: 28px !important;
|
|
border: none !important;
|
|
border-radius: 50% !important;
|
|
background: rgba(0, 0, 0, 0.6) !important;
|
|
backdrop-filter: blur(10px) !important;
|
|
-webkit-backdrop-filter: blur(10px) !important;
|
|
color: #ffffff !important;
|
|
cursor: pointer !important;
|
|
padding: 0 !important;
|
|
transition: all 0.2s ease !important;
|
|
margin: 0 !important;
|
|
line-height: 1 !important;
|
|
}
|
|
|
|
.article-content .amigo-livephoto-sound:hover,
|
|
.article-text .amigo-livephoto-sound:hover,
|
|
.post-content .amigo-livephoto-sound:hover,
|
|
main .amigo-livephoto-sound:hover,
|
|
.amigo-livephoto-sound:hover {
|
|
background: rgba(0, 0, 0, 0.8) !important;
|
|
transform: scale(1.1) !important;
|
|
}
|
|
|
|
.article-content .amigo-livephoto-sound svg,
|
|
.article-text .amigo-livephoto-sound svg,
|
|
.post-content .amigo-livephoto-sound svg,
|
|
main .amigo-livephoto-sound svg,
|
|
.amigo-livephoto-sound svg {
|
|
width: 16px !important;
|
|
height: 16px !important;
|
|
margin: 0 !important;
|
|
padding: 0 !important;
|
|
}
|
|
|
|
.article-content .amigo-livephoto-sound-on,
|
|
.article-text .amigo-livephoto-sound-on,
|
|
.post-content .amigo-livephoto-sound-on,
|
|
main .amigo-livephoto-sound-on,
|
|
.amigo-livephoto-sound-on {
|
|
display: none !important;
|
|
}
|
|
|
|
.article-content .amigo-livephoto:not(.is-muted) .amigo-livephoto-sound-off,
|
|
.article-text .amigo-livephoto:not(.is-muted) .amigo-livephoto-sound-off,
|
|
.post-content .amigo-livephoto:not(.is-muted) .amigo-livephoto-sound-off,
|
|
main .amigo-livephoto:not(.is-muted) .amigo-livephoto-sound-off,
|
|
.amigo-livephoto:not(.is-muted) .amigo-livephoto-sound-off {
|
|
display: none !important;
|
|
}
|
|
|
|
.article-content .amigo-livephoto:not(.is-muted) .amigo-livephoto-sound-on,
|
|
.article-text .amigo-livephoto:not(.is-muted) .amigo-livephoto-sound-on,
|
|
.post-content .amigo-livephoto:not(.is-muted) .amigo-livephoto-sound-on,
|
|
main .amigo-livephoto:not(.is-muted) .amigo-livephoto-sound-on,
|
|
.amigo-livephoto:not(.is-muted) .amigo-livephoto-sound-on {
|
|
display: block !important;
|
|
}
|
|
|
|
.article-content .amigo-livephoto-img,
|
|
.article-text .amigo-livephoto-img,
|
|
.post-content .amigo-livephoto-img,
|
|
main .amigo-livephoto-img,
|
|
.amigo-livephoto-img {
|
|
width: 100% !important;
|
|
height: auto !important;
|
|
display: block !important;
|
|
object-fit: cover !important;
|
|
transition: opacity 0.3s ease !important;
|
|
margin: 0 !important;
|
|
padding: 0 !important;
|
|
border: none !important;
|
|
border-radius: 0 !important;
|
|
}
|
|
|
|
.article-content .amigo-livephoto-video,
|
|
.article-text .amigo-livephoto-video,
|
|
.post-content .amigo-livephoto-video,
|
|
main .amigo-livephoto-video,
|
|
.amigo-livephoto-video {
|
|
position: absolute !important;
|
|
top: 0 !important;
|
|
left: 0 !important;
|
|
width: 100% !important;
|
|
height: 100% !important;
|
|
object-fit: cover !important;
|
|
opacity: 0 !important;
|
|
pointer-events: none !important;
|
|
transition: opacity 0.3s ease !important;
|
|
margin: 0 !important;
|
|
padding: 0 !important;
|
|
border: none !important;
|
|
border-radius: 0 !important;
|
|
}
|
|
|
|
.article-content .amigo-livephoto.is-playing .amigo-livephoto-img,
|
|
.article-text .amigo-livephoto.is-playing .amigo-livephoto-img,
|
|
.post-content .amigo-livephoto.is-playing .amigo-livephoto-img,
|
|
main .amigo-livephoto.is-playing .amigo-livephoto-img,
|
|
.amigo-livephoto.is-playing .amigo-livephoto-img {
|
|
opacity: 0 !important;
|
|
}
|
|
|
|
.article-content .amigo-livephoto.is-playing .amigo-livephoto-video,
|
|
.article-text .amigo-livephoto.is-playing .amigo-livephoto-video,
|
|
.post-content .amigo-livephoto.is-playing .amigo-livephoto-video,
|
|
main .amigo-livephoto.is-playing .amigo-livephoto-video,
|
|
.amigo-livephoto.is-playing .amigo-livephoto-video {
|
|
opacity: 1 !important;
|
|
}
|
|
|
|
/* ==========================================================================
|
|
音乐卡片强制优先级 - 覆盖 ying 主题默认样式
|
|
========================================================================== */
|
|
|
|
.article-content .amigo-music-card,
|
|
.article-text .amigo-music-card,
|
|
.post-content .amigo-music-card,
|
|
main .amigo-music-card,
|
|
.amigo-music-card {
|
|
--music-accent: #d43c33 !important;
|
|
--music-card-bg: #f5f5f7 !important;
|
|
--music-card-border: rgba(0, 0, 0, 0.06) !important;
|
|
--music-cover-bg: #e8e8ed !important;
|
|
--music-title-color: #1d1d1f !important;
|
|
--music-artist-color: #6e6e73 !important;
|
|
padding: 10px 14px !important;
|
|
border-radius: 16px !important;
|
|
border: 1px solid var(--music-card-border) !important;
|
|
background: var(--music-card-bg) !important;
|
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06) !important;
|
|
display: block !important;
|
|
max-width: 500px !important;
|
|
margin: 16px auto !important;
|
|
}
|
|
|
|
.article-content .amigo-music-card__hero,
|
|
.article-text .amigo-music-card__hero,
|
|
.post-content .amigo-music-card__hero,
|
|
main .amigo-music-card__hero,
|
|
.amigo-music-card__hero {
|
|
display: grid !important;
|
|
grid-template-columns: 62px minmax(0, 1fr) !important;
|
|
gap: 12px !important;
|
|
align-items: center !important;
|
|
}
|
|
|
|
.article-content .amigo-music-card__art,
|
|
.article-text .amigo-music-card__art,
|
|
.post-content .amigo-music-card__art,
|
|
main .amigo-music-card__art,
|
|
.amigo-music-card__art {
|
|
position: relative !important;
|
|
width: 62px !important;
|
|
min-width: 62px !important;
|
|
border-radius: 11px !important;
|
|
overflow: hidden !important;
|
|
}
|
|
|
|
.article-content .amigo-music-card__cover,
|
|
.article-text .amigo-music-card__cover,
|
|
.post-content .amigo-music-card__cover,
|
|
main .amigo-music-card__cover,
|
|
.amigo-music-card__cover {
|
|
width: 62px !important;
|
|
height: 62px !important;
|
|
border-radius: 11px !important;
|
|
background: var(--music-cover-bg) !important;
|
|
display: block !important;
|
|
object-fit: cover !important;
|
|
}
|
|
|
|
.article-content .amigo-music-card__meta,
|
|
.article-text .amigo-music-card__meta,
|
|
.post-content .amigo-music-card__meta,
|
|
main .amigo-music-card__meta,
|
|
.amigo-music-card__meta {
|
|
min-width: 0 !important;
|
|
display: flex !important;
|
|
flex-direction: column !important;
|
|
gap: 4px !important;
|
|
overflow: hidden !important;
|
|
}
|
|
|
|
.article-content .amigo-music-card__title,
|
|
.article-text .amigo-music-card__title,
|
|
.post-content .amigo-music-card__title,
|
|
main .amigo-music-card__title,
|
|
.amigo-music-card__title {
|
|
display: block !important;
|
|
overflow: hidden !important;
|
|
color: var(--music-title-color) !important;
|
|
font-size: 16px !important;
|
|
font-weight: 600 !important;
|
|
line-height: 1.22 !important;
|
|
text-overflow: ellipsis !important;
|
|
white-space: nowrap !important;
|
|
margin: 0 !important;
|
|
padding: 0 !important;
|
|
}
|
|
|
|
.article-content .amigo-music-card__artist,
|
|
.article-text .amigo-music-card__artist,
|
|
.post-content .amigo-music-card__artist,
|
|
main .amigo-music-card__artist,
|
|
.amigo-music-card__artist {
|
|
overflow: hidden !important;
|
|
font-size: 12px !important;
|
|
line-height: 1.3 !important;
|
|
text-overflow: ellipsis !important;
|
|
white-space: nowrap !important;
|
|
color: var(--music-artist-color) !important;
|
|
display: block !important;
|
|
}
|
|
|
|
.article-content .amigo-music-card__play,
|
|
.article-text .amigo-music-card__play,
|
|
.post-content .amigo-music-card__play,
|
|
main .amigo-music-card__play,
|
|
.amigo-music-card__play {
|
|
position: absolute !important;
|
|
right: 4px !important;
|
|
bottom: 4px !important;
|
|
z-index: 2 !important;
|
|
display: inline-flex !important;
|
|
align-items: center !important;
|
|
justify-content: center !important;
|
|
width: 24px !important;
|
|
height: 24px !important;
|
|
border: 1px solid rgba(0, 0, 0, 0.05) !important;
|
|
border-radius: 50% !important;
|
|
background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 248, 249, 0.92)) !important;
|
|
color: color-mix(in srgb, var(--music-accent) 60%, #111 40%) !important;
|
|
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04) !important;
|
|
cursor: pointer !important;
|
|
padding: 0 !important;
|
|
}
|
|
|
|
.article-content .amigo-music-card__play-icon,
|
|
.article-text .amigo-music-card__play-icon,
|
|
.post-content .amigo-music-card__play-icon,
|
|
main .amigo-music-card__play-icon,
|
|
.amigo-music-card__play-icon {
|
|
width: 0 !important;
|
|
height: 0 !important;
|
|
margin-left: 1px !important;
|
|
border-top: 4px solid transparent !important;
|
|
border-bottom: 4px solid transparent !important;
|
|
border-left: 6px solid currentColor !important;
|
|
display: block !important;
|
|
}
|
|
|
|
.article-content .amigo-music-card[data-playing="true"] .amigo-music-card__play-icon,
|
|
.article-text .amigo-music-card[data-playing="true"] .amigo-music-card__play-icon,
|
|
.post-content .amigo-music-card[data-playing="true"] .amigo-music-card__play-icon,
|
|
main .amigo-music-card[data-playing="true"] .amigo-music-card__play-icon,
|
|
.amigo-music-card[data-playing="true"] .amigo-music-card__play-icon {
|
|
width: 6px !important;
|
|
height: 8px !important;
|
|
margin-left: 0 !important;
|
|
border: 0 !important;
|
|
background: linear-gradient(90deg, currentColor 0 2px, transparent 2px 4px, currentColor 4px 6px, transparent 6px 100%) !important;
|
|
}
|
|
|
|
.article-content .amigo-music-card__timeline,
|
|
.article-text .amigo-music-card__timeline,
|
|
.post-content .amigo-music-card__timeline,
|
|
main .amigo-music-card__timeline,
|
|
.amigo-music-card__timeline {
|
|
--music-track-height: 4px !important;
|
|
--music-thumb-size: 12px !important;
|
|
display: grid !important;
|
|
grid-template-columns: auto minmax(0, 1fr) auto !important;
|
|
grid-template-areas: "seek seek seek" "current . duration" !important;
|
|
align-items: center !important;
|
|
margin-top: 6px !important;
|
|
row-gap: 6px !important;
|
|
column-gap: 8px !important;
|
|
}
|
|
|
|
.article-content .amigo-music-card__time,
|
|
.article-text .amigo-music-card__time,
|
|
.post-content .amigo-music-card__time,
|
|
main .amigo-music-card__time,
|
|
.amigo-music-card__time {
|
|
min-width: 28px !important;
|
|
font-size: 10px !important;
|
|
font-weight: 500 !important;
|
|
font-variant-numeric: tabular-nums !important;
|
|
line-height: 1 !important;
|
|
letter-spacing: 0.01em !important;
|
|
color: #999 !important;
|
|
}
|
|
|
|
.article-content .amigo-music-card__time--current,
|
|
.article-text .amigo-music-card__time--current,
|
|
.post-content .amigo-music-card__time--current,
|
|
main .amigo-music-card__time--current,
|
|
.amigo-music-card__time--current {
|
|
grid-area: current !important;
|
|
justify-self: start !important;
|
|
text-align: left !important;
|
|
}
|
|
|
|
.article-content .amigo-music-card__time--duration,
|
|
.article-text .amigo-music-card__time--duration,
|
|
.post-content .amigo-music-card__time--duration,
|
|
main .amigo-music-card__time--duration,
|
|
.amigo-music-card__time--duration {
|
|
grid-area: duration !important;
|
|
justify-self: end !important;
|
|
text-align: right !important;
|
|
}
|
|
|
|
.article-content .amigo-music-card__seek-wrap,
|
|
.article-text .amigo-music-card__seek-wrap,
|
|
.post-content .amigo-music-card__seek-wrap,
|
|
main .amigo-music-card__seek-wrap,
|
|
.amigo-music-card__seek-wrap {
|
|
grid-area: seek !important;
|
|
position: relative !important;
|
|
min-width: 0 !important;
|
|
height: var(--music-thumb-size) !important;
|
|
overflow: visible !important;
|
|
}
|
|
|
|
.article-content .amigo-music-card__seek-wrap::before,
|
|
.article-text .amigo-music-card__seek-wrap::before,
|
|
.post-content .amigo-music-card__seek-wrap::before,
|
|
main .amigo-music-card__seek-wrap::before,
|
|
.amigo-music-card__seek-wrap::before,
|
|
.article-content .amigo-music-card__seek-wrap::after,
|
|
.article-text .amigo-music-card__seek-wrap::after,
|
|
.post-content .amigo-music-card__seek-wrap::after,
|
|
main .amigo-music-card__seek-wrap::after,
|
|
.amigo-music-card__seek-wrap::after {
|
|
content: "" !important;
|
|
position: absolute !important;
|
|
top: 50% !important;
|
|
left: 0 !important;
|
|
right: 0 !important;
|
|
height: var(--music-track-height) !important;
|
|
border-radius: 999px !important;
|
|
transform: translateY(-50%) !important;
|
|
pointer-events: none !important;
|
|
}
|
|
|
|
.article-content .amigo-music-card__seek-wrap::before,
|
|
.article-text .amigo-music-card__seek-wrap::before,
|
|
.post-content .amigo-music-card__seek-wrap::before,
|
|
main .amigo-music-card__seek-wrap::before,
|
|
.amigo-music-card__seek-wrap::before {
|
|
background: rgba(0, 0, 0, 0.06) !important;
|
|
}
|
|
|
|
.article-content .amigo-music-card__seek-wrap::after,
|
|
.article-text .amigo-music-card__seek-wrap::after,
|
|
.post-content .amigo-music-card__seek-wrap::after,
|
|
main .amigo-music-card__seek-wrap::after,
|
|
.amigo-music-card__seek-wrap::after {
|
|
right: auto !important;
|
|
width: max(0px, calc(var(--music-progress) - (var(--music-thumb-size) / 2))) !important;
|
|
background: var(--music-accent) !important;
|
|
box-shadow: 0 1px 3px color-mix(in srgb, var(--music-accent) 30%, transparent) !important;
|
|
}
|
|
|
|
.article-content .amigo-music-card__seek,
|
|
.article-text .amigo-music-card__seek,
|
|
.post-content .amigo-music-card__seek,
|
|
main .amigo-music-card__seek,
|
|
.amigo-music-card__seek {
|
|
position: absolute !important;
|
|
inset: 0 !important;
|
|
z-index: 3 !important;
|
|
width: 100% !important;
|
|
height: var(--music-thumb-size) !important;
|
|
margin: 0 !important;
|
|
-webkit-appearance: none !important;
|
|
appearance: none !important;
|
|
background: 0 0 !important;
|
|
cursor: pointer !important;
|
|
opacity: 0 !important;
|
|
padding: 0 !important;
|
|
}
|
|
|
|
.article-content .amigo-music-card__seek::-webkit-slider-runnable-track,
|
|
.article-text .amigo-music-card__seek::-webkit-slider-runnable-track,
|
|
.post-content .amigo-music-card__seek::-webkit-slider-runnable-track,
|
|
main .amigo-music-card__seek::-webkit-slider-runnable-track,
|
|
.amigo-music-card__seek::-webkit-slider-runnable-track {
|
|
height: var(--music-thumb-size) !important;
|
|
background: 0 0 !important;
|
|
}
|
|
|
|
.article-content .amigo-music-card__seek::-webkit-slider-thumb,
|
|
.article-text .amigo-music-card__seek::-webkit-slider-thumb,
|
|
.post-content .amigo-music-card__seek::-webkit-slider-thumb,
|
|
main .amigo-music-card__seek::-webkit-slider-thumb,
|
|
.amigo-music-card__seek::-webkit-slider-thumb {
|
|
-webkit-appearance: none !important;
|
|
appearance: none !important;
|
|
width: var(--music-thumb-size) !important;
|
|
height: var(--music-thumb-size) !important;
|
|
margin-top: 0 !important;
|
|
border: 0 !important;
|
|
border-radius: 50% !important;
|
|
background: 0 0 !important;
|
|
box-shadow: none !important;
|
|
}
|
|
|
|
.article-content .amigo-music-card__seek::-moz-range-track,
|
|
.article-text .amigo-music-card__seek::-moz-range-track,
|
|
.post-content .amigo-music-card__seek::-moz-range-track,
|
|
main .amigo-music-card__seek::-moz-range-track,
|
|
.amigo-music-card__seek::-moz-range-track {
|
|
height: var(--music-thumb-size) !important;
|
|
background: 0 0 !important;
|
|
border: 0 !important;
|
|
}
|
|
|
|
.article-content .amigo-music-card__seek::-moz-range-progress,
|
|
.article-text .amigo-music-card__seek::-moz-range-progress,
|
|
.post-content .amigo-music-card__seek::-moz-range-progress,
|
|
main .amigo-music-card__seek::-moz-range-progress,
|
|
.amigo-music-card__seek::-moz-range-progress {
|
|
background: 0 0 !important;
|
|
}
|
|
|
|
.article-content .amigo-music-card__seek::-moz-range-thumb,
|
|
.article-text .amigo-music-card__seek::-moz-range-thumb,
|
|
.post-content .amigo-music-card__seek::-moz-range-thumb,
|
|
main .amigo-music-card__seek::-moz-range-thumb,
|
|
.amigo-music-card__seek::-moz-range-thumb {
|
|
width: var(--music-thumb-size) !important;
|
|
height: var(--music-thumb-size) !important;
|
|
border: 0 !important;
|
|
border-radius: 50% !important;
|
|
background: 0 0 !important;
|
|
box-sizing: border-box !important;
|
|
box-shadow: none !important;
|
|
}
|
|
|
|
.article-content .amigo-music-card__seek-thumb,
|
|
.article-text .amigo-music-card__seek-thumb,
|
|
.post-content .amigo-music-card__seek-thumb,
|
|
main .amigo-music-card__seek-thumb,
|
|
.amigo-music-card__seek-thumb {
|
|
position: absolute !important;
|
|
top: 50% !important;
|
|
left: clamp(0px, calc(var(--music-progress) - (var(--music-thumb-size) / 2)), calc(100% - var(--music-thumb-size))) !important;
|
|
z-index: 2 !important;
|
|
width: var(--music-thumb-size) !important;
|
|
height: var(--music-thumb-size) !important;
|
|
border: 2px solid var(--music-accent) !important;
|
|
border-radius: 50% !important;
|
|
background: #fff !important;
|
|
box-sizing: border-box !important;
|
|
transform: translateY(-50%) !important;
|
|
pointer-events: none !important;
|
|
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15) !important;
|
|
opacity: 1 !important;
|
|
display: block !important;
|
|
}
|
|
|
|
.article-content .amigo-music-card .sr-only,
|
|
.article-text .amigo-music-card .sr-only,
|
|
.post-content .amigo-music-card .sr-only,
|
|
main .amigo-music-card .sr-only,
|
|
.amigo-music-card .sr-only {
|
|
position: absolute !important;
|
|
width: 1px !important;
|
|
height: 1px !important;
|
|
padding: 0 !important;
|
|
margin: -1px !important;
|
|
overflow: hidden !important;
|
|
clip: rect(0, 0, 0, 0) !important;
|
|
white-space: nowrap !important;
|
|
border: 0 !important;
|
|
}
|
|
|
|
/* 深色模式 */
|
|
[data-theme="dark"] .amigo-music-card,
|
|
[data-theme="dark"] .article-content .amigo-music-card,
|
|
[data-theme="dark"] .article-text .amigo-music-card,
|
|
[data-theme="dark"] .post-content .amigo-music-card,
|
|
[data-theme="dark"] main .amigo-music-card {
|
|
--music-card-bg: #232427 !important;
|
|
--music-card-border: rgba(255, 255, 255, 0.06) !important;
|
|
--music-cover-bg: #2a2b2e !important;
|
|
--music-title-color: #e8e8e8 !important;
|
|
--music-artist-color: #9a9a9a !important;
|
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 1px 3px rgba(0, 0, 0, 0.3) !important;
|
|
}
|
|
|
|
[data-theme="dark"] .amigo-music-card__play,
|
|
[data-theme="dark"] .article-content .amigo-music-card__play,
|
|
[data-theme="dark"] .article-text .amigo-music-card__play,
|
|
[data-theme="dark"] .post-content .amigo-music-card__play,
|
|
[data-theme="dark"] main .amigo-music-card__play {
|
|
border: 1px solid rgba(255, 255, 255, 0.08) !important;
|
|
background: linear-gradient(180deg, rgba(50, 50, 54, 0.98), rgba(40, 40, 44, 0.92)) !important;
|
|
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4), 0 1px 2px rgba(0, 0, 0, 0.2) !important;
|
|
}
|
|
|
|
[data-theme="dark"] .amigo-music-card__seek-wrap::before,
|
|
[data-theme="dark"] .article-content .amigo-music-card__seek-wrap::before,
|
|
[data-theme="dark"] .article-text .amigo-music-card__seek-wrap::before,
|
|
[data-theme="dark"] .post-content .amigo-music-card__seek-wrap::before,
|
|
[data-theme="dark"] main .amigo-music-card__seek-wrap::before {
|
|
background: rgba(255, 255, 255, 0.08) !important;
|
|
}
|
|
|
|
[data-theme="dark"] .amigo-music-card__time,
|
|
[data-theme="dark"] .article-content .amigo-music-card__time,
|
|
[data-theme="dark"] .article-text .amigo-music-card__time,
|
|
[data-theme="dark"] .post-content .amigo-music-card__time,
|
|
[data-theme="dark"] main .amigo-music-card__time {
|
|
color: #6a6a6a !important;
|
|
}
|