fix(dark style): back top button of ranking page

This commit is contained in:
jloeve 2020-10-31 02:55:02 +08:00
parent f33a9b7163
commit bb6f1a9d34
4 changed files with 19 additions and 21 deletions

View File

@ -105,3 +105,19 @@
visibility: hidden !important;
}
}
@mixin back-top-btn {
.back-top-btn {
@include border-color();
@include background-color("3");
.arrow-icon {
@include color("a");
}
&:hover {
@include theme-background-color();
.arrow-icon {
@include foreground-color();
}
}
}
}

View File

@ -751,6 +751,7 @@ a.bp_box_bot_click {
.rank-list .rank-item:hover {
box-shadow: 0px 1px 10px 0px var(--theme-color-30) !important;
}
@include back-top-btn();
}
.popular-list .popular-tips,
.history-list .history-tips,

View File

@ -107,13 +107,6 @@
}
}
}
.back-top-btn {
@include border-color("4");
@include background-color("4");
&:hover {
@include theme-background-color();
@include theme-border-color();
}
}
@include back-top-btn();
}
}

View File

@ -882,19 +882,7 @@ $highlight-map: (
}
}
}
.back-top-btn {
@include border-color();
@include background-color("3");
.arrow-icon {
@include color("a");
}
&:hover {
@include theme-background-color();
.arrow-icon {
@include foreground-color();
}
}
}
@include back-top-btn();
}
.international-home .contact-help {
@include color("9");