|
|
@ -101,27 +101,11 @@ $chat-helper-size: 39px; |
|
|
|
flex: 1 1 auto; |
|
|
|
flex: 1 1 auto; |
|
|
|
overflow: hidden; |
|
|
|
overflow: hidden; |
|
|
|
|
|
|
|
|
|
|
|
@include respond-to(medium-screens) { |
|
|
|
max-width: calc(100% - var(--utils-width)); |
|
|
|
body.is-right-column-shown & { |
|
|
|
|
|
|
|
max-width: calc(100% - var(--right-column-width) * 1.6); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@include respond-to(medium-screens) { |
|
|
|
@include respond-to(medium-screens) { |
|
|
|
&.is-pinned-message-shown { |
|
|
|
|
|
|
|
body.is-right-column-shown & { |
|
|
|
body.is-right-column-shown & { |
|
|
|
.chat-info { |
|
|
|
max-width: calc(100% - var(--right-column-width) - var(--utils-width)); |
|
|
|
max-width: calc(100% - var(--right-column-width) * 1.75); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
&.is-pinned-audio-shown { |
|
|
|
|
|
|
|
body.is-right-column-shown & { |
|
|
|
|
|
|
|
.chat-info { |
|
|
|
|
|
|
|
max-width: calc(100% - var(--right-column-width) * 2.25); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
@ -162,10 +146,6 @@ $chat-helper-size: 39px; |
|
|
|
padding-left: 10px; |
|
|
|
padding-left: 10px; |
|
|
|
max-width: 100%; |
|
|
|
max-width: 100%; |
|
|
|
overflow: hidden; |
|
|
|
overflow: hidden; |
|
|
|
|
|
|
|
|
|
|
|
@include respond-to(handhelds) { |
|
|
|
|
|
|
|
max-width: 208px; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.person { |
|
|
|
.person { |
|
|
@ -609,10 +589,7 @@ $chat-helper-size: 39px; |
|
|
|
cursor: pointer; |
|
|
|
cursor: pointer; |
|
|
|
font-size: 18px; |
|
|
|
font-size: 18px; |
|
|
|
line-height: 24px; |
|
|
|
line-height: 24px; |
|
|
|
white-space: nowrap; |
|
|
|
|
|
|
|
text-overflow: ellipsis; |
|
|
|
|
|
|
|
max-width: calc(100% - 1.5rem); |
|
|
|
max-width: calc(100% - 1.5rem); |
|
|
|
overflow: hidden; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* @include respond-to(handhelds) { |
|
|
|
/* @include respond-to(handhelds) { |
|
|
|
text-overflow: ellipsis; |
|
|
|
text-overflow: ellipsis; |
|
|
@ -625,7 +602,13 @@ $chat-helper-size: 39px; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.info#im-subtitle { |
|
|
|
#im-title, #im-subtitle { |
|
|
|
|
|
|
|
white-space: nowrap; |
|
|
|
|
|
|
|
text-overflow: ellipsis; |
|
|
|
|
|
|
|
overflow: hidden; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#im-subtitle { |
|
|
|
margin-top: -2px; |
|
|
|
margin-top: -2px; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -696,31 +679,6 @@ $chat-helper-size: 39px; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@include respond-to(handhelds) { |
|
|
|
|
|
|
|
.pinned-message { |
|
|
|
|
|
|
|
position: absolute !important; |
|
|
|
|
|
|
|
top: 100%; |
|
|
|
|
|
|
|
width: 100% !important; |
|
|
|
|
|
|
|
background: #fff !important; |
|
|
|
|
|
|
|
left: 0; |
|
|
|
|
|
|
|
// border-top: 1px solid #ccc; |
|
|
|
|
|
|
|
max-height: 100% !important; |
|
|
|
|
|
|
|
// height: 100%; |
|
|
|
|
|
|
|
height: 52px; |
|
|
|
|
|
|
|
padding: 1rem; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
&-subtitle { |
|
|
|
|
|
|
|
max-width: 280px; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* .pinned-message, .reply { |
|
|
|
|
|
|
|
&-subtitle { |
|
|
|
|
|
|
|
line-height: 16px !important; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} */ |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.pinned-message, .reply { |
|
|
|
.pinned-message, .reply { |
|
|
|
cursor: pointer; |
|
|
|
cursor: pointer; |
|
|
|
display: flex; |
|
|
|
display: flex; |
|
|
@ -728,10 +686,10 @@ $chat-helper-size: 39px; |
|
|
|
align-items: center; |
|
|
|
align-items: center; |
|
|
|
overflow: hidden; |
|
|
|
overflow: hidden; |
|
|
|
box-sizing: border-box; |
|
|
|
box-sizing: border-box; |
|
|
|
width: 187px; |
|
|
|
|
|
|
|
margin-right: 1rem; |
|
|
|
margin-right: 1rem; |
|
|
|
max-height: 35px; |
|
|
|
max-height: 35px; |
|
|
|
position: relative; |
|
|
|
position: relative; |
|
|
|
|
|
|
|
user-select: none; |
|
|
|
/* padding: .25rem; */ |
|
|
|
/* padding: .25rem; */ |
|
|
|
|
|
|
|
|
|
|
|
&.is-media { |
|
|
|
&.is-media { |
|
|
@ -744,10 +702,6 @@ $chat-helper-size: 39px; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
html.no-touch &:hover { |
|
|
|
|
|
|
|
background-color: var(--color-gray-hover); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
&-border { |
|
|
|
&-border { |
|
|
|
height: 2rem; |
|
|
|
height: 2rem; |
|
|
|
border-radius: 1px; |
|
|
|
border-radius: 1px; |
|
|
@ -837,12 +791,9 @@ $chat-helper-size: 39px; |
|
|
|
} */ |
|
|
|
} */ |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.pinned-message { |
|
|
|
.reply { |
|
|
|
display: none; |
|
|
|
html.no-touch &:hover { |
|
|
|
|
|
|
|
background-color: var(--color-gray-hover); |
|
|
|
&-close { |
|
|
|
|
|
|
|
visibility: visible !important; |
|
|
|
|
|
|
|
left: -3rem; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -850,6 +801,28 @@ $chat-helper-size: 39px; |
|
|
|
flex: 0 0 auto; |
|
|
|
flex: 0 0 auto; |
|
|
|
overflow: visible; |
|
|
|
overflow: visible; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
&.is-floating { |
|
|
|
|
|
|
|
position: absolute !important; |
|
|
|
|
|
|
|
top: 100%; |
|
|
|
|
|
|
|
width: 100% !important; |
|
|
|
|
|
|
|
background: #fff !important; |
|
|
|
|
|
|
|
left: 0; |
|
|
|
|
|
|
|
max-height: 100% !important; |
|
|
|
|
|
|
|
height: 52px; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.pinned-container-close { |
|
|
|
|
|
|
|
position: absolute; |
|
|
|
|
|
|
|
font-size: 1.4rem; |
|
|
|
|
|
|
|
right: 9px; |
|
|
|
|
|
|
|
display: flex; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.pinned-container-wrapper { |
|
|
|
|
|
|
|
padding: 0 1rem; |
|
|
|
|
|
|
|
height: 100%; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@include respond-to(handhelds) { |
|
|
|
@include respond-to(handhelds) { |
|
|
|
box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, .15); |
|
|
|
box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, .15); |
|
|
|
|
|
|
|
|
|
|
@ -865,27 +838,53 @@ $chat-helper-size: 39px; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
&-content { |
|
|
|
|
|
|
|
width: 100%; |
|
|
|
|
|
|
|
overflow: hidden; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
&-close, .pinned-audio-ico { |
|
|
|
&-close, .pinned-audio-ico { |
|
|
|
font-size: 1.5rem; |
|
|
|
font-size: 1.5rem; |
|
|
|
position: absolute; |
|
|
|
|
|
|
|
display: flex; |
|
|
|
display: flex; |
|
|
|
justify-content: center; |
|
|
|
justify-content: center; |
|
|
|
right: 0; |
|
|
|
z-index: 1; |
|
|
|
|
|
|
|
flex: 0 0 auto; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
&-close { |
|
|
|
&-close { |
|
|
|
visibility: hidden; |
|
|
|
display: none; |
|
|
|
//left: -3rem; |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@include respond-to(handhelds) { |
|
|
|
&-wrapper { |
|
|
|
font-size: 1.4rem; |
|
|
|
display: flex; |
|
|
|
right: 9px; |
|
|
|
flex: 1 1 auto; |
|
|
|
left: auto; |
|
|
|
overflow: hidden; |
|
|
|
visibility: visible; |
|
|
|
align-items: center; |
|
|
|
|
|
|
|
padding: .25rem; |
|
|
|
|
|
|
|
border-radius: 4px; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
html.no-touch &:hover { |
|
|
|
|
|
|
|
background-color: var(--color-gray-hover); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.pinned-message { |
|
|
|
|
|
|
|
display: none; |
|
|
|
|
|
|
|
width: auto; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
&:not(.is-floating) { |
|
|
|
|
|
|
|
.pinned-message-close { |
|
|
|
|
|
|
|
display: flex; |
|
|
|
|
|
|
|
margin-right: .75rem; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
&.is-floating .pinned-message-subtitle { |
|
|
|
|
|
|
|
max-width: 280px; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.pinned-audio { |
|
|
|
.pinned-audio { |
|
|
|
display: flex; |
|
|
|
display: flex; |
|
|
|
flex-direction: column; |
|
|
|
flex-direction: column; |
|
|
@ -893,32 +892,19 @@ $chat-helper-size: 39px; |
|
|
|
cursor: pointer; |
|
|
|
cursor: pointer; |
|
|
|
//width: 210px; |
|
|
|
//width: 210px; |
|
|
|
|
|
|
|
|
|
|
|
@include respond-to(handhelds) { |
|
|
|
&:not(.is-floating) { |
|
|
|
height: 52px; |
|
|
|
padding-right: 1.75rem; |
|
|
|
|
|
|
|
|
|
|
|
padding-left: 58px; |
|
|
|
|
|
|
|
background: #fff; |
|
|
|
|
|
|
|
width: 100%; |
|
|
|
|
|
|
|
position: absolute; |
|
|
|
|
|
|
|
left: 0; |
|
|
|
|
|
|
|
top: 100%; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@include respond-to(not-handhelds) { |
|
|
|
|
|
|
|
padding-left: 2.5rem; |
|
|
|
|
|
|
|
padding-right: 2.5rem; |
|
|
|
|
|
|
|
max-width: 210px; |
|
|
|
max-width: 210px; |
|
|
|
position: relative; |
|
|
|
position: relative; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
&.is-floating .pinned-audio-ico { |
|
|
|
|
|
|
|
margin-left: -.25rem; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
&-ico { |
|
|
|
&-ico { |
|
|
|
left: 0; |
|
|
|
|
|
|
|
right: auto !important; |
|
|
|
|
|
|
|
color: #50a2e9; |
|
|
|
color: #50a2e9; |
|
|
|
|
|
|
|
margin-right: .375rem; |
|
|
|
@include respond-to(handhelds) { |
|
|
|
|
|
|
|
margin-left: 20px; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
&:before { |
|
|
|
&:before { |
|
|
|
content: $tgico-largeplay; |
|
|
|
content: $tgico-largeplay; |
|
|
|