수정사항반영

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,49 +18,59 @@
<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="profile"> <div class="table-item">
<span <div class="profile">
class="presence" <span
[ngClass]="getPresence(element, PresenceType.PC)" class="presence"
></span> [ngClass]="getPresence(element, PresenceType.PC)"
<span class="thumbnail-mask"> ></span>
<img <span class="thumbnail-mask">
class="thumbnail" <img
ucapImage class="thumbnail"
[base]="profileImageRoot" ucapImage
[path]="element.profileImageFile" [base]="profileImageRoot"
[default]="'assets/images/img_nophoto_50.png'" [path]="element.profileImageFile"
(click)="onClickOpenProfile($event, element.seq)" [default]="'assets/images/img_nophoto_50.png'"
/> (click)="onClickOpenProfile($event, element.seq)"
</span> />
<span </span>
*ngIf="getPresence(element, PresenceType.MOBILE) === 'mobileOn'" <span
class="text-accent-color marker-mobile-state" *ngIf="
> getPresence(element, PresenceType.MOBILE) === 'mobileOn'
<mat-icon>phone_android</mat-icon> "
</span> class="text-accent-color marker-mobile-state"
</div> >
<div> <mat-icon>phone_android</mat-icon>
<span </span>
class="work-status" </div>
[ngClass]="getWorkstatusInfo(element, 'style')" <div>
> <span
{{ getWorkstatusInfo(element, 'text') }} class="work-status"
</span> [ngClass]="getWorkstatusInfo(element, 'style')"
<span class="name"> >
{{ element.name }} {{ getWorkstatusInfo(element, 'text') }}
</span> </span>
<span class="name">
{{ element.name }}
</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,56 +67,70 @@
width: 100px; width: 100px;
div { div {
@include ellipsis(1); @include ellipsis(1);
.name {
font-size: 1em;
font-weight: 600;
}
.status {
font-size: 0.84em;
}
&.profile { &.table-item {
width: 60px; display: flex;
text-overflow: unset; width: 200px;
.presence { min-width: 200px;
transform: translateY(-30px); font-size: 1em;
} div {
.thumbnail { display: inline-flex;
cursor: pointer; height: 100%;
&-mask { align-self: center;
display: inline-block; .name {
width: 40px; @include ellipsis(1);
height: 40px; font-size: 1em;
border-radius: 50%; font-weight: 600;
overflow: hidden;
margin-right: 0;
position: relative;
img {
width: 40px;
height: auto;
background-color: #efefef;
}
} }
} .status {
.marker-mobile-state { font-size: 0.84em;
position: absolute; }
background-color: #ffffff;
width: 20px; &.profile {
height: 20px; width: 70px;
border-radius: 50%; text-overflow: unset;
bottom: 6px; flex: 0 0 auto;
left: 50px; .presence {
display: flex; transform: translateY(6px);
align-items: center; }
align-content: center; .thumbnail {
justify-content: center; cursor: pointer;
.mat-icon { &-mask {
font-size: 0.9em; display: inline-block;
width: 18px; width: 40px;
height: 18px; height: 40px;
line-height: 18px; border-radius: 50%;
min-width: 18px; overflow: hidden;
min-height: 18px; margin-right: 0;
position: relative;
img {
width: 40px;
height: auto;
background-color: #efefef;
}
}
}
.marker-mobile-state {
position: absolute;
background-color: #ffffff;
width: 20px;
height: 20px;
border-radius: 50%;
bottom: 4px;
left: 50px;
display: flex;
align-items: center;
align-content: center;
justify-content: center;
.mat-icon {
font-size: 0.9em;
width: 18px;
height: 18px;
line-height: 18px;
min-width: 18px;
min-height: 18px;
}
}
} }
} }
} }