Merge pull request #1281 from LonelySteve/preview

#1267 补充
This commit is contained in:
Grant Howard 2020-12-11 22:04:39 +08:00 committed by GitHub
commit 9c5d9d272e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 40 additions and 15 deletions

View File

@ -106,17 +106,24 @@
} }
} }
@mixin back-top-btn($selector: ".back-top-btn") { @mixin back-top-btn(
#{$selector} { $btn-selector: ".back-top-btn",
$arrow-selector: ".arrow-icon"
) {
#{$btn-selector} {
@include border-color(); @include border-color();
@include background-color("3"); @include background-color("3");
.arrow-icon { @if $arrow-selector {
@include color("a"); #{$arrow-selector} {
@include color("a");
}
} }
&:hover { &:hover {
@include theme-background-color(); @include theme-background-color();
.arrow-icon { @if $arrow-selector {
@include foreground-color(); #{$arrow-selector} {
@include foreground-color();
}
} }
} }
} }

View File

@ -127,7 +127,7 @@
} }
} }
.back-top-tools { .back-top-tools {
@include back-top-btn(".backup"); @include back-top-btn(".backup", "&");
} }
.s-space { .s-space {
.follow-main { .follow-main {
@ -654,6 +654,7 @@ html {
.fav-main { .fav-main {
.album-card { .album-card {
.btn { .btn {
@include color("e");
@include border-color(); @include border-color();
@include background-color("2"); @include background-color("2");
} }
@ -667,15 +668,18 @@ html {
} }
} }
.bilibili-player-popup-area { .bilibili-player-popup-area {
.bilibili-player-video-popup-item { .bilibili-player-video-popup-follow {
.bilibili-player-video-popup-follow:not(.bilibili-player-video-popup-followed) { @include background-color("4");
&:not(.bilibili-player-video-popup-followed) {
@include theme-background-color(); @include theme-background-color();
} }
.bilibili-player-video-popup-three { }
.bilibili-player-video-popup-active svg { .bilibili-player-video-popup-active svg,
@include set-theme-color("fill"); path[fill] {
} @include set-theme-color("fill");
} }
path[stroke] {
@include set-theme-color("stroke");
} }
} }
.is-max .percentage-bar { .is-max .percentage-bar {
@ -793,6 +797,9 @@ html {
@include theme-background-color(); @include theme-background-color();
} }
} }
.current {
@include theme-background-color();
}
} }
} }
@if $module == article { @if $module == article {
@ -810,3 +817,14 @@ html {
} }
} }
} }
@each $module in topic, active {
.#{$module}-list {
@include back-top-btn(".back-top", null);
}
}
.vp-container {
@include set-color("border-bottom-color", "4");
}
.bb-comment .reply-notice .notice-item {
@include theme-background-color();
}

View File

@ -991,7 +991,7 @@ $highlight-map: (
.hover-panel-wrap, .hover-panel-wrap,
.recommend-area-ctnr .rec-area-item, .recommend-area-ctnr .rec-area-item,
.hover-panel-wrapper, .hover-panel-wrapper,
.van-popover .btn-box .btn.reg-btn, .van-popper-login .btn-box .btn,
.van-popper-history .view-all, .van-popper-history .view-all,
.at-popup, .at-popup,
.chat-popups-section .draw-full-ctnr, .chat-popups-section .draw-full-ctnr,