style: log container placeholder and nav icon label style tweak

This commit is contained in:
Haishan 2018-12-28 22:38:52 +08:00
parent f342857c8c
commit 4be0aca6c1
3 changed files with 11 additions and 3 deletions

View file

@ -61,7 +61,7 @@ export default function Logs() {
<ContentHeader title="Logs" /> <ContentHeader title="Logs" />
{logs.length === 0 ? ( {logs.length === 0 ? (
<div className={s0.logPlaceholder}> <div className={s0.logPlaceholder}>
<div> <div className={s0.logPlaceholderIcon}>
<Icon id={yacd.id} width={200} height={200} /> <Icon id={yacd.id} width={200} height={200} />
</div> </div>
<div>No logs yet, hang tight...</div> <div>No logs yet, hang tight...</div>

View file

@ -71,10 +71,14 @@ $heightHeader: 76px;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
color: #2d2d30; color: #2d2d30;
opacity: 0.3;
div:nth-child(2) { div:nth-child(2) {
color: #ddd; color: var(--color-text-secondary);
font-size: 1.4em; font-size: 1.4em;
opacity: 0.6;
} }
} }
.logPlaceholderIcon {
opacity: 0.3;
}

View file

@ -66,6 +66,10 @@
.label { .label {
padding-left: 14px; padding-left: 14px;
@media (max-width: 768px) {
padding-left: 0;
padding-top: 5px;
}
} }
.themeSwitchContainer { .themeSwitchContainer {