파일 드레그 가이드 문구 레이아웃 및 최소사이즈 대화방 컨텐츠 수정(반응형)

This commit is contained in:
khk 2020-01-31 11:29:06 +09:00
parent 6657461150
commit 5ba9d7fe9c
8 changed files with 50 additions and 22 deletions

View File

@ -126,7 +126,7 @@
.file-drop-zone { .file-drop-zone {
position: absolute; position: absolute;
padding: 10px 10px 0 10px; padding: 10px;
background-color: rgb(54, 54, 54, 0.8); background-color: rgb(54, 54, 54, 0.8);
bottom: 0; bottom: 0;
width: 100%; width: 100%;

View File

@ -1,4 +1,5 @@
$tablet-s-width: 768px; $tablet-s-width: 768px;
.bubble-main { .bubble-main {
display: flex; display: flex;
flex-direction: row; flex-direction: row;

View File

@ -6,10 +6,10 @@
background-color: rgba(0, 0, 0, 0.4); background-color: rgba(0, 0, 0, 0.4);
padding: 6px 20px; padding: 6px 20px;
color: #ffffff; color: #ffffff;
border-radius: 100px; border-radius: 20px;
justify-content: center; justify-content: center;
justify-items: center; justify-items: center;
margin: 10px 0 20px; margin: 10px 0 20px;
font-size: 0.9em; font-size: 0.9em;
line-height:1.2em line-height: 1.2em;
} }

View File

@ -1,11 +1,13 @@
$tablet-s-width: 768px;
.bubble-main { .bubble-main {
display:flex; display: flex;
flex-direction: row; flex-direction: row;
padding: 14px; padding: 14px;
.file-thumbimg{ .file-thumbimg {
display:inline-flex; display: inline-flex;
img { img {
height:140px; height: 140px;
padding-right: 20px; padding-right: 20px;
background-repeat: no-repeat; background-repeat: no-repeat;
} }
@ -15,8 +17,8 @@
flex-direction: column; flex-direction: column;
text-align: left; text-align: left;
line-height: 1.6em; line-height: 1.6em;
min-width:100px; min-width: 100px;
margin-top:10px; margin-top: 10px;
.file-name { .file-name {
font-size: 14px; font-size: 14px;
font-weight: bold; font-weight: bold;
@ -41,28 +43,34 @@
width: 100%; width: 100%;
li { li {
width: 50%; width: 50%;
height:100%; height: 100%;
display: inline-block; display: inline-block;
text-align: center; text-align: center;
align-items: center; align-items: center;
font-size: 13px; font-size: 13px;
border-right: 1px solid #dddddd; border-right: 1px solid #dddddd;
@media screen and (max-width: #{$tablet-s-width}) {
width: 30%;
}
&:last-child { &:last-child {
border-right: none; border-right: none;
@media screen and (max-width: #{$tablet-s-width}) {
width: 70%;
}
} }
.mat-button { .mat-button {
width: 100%; width: 100%;
height:100%; height: 100%;
display: block; display: block;
} }
} }
&.expired{ &.expired {
li{ li {
width:100%; width: 100%;
white-space: nowrap; white-space: nowrap;
color:#999999; color: #999999;
align-items: center; align-items: center;
line-height:40px; line-height: 40px;
} }
} }
} }

View File

@ -114,5 +114,5 @@ textarea {
} }
.mat-error { .mat-error {
font-size: 0.8em; font-size: 0.84em;
} }

View File

@ -34,6 +34,8 @@ mat-icon {
border: none; border: none;
width: 20px; width: 20px;
height: 20px; height: 20px;
justify-items: center;
justify-content: center;
i { i {
font-family: 'material-outline-icons'; font-family: 'material-outline-icons';
font-size: 20px; font-size: 20px;

View File

@ -34,8 +34,11 @@
</div> </div>
</div> </div>
<div *ngIf="uploadItems" fxLayout="column"> <div *ngIf="uploadItems" fxLayout="column" class="uploadItems">
<div>{{ 'common.file.dropZoneForUpload' | translate }}</div> <div class="msg-guide">
<span class="icon-img"><i class="mid mdi-arrow-expand-all"></i></span
>{{ 'common.file.dropZoneForUpload' | translate }}
</div>
<div></div> <div></div>
</div> </div>
</div> </div>

View File

@ -38,4 +38,18 @@
padding: 6px 10px; padding: 6px 10px;
} }
} }
.uploadItems {
width: 100%;
font-size: 0.9em;
.msg-guide {
display: flex;
flex: row;
color: #ffffff;
justify-content: center;
align-items: center;
.icon-img {
margin-right: 6px;
}
}
}
} }