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") {
#{$selector} {
@mixin back-top-btn(
$btn-selector: ".back-top-btn",
$arrow-selector: ".arrow-icon"
) {
#{$btn-selector} {
@include border-color();
@include background-color("3");
.arrow-icon {
@include color("a");
@if $arrow-selector {
#{$arrow-selector} {
@include color("a");
}
}
&:hover {
@include theme-background-color();
.arrow-icon {
@include foreground-color();
@if $arrow-selector {
#{$arrow-selector} {
@include foreground-color();
}
}
}
}

View File

@ -127,7 +127,7 @@
}
}
.back-top-tools {
@include back-top-btn(".backup");
@include back-top-btn(".backup", "&");
}
.s-space {
.follow-main {
@ -654,6 +654,7 @@ html {
.fav-main {
.album-card {
.btn {
@include color("e");
@include border-color();
@include background-color("2");
}
@ -667,15 +668,18 @@ html {
}
}
.bilibili-player-popup-area {
.bilibili-player-video-popup-item {
.bilibili-player-video-popup-follow:not(.bilibili-player-video-popup-followed) {
.bilibili-player-video-popup-follow {
@include background-color("4");
&:not(.bilibili-player-video-popup-followed) {
@include theme-background-color();
}
.bilibili-player-video-popup-three {
.bilibili-player-video-popup-active svg {
@include set-theme-color("fill");
}
}
}
.bilibili-player-video-popup-active svg,
path[fill] {
@include set-theme-color("fill");
}
path[stroke] {
@include set-theme-color("stroke");
}
}
.is-max .percentage-bar {
@ -793,6 +797,9 @@ html {
@include theme-background-color();
}
}
.current {
@include theme-background-color();
}
}
}
@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,
.recommend-area-ctnr .rec-area-item,
.hover-panel-wrapper,
.van-popover .btn-box .btn.reg-btn,
.van-popper-login .btn-box .btn,
.van-popper-history .view-all,
.at-popup,
.chat-popups-section .draw-full-ctnr,