|
|
@ -612,12 +612,16 @@ $chat-helper-size: 39px; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.selection-wrapper { |
|
|
|
.selection-wrapper, .fake-selection-wrapper { |
|
|
|
position: absolute; |
|
|
|
position: absolute; |
|
|
|
left: 50%; |
|
|
|
left: 50%; |
|
|
|
top: 0; |
|
|
|
top: 0; |
|
|
|
width: 28.75rem; |
|
|
|
|
|
|
|
transform: translateX(-50%); |
|
|
|
transform: translateX(-50%); |
|
|
|
|
|
|
|
width: 28.75rem; |
|
|
|
|
|
|
|
max-width: calc(100% - (var(--padding-horizontal) * 2)); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.selection-wrapper { |
|
|
|
border-radius: $border-radius-big; |
|
|
|
border-radius: $border-radius-big; |
|
|
|
//z-index: 2; |
|
|
|
//z-index: 2; |
|
|
|
box-shadow: none; |
|
|
|
box-shadow: none; |
|
|
@ -698,28 +702,38 @@ $chat-helper-size: 39px; |
|
|
|
visibility: hidden; |
|
|
|
visibility: hidden; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.fake-rows-wrapper { |
|
|
|
.rows-wrapper, .fake-rows-wrapper { |
|
|
|
width: calc(100% - var(--chat-input-size) - (var(--padding-horizontal) * 2) - .5625rem); |
|
|
|
.chat-input.type-pinned & { |
|
|
|
|
|
|
|
width: 17.125rem; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.chat-input.type-pinned.can-pin & { |
|
|
|
|
|
|
|
width: 13.125rem; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.fake-selection-wrapper { |
|
|
|
.fake-rows-wrapper { |
|
|
|
width: 460px; |
|
|
|
position: absolute; |
|
|
|
|
|
|
|
left: var(--padding-horizontal); |
|
|
|
|
|
|
|
top: 0; |
|
|
|
|
|
|
|
width: calc(100% - var(--chat-input-size) - (var(--padding-horizontal) * 2) - .5625rem); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.rows-wrapper { |
|
|
|
.rows-wrapper { |
|
|
|
transform: scaleX(1); |
|
|
|
transform: scaleX(1); |
|
|
|
transition: transform .2s, width .2s, max-height .2s, border-bottom-right-radius .1s; |
|
|
|
transition: transform .2s, width .2s, max-height .2s, border-radius .1s; |
|
|
|
|
|
|
|
|
|
|
|
&:after { |
|
|
|
&.is-centered { |
|
|
|
transition: transform .1s; |
|
|
|
margin: 0 auto; |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.chat-input.type-pinned & { |
|
|
|
& ~ .fake-rows-wrapper { |
|
|
|
width: 17.125rem; |
|
|
|
left: 50%; |
|
|
|
|
|
|
|
transform: translateX(-50%); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.chat-input.type-pinned.can-pin & { |
|
|
|
&:after { |
|
|
|
width: 13.125rem; |
|
|
|
transition: transform .1s; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
&.is-centering:not(.backwards), &.is-centered { |
|
|
|
&.is-centering:not(.backwards), &.is-centered { |
|
|
@ -730,10 +744,6 @@ $chat-helper-size: 39px; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/* &.is-centered, &.is-centered.is-centering:not(.backwards) { |
|
|
|
|
|
|
|
transform: translate3d(calc(((var(--messages-container-width) - var(--chat-input-padding) * 2) - 100%) / 2), 0, 0); |
|
|
|
|
|
|
|
} */ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@include respond-to(handhelds) { |
|
|
|
@include respond-to(handhelds) { |
|
|
|
--padding-vertical: .5px; |
|
|
|
--padding-vertical: .5px; |
|
|
|
--padding-horizontal: .5rem; |
|
|
|
--padding-horizontal: .5rem; |
|
|
@ -970,7 +980,7 @@ $chat-helper-size: 39px; |
|
|
|
|
|
|
|
|
|
|
|
&.is-selecting { |
|
|
|
&.is-selecting { |
|
|
|
&:not(.backwards) .is-in .bubble-content-wrapper { |
|
|
|
&:not(.backwards) .is-in .bubble-content-wrapper { |
|
|
|
transform: translateX(2.5rem); |
|
|
|
transform: scale(1) translateX(2.5rem); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// ! this animation will slow down chat input's animation due to count of elements |
|
|
|
// ! this animation will slow down chat input's animation due to count of elements |
|
|
|