|
|
|
@ -263,7 +263,7 @@ $chat-helper-size: 39px;
@@ -263,7 +263,7 @@ $chat-helper-size: 39px;
|
|
|
|
|
.chat-input-container { |
|
|
|
|
--padding-horizontal: #{$chat-padding-handhelds}; |
|
|
|
|
display: flex; |
|
|
|
|
align-items: center; |
|
|
|
|
align-items: flex-end; |
|
|
|
|
justify-content: space-between; |
|
|
|
|
max-width: var(--messages-container-width); |
|
|
|
|
margin: 0 auto; |
|
|
|
@ -303,8 +303,7 @@ $chat-helper-size: 39px;
@@ -303,8 +303,7 @@ $chat-helper-size: 39px;
|
|
|
|
|
background: none; |
|
|
|
|
border: none; |
|
|
|
|
width: 100%; |
|
|
|
|
font-size: 16px; |
|
|
|
|
padding: 10px 9px; |
|
|
|
|
padding: 9px; |
|
|
|
|
/* height: 100%; */ |
|
|
|
|
max-height: 30rem; |
|
|
|
|
overflow-y: none; |
|
|
|
@ -312,12 +311,17 @@ $chat-helper-size: 39px;
@@ -312,12 +311,17 @@ $chat-helper-size: 39px;
|
|
|
|
|
border: none; |
|
|
|
|
outline: none; |
|
|
|
|
cursor: text; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
[contenteditable=true]:empty:before { |
|
|
|
|
content: attr(data-placeholder); |
|
|
|
|
color: #a2acb4; |
|
|
|
|
display: block; /* For Firefox By Ariel Flesler */ |
|
|
|
|
/* span.emoji { |
|
|
|
|
font-size: .95rem; |
|
|
|
|
} */ |
|
|
|
|
|
|
|
|
|
//[contenteditable=true]:empty:before { |
|
|
|
|
&:empty:before { |
|
|
|
|
content: attr(data-placeholder); |
|
|
|
|
color: #a2acb4; |
|
|
|
|
display: block; /* For Firefox By Ariel Flesler */ |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.toggle-emoticons { |
|
|
|
@ -352,6 +356,8 @@ $chat-helper-size: 39px;
@@ -352,6 +356,8 @@ $chat-helper-size: 39px;
|
|
|
|
|
position: absolute; |
|
|
|
|
right: var(--padding-horizontal); |
|
|
|
|
z-index: 2; |
|
|
|
|
bottom: 0; |
|
|
|
|
padding-bottom: inherit; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
#btn-send { |
|
|
|
@ -474,7 +480,9 @@ $chat-helper-size: 39px;
@@ -474,7 +480,9 @@ $chat-helper-size: 39px;
|
|
|
|
|
|
|
|
|
|
#bubbles.is-selecting ~ & { |
|
|
|
|
.new-message-wrapper { |
|
|
|
|
transition: .1s opacity; |
|
|
|
|
html:not(.is-safari) & { |
|
|
|
|
transition: .1s opacity; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.selection-container { |
|
|
|
@ -482,12 +490,18 @@ $chat-helper-size: 39px;
@@ -482,12 +490,18 @@ $chat-helper-size: 39px;
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
#btn-send { |
|
|
|
|
transition: .2s transform; |
|
|
|
|
html:not(.is-safari) & { |
|
|
|
|
transition: .2s transform; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.input-message { |
|
|
|
|
html:not(.is-safari) & { |
|
|
|
|
transition: width .2s, border-bottom-right-radius .1s, transform .2s; |
|
|
|
|
|
|
|
|
|
&:after { |
|
|
|
|
transition: transform .1s; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
html.is-safari & { |
|
|
|
@ -495,10 +509,6 @@ $chat-helper-size: 39px;
@@ -495,10 +509,6 @@ $chat-helper-size: 39px;
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
//will-change: transform; |
|
|
|
|
|
|
|
|
|
&:after { |
|
|
|
|
transition: transform .1s; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -508,7 +518,13 @@ $chat-helper-size: 39px;
@@ -508,7 +518,13 @@ $chat-helper-size: 39px;
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.selection-container { |
|
|
|
|
animation: fade-in-opacity .1s .1s forwards; |
|
|
|
|
html:not(.is-safari) & { |
|
|
|
|
animation: fade-in-opacity .1s .1s forwards; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
html.is-safari & { |
|
|
|
|
opacity: 1; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.input-message { |
|
|
|
@ -557,13 +573,20 @@ $chat-helper-size: 39px;
@@ -557,13 +573,20 @@ $chat-helper-size: 39px;
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#bubbles.is-selecting.backwards ~ & { |
|
|
|
|
.new-message-wrapper { |
|
|
|
|
transition-delay: .1s; |
|
|
|
|
html:not(.is-safari) & { |
|
|
|
|
transition-delay: .1s; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.selection-container { |
|
|
|
|
animation: fade-in-backwards-opacity .1s forwards; |
|
|
|
|
html:not(.is-safari) & { |
|
|
|
|
animation: fade-in-backwards-opacity .1s forwards; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
@ -1020,12 +1043,17 @@ $chat-helper-size: 39px;
@@ -1020,12 +1043,17 @@ $chat-helper-size: 39px;
|
|
|
|
|
margin-left: .5rem; |
|
|
|
|
min-height: 35px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
span.emoji { |
|
|
|
|
font-size: .8rem; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.new-message-wrapper { |
|
|
|
|
//padding: 4.5px 0; |
|
|
|
|
//padding-bottom: 4.5px; |
|
|
|
|
align-items: flex-end; |
|
|
|
|
overflow: hidden; |
|
|
|
|
|
|
|
|
|
.btn-icon:before { |
|
|
|
|
vertical-align: bottom; |
|
|
|
@ -1123,8 +1151,7 @@ $chat-helper-size: 39px;
@@ -1123,8 +1151,7 @@ $chat-helper-size: 39px;
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.emoji { |
|
|
|
|
font-size: 24px; |
|
|
|
|
img.emoji { |
|
|
|
|
height: 24px; |
|
|
|
|
width: 24px; |
|
|
|
|
} |
|
|
|
@ -1335,6 +1362,11 @@ $chat-helper-size: 39px;
@@ -1335,6 +1362,11 @@ $chat-helper-size: 39px;
|
|
|
|
|
|
|
|
|
|
&.is-scrolling .is-sticky { |
|
|
|
|
opacity: 0.99999; // 0.99999 сделано для сафари, т.к. без этого будет прыжок при скролле в самом низу или верху |
|
|
|
|
|
|
|
|
|
html.is-safari & { |
|
|
|
|
transform: translateY(calc(var(--translateY) * -1)); |
|
|
|
|
//transition: transform var(--layer-transition); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|