수정사항반영

This commit is contained in:
khk 2020-01-30 19:41:37 +09:00
parent 8f7092def9
commit f54a26fb9e
10 changed files with 175 additions and 110 deletions

View File

@ -113,18 +113,19 @@
(click)="onClickReceiveAlarm()" (click)="onClickReceiveAlarm()"
aria-label="Toggle Receive Alarm" aria-label="Toggle Receive Alarm"
> >
<mat-icon <!--<mat-icon
class="amber-fg" class="amber-fg"
*ngIf="roomInfoSubject.value.receiveAlarm" *ngIf="roomInfoSubject.value.receiveAlarm"
matTooltip="{{ 'chat.notificationIsOn' | translate }}" matTooltip="{{ 'chat.notificationIsOn' | translate }}"
>notifications_active</mat-icon >notifications_active</mat-icon>-->
> <mat-icon class="icon-button" *ngIf="roomInfoSubject.value.receiveAlarm"
matTooltip="{{ 'chat.notificationIsOn' | translate }}"><i class="mid mdi-bell-ring-outline"></i></mat-icon>
<mat-icon <mat-icon
class="secondary-text" class="icon-button"
*ngIf="!roomInfoSubject.value.receiveAlarm" *ngIf="!roomInfoSubject.value.receiveAlarm"
matTooltip="{{ 'chat.notificationIsOff' | translate }}" matTooltip="{{ 'chat.notificationIsOff' | translate }}"
>notifications_off</mat-icon ><i class="mid mdi-bell-off-outline"></i></mat-icon>
>
</button> </button>
<button <button

View File

@ -93,6 +93,12 @@
.room-option { .room-option {
margin-left: auto; margin-left: auto;
margin-right: -10px; margin-right: -10px;
.icon-button {
transform: translateY(-2px);
i {
font-size: 0.9em;
}
}
} }
} }
.chat-search-frame { .chat-search-frame {

View File

@ -14,7 +14,7 @@
(mouseleave)="onMouseLeaveLeftSideContainer($event)" (mouseleave)="onMouseLeaveLeftSideContainer($event)"
></app-layout-messenger-left-side> ></app-layout-messenger-left-side>
</mat-drawer> </mat-drawer>
<div class="chat-messages"> <div class="chat-messages bg-accent-brightest">
<app-layout-messenger-intro <app-layout-messenger-intro
*ngIf="!(this.selectedChat$ | async)" *ngIf="!(this.selectedChat$ | async)"
></app-layout-messenger-intro> ></app-layout-messenger-intro>

View File

@ -224,6 +224,9 @@ $daesang-grey: (
.bg-warn-darkest { .bg-warn-darkest {
background-color: mat-color($warn, 600); background-color: mat-color($warn, 600);
} }
.text-primary-light {
color: mat-color($primary, 500);
}
.text-primary-color { .text-primary-color {
color: mat-color($primary); color: mat-color($primary);
} }

View File

@ -173,3 +173,6 @@ $tablet-l-width: 1024px;
.chat-messages-buffer { .chat-messages-buffer {
} }
} }
.translation-container {
font-size: 0.9em;
}

View File

@ -62,8 +62,11 @@
> >
{{ roomInfo.joinUserCount }}{{ 'common.units.persons' | translate }} {{ roomInfo.joinUserCount }}{{ 'common.units.persons' | translate }}
</div> </div>
<div *ngIf="!checkable && !roomInfo.receiveAlarm"> <!--<div *ngIf="!checkable && !roomInfo.receiveAlarm">
<mat-icon>notifications_off</mat-icon> <mat-icon>notifications_off</mat-icon>
</div>-->
<div class="icon-img" *ngIf="!checkable && !roomInfo.receiveAlarm">
<i class="mdi mdi-bell-off-outline text-primary-light"></i>
</div> </div>
</div> </div>
<div class="final-message"> <div class="final-message">

View File

@ -39,21 +39,21 @@ $thumbnail-msize: 40px;
} }
} }
.profile-name { &-name {
font-size: 16px; font-size: 16px;
@include ellipsis(1); @include ellipsis(1);
} }
.profile-last-message { &-last-message {
line-height: normal; line-height: normal;
margin-top: 0; margin-top: 0;
} }
.profile-last-message-time { &-last-message-time {
font-size: 12px; font-size: 12px;
} }
.profile-mood { &-mood {
line-height: normal; line-height: normal;
margin: 0; margin: 0;
} }
@ -104,6 +104,12 @@ $thumbnail-msize: 40px;
margin-left: 4px; margin-left: 4px;
line-height: unset; line-height: unset;
} }
.icon-img {
i {
font-size: 1.1em;
text-align: center;
}
}
.member { .member {
flex: none; flex: none;
margin-left: 6px; margin-left: 6px;

View File

@ -99,3 +99,20 @@ textarea {
} }
} }
} }
//label 선명도
.mat-form-field {
&.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float
.mat-form-field-label,
.mat-form-field-appearance-legacy.mat-form-field-can-float
.mat-input-server:focus
+ .mat-form-field-label-wrapper
.mat-form-field-label {
font-size: 0.7em;
transform: translateY(-1.28125em) scale(1);
}
}
.mat-error {
font-size: 0.8em;
}

View File

@ -18,10 +18,16 @@
<perfect-scrollbar class="search-scrollbar"> <perfect-scrollbar class="search-scrollbar">
<table mat-table [dataSource]="searchUserInfos"> <table mat-table [dataSource]="searchUserInfos">
<ng-container matColumnDef="profile"> <ng-container matColumnDef="profile">
<th mat-header-cell *matHeaderCellDef class="profile"> <th
mat-header-cell
*matHeaderCellDef
class="profile"
(mousedown)="resizeTable($event)"
>
{{ 'search.fieldProfile' | translate }} {{ 'search.fieldProfile' | translate }}
</th> </th>
<td mat-cell *matCellDef="let element"> <td mat-cell *matCellDef="let element">
<div class="table-item">
<div class="profile"> <div class="profile">
<span <span
class="presence" class="presence"
@ -38,7 +44,9 @@
/> />
</span> </span>
<span <span
*ngIf="getPresence(element, PresenceType.MOBILE) === 'mobileOn'" *ngIf="
getPresence(element, PresenceType.MOBILE) === 'mobileOn'
"
class="text-accent-color marker-mobile-state" class="text-accent-color marker-mobile-state"
> >
<mat-icon>phone_android</mat-icon> <mat-icon>phone_android</mat-icon>
@ -55,12 +63,14 @@
{{ element.name }} {{ element.name }}
</span> </span>
</div> </div>
</div>
</td> </td>
</ng-container> </ng-container>
<ng-container matColumnDef="grade"> <ng-container matColumnDef="grade">
<th <th
mat-header-cell mat-header-cell
*matHeaderCellDef class="grade" *matHeaderCellDef
class="grade"
(mousedown)="resizeTable($event)" (mousedown)="resizeTable($event)"
> >
{{ 'search.fieldGrade' | translate }} {{ 'search.fieldGrade' | translate }}
@ -74,7 +84,8 @@
<ng-container matColumnDef="deptName"> <ng-container matColumnDef="deptName">
<th <th
mat-header-cell mat-header-cell
*matHeaderCellDef class="deptName" *matHeaderCellDef
class="deptName"
(mousedown)="resizeTable($event)" (mousedown)="resizeTable($event)"
> >
{{ 'search.fieldDeptartment' | translate }} {{ 'search.fieldDeptartment' | translate }}
@ -88,7 +99,8 @@
<ng-container matColumnDef="companyName"> <ng-container matColumnDef="companyName">
<th <th
mat-header-cell mat-header-cell
*matHeaderCellDef class="companyName" *matHeaderCellDef
class="companyName"
(mousedown)="resizeTable($event)" (mousedown)="resizeTable($event)"
> >
{{ 'search.fieldCompany' | translate }} {{ 'search.fieldCompany' | translate }}
@ -103,7 +115,8 @@
<ng-container matColumnDef="lineNumber"> <ng-container matColumnDef="lineNumber">
<th <th
mat-header-cell mat-header-cell
*matHeaderCellDef class="lineNumber" *matHeaderCellDef
class="lineNumber"
(mousedown)="resizeTable($event)" (mousedown)="resizeTable($event)"
> >
{{ 'search.fieldOfficePhoneNumber' | translate }} {{ 'search.fieldOfficePhoneNumber' | translate }}
@ -117,7 +130,8 @@
<ng-container matColumnDef="hpNumber"> <ng-container matColumnDef="hpNumber">
<th <th
mat-header-cell mat-header-cell
*matHeaderCellDef class="hpNumber" *matHeaderCellDef
class="hpNumber"
(mousedown)="resizeTable($event)" (mousedown)="resizeTable($event)"
> >
{{ 'search.fieldHandphone' | translate }} {{ 'search.fieldHandphone' | translate }}
@ -131,7 +145,8 @@
<ng-container matColumnDef="email"> <ng-container matColumnDef="email">
<th <th
mat-header-cell mat-header-cell
*matHeaderCellDef class="email" *matHeaderCellDef
class="email"
(mousedown)="resizeTable($event)" (mousedown)="resizeTable($event)"
> >
{{ 'search.fieldEmail' | translate }} {{ 'search.fieldEmail' | translate }}
@ -145,7 +160,8 @@
<ng-container matColumnDef="responsibilities"> <ng-container matColumnDef="responsibilities">
<th <th
mat-header-cell mat-header-cell
*matHeaderCellDef class="responsibilities" *matHeaderCellDef
class="responsibilities"
(mousedown)="resizeTable($event)" (mousedown)="resizeTable($event)"
> >
{{ 'search.fieldResponsibilities' | translate }} {{ 'search.fieldResponsibilities' | translate }}
@ -159,7 +175,8 @@
<ng-container matColumnDef="workplace"> <ng-container matColumnDef="workplace">
<th <th
mat-header-cell mat-header-cell
*matHeaderCellDef class="workplace" *matHeaderCellDef
class="workplace"
(mousedown)="resizeTable($event)" (mousedown)="resizeTable($event)"
> >
{{ 'search.fieldWorkPlace' | translate }} {{ 'search.fieldWorkPlace' | translate }}

View File

@ -41,15 +41,6 @@
.mat-form-field-infix { .mat-form-field-infix {
padding-left: 26px; padding-left: 26px;
} }
&.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float
.mat-form-field-label,
.mat-form-field-appearance-legacy.mat-form-field-can-float
.mat-input-server:focus
+ .mat-form-field-label-wrapper
.mat-form-field-label {
font-size: 0.7em;
transform: translateY(-1.28125em) scale(1);
}
} }
} }
} }
@ -65,6 +56,10 @@
th { th {
@include disable-selection; @include disable-selection;
text-align: center; text-align: center;
&.profile {
width: 200px;
min-width: 200px;
}
} }
td.mat-cell { td.mat-cell {
padding: 6px; padding: 6px;
@ -72,7 +67,18 @@
width: 100px; width: 100px;
div { div {
@include ellipsis(1); @include ellipsis(1);
&.table-item {
display: flex;
width: 200px;
min-width: 200px;
font-size: 1em;
div {
display: inline-flex;
height: 100%;
align-self: center;
.name { .name {
@include ellipsis(1);
font-size: 1em; font-size: 1em;
font-weight: 600; font-weight: 600;
} }
@ -81,10 +87,11 @@
} }
&.profile { &.profile {
width: 60px; width: 70px;
text-overflow: unset; text-overflow: unset;
flex: 0 0 auto;
.presence { .presence {
transform: translateY(-30px); transform: translateY(6px);
} }
.thumbnail { .thumbnail {
cursor: pointer; cursor: pointer;
@ -109,7 +116,7 @@
width: 20px; width: 20px;
height: 20px; height: 20px;
border-radius: 50%; border-radius: 50%;
bottom: 6px; bottom: 4px;
left: 50px; left: 50px;
display: flex; display: flex;
align-items: center; align-items: center;
@ -129,6 +136,8 @@
} }
} }
} }
}
}
.work-status { .work-status {
display: inline-block; display: inline-block;