Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

番剧页夜间模式修复 #4366

Merged
merged 11 commits into from
Aug 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion registry/lib/components/style/dark-mode/dark-slice-14.scss
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,9 @@ a {
.main-container .bottom-brief-introduction {
@include background-color("2");
}
.main-container {
@include background-color();
}
.fullscreen-loading .tv-bg + .container {
@include background-color();
.retry-btn {
Expand Down Expand Up @@ -772,7 +775,7 @@ body:not(.simplify-comment) .panel-area .bb-comment {
}
}
.z-top-container {
@include background-color("3");
@include background-color("2");
}
.coin-dialog-wrapper {
@include background-color("2");
Expand Down
3 changes: 3 additions & 0 deletions registry/lib/components/style/dark-mode/dark-slice-17.scss
Original file line number Diff line number Diff line change
Expand Up @@ -860,6 +860,9 @@
}
.bili-comment.browser-pc {
@include background-color();
.comment-container {
@include background-color();
}
}
.recommended-container,
.recommended-container_floor-aside {
Expand Down
198 changes: 198 additions & 0 deletions registry/lib/components/style/dark-mode/dark-slice-18.scss
Original file line number Diff line number Diff line change
Expand Up @@ -571,3 +571,201 @@
}
}
}
.home-cell-desc-title {
@include color('e');
}
.home-cell-desc-subtitle {
@include color('a');
}
.timeline-weekday-item .weekday-description .timeline-item-title {
@include color('e');
}
#{contains('recommend_wrap')} {
#{contains('recommend_title')} {
@include color('e');
}
}
.section-title-v2-wrapper {
.title-right {
@include border-color('4');
.font {
@include color('e');
}
&:hover .font {
@include color('0');
}
&:not(:hover) {
img,
svg {
@include to-white();
}
}
}
.title-left {
.week-day-wrapper {
@include background-color('3');
}
.module-title-name {
@include color('e');
}
}
}
.index-categary-head {
@include color('e');
}
.item-link-a {
@include color('a');
}
.nav-tool {
@include color('e');
div {
@include background-color('3');
img {
@include fill('e');
}
svg {
circle {
@include stroke('e');
}
path {
@include fill('e');
}
}
a {
@include color('e');
div {
@include color('e');
}
}
}
}
#{contains('mediainfo_mediaToolbar')} {
#{contains('mediainfo_btnHome')} {
@include theme-background-color(20);
svg path {
@include theme-fill();
}
}
#{contains('follow_btnFollow')} {
@include theme-background-color();
}
#{contains('follow_followed')} {
@include background-color('4');
}
#{contains('follow_optionsList')} {
@include background-color('3');
@include border-color('4');
}
}
#{contains('sponsor_sponsor_module')} {
@include set-color('border-bottom-color', '4');
}
#{contains('rankList_sp_msg')} {
@include border-color('4');
@include color('e');
}
#{contains('sponsor_sponsor_count')} span {
@include color('e');
}
#{contains('amountChoice_sp_pay_index')} {
#{contains('payHeader_sponsor_pay_header')} {
@include color('a');
@include background-color('2');
@include set-color('border-bottom-color', '4');
}
#{contains('amountChoice_sponsor_pay_body')} {
span,
div {
@include color('e');
input {
@include background-color('4');
@include color('e');
@include border-color('2');
&:focus {
@include theme-border-color();
}
}
a {
@include theme-color();
}
}
@include background-color('3');
}
}
#{contains('mediainfo_mediaInfo')},
#{contains('recommend_wrap')} {
@include set-color('border-top-color', '4');
}
#{contains('mediainfo_mediaRight')} {
#{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();
}
#{contains('mediainfo_media_desc')} i {
@include theme-color();
@include background-color();
}
}
#{contains('SectionSelector_SectionSelector')} {
#{contains('SectionSelector_expand')} {
background: linear-gradient(270deg, #444444 46.21%, hsla(210, 8%, 95%, 0));
}
}
#{contains('PlayingIcon_playIcon')} svg path {
@include theme-stroke();
}
#{contains('Share_boxTop')} {
@include background-color('3');
}
#{contains('Share_boxBottom')} {
@include background-color('4');
}
#{contains('WatchInfo_watch_more')} {
@include background-color('3');
@include border-color('4');
#{contains('WatchInfo_title')} {
@include color('e');
}
}
#{contains('Phone_mobile_more')} {
@include background-color('3');
@include border-color('4');
#{contains('Phone_top_wrapper')} {
canvas {
border: 5px solid #ffffff;
}
#{contains('Phone_video_title')} {
@include color('e');
}
}
#{contains('Phone_mobile_tip')} {
@include color('a');
a {
@include theme-color();
}
}
}
#{contains('short_short_review_masker')} {
#{contains('short_short_review_content')} {
@include background-color('2');
#{contains('header_review_edit_media_info')} {
h4,
p {
@include color('e');
}
}
#{contains('short_review_body_wrap')} {
@include border-color('4');
}
#{contains('short_review_footer')} {
#{contains('short_mr_long_review')} {
@include theme-color();
}
#{contains('short_active')} {
@include theme-background-color();
}
}
}
}
Loading