Skip to content

Commit

Permalink
Merge branch 'preview-fixes' into master-cdn
Browse files Browse the repository at this point in the history
  • Loading branch information
the1812 committed Mar 11, 2024
2 parents 32088d4 + 6c129e3 commit 9cd029f
Show file tree
Hide file tree
Showing 3 changed files with 119 additions and 2 deletions.
101 changes: 101 additions & 0 deletions registry/lib/components/style/dark-mode/dark-slice-13.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down
19 changes: 17 additions & 2 deletions registry/lib/components/style/dark-mode/dark-slice-18.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down Expand Up @@ -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');
}
}
}
1 change: 1 addition & 0 deletions registry/lib/components/style/dark-mode/dark-slice-9.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 9cd029f

Please sign in to comment.