style: modified pjax loading style

This commit is contained in:
XPoet 2021-01-11 00:10:59 +08:00
parent 8ae4e3a90b
commit 8f8e96be6e
2 changed files with 8 additions and 7 deletions

View File

@ -76,7 +76,7 @@ $scroll-bar-bg-color = darken($background-color, 10%);
$link-color = darken($default-text-color, 10%); $link-color = darken($default-text-color, 10%);
$copyright-info-color = #CC0033; $copyright-info-color = #CC0033;
$avatar-background-color = #0066CC; $avatar-background-color = #0066CC;
$pjax-progress-bar-color = linear-gradient(45deg, #ef0e18, #ff5f00, #eea40b, #1fe708, #00d6d6, #016bd7, #f300f3); $pjax-progress-bar-color = linear-gradient(45deg, #f10006, #ef5b00, #e59c01, #19ca05, #00cab5, #0264c8, #c303c3);
// ======================================================================================== // ========================================================================================

View File

@ -35,21 +35,22 @@
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
padding: 8px 8px 0 0; padding: 7px 6px 0 0;
color: var(--default-text-color); color: var(--default-text-color);
visibility: hidden; visibility: hidden;
font-size: 1.1rem;
transition(); transition();
+keep-tablet() {
padding: 6px 5px 0 0;
font-size: 1rem;
}
&.show { &.show {
transition: visibility 0.1s linear; transition: visibility 0.1s linear;
visibility: visible; visibility: visible;
} }
i {
font-size: 1.12rem;
} }
}
} }