Merge branch 'preview-fixes' into preview-features

This commit is contained in:
the1812 2024-03-11 21:33:53 +08:00
commit 79e144f59d
3 changed files with 119 additions and 2 deletions

View File

@ -652,6 +652,107 @@ html {
}
}
}
.ai-summary-popup {
@include border-color('3');
@include background-color('2');
.ai-summary-popup-tips-text {
@include color('e');
}
.ai-summary-popup-header {
&::after {
@include background-color('e');
}
.ai-summary-popup-header-clickable-area {
@include to-gray();
}
}
.ai-summary-popup-body {
.ai-summary-popup-body-abstracts {
@include color('e');
}
.ai-summary-popup-body-outline .section:hover {
@include background-color('3');
}
}
}
// B 站的父容器和 note-container 圆角没对齐会漏一点白色出来
&.note-pc {
@include background-color('3');
}
.note-container {
overflow: hidden; // B 站写的 .note-detail 容器溢出了
@include border-color();
@include background-color('3'); // 修复上述圆角对齐问题
.note-header {
@include background-color('3');
.note-title,
.back-note-list,
.jump-note-package,
.close-note {
@include color('e');
@include background-color('3');
svg {
@include to-white();
}
&:active {
@include background-color('2');
}
}
.note-operation {
@include background-color('4');
}
}
.note-content {
.note-card-container .note-card {
@include background-color('2');
.note-content {
@include background-color('2');
@include color('e');
}
}
.note-detail {
@include background-color('3');
@include color('e');
.up-desc-container .desc-top .up-name {
@include to-white();
}
.preview-editor {
@include color('e');
}
.note-operation .sanlian-box {
@include background-color('4');
@include border-color('3');
}
}
.note-editor {
.ql-editor,
.ql-toolbar,
.ql-picker-options,
.ql-picker-label {
@include background-color('2');
@include color('e');
}
.ql-bar {
&:not(.ql-active) {
i,
svg {
cursor: pointer;
&:not(:hover) {
@include to-white();
}
}
}
&.ql-active {
i,
svg {
@include theme-color();
}
}
}
}
}
}
}
.bili-note {
@include background-color('3');

View File

@ -708,7 +708,9 @@
@include set-color('border-top-color', '4');
}
#{contains('mediainfo_mediaRight')} {
#{contains('mediainfo_media_desc_section')} #{contains('mediainfo_display_area')} #{contains('mediainfo_ellipsis')} {
#{contains('mediainfo_media_desc_section')}
#{contains('mediainfo_display_area')}
#{contains('mediainfo_ellipsis')} {
background: linear-gradient(90deg, hsla(0, 0%, 100%, 0), #222 20%, #222);
@include theme-color();
}
@ -865,4 +867,17 @@
@include color('8');
}
}
}
}
.ai-summary-van-popover {
&.van-popover {
@include background-color(); // 移除超出圆角的黑色背景
}
.tips-panel {
@include background-color('3');
@include color('e');
.tips-panel-title {
@include color('e');
}
}
}

View File

@ -993,6 +993,7 @@ $highlight-map: (
.hover-panel-wrapper,
.van-popper-login .btn-box .btn,
.van-popper-history .view-all,
.van-popper .tips-panel,
.at-popup,
.chat-popups-section .draw-full-ctnr,
#gift-package-item-box .panel-wrapper::before,