empty화면 수정

This commit is contained in:
khk 2020-01-08 10:24:35 +09:00
parent a2686145ca
commit 0b04492309
4 changed files with 48 additions and 39 deletions

View File

@ -1,26 +1,28 @@
<div fxFlex fxLayout="column" fxLayoutAlign="center center">
<div
class="big-circle app-logo"
fxLayout="column"
fxLayoutAlign="center center"
[@animate]="{ value: '*', params: { delay: '50ms', scale: '0.2' } }"
>
<mat-icon class="s-64 s-md-128 mat-accent">chat</mat-icon>
<div class="empty-logo" fxLayoutAlign="center center" fxLayout="column">
<div
class="big-circle app-logo border-accent-color"
fxLayoutAlign="center center"
[@animate]="{ value: '*', params: { delay: '50ms', scale: '0.2' } }"
>
<!--<mat-icon class="s-64 s-md-128 mat-accent">chat</mat-icon>-->
<img src="assets/images/logo/bg_logo_w120.png" />
</div>
<span
class="app-title text-accent-darkest "
[@animate]="{ value: '*', params: { delay: '100ms', y: '25px' } }"
>
{{ getTitle() }}
</span>
<span
fxHide
fxShow.gt-md
class="app-message secondary-text"
[@animate]="{ value: '*', params: { delay: '200ms', y: '50px' } }"
>
Select a contact to start a chat!
</span>
</div>
<span
class="app-title mt-48 mb-8"
[@animate]="{ value: '*', params: { delay: '100ms', y: '25px' } }"
>
{{ getTitle() }}
</span>
<span
fxHide
fxShow.gt-md
class="app-message"
[@animate]="{ value: '*', params: { delay: '200ms', y: '50px' } }"
>
Select a contact to start a chat!
</span>
</div>

View File

@ -3,21 +3,29 @@
height: 100%;
flex: 1;
.big-circle {
border-radius: 50%;
width: 240px;
height: 240px;
line-height: 240px;
text-align: center;
border: 1px solid;
}
.empty-logo {
flex-flow: column;
transform: translateY(-100px);
.big-circle {
border-radius: 50%;
width: 200px;
height: 200px;
display: flex;
justify-content: center;
justify-items: center;
}
.app-title {
font-weight: 600;
font-size: 32px;
}
.app-title {
margin-top: 1.4em;
font-weight: 600;
font-size: 2.6em;
}
.secondary-text {
font-size: 16px;
.secondary-text {
margin-top: 1.4em;
font-size: 1.2em;
font-weight: 500;
color: #666666;
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

View File

@ -85,7 +85,6 @@
flex: 0 0 0%;
height: 40px;
margin-top: 10px;
//border: 1px solid #ffffff;
border-radius: 50px;
.mat-stroked-button {
border: none;
@ -131,7 +130,7 @@
}
.stroke-bar {
width: 1px;
width: 2px;
height: 20px;
background-color: rgba(255, 255, 255, 0.3);
margin: 0 10px;