2020-01-15 13:53:17 +09:00
|
|
|
.hide {
|
|
|
|
opacity: 0 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
$otherBox-line: #cccccc;
|
|
|
|
$otherBox-bg: #ffffff;
|
|
|
|
$meBox-line: #cccccc;
|
|
|
|
$meBox-bg: #ffffff;
|
2020-01-23 15:56:24 +09:00
|
|
|
$tablet-l-width: 1024px;
|
2020-01-28 10:20:06 +09:00
|
|
|
$tablet-s-width: 768px;
|
2020-01-15 13:53:17 +09:00
|
|
|
.information-msg {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.message-row {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
margin-bottom: 20px;
|
|
|
|
.date-splitter {
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
.chat-row {
|
|
|
|
position: relative;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
margin-left: 0;
|
|
|
|
.profile-img {
|
|
|
|
flex: 0 0 auto;
|
|
|
|
&.thumbnail-mask {
|
|
|
|
border-radius: 50%;
|
2020-01-23 15:56:24 +09:00
|
|
|
width: 40px;
|
|
|
|
height: 40px;
|
2020-01-15 13:53:17 +09:00
|
|
|
overflow: hidden;
|
|
|
|
img {
|
2020-01-23 15:56:24 +09:00
|
|
|
width: 40px;
|
2020-01-15 13:53:17 +09:00
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&.me {
|
|
|
|
.chat-row {
|
|
|
|
flex-direction: row-reverse;
|
|
|
|
margin-left: 0;
|
|
|
|
margin-right: 0;
|
|
|
|
.profile-info {
|
|
|
|
flex-direction: row-reverse;
|
|
|
|
display: flex;
|
|
|
|
justify-content: flex-end;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-01-23 15:56:24 +09:00
|
|
|
.message-main-container {
|
|
|
|
display: Flex;
|
|
|
|
flex-flow: row;
|
|
|
|
margin-left: 10px;
|
2020-01-28 11:21:03 +09:00
|
|
|
width: 80%;
|
2020-01-28 10:20:06 +09:00
|
|
|
@media screen and (max-width: #{$tablet-s-width}),
|
2020-01-23 15:56:24 +09:00
|
|
|
(max-height: 600px) {
|
|
|
|
flex-flow: column;
|
2020-01-28 11:21:03 +09:00
|
|
|
max-width: 80%;
|
|
|
|
width: unset;
|
2020-01-15 13:53:17 +09:00
|
|
|
}
|
2020-01-23 15:56:24 +09:00
|
|
|
.message-main {
|
|
|
|
margin-right: 6px;
|
|
|
|
max-width: calc(100% - 60px);
|
2020-01-28 10:20:06 +09:00
|
|
|
@media screen and (max-width: #{$tablet-s-width}),
|
2020-01-23 15:56:24 +09:00
|
|
|
(max-height: 600px) {
|
|
|
|
flex-flow: column;
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
.chat-name {
|
|
|
|
font-size: 12px;
|
|
|
|
color: #333333;
|
|
|
|
margin-bottom: 6px;
|
|
|
|
}
|
|
|
|
.bubble {
|
|
|
|
border-radius: 0 10px 10px 10px;
|
|
|
|
position: relative;
|
|
|
|
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
|
|
|
|
word-break: break-all;
|
|
|
|
word-wrap: break-word;
|
|
|
|
}
|
2020-01-15 13:53:17 +09:00
|
|
|
}
|
|
|
|
.secondary-text {
|
2020-01-23 15:56:24 +09:00
|
|
|
align-self: flex-end;
|
|
|
|
font-size: 0.84em;
|
|
|
|
color: #666666;
|
|
|
|
word-wrap: break-word;
|
|
|
|
white-space: nowrap;
|
2020-01-28 10:20:06 +09:00
|
|
|
@media screen and (max-width: #{$tablet-s-width}), (max-height: 600px) {
|
2020-01-23 15:56:24 +09:00
|
|
|
flex-flow: row;
|
|
|
|
align-self: flex-start;
|
|
|
|
ul {
|
|
|
|
display: flex;
|
|
|
|
flex-flow: row-reverse;
|
|
|
|
justify-items: flex-end;
|
|
|
|
margin-top: 4px;
|
|
|
|
li {
|
|
|
|
display: inline-flex;
|
|
|
|
&.unread {
|
|
|
|
margin-left: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-01-28 10:20:06 +09:00
|
|
|
ul {
|
|
|
|
li {
|
|
|
|
&.unread {
|
|
|
|
padding: 0px 6px;
|
|
|
|
border-radius: 30px;
|
|
|
|
background-color: #888888;
|
|
|
|
color: #ffffff;
|
|
|
|
display: inline-flex;
|
|
|
|
}
|
2020-01-23 15:56:24 +09:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-01-28 10:20:06 +09:00
|
|
|
}
|
|
|
|
&.me {
|
|
|
|
.message-main-container {
|
|
|
|
display: Flex;
|
|
|
|
flex-flow: row-reverse;
|
|
|
|
margin-left: 0px;
|
|
|
|
margin-right: 10px;
|
2020-01-28 11:21:03 +09:00
|
|
|
@media screen and (max-width: #{$tablet-s-width}),
|
|
|
|
(max-height: 600px) {
|
2020-01-28 10:20:06 +09:00
|
|
|
flex-flow: column;
|
2020-01-23 15:56:24 +09:00
|
|
|
}
|
2020-01-15 13:53:17 +09:00
|
|
|
}
|
|
|
|
}
|
2020-01-28 10:20:06 +09:00
|
|
|
&.highlight {
|
|
|
|
.bubble {
|
|
|
|
color: red;
|
|
|
|
}
|
|
|
|
}
|
2020-01-15 13:53:17 +09:00
|
|
|
}
|
|
|
|
.message-row.me {
|
|
|
|
.profile-img {
|
|
|
|
display: none;
|
|
|
|
}
|
2020-01-23 15:56:24 +09:00
|
|
|
.message-main-container {
|
|
|
|
.chat-name {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.message-main {
|
2020-01-28 11:21:03 +09:00
|
|
|
display: flex;
|
|
|
|
justify-content: flex-end;
|
2020-01-23 15:56:24 +09:00
|
|
|
text-align: right;
|
|
|
|
margin-left: 6px;
|
|
|
|
margin-right: 0;
|
|
|
|
.bubble {
|
|
|
|
border-radius: 10px 10px 0 10px;
|
|
|
|
}
|
2020-01-15 13:53:17 +09:00
|
|
|
}
|
2020-01-23 15:56:24 +09:00
|
|
|
.secondary-text {
|
|
|
|
text-align: end;
|
2020-01-28 10:20:06 +09:00
|
|
|
@media screen and (max-width: #{$tablet-s-width}), (max-height: 600px) {
|
2020-01-23 15:56:24 +09:00
|
|
|
flex-flow: column;
|
|
|
|
align-self: flex-end;
|
|
|
|
}
|
2020-01-15 13:53:17 +09:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.bubble-main {
|
|
|
|
word-wrap: break-word;
|
|
|
|
white-space: pre-wrap;
|
|
|
|
word-break: break-word;
|
|
|
|
}
|
|
|
|
::ng-deep .view-previous {
|
|
|
|
display: flex;
|
|
|
|
flex-flow: column;
|
|
|
|
//background-color: rgba(0, 0, 0, 0.4);
|
|
|
|
color: #ffffff;
|
|
|
|
justify-content: center;
|
|
|
|
justify-items: center;
|
|
|
|
margin: 10px 0 20px;
|
|
|
|
button {
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
2020-01-20 18:54:24 +09:00
|
|
|
font-size: 1em;
|
2020-01-15 13:53:17 +09:00
|
|
|
line-height: 2em;
|
|
|
|
border-radius: 100px;
|
|
|
|
.mat-button-wrapper {
|
|
|
|
justify-items: center;
|
|
|
|
svg {
|
|
|
|
stroke: #ffffff;
|
|
|
|
align-self: center;
|
|
|
|
margin-right: 4px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.unRead-count {
|
|
|
|
display: flex;
|
|
|
|
justify-items: self-end;
|
|
|
|
flex-flow: row;
|
|
|
|
align-items: flex-end;
|
|
|
|
height: 20px;
|
|
|
|
margin: 10px 0;
|
|
|
|
.line {
|
|
|
|
height: 1px;
|
|
|
|
background-color: #cccccc;
|
|
|
|
width: 40%;
|
|
|
|
flex: 1 1 auto;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
display: inline-flex;
|
|
|
|
}
|
|
|
|
.count {
|
|
|
|
width: 260px;
|
|
|
|
font-size: 13px;
|
|
|
|
text-align: center;
|
|
|
|
font-weight: 600;
|
|
|
|
color: #333333;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|