|
|
|
@ -1,5 +1,5 @@
@@ -1,5 +1,5 @@
|
|
|
|
|
.chat-container { |
|
|
|
|
display: flex; |
|
|
|
|
display: flex; |
|
|
|
|
// padding: 200px; |
|
|
|
|
width: 100%; |
|
|
|
|
align-items: center; |
|
|
|
@ -43,64 +43,64 @@
@@ -43,64 +43,64 @@
|
|
|
|
|
z-index: 2; |
|
|
|
|
} */ |
|
|
|
|
|
|
|
|
|
#topbar { |
|
|
|
|
width: 100%; |
|
|
|
|
background-color: #fff; |
|
|
|
|
box-sizing: border-box; |
|
|
|
|
user-select: none; |
|
|
|
|
display: flex; |
|
|
|
|
align-items: center; |
|
|
|
|
box-shadow: 0 1px 2px 0 rgba(16, 35, 47, 0.07); |
|
|
|
|
#topbar { |
|
|
|
|
width: 100%; |
|
|
|
|
background-color: #fff; |
|
|
|
|
box-sizing: border-box; |
|
|
|
|
user-select: none; |
|
|
|
|
display: flex; |
|
|
|
|
align-items: center; |
|
|
|
|
box-shadow: 0 1px 2px 0 rgba(16, 35, 47, 0.07); |
|
|
|
|
padding: .5rem 1rem; |
|
|
|
|
flex: 0 0 auto; /* Forces side columns to stay same width */ |
|
|
|
|
min-height: 60px; |
|
|
|
|
max-height: 60px; |
|
|
|
|
|
|
|
|
|
& > * { |
|
|
|
|
margin: 0 2px; |
|
|
|
|
} |
|
|
|
|
& > * { |
|
|
|
|
margin: 0 2px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.chat-info { |
|
|
|
|
flex-grow: 1; |
|
|
|
|
} |
|
|
|
|
.chat-info { |
|
|
|
|
flex-grow: 1; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.content { |
|
|
|
|
.content { |
|
|
|
|
padding-left: 1rem; |
|
|
|
|
flex: 1; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.person { |
|
|
|
|
display: flex; |
|
|
|
|
.person { |
|
|
|
|
display: flex; |
|
|
|
|
align-items: center; |
|
|
|
|
cursor: pointer; |
|
|
|
|
|
|
|
|
|
&:hover { |
|
|
|
|
background-color: transparent; |
|
|
|
|
} |
|
|
|
|
&:hover { |
|
|
|
|
background-color: transparent; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.user-avatar { |
|
|
|
|
width: 44px; |
|
|
|
|
.user-avatar { |
|
|
|
|
width: 44px; |
|
|
|
|
height: 44px; |
|
|
|
|
line-height: 44px; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.bottom { |
|
|
|
|
font-size: 14px; |
|
|
|
|
.bottom { |
|
|
|
|
font-size: 14px; |
|
|
|
|
line-height: 18px; |
|
|
|
|
color: $placeholder-color; |
|
|
|
|
|
|
|
|
|
.online { |
|
|
|
|
color: $darkblue; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
#bubbles { |
|
|
|
|
#bubbles { |
|
|
|
|
/* overflow-y: scroll; |
|
|
|
|
scrollbar-width: none; |
|
|
|
|
-ms-overflow-style: none; */ |
|
|
|
|
width: 100%; |
|
|
|
|
width: 100%; |
|
|
|
|
height: 100%; |
|
|
|
|
max-height: 100%; |
|
|
|
|
flex: 1 1 auto; /* Lets middle column shrink/grow to available width */ |
|
|
|
@ -109,7 +109,7 @@
@@ -109,7 +109,7 @@
|
|
|
|
|
|
|
|
|
|
&:not(.scrolled-down) { |
|
|
|
|
-webkit-mask-image: -webkit-linear-gradient(bottom, transparent, #000 20px); |
|
|
|
|
mask-image: linear-gradient(0deg, transparent 0, #000 20px); |
|
|
|
|
mask-image: linear-gradient(0deg, transparent 0, #000 20px); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.preloader { |
|
|
|
@ -167,7 +167,7 @@
@@ -167,7 +167,7 @@
|
|
|
|
|
width: min-content; |
|
|
|
|
|
|
|
|
|
.box.web { |
|
|
|
|
width: max-content; |
|
|
|
|
/* width: max-content; */ // commented 10.02.2020 |
|
|
|
|
/* width: min-content; */ |
|
|
|
|
max-width: 100%; |
|
|
|
|
} |
|
|
|
@ -237,7 +237,7 @@
@@ -237,7 +237,7 @@
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
&.sticker { |
|
|
|
|
&.sticker, &.round { |
|
|
|
|
cursor: pointer; |
|
|
|
|
background: none!important; |
|
|
|
|
box-shadow: none; |
|
|
|
@ -257,6 +257,13 @@
@@ -257,6 +257,13 @@
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
&.round { |
|
|
|
|
.attachment { |
|
|
|
|
max-width: 200px; |
|
|
|
|
max-height: 200px; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.message:not(.message-empty) + .attachment, |
|
|
|
|
&.is-reply .attachment { |
|
|
|
|
border-bottom-left-radius: 0; |
|
|
|
@ -307,6 +314,14 @@
@@ -307,6 +314,14 @@
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
&.round.video { |
|
|
|
|
.attachment { |
|
|
|
|
//max-height: fit-content; |
|
|
|
|
-webkit-clip-path: ellipse(100px 100px at center); |
|
|
|
|
clip-path: ellipse(100px 100px at center); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.box { |
|
|
|
|
font-size: .95rem; |
|
|
|
|
margin: .25rem; |
|
|
|
@ -317,7 +332,7 @@
@@ -317,7 +332,7 @@
|
|
|
|
|
|
|
|
|
|
/* &:hover { |
|
|
|
|
cursor: pointer; |
|
|
|
|
} */ |
|
|
|
|
} */ |
|
|
|
|
|
|
|
|
|
&.web { |
|
|
|
|
margin-top: -5px; |
|
|
|
@ -326,8 +341,10 @@
@@ -326,8 +341,10 @@
|
|
|
|
|
overflow: hidden; |
|
|
|
|
|
|
|
|
|
.preview { |
|
|
|
|
max-height: 100%; |
|
|
|
|
max-width: 100%; |
|
|
|
|
max-height: 300px; |
|
|
|
|
max-width: 380px; |
|
|
|
|
/* max-height: 100%; |
|
|
|
|
max-width: 100%; */ |
|
|
|
|
border-radius: 4px; |
|
|
|
|
margin-bottom: 6px; |
|
|
|
|
overflow: hidden; |
|
|
|
@ -340,7 +357,7 @@
@@ -340,7 +357,7 @@
|
|
|
|
|
width: 100%; |
|
|
|
|
height: 100%; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.title { |
|
|
|
|
line-height: 1.4; |
|
|
|
@ -387,6 +404,7 @@
@@ -387,6 +404,7 @@
|
|
|
|
|
overflow: hidden; |
|
|
|
|
text-overflow: ellipsis; |
|
|
|
|
max-width: 100%; |
|
|
|
|
color: #000; |
|
|
|
|
|
|
|
|
|
* { |
|
|
|
|
overflow: hidden; |
|
|
|
@ -418,20 +436,20 @@
@@ -418,20 +436,20 @@
|
|
|
|
|
|
|
|
|
|
.time { |
|
|
|
|
font-size: .8rem; |
|
|
|
|
user-select: none; |
|
|
|
|
float: right; |
|
|
|
|
-webkit-user-select: none; |
|
|
|
|
-moz-user-select: none; |
|
|
|
|
-ms-user-select: none; |
|
|
|
|
user-select: none; |
|
|
|
|
user-select: none; |
|
|
|
|
float: right; |
|
|
|
|
-webkit-user-select: none; |
|
|
|
|
-moz-user-select: none; |
|
|
|
|
-ms-user-select: none; |
|
|
|
|
user-select: none; |
|
|
|
|
height: 20px; |
|
|
|
|
line-height: 20px; |
|
|
|
|
|
|
|
|
|
.inner { |
|
|
|
|
position: absolute; |
|
|
|
|
bottom: 0; |
|
|
|
|
right: 0; |
|
|
|
|
font-size: .75rem; |
|
|
|
|
right: 0; |
|
|
|
|
font-size: .75rem; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -484,7 +502,7 @@
@@ -484,7 +502,7 @@
|
|
|
|
|
padding-top: .2675rem; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
&:not(.sticker):not(.emoji-big):last-child:after { |
|
|
|
|
&:not(.sticker):not(.emoji-big):not(.round):last-child:after { |
|
|
|
|
position: absolute; |
|
|
|
|
bottom: -1px; |
|
|
|
|
width: 11px; |
|
|
|
@ -507,18 +525,18 @@
@@ -507,18 +525,18 @@
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.in { |
|
|
|
|
align-items: flex-start; |
|
|
|
|
align-items: flex-start; |
|
|
|
|
|
|
|
|
|
a { |
|
|
|
|
color: $darkblue; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.box:hover { |
|
|
|
|
background-color: $light; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.quote { |
|
|
|
|
border-left: 2px $darkblue solid; |
|
|
|
|
border-left: 2px $darkblue solid; |
|
|
|
|
|
|
|
|
|
.name { |
|
|
|
|
color: $darkblue; |
|
|
|
@ -528,37 +546,37 @@
@@ -528,37 +546,37 @@
|
|
|
|
|
overflow: hidden; |
|
|
|
|
text-overflow: ellipsis; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.time { |
|
|
|
|
color: rgba($darkgrey, 0.6); |
|
|
|
|
width: 2rem; |
|
|
|
|
width: 2rem; |
|
|
|
|
|
|
|
|
|
.inner { |
|
|
|
|
line-height: 19px; |
|
|
|
|
padding: 0 .35rem; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.bubble { |
|
|
|
|
background-color: #ffffff; |
|
|
|
|
border-radius: 6px 12px 12px 6px; |
|
|
|
|
border-radius: 6px 12px 12px 6px; |
|
|
|
|
|
|
|
|
|
&:first-child { |
|
|
|
|
border-radius: 12px 12px 12px 6px; |
|
|
|
|
} |
|
|
|
|
&:first-child { |
|
|
|
|
border-radius: 12px 12px 12px 6px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
&:last-child { |
|
|
|
|
&:last-child { |
|
|
|
|
border-radius: 6px 12px 12px 0px; |
|
|
|
|
|
|
|
|
|
&:after { |
|
|
|
|
left: -8.4px; |
|
|
|
|
background-image: url('../../assets/img/msg-tail-left.svg'); |
|
|
|
|
background-image: url('../../assets/img/msg-tail-left.svg'); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
&:first-child:last-child { |
|
|
|
|
border-radius: 12px 12px 12px 0px; |
|
|
|
|
&:first-child:last-child { |
|
|
|
|
border-radius: 12px 12px 12px 0px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
&.forwarded .attachment, |
|
|
|
@ -574,37 +592,37 @@
@@ -574,37 +592,37 @@
|
|
|
|
|
|
|
|
|
|
a { |
|
|
|
|
color: $darkgreen; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.box:hover { |
|
|
|
|
background-color: rgba($green, 0.12); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.quote { |
|
|
|
|
border-left: 2px $darkgreen solid; |
|
|
|
|
border-left: 2px $darkgreen solid; |
|
|
|
|
|
|
|
|
|
.name { |
|
|
|
|
color: $darkgreen; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.time { |
|
|
|
|
color: $darkgreen; |
|
|
|
|
width: 48px; |
|
|
|
|
display: inline-block; |
|
|
|
|
display: inline-block; |
|
|
|
|
|
|
|
|
|
.inner { |
|
|
|
|
display: flex; |
|
|
|
|
align-items: center; |
|
|
|
|
align-items: center; |
|
|
|
|
padding: 0 .25rem; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.bubble { |
|
|
|
|
.time .tgico:after { |
|
|
|
|
font-size: 1.1rem; |
|
|
|
|
vertical-align: middle; |
|
|
|
|
margin-left: .1rem; |
|
|
|
|
vertical-align: middle; |
|
|
|
|
margin-left: .1rem; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -618,32 +636,32 @@
@@ -618,32 +636,32 @@
|
|
|
|
|
.time .tgico:after { |
|
|
|
|
content: $tgico-checks; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.bubble.sent { |
|
|
|
|
.time .tgico:after { |
|
|
|
|
content: $tgico-check; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.bubble { |
|
|
|
|
background-color: #eeffde; |
|
|
|
|
border-radius: 12px 6px 6px 12px; |
|
|
|
|
border-radius: 12px 6px 6px 12px; |
|
|
|
|
|
|
|
|
|
&:first-child { |
|
|
|
|
border-radius: 12px 12px 6px 12px; |
|
|
|
|
} |
|
|
|
|
&:first-child { |
|
|
|
|
border-radius: 12px 12px 6px 12px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
&:last-child { |
|
|
|
|
&:last-child { |
|
|
|
|
border-radius: 12px 6px 0px 12px; |
|
|
|
|
|
|
|
|
|
&:after { |
|
|
|
|
right: -8.4px; |
|
|
|
|
background-image: url('../../assets/img/msg-tail-right.svg'); |
|
|
|
|
background-image: url('../../assets/img/msg-tail-right.svg'); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
&:first-child:last-child { |
|
|
|
|
&:first-child:last-child { |
|
|
|
|
border-radius: 12px 12px 0px 12px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -814,7 +832,7 @@
@@ -814,7 +832,7 @@
|
|
|
|
|
align-items: center; |
|
|
|
|
overflow: hidden; |
|
|
|
|
box-sizing: border-box; |
|
|
|
|
width: 150px; |
|
|
|
|
width: 187px; |
|
|
|
|
margin-right: 1rem; |
|
|
|
|
max-height: 35px; |
|
|
|
|
/* padding: .25rem; */ |
|
|
|
@ -852,20 +870,21 @@
@@ -852,20 +870,21 @@
|
|
|
|
|
|
|
|
|
|
&-subtitle { |
|
|
|
|
white-space: nowrap; |
|
|
|
|
color: #111; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/* #chat-closed { |
|
|
|
|
position: absolute; |
|
|
|
|
left: 0; |
|
|
|
|
top: 0; |
|
|
|
|
width: 100%; |
|
|
|
|
height: 100%; |
|
|
|
|
background-color: inherit; |
|
|
|
|
z-index: 3; |
|
|
|
|
display: flex; |
|
|
|
|
align-items: center; |
|
|
|
|
justify-content: center; |
|
|
|
|
left: 0; |
|
|
|
|
top: 0; |
|
|
|
|
width: 100%; |
|
|
|
|
height: 100%; |
|
|
|
|
background-color: inherit; |
|
|
|
|
z-index: 3; |
|
|
|
|
display: flex; |
|
|
|
|
align-items: center; |
|
|
|
|
justify-content: center; |
|
|
|
|
flex-direction: column; |
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -941,13 +960,13 @@
@@ -941,13 +960,13 @@
|
|
|
|
|
box-shadow: 0px 5px 10px 5px rgba(16, 35, 47, 0.14); |
|
|
|
|
border-radius: 12px; |
|
|
|
|
z-index: 2; |
|
|
|
|
/* display: none; */ |
|
|
|
|
/* display: none; */ |
|
|
|
|
display: flex; |
|
|
|
|
overflow: hidden; |
|
|
|
|
|
|
|
|
|
transition: all 0.2s ease-out; |
|
|
|
|
transform: scale(0); |
|
|
|
|
transform-origin: 0 100%; |
|
|
|
|
transform: scale(0); |
|
|
|
|
transform-origin: 0 100%; |
|
|
|
|
|
|
|
|
|
&.active { |
|
|
|
|
/* display: flex; */ |
|
|
|
|