feat(electron): add more UI cases for app updater

This commit is contained in:
charlie
2021-01-22 21:04:36 +08:00
parent 5fa0295ba3
commit af0144e66d
4 changed files with 101 additions and 40 deletions

View File

@@ -2,11 +2,43 @@
&-app-updater {
min-height: 20px;
position: relative;
margin-bottom: -10px;
button.check-update {
position: absolute;
right: 0;
top: -45px;
&:disabled {
cursor: progress;
}
}
.update-state {
padding: 15px;
background-color: var(--ls-secondary-background-color);
border-radius: 4px;
> p {
margin: 0;
}
.link {
font-size: 16px;
line-height: 1em;
letter-spacing: 1px;
svg {
display: inline-block;
position: relative;
top: -1px;
margin-right: 2px;
}
&:hover {
text-decoration: underline;
}
}
}
}
}