-
- {{ getUserName(message.senderSeq) }}
-
-
-
-
+
+
+
+
-
-
-
-
-
-
-
-
-
-
- mass-translation
-
- notice
-
-
- translation
-
- video-conference
-
-
-
- {{ message.sentMessage }}
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
- {{ message.sendDate | date: 'a hh:mm' }}
-
-
+
+
+ {{ getUserName(message.senderSeq) }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ mass-translation
+
+ notice
+
+
+ translation
+
+ video-conference
+
+
+
+ {{ message.sentMessage }}
+
+
+
+
+
+
+
+ {{ message.sendDate | date: 'a hh:mm' }}
+
+
+
-
+
\ No newline at end of file
diff --git a/projects/ucap-webmessenger-ui-chat/src/lib/components/messages.component.scss b/projects/ucap-webmessenger-ui-chat/src/lib/components/messages.component.scss
index 4cd6b3a3..cd0c2a72 100644
--- a/projects/ucap-webmessenger-ui-chat/src/lib/components/messages.component.scss
+++ b/projects/ucap-webmessenger-ui-chat/src/lib/components/messages.component.scss
@@ -139,26 +139,34 @@ $meBox-bg: #ffffff;
padding: 30px 40px;
display: flex;
flex-direction: column;
- .message-row {
+}
+
+.message-row {
+ margin-bottom: 30px;
+ .date-splitter{
+ display:block;
+ width:100%;
+ margin-bottom:10px;
+ }
+ .chat-row{
position: relative;
display: flex;
flex-direction: row;
- &.me {
+ .profile-img {
+ flex: 0 0 auto;
+ }
+ }
+ &.me {
+ .chat-row{
flex-direction: row-reverse;
.profile-info {
flex-direction: row-reverse;
display: flex;
justify-content: flex-end;
}
- }
+ }
}
-}
-.message-row {
- margin-bottom: 30px;
- .profile-img {
- flex: 0 0 auto;
- }
.message-main {
margin-left: 20px;
margin-right: 10px;
@@ -203,6 +211,7 @@ $meBox-bg: #ffffff;
.secondary-text {
align-self: flex-end;
font-size: 11px;
+ color:#666666;
word-wrap: break-word;
white-space: nowrap;
}
diff --git a/projects/ucap-webmessenger-ui-group/src/lib/components/expansion-panel.component.scss b/projects/ucap-webmessenger-ui-group/src/lib/components/expansion-panel.component.scss
index a988bf19..48d62939 100644
--- a/projects/ucap-webmessenger-ui-group/src/lib/components/expansion-panel.component.scss
+++ b/projects/ucap-webmessenger-ui-group/src/lib/components/expansion-panel.component.scss
@@ -1,3 +1,4 @@
+@charset 'utf-8';
:host {
display: flex;
flex: 1;
@@ -7,25 +8,23 @@
flex: 1 1 auto;
width: 20px;
}
-
}
::ng-deep .groupExpansionPanel .mat-expansion-panel-body {
- padding: 0;
+ padding: 0;
}
-.mat-expansion-panel-header{
- height:40px ! important;
+.mat-expansion-panel-header {
+ height: 40px !important;
padding: 0 20px;
- .mat-expansion-panel-header-title {
- align-items: center;
- font-size: 13px;
+ .mat-expansion-panel-header-title {
+ align-items: center;
+ font-size: 13px;
}
- .mat-expansion-panel-header-description{
- margin-right:0;
+ .mat-expansion-panel-header-description {
+ margin-right: 0;
}
}
-
.mat-icon-button {
margin-right: 0;
width: inherit;
diff --git a/projects/ucap-webmessenger-ui-organization/src/lib/components/tree.component.scss b/projects/ucap-webmessenger-ui-organization/src/lib/components/tree.component.scss
index 93b42a1e..0c80d950 100644
--- a/projects/ucap-webmessenger-ui-organization/src/lib/components/tree.component.scss
+++ b/projects/ucap-webmessenger-ui-organization/src/lib/components/tree.component.scss
@@ -1,3 +1,4 @@
+@charset 'utf-8';
.organization-tree {
padding:10px;
ul,
@@ -46,8 +47,6 @@
line-height: 20px;
margin-right:10px;
.mat-icon-rtl-mirror{
- line-height: 14px;
- font-size: 14px;
border: 1px solid #dddddd;
padding: 2px;
font-size: 14px;
diff --git a/projects/ucap-webmessenger-ui-profile/src/lib/components/user-list-item.component.scss b/projects/ucap-webmessenger-ui-profile/src/lib/components/user-list-item.component.scss
index 9e009306..df53e9c6 100644
--- a/projects/ucap-webmessenger-ui-profile/src/lib/components/user-list-item.component.scss
+++ b/projects/ucap-webmessenger-ui-profile/src/lib/components/user-list-item.component.scss
@@ -1,6 +1,30 @@
@charset 'utf-8';
-@import '../../../../ucap-webmessenger-app/src/assets/scss/global/common';
+$font-dark: #212121;
+$font-mid: #666666;
+$font-light: #848d95;
+$font-white: #ffffff;
+$line-basic:1px solid #dddddd;
+$bg-list-item-msg: #f0f4f6;
+$bg-list-hover: #efefef;
+$listH-row2: 80px;
+$presence-size: 8px;
+$thumbnail-msize: 40px;
+
+@mixin ellipsis($row) {
+ overflow: hidden;
+ text-overflow: ellipsis;
+ @if $row == 1 {
+ display: block;
+ white-space: nowrap;
+ word-wrap: normal;
+ } @else if $row >= 2 {
+ display: -webkit-box;
+ -webkit-line-clamp: $row;
+ -webkit-box-orient: vertical;
+ word-wrap: break-word;
+ }
+}
%list-item {
position: relative;
@@ -11,16 +35,7 @@
border-bottom: $line-basic;
padding: 20px;
}
-%presence {
- display: inline-block;
- width: $presence-size;
- height: $presence-size;
- align-self: flex-start;
- align-items: center;
- text-indent: -10000000px;
- margin-right: 4px;
- border-radius: 100px;
-}
+
%msg-status {
display: inline-block;
height: 40px;
@@ -30,7 +45,7 @@
vertical-align: middle;
align-items: center;
@include ellipsis(2);
- @include border-radius(4px);
+ border-radius: 4px;
}
.list-item {
@@ -38,21 +53,6 @@
&:hover {
background-color: $bg-list-hover;
}
- .presence {
- @extend %presence;
- &.pcOn {
- @include presence-status(pcOn);
- }
- &.pcOut {
- @include presence-status(pcOut);
- }
- &.pcOff {
- @include presence-status(pcOff);
- }
- &.pcOther {
- @include presence-status(pcOther);
- }
- }
.mat-checkbox {
padding-left: 10px;
}
@@ -67,7 +67,7 @@
width: $thumbnail-msize;
height: $thumbnail-msize;
margin-right: 16px;
- @include border-radius(50%);
+ border-radius: 50%;
}
}
@@ -122,9 +122,15 @@
width: 100%;
}
.msg-status {
- @include visible(none);
+ display:none;
}
}
}
}
}
+
+.org{
+ .list-item{
+ height:70px;
+ }
+}
\ No newline at end of file
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 599f2ff9..453a30c0 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
@@ -1,5 +1,30 @@
@charset 'utf-8';
-@import '../../../../ucap-webmessenger-app/src/assets/scss/global/common.scss';
+$font-dark: #212121;
+$font-mid: #666666;
+$font-light: #848d95;
+$font-white: #ffffff;
+$line-basic:1px solid #dddddd;
+$bg-list-hover: #efefef;
+$color-main:#e53096;
+$listH-row2: 80px;
+$presence-size: 8px;
+$thumbnail-msize: 40px;
+
+@mixin ellipsis($row) {
+ overflow: hidden;
+ text-overflow: ellipsis;
+ @if $row == 1 {
+ display: block;
+ white-space: nowrap;
+ word-wrap: normal;
+ } @else if $row >= 2 {
+ display: -webkit-box;
+ -webkit-line-clamp: $row;
+ -webkit-box-orient: vertical;
+ word-wrap: break-word;
+ }
+}
+
.profile {
white-space: normal;
text-align: left;
@@ -9,7 +34,6 @@
padding: 16px;
font-weight: 400;
border-radius: 0;
-
.avatar-wrapper {
.avatar {
margin-right: 16px;
@@ -28,7 +52,6 @@
.profile-last-message-time {
font-size: 12px;
- margin-top: 4px;
}
.profile-mood {
@@ -61,7 +84,7 @@
width: $thumbnail-msize;
height: $thumbnail-msize;
margin-right: 16px;
- @include border-radius(100px);
+ border-radius:50%;
}
.info {
position: relative;
@@ -92,7 +115,6 @@
.room-msg {
font-size: 12px;
color: $font-mid;
- margin-top: 4px;
@include ellipsis(1);
}
}
@@ -125,7 +147,7 @@
color: #ffffff;
background-color: $color-main;
@include ellipsis(1);
- @include border-radius(100px);
+ border-radius:50%;
}
.notiBadge {
diff --git a/projects/ucap-webmessenger-ui/src/assets/scss/_ucap-ui.scss b/projects/ucap-webmessenger-ui/src/assets/scss/_ucap-ui.scss
index 8624180f..0462c56d 100644
--- a/projects/ucap-webmessenger-ui/src/assets/scss/_ucap-ui.scss
+++ b/projects/ucap-webmessenger-ui/src/assets/scss/_ucap-ui.scss
@@ -12,3 +12,5 @@
@import 'partials/icons';
@import 'partials/normalize';
@import 'partials/scrollbars';
+@import 'partials/presence.scss';
+@import 'partials/list-item';
diff --git a/projects/ucap-webmessenger-ui/src/assets/scss/partials/_list-item.scss b/projects/ucap-webmessenger-ui/src/assets/scss/partials/_list-item.scss
new file mode 100644
index 00000000..615342ce
--- /dev/null
+++ b/projects/ucap-webmessenger-ui/src/assets/scss/partials/_list-item.scss
@@ -0,0 +1,16 @@
+@charset 'utf-8';
+
+.ellipsis{
+ overflow: hidden;
+ text-overflow: ellipsis;
+ display: block;
+ white-space: nowrap;
+ word-wrap: normal;
+}
+.ellipsis2{
+ overflow: hidden;
+ text-overflow: ellipsis;
+ -webkit-line-clamp: 2;
+ -webkit-box-orient: vertical;
+ word-wrap: break-word;
+}
\ No newline at end of file
diff --git a/projects/ucap-webmessenger-ui/src/assets/scss/partials/_presence.scss b/projects/ucap-webmessenger-ui/src/assets/scss/partials/_presence.scss
new file mode 100644
index 00000000..459d967a
--- /dev/null
+++ b/projects/ucap-webmessenger-ui/src/assets/scss/partials/_presence.scss
@@ -0,0 +1,25 @@
+%presence {
+ display: inline-block;
+ width: 8px;
+ height: 8px;
+ align-self: flex-start;
+ align-items: center;
+ text-indent: -10000000px;
+ margin-right: 4px;
+ border-radius: 100px;
+}
+.presence{
+ @extend %presence;
+ &.pcOn {
+ background-color: #28ad66;
+ }
+ &.pcOut {
+ background-color: #f35b5b;
+ }
+ & .pcOff {
+ background-color: #a29f9f;
+ }
+ &.pcOther {
+ background-color: #f0c10a;
+ }
+}