This commit is contained in:
leejinho 2020-01-10 15:58:11 +09:00
commit 5530f769c6
8 changed files with 87 additions and 66 deletions

View File

@ -20,7 +20,7 @@
></ucap-organization-tree> ></ucap-organization-tree>
</div> </div>
<div class="select-list"> <div class="select-list">
<dl class="select-dept text-accent-color"> <dl class="select-dept">
<dt> <dt>
<ng-container *ngIf="!isShowSearch"> <ng-container *ngIf="!isShowSearch">
<ng-container <ng-container

View File

@ -41,7 +41,7 @@
<button <button
mat-icon-button mat-icon-button
aria-label="chats button" aria-label="chats button"
class="bg-warn-color chat-timer" class="responsive-chats-button chat-timer"
*ngIf="!!roomInfo && roomInfo.isTimeRoom" *ngIf="!!roomInfo && roomInfo.isTimeRoom"
> >
<mat-icon>timer</mat-icon> <mat-icon>timer</mat-icon>

View File

@ -46,6 +46,7 @@
.responsive-chats-button { .responsive-chats-button {
display: none; display: none;
line-height: normal; line-height: normal;
cursor: unset;
&:last-child { &:last-child {
display: block; display: block;
padding: 0; padding: 0;

View File

@ -103,6 +103,7 @@
.ps-content { .ps-content {
display: flex; display: flex;
flex-flow: wrap; flex-flow: wrap;
height: auto;
} }
} }
} }

View File

@ -32,6 +32,7 @@
</div> </div>
</ng-container> </ng-container>
<ng-container *ngIf="selectedFile"> <ng-container *ngIf="selectedFile">
<div class="select-filed">
<div class="select-flie"> <div class="select-flie">
<div <div
[ngClass]="[ [ngClass]="[
@ -65,6 +66,7 @@
</li> </li>
</ul> </ul>
</div> </div>
</div>
<div class="select-file-option"> <div class="select-file-option">
<span <span
matTooltip="{{ 'common.file.download' | translate }}" matTooltip="{{ 'common.file.download' | translate }}"
@ -195,7 +197,7 @@
<div class="file-name"> <div class="file-name">
{{ element.info.name }} {{ element.info.name }}
</div> </div>
<div class="download-period text-accent-color"> <div class="download-period text-accent-darkest">
<!--{{ element.info.size | ucapBytes }}--> <!--{{ element.info.size | ucapBytes }}-->
{{ element.info.sendDate | ucapDate: 'YYYY.MM.DD' }} {{ element.info.sendDate | ucapDate: 'YYYY.MM.DD' }}
<span *ngIf="loginRes.fileRetentionPeriod > 0"> <span *ngIf="loginRes.fileRetentionPeriod > 0">
@ -221,9 +223,8 @@
<th mat-header-cell *matHeaderCellDef mat-sort-header> <th mat-header-cell *matHeaderCellDef mat-sort-header>
{{ 'chat.sentDate' | translate }} {{ 'chat.sentDate' | translate }}
</th> </th>
<td mat-cell *matCellDef="let element"> <td mat-cell *matCellDef="let element" class="file-size">
<!--{{ element.info.sendDate | ucapDate: 'YYYY.MM.DD' }}--> <span>{{ element.info.size | ucapBytes }}</span>
{{ element.info.size | ucapBytes }}
</td> </td>
</ng-container> </ng-container>
<tr <tr

View File

@ -30,18 +30,24 @@
margin: 10px; margin: 10px;
border: 1px solid #cccccc; border: 1px solid #cccccc;
border-radius: 4px; border-radius: 4px;
.select-filed {
height: calc(100% - 50px);
overflow-y: auto;
.select-flie { .select-flie {
display: flex; display: flex;
flex-flow: row; flex-flow: row;
align-items: center; align-items: flex-start;
color: #212121; color: #212121;
align-items: center;
padding: 10px; padding: 10px;
border-bottom: 1px dotted #dddddd; border-bottom: 1px dotted #dddddd;
ul { ul {
padding: 0; padding: 0;
.name { .name {
font-weight: 600; font-weight: 600;
word-wrap: break-word;
white-space: pre-wrap;
word-break: break-word;
}
} }
} }
} }
@ -88,16 +94,19 @@
width: 100%; width: 100%;
position: relative; position: relative;
th.infos { th.infos {
padding: 10px; padding: 16px;
} }
tr.mat-row { tr.mat-row {
height: 70px; height: 70px;
.cdk-column-check {
width: 40px;
}
.file-info { .file-info {
padding: 16px; padding: 16px;
display: grid; display: grid;
height: 70px; height: 70px;
.file-name { .file-name {
font-weight: 600; font-weight: 500;
margin-bottom: 2px; margin-bottom: 2px;
width: 100%; width: 100%;
@include ellipsis(1); @include ellipsis(1);
@ -116,12 +125,24 @@
} }
} }
} }
.file-size {
span {
width: 100px;
text-align: right;
@include ellipsis(1);
}
}
} }
} }
.table-box { .table-box {
height: calc(100% - 440px); height: calc(100% - 440px);
overflow-y: auto; overflow-y: auto;
th {
font-size: 1.1em;
color: #333333;
} }
}
.mat-paginator-container { .mat-paginator-container {
display: flex; display: flex;
flex-flow: column; flex-flow: column;

View File

@ -253,20 +253,7 @@ $ease-in-out: cubic-bezier(0.785, 0.135, 0.15, 0.86);
} }
} }
/*.sig { ::ng-deep .login-form-box {
position: fixed;
bottom: 8px;
right: 8px;
text-decoration: none;
font-size: 12px;
font-weight: 100;
font-family: sans-serif;
color: rgba(255, 255, 255, 0.4);
letter-spacing: 2px;
z-index: 9999;
}*/
.login-form-box {
position: absolute; position: absolute;
height: 70vh; height: 70vh;
top: 15%; top: 15%;
@ -274,6 +261,16 @@ $ease-in-out: cubic-bezier(0.785, 0.135, 0.15, 0.86);
display: flex; display: flex;
justify-content: flex-end; justify-content: flex-end;
z-index: 100; z-index: 100;
.mat-form-field {
&:last-child {
margin-top: 10px;
}
.mat-form-field-infix {
input {
line-height: 1em;
}
}
}
} }
@media all and (max-width: 1400px) { @media all and (max-width: 1400px) {

View File

@ -15,7 +15,7 @@
} }
.mat-title { .mat-title {
margin: 10px 0 50px 0; margin: 10px 0 40px 0;
text-indent: -10000000px; text-indent: -10000000px;
width: 160px; width: 160px;
height: 160px; height: 160px;