web/satellite: update and optimize error page (#6391)

Use 3x smaller size background image and update styles. Update button.
This commit is contained in:
Tome Boshevski 2023-10-10 18:02:27 +02:00 committed by GitHub
parent 386a978310
commit 211659b9b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 26 additions and 4 deletions

View File

@ -14,7 +14,7 @@
:label="'Go ' + (isFatal ? 'to homepage' : 'back')" :label="'Go ' + (isFatal ? 'to homepage' : 'back')"
width="auto" width="auto"
height="auto" height="auto"
border-radius="26px" border-radius="6px"
:on-press="onButtonClick" :on-press="onButtonClick"
/> />
</div> </div>
@ -96,11 +96,20 @@ onMounted(() => {
padding: 52px 24px; padding: 52px 24px;
box-sizing: border-box; box-sizing: border-box;
display: flex; display: flex;
background: url('../../static/images/errors/dotWorld.png') no-repeat center 178px;
flex-direction: column; flex-direction: column;
justify-content: center; justify-content: center;
overflow-y: auto; overflow-y: auto;
&:before {
content: '';
position: fixed;
inset: 0;
background: url('../../static/images/errors/world.svg') no-repeat center;
background-size: auto 75%;
z-index: -1;
opacity: 0.15;
}
&__logo-wrapper { &__logo-wrapper {
height: 30.89px; height: 30.89px;
display: flex; display: flex;

View File

@ -27,12 +27,24 @@
padding: 52px 24px; padding: 52px 24px;
box-sizing: border-box; box-sizing: border-box;
display: flex; display: flex;
background: url("/static/static/images/errors/dotWorld.png") no-repeat center 178px;
flex-direction: column; flex-direction: column;
justify-content: center; justify-content: center;
overflow-y: auto; overflow-y: auto;
} }
.error-area::before {
content: "";
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: url("/static/static/images/errors/world.svg") no-repeat center;
background-size: auto 75%;
z-index: -1;
opacity: 0.15;
}
.logo-wrapper { .logo-wrapper {
height: 30.89px; height: 30.89px;
display: flex; display: flex;
@ -71,7 +83,7 @@
.button { .button {
margin-top: 32px; margin-top: 32px;
padding: 16px 37.5px; padding: 16px 37.5px;
border-radius: 26px; border-radius: 6px;
background-color: #0149ff; background-color: #0149ff;
color: white; color: white;
line-height: 20px; line-height: 20px;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 198 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 66 KiB