From abfeaa4dc95ccf770e50c328890382c412609d7d Mon Sep 17 00:00:00 2001 From: Richard Park Date: Tue, 26 Nov 2019 10:43:37 +0900 Subject: [PATCH 01/10] organization is modified --- .../src/lib/components/tree.component.html | 45 ++++++---- .../src/lib/components/tree.component.scss | 22 +++-- .../src/lib/components/tree.component.ts | 89 +++++++++++++------ .../src/lib/services/splash-screen.service.ts | 2 +- 4 files changed, 107 insertions(+), 51 deletions(-) diff --git a/projects/ucap-webmessenger-ui-organization/src/lib/components/tree.component.html b/projects/ucap-webmessenger-ui-organization/src/lib/components/tree.component.html index 43b0b034..edd9a963 100644 --- a/projects/ucap-webmessenger-ui-organization/src/lib/components/tree.component.html +++ b/projects/ucap-webmessenger-ui-organization/src/lib/components/tree.component.html @@ -20,18 +20,25 @@ matTreeNodePaddingIndent="20" class="tree-no-child" > -
-
+
+
-
  • + +
  • {{ node.name }}
  • @@ -42,19 +49,25 @@ matTreeNodePaddingIndent="20" class="tree-has-child" > -
    -
    +
    +
    -
  • +
  • - +
    +
    + +
    +
    -
    - +
    +
    + +
    +
    검색결과 - + - + d="M21.44 11.05l-9.19 9.19a6 6 0 0 1-8.49-8.49l9.19-9.19a4 4 0 0 1 5.66 5.66l-9.2 9.19a2 2 0 0 1-2.83-2.83l8.49-8.48" + > {{ fileInfo.fileName }} -
    -
    \ No newline at end of file +
  • diff --git a/projects/ucap-webmessenger-ui/src/lib/components/file-viewer/document-viewer.component.html b/projects/ucap-webmessenger-ui/src/lib/components/file-viewer/document-viewer.component.html index b9df4234..1590190a 100644 --- a/projects/ucap-webmessenger-ui/src/lib/components/file-viewer/document-viewer.component.html +++ b/projects/ucap-webmessenger-ui/src/lib/components/file-viewer/document-viewer.component.html @@ -15,9 +15,15 @@ >delete - +
    +
    + +
    +
    diff --git a/projects/ucap-webmessenger-ui/src/lib/components/file-viewer/image-viewer.component.html b/projects/ucap-webmessenger-ui/src/lib/components/file-viewer/image-viewer.component.html index 343a55d6..c336f3c0 100644 --- a/projects/ucap-webmessenger-ui/src/lib/components/file-viewer/image-viewer.component.html +++ b/projects/ucap-webmessenger-ui/src/lib/components/file-viewer/image-viewer.component.html @@ -143,11 +143,17 @@ - +
    +
    + +
    +
    - +
    +
    + +
    +
    - +
    +
    + +
    +
    Date: Tue, 26 Nov 2019 14:53:51 +0900 Subject: [PATCH 08/10] count of room member is commented --- .../lib/components/list-item.component.html | 9 ++++++++ .../lib/components/list-item.component.scss | 22 +++++++++++++------ 2 files changed, 24 insertions(+), 7 deletions(-) diff --git a/projects/ucap-webmessenger-ui-room/src/lib/components/list-item.component.html b/projects/ucap-webmessenger-ui-room/src/lib/components/list-item.component.html index 615ac7eb..c05d7ce0 100644 --- a/projects/ucap-webmessenger-ui-room/src/lib/components/list-item.component.html +++ b/projects/ucap-webmessenger-ui-room/src/lib/components/list-item.component.html @@ -11,6 +11,15 @@ timer +
    diff --git a/projects/ucap-webmessenger-ui-room/src/lib/components/list-item.component.scss b/projects/ucap-webmessenger-ui-room/src/lib/components/list-item.component.scss index 7c4a947a..3c00793f 100644 --- a/projects/ucap-webmessenger-ui-room/src/lib/components/list-item.component.scss +++ b/projects/ucap-webmessenger-ui-room/src/lib/components/list-item.component.scss @@ -25,19 +25,19 @@ $thumbnail-msize: 40px; } .badge-timer { - position:absolute; + position: absolute; background-color: #ffffff; width: 18px; height: 18px; border-radius: 50%; bottom: 14px; left: 46px; - text-align:center; - .mat-icon{ - font-size:14px; - width: 18px; + text-align: center; + .mat-icon { + font-size: 14px; + width: 18px; height: 18px; - line-height:18px; + line-height: 18px; } } @@ -131,7 +131,7 @@ $thumbnail-msize: 40px; font-size: 16px; color: #666666; margin-left: 4px; - line-height:unset; + line-height: unset; } .num { font-size: 12px; @@ -158,6 +158,14 @@ $thumbnail-msize: 40px; @include ellipsis(1); } } + + .num { + font-size: 18px; + font: bold; + flex: none; + text-align: center; + background-color: rgba($color: #666666, $alpha: 0.5); + } } .list-item { From 7e91df9a5d1e1fa1a042083b57bf241b8a5eba37 Mon Sep 17 00:00:00 2001 From: Richard Park Date: Tue, 26 Nov 2019 15:08:00 +0900 Subject: [PATCH 09/10] general settings is modified --- .../src/lib/components/general.component.html | 6 ------ .../src/lib/components/general.component.scss | 2 +- .../src/lib/components/general.component.ts | 15 ++++++++++++++- 3 files changed, 15 insertions(+), 8 deletions(-) diff --git a/projects/ucap-webmessenger-ui-settings/src/lib/components/general.component.html b/projects/ucap-webmessenger-ui-settings/src/lib/components/general.component.html index ab0aea14..79b4e8de 100644 --- a/projects/ucap-webmessenger-ui-settings/src/lib/components/general.component.html +++ b/projects/ucap-webmessenger-ui-settings/src/lib/components/general.component.html @@ -32,12 +32,6 @@ - -
    - 기본값 - 어둡게 - 밝게 -
    diff --git a/projects/ucap-webmessenger-ui-settings/src/lib/components/general.component.scss b/projects/ucap-webmessenger-ui-settings/src/lib/components/general.component.scss index d42e3d64..6cbcedc7 100644 --- a/projects/ucap-webmessenger-ui-settings/src/lib/components/general.component.scss +++ b/projects/ucap-webmessenger-ui-settings/src/lib/components/general.component.scss @@ -1,7 +1,7 @@ ::ng-deep .mat-list-base { .theme-select.mat-list-item { position: relative; - height: 200px; + height: 160px; .mat-list-item-content { flex-direction: column; } diff --git a/projects/ucap-webmessenger-ui-settings/src/lib/components/general.component.ts b/projects/ucap-webmessenger-ui-settings/src/lib/components/general.component.ts index a64a5f71..7c0cab31 100644 --- a/projects/ucap-webmessenger-ui-settings/src/lib/components/general.component.ts +++ b/projects/ucap-webmessenger-ui-settings/src/lib/components/general.component.ts @@ -6,6 +6,7 @@ import { EventEmitter } from '@angular/core'; import { FormGroup, FormBuilder } from '@angular/forms'; +import { MatTabChangeEvent } from '@angular/material'; @Component({ selector: 'ucap-settings-general', @@ -25,7 +26,19 @@ export class GeneralComponent implements OnInit { ngOnInit() {} - onSelectedTabChange(theme: string) { + onSelectedTabChange(e: MatTabChangeEvent) { + let theme = 'theme-default'; + switch (e.index) { + case 0: + theme = 'theme-default'; + break; + case 1: + theme = 'theme-lgRed'; + break; + default: + break; + } + this.selectTheme.emit(theme); } From fb753bef76874a0887dfc66a5a7b4006403b0d08 Mon Sep 17 00:00:00 2001 From: khk Date: Tue, 26 Nov 2019 15:11:07 +0900 Subject: [PATCH 10/10] sound-viewer --- .../file-viewer/binary-viewer.component.scss | 2 +- .../file-viewer/sound-viewer.component.html | 101 ++++++++++-------- .../file-viewer/sound-viewer.component.scss | 88 +++++++++++---- 3 files changed, 125 insertions(+), 66 deletions(-) diff --git a/projects/ucap-webmessenger-ui/src/lib/components/file-viewer/binary-viewer.component.scss b/projects/ucap-webmessenger-ui/src/lib/components/file-viewer/binary-viewer.component.scss index 776b1d9f..cc42df30 100644 --- a/projects/ucap-webmessenger-ui/src/lib/components/file-viewer/binary-viewer.component.scss +++ b/projects/ucap-webmessenger-ui/src/lib/components/file-viewer/binary-viewer.component.scss @@ -53,7 +53,7 @@ justify-content: center; align-items: center; border:2px solid #ffffff; - background-color:rgba(256, 256, 256, 0.6); + background-color:rgba(256, 256, 256, 0.7); } .guide-msg{ font-size:16px; diff --git a/projects/ucap-webmessenger-ui/src/lib/components/file-viewer/sound-viewer.component.html b/projects/ucap-webmessenger-ui/src/lib/components/file-viewer/sound-viewer.component.html index 959d7f31..b603f572 100644 --- a/projects/ucap-webmessenger-ui/src/lib/components/file-viewer/sound-viewer.component.html +++ b/projects/ucap-webmessenger-ui/src/lib/components/file-viewer/sound-viewer.component.html @@ -5,21 +5,30 @@ +
    @@ -50,46 +59,50 @@ (loadstart)="onLoadStartAudio()" (loadeddata)="onLoadedDataAudio()" > - music_note -
    -
    - - -
    -
    -
    - {{ currentTime | ucapSecondsToMinutes }} +
    + music_note
    - - - -
    - {{ duration | ucapSecondsToMinutes }} + + +
    +
    +
    + {{ currentTime | ucapSecondsToMinutes }} +
    + + + +
    + {{ duration | ucapSecondsToMinutes }} +
    -
    +
    \ No newline at end of file diff --git a/projects/ucap-webmessenger-ui/src/lib/components/file-viewer/sound-viewer.component.scss b/projects/ucap-webmessenger-ui/src/lib/components/file-viewer/sound-viewer.component.scss index d2d0bfbf..9fb05407 100644 --- a/projects/ucap-webmessenger-ui/src/lib/components/file-viewer/sound-viewer.component.scss +++ b/projects/ucap-webmessenger-ui/src/lib/components/file-viewer/sound-viewer.component.scss @@ -4,40 +4,73 @@ .ucap-sound-viewer-header { width: 100%; - height: 50px; + height: 60px; + box-shadow: 0 3px 6px rgba(0, 0, 0, 0.6); + background-color: #333333; .ucap-sound-viewer-icon { + margin-right: 10px; } .ucap-sound-viewer-title { + font-size:16px; + } + .stroke-bar { + width: 1px; + height: 30px; + background-color: rgba(256, 256, 256, 0.3); + margin: 0 10px; + } + .ucap-sound-viewer-action { + &:hover { + opacity: 0.7; + } } } .ucap-sound-viewer-body { position: relative; - background-color: white; width: 100%; - height: 100%; - padding-bottom: 70px; + height: calc(100% - 60px); - .ucap-sound-viewer-sound-icon { - width: 100%; - height: calc(100% - 60px); - } - .ucap-sound-viewer-sound-time { - width: 100%; - height: 30px; - } - .ucap-sound-viewer-sound-controls { - width: 100%; - height: 30px; - - .ucap-sound-viewer-sound-time-current { - padding-left: 30px; + .circle-box{ + display:flex; + width:140px; + height:140px; + border-radius:50%; + justify-content: center; + align-items: center; + border:2px solid #ffffff; + background-color:rgba(256, 256, 256, 0.7); + .mat-icon{ + font-size: 100px; + height: 100px; + width: 100px; } + } - .ucap-sound-viewer-sound-time-total { - padding-right: 30px; + .ucap-sound-viewer-sound-icon{ + width: 100%; + height: calc(100% - 80px); + } + .viewer-bottom{ + background-color: #212121; + color:#ffffff; + .ucap-sound-viewer-sound-time { + width: 100%; + height: 30px; + } + .ucap-sound-viewer-sound-controls { + width: 100%; + height: 50px; + + .ucap-sound-viewer-sound-time-current { + padding-left: 30px; + } + + .ucap-sound-viewer-sound-time-total { + padding-right: 30px; + } } } } @@ -45,9 +78,22 @@ flex: 1 1 auto; } .ucap-sound-viewer-action { + .mat-icon{ + font-size: 40px; + width: 100%; + height: 100%; + line-height:40px; + } } } mat-slider { - width: 95%; + width: 94%; } + +::ng-deep .mat-slider-horizontal .mat-slider-track-background{ + background-color: #999999 !important; +} +::ng-deep .mat-slider-min-value:not(.mat-slider-thumb-label-showing) .mat-slider-thumb{ + border-color: #999999 !important; +} \ No newline at end of file