@gifyourgame/stream-chat-react
Version:
React components to create chat conversations or livestream style chat
1,816 lines (1,630 loc) • 167 kB
CSS
/* fonts */
/* colors */
/* miscellaneous */
/* fonts */
/* colors */
/* miscellaneous */
@import url("https://fonts.googleapis.com/css?family=IBM+Plex+Sans:400,400i,700,700i");
.str-chat {
box-sizing: border-box; }
.str-chat *,
.str-chat *::after,
.str-chat *::before {
box-sizing: inherit;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; }
.clearfix {
clear: both; }
.messenger-chat.str-chat {
height: 100vh;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
display: flex;
align-items: flex-start;
justify-content: flex-start;
margin: 0;
flex: 1 0 100%; }
.messenger-chat.str-chat .str-chat__container {
flex: 1;
height: 100%;
display: flex;
flex-direction: row; }
.messenger-chat.str-chat .str-chat__main-panel {
width: 100%;
flex: 1;
height: 100%;
display: flex;
flex-direction: column;
padding: 20px 20px 0 10px; }
.str-chat {
height: 100vh;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; }
.str-chat.messaging, .str-chat.commerce {
background-color: #f1f1f3; }
.str-chat.messaging.dark, .str-chat.commerce.dark {
background-color: #212326; }
.str-chat.team.dark {
background: #212326; }
.str-chat.livestream.dark {
background: #1a1a1a; }
.str-chat-channel-list {
float: left; }
.str-chat-channel {
max-height: 100vh; }
.str-chat-channel .str-chat__container {
height: 100%;
display: flex; }
.str-chat-channel .str-chat__container .str-chat__main-panel {
height: 100%;
width: 100%;
display: flex;
flex-direction: column;
flex: 1; }
.str-chat-channel.messaging .str-chat__main-panel {
padding: 20px 10px 0 0px; }
@media screen and (max-width: 960px) {
.str-chat-channel.messaging .str-chat__main-panel {
padding: 5px 5px 0; } }
.str-chat-channel.team .str-chat__container {
display: flex; }
.str-chat-channel.commerce .str-chat__main-panel {
width: 100%; }
.str-chat-channel.commerce .str-chat__container {
background: rgba(255, 255, 255, 0.97); }
.str-chat-channel.commerce.dark .str-chat__container {
background: rgba(29, 32, 36, 0.9);
box-shadow: 0 10px 31px 0 rgba(0, 0, 0, 0.5); }
.str-chat.dark .emoji-mart {
background: #1a1a1a;
border: #343434; }
.str-chat.dark .emoji-mart-category-label span {
background: #1f1f1f;
color: white; }
.str-chat.dark .emoji-mart-search input {
background: #1f1f1f;
color: white; }
.str-chat.dark .emoji-mart-search button svg {
fill: white; }
.str-chat__message-attachment-actions-form {
width: 100%;
margin: 8px 0;
padding: 0;
display: flex; }
.str-chat__message-attachment-actions-button {
flex: 1;
border: none;
background: none;
margin: 0 4px;
padding: 8px 8px;
border-radius: 100px;
outline: none; }
.str-chat__message-attachment-actions-button:focus {
border: 1px solid #006cff;
box-shadow: 0 0 0 2px rgba(0, 108, 255, 0.36); }
.str-chat__message-attachment-actions-button--primary {
background-color: #006cff;
color: white; }
.str-chat__message-attachment-actions-button--default {
border: 2px solid rgba(0, 0, 0, 0.08); }
.dark.str-chat .str-chat__message-attachment-actions-button {
color: white; }
.dark.str-chat .str-chat__message-attachment-actions-button--default {
border-color: rgba(255, 255, 255, 0.1); }
[class*=" rfu-"], [class^=rfu-] {
font-family: Avenir,Arial,Helvetica,sans-serif;
-webkit-box-sizing: border-box;
box-sizing: border-box; }
.rfu-file-icon--small.svg-inline--fa {
color: #414d54; }
.rfu-file-icon--small.fa-file-excel {
color: #207245; }
.rfu-file-icon--small.fa-file-powerpoint {
color: #cb4a32; }
.rfu-file-icon--small.fa-file-word {
color: #2c599d; }
.rfu-file-icon--small.fa-file-pdf {
color: #f82903; }
.rfu-file-previewer {
border: 1px solid rgba(0, 0, 0, 0.1);
border-radius: 4px;
overflow: hidden;
margin: 8px 0;
position: relative; }
.rfu-file-previewer ol {
position: relative;
margin: 0;
padding: 0;
list-style: none; }
.rfu-file-previewer ol li {
position: relative;
padding: 8px 16px;
border-bottom: 1px solid rgba(0, 0, 0, 0.1); }
.rfu-file-previewer ol li:last-child {
border-color: transparent; }
.rfu-file-previewer__file {
position: relative;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
cursor: pointer; }
.rfu-file-previewer__file:hover {
background: #fafafa; }
.rfu-file-previewer__file a {
-webkit-box-flex: 1;
-ms-flex: 1;
flex: 1;
margin: 0 8px;
color: #414d54;
text-decoration: none;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis; }
.rfu-file-previewer__file svg {
min-width: 25px; }
.rfu-file-previewer__file--uploading {
opacity: .4; }
.rfu-file-previewer__file--failed a {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
color: #8b9297; }
.rfu-file-previewer__file--failed a:after {
text-decoration: none; }
.rfu-file-previewer__image {
min-width: 25px;
display: -webkit-box;
display: -ms-flexbox;
display: flex; }
.rfu-file-previewer__loading-indicator {
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
z-index: 1000; }
.rfu-file-previewer__close-button {
position: relative;
z-index: 10000; }
.rfu-file-previewer__failed {
background: #ff6363; }
.rfu-file-previewer__failed, .rfu-file-previewer__retry {
padding: 3px 6px;
margin-left: 8px;
color: #fff;
border-radius: 4px;
font-size: 12px; }
.rfu-file-previewer__retry {
text-decoration: none;
background: #63e5a4; }
.rfu-file-upload-button {
cursor: pointer; }
.rfu-file-upload-button svg {
fill: #a0b2b8; }
.rfu-file-upload-button:hover svg {
fill: #88979c; }
.rfu-file-upload-button label {
cursor: pointer; }
.rfu-file-upload-button .rfu-file-input {
width: 0;
height: 0;
opacity: 0;
overflow: hidden;
position: absolute;
z-index: -1; }
.rfu-icon-button {
cursor: pointer;
position: relative;
padding: 4px;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center; }
.rfu-icon-button svg {
margin: 4px;
position: relative;
z-index: 50;
fill: #a0b2b8; }
.rfu-icon-button:hover svg {
fill: #88979c; }
.rfu-dropzone .rfu-dropzone__notifier {
position: absolute;
height: 100%;
width: 100%;
padding: 30px;
z-index: 90;
display: none;
border-radius: 4px; }
.rfu-dropzone--accept .rfu-dropzone__notifier {
background: rgba(0, 212, 106, 0.83);
display: block; }
.rfu-dropzone--reject .rfu-dropzone__notifier {
background: rgba(255, 0, 0, 0.83);
display: block; }
.rfu-dropzone__inner {
width: 100%;
height: 100%;
padding: 30px;
border: 1px dashed #fff;
border-radius: 4px;
-webkit-box-sizing: border-box;
box-sizing: border-box;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
text-align: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
color: #fff;
font-weight: 800;
font-size: 12px; }
.rfu-dropzone--reject .rfu-dropzone__inner {
display: none; }
.rfu-image-previewer {
-ms-flex-wrap: wrap;
flex-wrap: wrap;
margin: 8px 0; }
.rfu-image-previewer, .rfu-image-previewer__image {
display: -webkit-box;
display: -ms-flexbox;
display: flex; }
.rfu-image-previewer__image {
width: 100px;
height: 100px;
position: relative;
margin-right: 8px;
margin-bottom: 8px;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center; }
.rfu-image-previewer__image--loaded .rfu-thumbnail__overlay {
background: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.4)), to(transparent));
background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0, transparent); }
.rfu-image-previewer__image .rfu-thumbnail__wrapper {
position: absolute; }
.rfu-image-previewer__image .rfu-loading-indicator {
position: absolute;
z-index: 90; }
.rfu-image-previewer__retry {
z-index: 90; }
.rfu-image-upload-button {
cursor: pointer; }
.rfu-image-upload-button svg {
fill: #a0b2b8; }
.rfu-image-upload-button:hover svg {
fill: #88979c; }
.rfu-image-upload-button label {
cursor: pointer; }
.rfu-image-upload-button .rfu-image-input {
width: 0;
height: 0;
opacity: 0;
overflow: hidden;
position: absolute;
z-index: -1; }
.rfu-loading-indicator {
margin: 0 auto;
width: 70px;
text-align: center; }
.rfu-loading-indicator > div {
width: 18px;
height: 18px;
background-color: #ccc;
border-radius: 100%;
display: inline-block;
-webkit-animation: sk-bouncedelay 1.4s ease-in-out infinite both;
animation: sk-bouncedelay 1.4s ease-in-out infinite both; }
.rfu-loading-indicator .bounce1 {
-webkit-animation-delay: -.32s;
animation-delay: -.32s; }
.rfu-loading-indicator .bounce2 {
-webkit-animation-delay: -.16s;
animation-delay: -.16s; }
@-webkit-keyframes sk-bouncedelay {
0%, 80%, to {
-webkit-transform: scale(0);
transform: scale(0); }
40% {
-webkit-transform: scale(1);
transform: scale(1); } }
@keyframes sk-bouncedelay {
0%, 80%, to {
-webkit-transform: scale(0);
transform: scale(0); }
40% {
-webkit-transform: scale(1);
transform: scale(1); } }
@-webkit-keyframes spinner {
to {
-webkit-transform: rotate(1turn);
transform: rotate(1turn); } }
@keyframes spinner {
to {
-webkit-transform: rotate(1turn);
transform: rotate(1turn); } }
.rfu-loading-indicator__spinner {
width: 20px;
height: 20px;
border: 2px solid #eee;
border-top-color: #00d46a;
border-radius: 50%;
-webkit-animation: spinner .6s linear infinite;
animation: spinner .6s linear infinite; }
.rfu-thumbnail__wrapper {
width: 100px;
height: 100px;
border-radius: 4px;
overflow: hidden;
position: relative; }
.rfu-thumbnail__overlay {
position: absolute;
background-color: rgba(0, 0, 0, 0.4);
width: 100%;
height: 100%;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: start;
-ms-flex-align: start;
align-items: flex-start;
-webkit-box-pack: end;
-ms-flex-pack: end;
justify-content: flex-end;
padding: 5px; }
.rfu-thumbnail__image {
width: inherit;
height: inherit;
-o-object-fit: cover;
object-fit: cover; }
.rfu-thumbnail-placeholder {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
width: 100px;
height: 100px;
border: 1px dashed #bfbfbf;
border-radius: 4px;
cursor: pointer; }
.rfu-thumbnail-placeholder:hover {
background: #f2f2f2; }
.str-chat__actions-box {
background: #fff;
background-image: linear-gradient(-180deg, rgba(255, 255, 255, 0.02) 0%, rgba(0, 0, 0, 0.02) 100%);
box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.22), 0 1px 0 0 rgba(0, 0, 0, 0.08), 0 1px 8px 0 rgba(0, 0, 0, 0.05);
border-radius: 7px;
display: flex;
flex-direction: column;
z-index: 1000;
position: absolute;
min-width: 150px; }
.str-chat__actions-box--right {
right: 0;
top: calc(100% + 2px); }
.str-chat__actions-box--left {
left: 0;
top: calc(100% + 2px); }
.str-chat__actions-box > button {
text-align: left;
width: 100%;
border: none;
margin: 0;
padding: 10px;
font-size: 12px;
background: none;
cursor: pointer; }
.str-chat__actions-box > button:not(:last-of-type) {
box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.08); }
.str-chat__actions-box > button:hover {
color: #006cff; }
.dark.str-chat .str-chat__message-actions-box {
background: #67686a;
background-image: linear-gradient(-180deg, rgba(255, 255, 255, 0.02) 0%, rgba(0, 0, 0, 0.02) 100%);
box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.22), 0 1px 0 0 rgba(0, 0, 0, 0.08), 0 1px 8px 0 rgba(0, 0, 0, 0.05); }
.dark.str-chat .str-chat__message-actions-box button {
color: white; }
.dark.str-chat .str-chat__message-actions-box button:hover {
color: #006cff; }
.str-chat__attachment {
max-width: 450px; }
.str-chat__player-wrapper {
position: relative;
padding-top: 56.25%;
/* Player ratio: 100 / (1280 / 720) */ }
.str-chat__player-wrapper .react-player {
position: absolute;
top: 0;
left: 0; }
/* border radius for attachments */
.str-chat__message .str-chat__player-wrapper .react-player {
border-radius: 16px 16px 16px 0;
overflow: hidden; }
.str-chat__message--me .str-chat__player-wrapper .react-player {
border-radius: 16px 16px 0 16px;
overflow: hidden; }
.str-chat__message-attachment {
width: 100%;
max-width: 375px;
border-radius: 16px;
margin: 8px auto 8px 0;
padding: 0; }
.str-chat__message--me .str-chat__message-attachment {
padding-left: 0;
margin: 8px 0 8px auto; }
.str-chat__message-team.thread-list .str-chat__message-attachment {
max-width: 200px; }
.str-chat__message-attachment {
overflow: hidden; }
.str-chat__message-attachment:hover {
background: transparent; }
.str-chat__message-attachment--card--no-image {
height: 60px; }
.str-chat__message-attachment--card--actions {
height: auto; }
.str-chat__message-attachment-file {
width: 100%; }
.str-chat__message-attachment-file--item {
/* border: 3px solid #f7f7f7; */
/* border-radius: 4px; */
position: relative;
height: 50px;
display: flex;
align-items: center;
font-size: 14px;
line-height: 22px;
border-left: 1px solid rgba(0, 0, 0, 0.1);
width: auto;
padding-left: 5px; }
.str-chat__message-attachment-file--item:hover {
background: #f7f7f7; }
.str-chat__message-attachment-file--item img,
.str-chat__message-attachment-file--item svg {
margin-right: 10px; }
.str-chat__message-attachment-file--item-text {
max-width: 100%;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis; }
.str-chat__message-attachment-file--item a {
font-weight: 700;
color: black;
opacity: 0.8;
text-decoration: none;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
width: 100%; }
.str-chat__message-attachment-file--item a::after {
content: '';
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0; }
.str-chat__message-attachment-file--item span {
line-height: 14px;
font-size: 12px;
font-weight: bold;
text-transform: uppercase;
display: block;
color: black;
opacity: 0.5; }
.str-chat__message-attachment--image {
height: auto;
max-height: 300px;
max-width: 100%;
border-radius: 0; }
.str-chat__message-attachment--image:hover {
background: transparent; }
.str-chat__message-attachment--image img {
height: inherit;
width: auto;
max-height: inherit;
max-width: 100%;
display: block;
object-fit: cover;
overflow: hidden; }
.str-chat__message-attachment--image img:hover {
background: transparent; }
.str-chat__message-attachment--image--actions {
height: 320px; }
.str-chat__message-attachment--image--actions img {
height: calc(320px - 40px); }
.str-chat__message-attachment--media {
width: 300px; }
.str-chat__message-attachment-card {
min-height: 60px; }
.str-chat__message-attachment-card__giphy-logo {
height: 20px;
width: auto; }
.messaging.str-chat .str-chat__message-attachment.str-chat__message-attachment--image--actions .str-chat__message-attachment--img {
max-height: 254px; }
.livestream.str-chat .str-chat__message-attachment.str-chat__message-attachment--file {
max-width: 100%; }
.livestream.str-chat .str-chat__message-attachment.str-chat__message-attachment--file .str-chat__message-attachment-file--item {
border-left: none; }
.livestream.str-chat .str-chat__message-attachment.str-chat__message-attachment--file .str-chat__message-attachment-file--item:hover {
background: rgba(255, 255, 255, 0.29); }
.livestream.str-chat.dark .str-chat__message-attachment-file--item a,
.livestream.str-chat.dark .str-chat__message-attachment-file--item span {
color: white; }
.livestream.str-chat.dark .str-chat__message-attachment-file--item:hover {
background: transparent; }
.str-chat__message-attachment-card {
position: relative;
background: white;
border-radius: 16px 16px 16px 0;
overflow: hidden;
font-size: 13px;
border: 1px solid rgba(0, 0, 0, 0.08);
margin: 32px 0 0 0; }
.str-chat__message-attachment-card--header {
width: 100%;
height: 175px; }
.str-chat__message-attachment-card--header img {
width: inherit;
height: inherit;
object-fit: cover; }
.str-chat__message-attachment-card--title {
font-weight: 700;
flex: 1; }
.str-chat__message-attachment-card--flex {
min-width: 0px; }
.str-chat__message-attachment-card--flex,
.str-chat__message-attachment-card--flex > * {
overflow: hidden;
text-overflow: ellipsis; }
.str-chat__message-attachment-card--content {
padding: 8px 16px;
margin: -8px 0;
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between; }
.str-chat__message-attachment-card--content > * {
margin: 8px 0; }
.str-chat__message-attachment-card--url {
text-decoration: none;
display: block;
color: black;
text-transform: uppercase;
opacity: 0.5; }
.str-chat__message-attachment-card--url::after {
content: '';
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0; }
.str-chat__message-attachment-card--giphy .str-chat__message-attachment-card--header {
height: unset; }
.str-chat.commerce .str-chat__message-attachment-card {
max-width: 375px;
width: 100%; }
.str-chat__message--me .str-chat__message-attachment-card {
background: rgba(0, 0, 0, 0.08);
border: 1px solid transparent;
border-radius: 16px 16px 0 16px; }
.dark.str-chat .str-chat__message-attachment-card__giphy-logo {
filter: invert(100%); }
.str-chat__header {
display: flex;
padding: 10px;
border-bottom: 1px solid rgba(0, 0, 0, 0.08); }
.str-chat__header-thread {
display: flex;
padding: 10px;
min-height: 70px;
align-items: center;
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
background: #fff;
box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.07);
font-size: 14px; }
.str-chat__header-thread__back-button {
padding: 10px 10px 10px 10px;
border: 0;
background: none;
transform: rotate(180deg); }
.str-chat__header-livestream {
padding: 10px 40px;
min-height: 70px;
display: flex;
align-items: center;
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
background: #fff;
/* box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.07); */
box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.14); }
.str-chat__header-livestream-left {
font-size: 14px;
flex: 1; }
.str-chat__header-livestream-left--title {
font-weight: 700;
margin: 0; }
.str-chat__header-livestream-left--members {
font-weight: 400;
margin: 0; }
.str-chat__header-livestream-left--livelabel {
position: relative;
left: 5px;
font-size: 13px;
text-transform: uppercase;
color: red;
display: inline-block;
animation: pulse 2s infinite; }
.str-chat__header-livestream-left--livelabel::before {
content: '';
position: relative;
top: -2px;
left: -4px;
display: inline-block;
width: 5px;
height: 5px;
border-radius: 100%;
background-color: red; }
@keyframes pulse {
0% {
opacity: 0.5; }
50% {
opacity: 1; }
100% {
opacity: 0.5; } }
.str-chat__header-livestream-right {
display: flex;
margin: 0 -5px; }
.str-chat__header-livestream-right-button-wrapper {
position: relative; }
.str-chat__header .str-chat__avatar {
margin: 0 16px 0 0; }
.str-chat__title {
font-weight: 600; }
.str-chat__meta {
width: 100%;
display: flex;
flex-direction: column;
justify-content: space-between; }
.str-chat__info {
width: 100%;
display: flex;
justify-content: space-between;
font-size: 14px;
color: rgba(0, 0, 0, 0.4); }
.str-chat__square-button {
border: 1px solid rgba(0, 0, 0, 0.1);
border-radius: 3px;
width: 30px;
height: 30px;
margin: 0 5px;
display: flex;
align-items: center;
justify-content: center; }
.str-chat__square-button svg {
fill: rgba(0, 0, 0, 0.8); }
.str-chat__square-button:active {
background-color: rgba(0, 0, 0, 0.1); }
.dark.str-chat .str-chat__square-button {
background: rgba(255, 255, 255, 0.07);
box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.69);
border-radius: 3px; }
.dark.str-chat .str-chat__square-button svg {
fill: rgba(255, 255, 255, 0.7); }
.messaging.str-chat .str-chat__header-livestream {
position: relative;
z-index: 1;
border-radius: 10px 10px 0 0;
background: rgba(255, 255, 255, 0.9);
box-shadow: none;
box-shadow: 0 7px 9px 0 rgba(0, 0, 0, 0.03), 0 1px 0 0 rgba(0, 0, 0, 0.03); }
@media screen and (max-width: 960px) {
.messaging.str-chat .str-chat__header-livestream {
padding-left: 20px;
padding-right: 20px; } }
.messaging.str-chat.dark .str-chat__header-livestream {
background: rgba(46, 48, 51, 0.98);
box-shadow: 0 7px 9px 0 rgba(0, 0, 0, 0.03), 0 1px 0 0 rgba(0, 0, 0, 0.03);
border-radius: 10px 10px 0 0;
color: white; }
.livestream.str-chat .str-chat__header-livestream {
position: relative;
z-index: 1;
background: rgba(255, 255, 255, 0.29);
box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1); }
.livestream.str-chat.dark .str-chat__header-livestream {
background: rgba(255, 255, 255, 0.03);
box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.34); }
.livestream.str-chat.dark .str-chat__header-livestream-left--title, .livestream.str-chat.dark .str-chat__header-livestream-left--members {
color: white; }
.livestream.str-chat.dark .str-chat__header-livestream-left--title {
font-size: 15px; }
.commerce.str-chat .str-chat__header-livestream {
background: rgba(255, 255, 255, 0.81);
box-shadow: 0 7px 9px 0 rgba(0, 0, 0, 0.03), 0 1px 0 0 rgba(0, 0, 0, 0.03);
border-radius: 10px 10px 0 0;
padding: 25px; }
.commerce.str-chat .str-chat__header-livestream-left--title {
font-size: 25px;
margin: 0;
line-height: 1;
font-weight: 400; }
.commerce.str-chat .str-chat__header-livestream-left--subtitle {
margin: 8px 0;
font-size: 15px; }
.commerce.str-chat .str-chat__header-livestream-left--members {
display: none; }
.commerce.str-chat .str-chat__header-livestream-right-button--info {
display: none; }
.commerce.str-chat.dark .str-chat__header-livestream {
background: rgba(44, 47, 51, 0.81);
box-shadow: 0 7px 9px 0 rgba(0, 0, 0, 0.03), 0 1px 0 0 rgba(0, 0, 0, 0.03);
border-radius: 10px 10px 0 0;
color: white; }
.team.str-chat.dark .str-chat__header-livestream {
background: rgba(38, 40, 43, 0.9);
box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.26); }
.team.str-chat.dark .str-chat__header-livestream-left {
color: white; }
.team.str-chat.dark .str-chat__header-livestream-left--title {
font-size: 18px; }
.team.str-chat.dark .str-chat__header-livestream-left--members {
font-size: 13px; }
.str-chat__header-hamburger {
width: 30px;
height: 40px;
padding: 10px 10px 10px 0px;
margin-right: 10px;
display: none;
flex-direction: column;
justify-content: space-around;
cursor: pointer; }
.str-chat__header-hamburger:hover .str-chat__header-hamburger--line {
background: #006cff; }
@media screen and (max-width: 960px) {
.str-chat__header-hamburger {
display: flex; } }
.str-chat__header-hamburger--line {
width: 100%;
height: 2px;
background: #bcd8ff;
border-radius: 2px; }
.str-chat__avatar {
width: 32px;
height: 32px;
flex: 0 0 32px;
margin-right: 14px;
display: flex;
align-items: center;
justify-content: center;
color: white;
text-transform: uppercase;
overflow: hidden; }
.str-chat__avatar--circle {
border-radius: 50%; }
.str-chat__avatar--rounded {
border-radius: 6px; }
.str-chat__avatar--square {
border-radius: 0; }
.str-chat__avatar-image, .str-chat__avatar-fallback {
display: block;
width: inherit;
height: inherit;
object-fit: cover;
text-align: center; }
.str-chat__avatar-image--loaded {
background-color: none; }
.str-chat__avatar-fallback {
background-color: #006cff; }
.str-chat__message--me > .str-chat__avatar {
order: 1;
margin: 0;
margin-left: 10px; }
.str-chat__li--top .str-chat__message > .str-chat__avatar, .str-chat__li--middle .str-chat__message > .str-chat__avatar {
visibility: hidden; }
.str-chat__channel-list {
/* min-height: 667px; */
flex: 1;
overflow-y: auto;
max-width: 300px;
background: #f2f3f5;
box-shadow: 1px 0 0 0 rgba(0, 0, 0, 0.07);
display: flex;
flex-direction: column; }
.str-chat__channel-list--channels {
flex: 1; }
.str-chat__channel-list .channel_preview {
padding: 8px 16px;
border-bottom: 1px solid rgba(0, 0, 0, 0.08); }
.str-chat__button {
background: #fff;
box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.12), 0 1px 4px 0 rgba(0, 0, 0, 0.09);
font-size: 14px;
padding: 14px 70px;
color: #006cff;
display: flex;
align-items: center;
justify-content: center;
width: calc(100% - 10px);
margin: 5px;
border: 1px solid transparent; }
.str-chat__button:active, .str-chat__button:focus {
outline: none;
box-shadow: 0 0 1px 0 rgba(0, 0, 0, 0.12), 0 1px 4px 0 rgba(0, 0, 0, 0.09), 0 0 0 2px rgba(0, 108, 255, 0.36);
border: 1px solid #006cff; }
.str-chat__button > * {
margin: 0 5px; }
.str-chat__button--round {
border-radius: 100px; }
.str-chat-channel-checkbox {
position: absolute;
top: 0;
right: 0;
z-index: 100001; }
.str-chat-channel-list-burger {
width: 10px;
height: 50px;
background: white;
border-radius: 0 4px 4px 0;
padding: 3px;
box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.09);
position: fixed;
top: 10px;
left: 0;
z-index: 10000;
justify-content: center;
cursor: pointer; }
.str-chat-channel-list-burger div {
width: 4px;
height: 100%;
border-radius: 3px;
background: rgba(0, 0, 0, 0.08); }
@media screen and (max-width: 960px) {
.str-chat-channel-list-burger {
display: flex; }
.str-chat-channel-list.messaging, .str-chat-channel-list.team, .str-chat-channel-list.commerce {
position: fixed;
left: -380px;
top: 0;
z-index: 1001;
min-height: 100vh;
overflow-y: auto;
box-shadow: 7px 0 9px 0 rgba(0, 0, 0, 0.03), 1px 0 0 0 rgba(0, 0, 0, 0.03);
transition: left 200ms ease-in-out; }
.str-chat-channel-list--open.messaging, .str-chat-channel-list--open.team, .str-chat-channel-list--open.commerce {
left: 0px; } }
.str-chat-channel-list .str-chat__channel-list-messenger {
padding: 0; }
.str-chat-channel-list .str-chat__channel-list-messenger__main {
padding: 20px 10px 0 10px;
height: 100%;
overflow-y: auto; }
.str-chat__channel-list-team {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
display: flex;
height: 100%;
overflow-y: auto; }
.str-chat__channel-list-team__sidebar {
display: flex;
flex-direction: column;
width: 70px;
padding: 45px 10px 10px;
background: #dedfe2; }
.str-chat__channel-list-team__sidebar--top {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
margin: -10px 0; }
.str-chat__channel-list-team__sidebar--top > * {
margin: 10px 0; }
.str-chat__channel-list-team__sidebar--bottom {
flex: 1;
display: flex;
align-items: center;
justify-content: center; }
.str-chat__channel-list-team__send-button, .str-chat__channel-list-team__search-button {
background: none;
margin: none;
border: none; }
.str-chat__channel-list-team__main {
min-width: 230px;
background: #f1f1f3; }
.str-chat__channel-list-team__header {
padding: 15px 15px 15px 20px;
max-height: 70px;
display: flex;
align-items: center;
background: rgba(255, 255, 255, 0.01);
box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.14);
font-size: 14px;
color: #000;
letter-spacing: 0;
position: relative; }
.str-chat__channel-list-team__header--title {
font-weight: 700;
text-transform: capitalize; }
.str-chat__channel-list-team__header--status {
position: relative;
padding: 0 0 0 10px; }
.str-chat__channel-list-team__header--status::before {
position: absolute;
top: 5px;
left: 0;
content: ' ';
width: 6px;
height: 6px;
border-radius: 10px; }
.str-chat__channel-list-team__header--status.watcher_count::before {
background: #28ca42; }
.str-chat__channel-list-team__header--status.busy::before {
background: #28ca42; }
.str-chat__channel-list-team__header--status.away::before {
background: #28ca42; }
.str-chat__channel-list-team__header--left {
width: 40px; }
.str-chat__channel-list-team__header--middle {
flex: 1;
margin-left: 15px; }
.str-chat__channel-list-team__header--button {
margin: 0;
padding: 15px 5px;
border: 0;
background: none; }
.messenger-chat.str-chat .str-chat__channel-list-team {
padding: 0 0 0 10px; }
.messenger-chat.str-chat .str-chat__channel-list-team__header {
background: none;
box-shadow: none; }
.messenger-chat.str-chat .str-chat__channel-list-team__main {
background: none; }
.dark.str-chat .str-chat__channel-list-team {
background: #1d1f22; }
.dark.str-chat .str-chat__channel-list-team__header--title {
color: white; }
.dark.str-chat .str-chat__channel-list-team__sidebar {
background: rgba(0, 0, 0, 0.2); }
.dark.str-chat .str-chat__channel-list-team__main {
background: none; }
.str-chat__channel-list-messenger {
padding: 20px 10px 0 10px;
min-width: 300px;
height: 100%; }
.str-chat__down {
display: flex;
height: 100%; }
.str-chat__down-main {
flex: 1;
padding: 30px; }
.dark.str-chat .str-chat__down {
color: rgba(255, 255, 255, 0.87); }
.str-chat__channel-preview button {
position: relative;
border: none;
background: none;
display: flex;
flex-direction: row;
align-items: center;
width: 100%;
padding: 10px 40px 10px 10px;
font-size: 13px;
border-bottom: 1px solid rgba(0, 0, 0, 0.08);
outline: 0;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis; }
.str-chat__channel-preview button:focus {
background: white;
box-shadow: inset 0 0 0 1px #006cff, inset 0 0 0 2px rgba(0, 108, 255, 0.36); }
.str-chat__channel-preview-info {
display: flex;
flex-direction: column;
text-align: left;
padding: 0 10px;
max-width: 250px; }
.str-chat__channel-preview-avatar {
width: 32px;
height: 32px;
flex: 0 0 32px;
border-radius: 18px; }
.str-chat__channel-preview-title {
color: black;
display: block;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis; }
.str-chat__channel-preview-unread-count {
position: absolute;
right: 10px;
width: 22px;
height: 22px;
color: black;
font-size: 12px;
background: lightgray;
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
align-self: center; }
.str-chat__channel-preview-last-message {
color: gray;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 120px; }
.str-chat__channel-preview--active {
background: #006cff;
color: white; }
.str-chat__channel-preview--active .str-chat__channel-preview-title {
color: white; }
.str-chat__channel-preview--active .str-chat__channel-preview-last-message {
color: rgba(255, 255, 255, 0.69); }
.str-chat__channel-preview--unread {
position: relative; }
.str-chat__channel-preview--unread .str-chat__channel-preview-last-message {
font-weight: 700;
color: black; }
.str-chat__channel-preview--dot {
width: 5px;
height: 5px;
position: absolute;
border-radius: 50%;
left: 2px;
background-color: magenta; }
.str-chat__channel-preview-compact {
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
display: flex;
font-size: 14px;
letter-spacing: 0;
line-height: 40px;
color: black;
position: relative;
border: none;
background: none;
flex-direction: row;
align-items: center;
width: 100%;
padding: 0 40px 0 10px;
border-bottom: 1px solid rgba(0, 0, 0, 0.08);
text-align: left;
outline: 0; }
.str-chat__channel-preview-compact:focus {
background: white;
box-shadow: inset 0 0 0 1px #006cff, inset 0 0 0 2px rgba(0, 108, 255, 0.36); }
.str-chat__channel-preview-compact--left {
width: 22px;
height: 22px; }
.str-chat__channel-preview-compact--right {
flex: 1;
margin-left: 11px; }
.str-chat__channel-preview-compact--unread {
font-weight: 700; }
.str-chat__channel-preview-compact--active {
color: white;
background: #004ab3; }
.str-chat__channel-preview-messenger {
display: flex;
width: 100%;
border: none;
padding: 10px;
align-items: center;
background: rgba(255, 255, 255, 0);
box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.07);
text-align: left;
margin: 5px 0; }
.str-chat__channel-preview-messenger--active {
border: none;
border-radius: 9px;
background: rgba(255, 255, 255, 0.9);
box-shadow: none;
box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.07); }
.str-chat__channel-preview-messenger--last-message {
font-size: 13px;
line-height: 14px;
opacity: 0.5; }
.str-chat__channel-preview-messenger--name {
font-size: 14px;
line-height: 17px;
font-weight: 600;
margin-bottom: 2px;
max-width: 250px; }
.str-chat__channel-preview-messenger--name span {
display: block;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis; }
.str-chat__channel-preview-messenger--unread .str-chat__channel-preview-messenger--last-message {
opacity: 1;
font-weight: 600; }
.dark.str-chat .str-chat__channel-preview--active {
background: #132d50; }
.dark.str-chat .str-chat__channel-preview-title {
color: white; }
.dark.str-chat .str-chat__channel-preview button:focus {
background: #132d50;
box-shadow: inset 0 0 0 1px #006cff, inset 0 0 0 2px rgba(0, 108, 255, 0.36); }
.dark.str-chat .str-chat__channel-preview-messenger--active {
background: rgba(255, 255, 255, 0.06);
box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.07); }
.dark.str-chat .str-chat__channel-preview-messenger--last-message {
color: rgba(255, 255, 255, 0.5); }
.dark.str-chat .str-chat__channel-preview-messenger--name {
color: white; }
.str-chat__date-separator {
display: flex;
margin: 40px;
align-items: center; }
.str-chat__date-separator-date {
font-size: 14px;
font-weight: 700;
color: rgba(0, 0, 0, 0.7);
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; }
.str-chat__date-separator-line {
flex: 1;
background-color: rgba(0, 0, 0, 0.1);
height: 1px;
border: none; }
.str-chat__date-separator > *:not(:last-child) {
margin-right: 20px; }
.commerce.str-chat .str-chat__date-separator {
margin: 40px 0; }
.dark.str-chat .str-chat__date-separator-line {
background-color: rgba(255, 255, 255, 0.1); }
.dark.str-chat .str-chat__date-separator-date {
color: rgba(255, 255, 255, 0.7); }
.dark.str-chat.team .str-chat__date-separator-line {
background-color: rgba(0, 0, 0, 0.4); }
.str-chat__channel-search {
margin: 10px;
margin-bottom: 30px;
display: flex;
align-items: center; }
.str-chat__channel-search input {
flex: 1;
background: rgba(0, 0, 0, 0.05);
margin-right: 20px;
border: 1px solid transparent;
outline: none;
height: 30px;
border-radius: 15px;
color: black;
font-size: 14px;
padding: 0 10px; }
.str-chat__channel-search input::placeholder {
color: gray; }
.str-chat__channel-search input:focus {
background: white;
border: 1px solid #006cff;
box-shadow: 0 0 0 2px rgba(0, 108, 255, 0.36); }
.str-chat__channel-search button {
margin: 0;
padding: 0 0 0 0;
display: flex;
align-items: center;
justify-content: center;
background: #fff;
border: none;
width: 40px;
height: 40px;
border-radius: 100%;
box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.12), 0 1px 4px 0 rgba(0, 0, 0, 0.09);
cursor: pointer;
outline: 0; }
.str-chat__channel-search button:focus {
background: white;
border: 1px solid #006cff;
box-shadow: 0 0 0 2px rgba(0, 108, 255, 0.36); }
.str-chat__channel-search button svg {
fill: #006cff;
transform: translateX(2px); }
.dark.str-chat .str-chat__channel-search input {
background: rgba(255, 255, 255, 0.04);
color: white; }
.dark.str-chat .str-chat__channel-search button {
background: #006cff; }
.dark.str-chat .str-chat__channel-search button svg {
fill: white; }
.str-chat__edit-message-form {
width: 100%; }
.str-chat__edit-message-form form {
position: relative;
width: 100%; }
.str-chat__edit-message-form textarea {
padding: 7px;
background: #fff;
box-shadow: inset 0 0 0 1px #006cff;
border: 1px solid transparent;
resize: none;
border-radius: 5px;
width: 100%;
font-size: 15px;
line-height: 22px;
/* color: $fontColor; */ }
.str-chat__edit-message-form textarea:focus {
box-shadow: inset 0 0 0 1px #006cff, 0 0 0 2px rgba(0, 108, 255, 0.36);
outline: 0; }
.str-chat__edit-message-form button {
background: none;
border: none;
/* font-size: $fontSize; */
font-weight: 700;
color: rgba(0, 0, 0, 0.4); }
.str-chat__edit-message-form button[type='submit'] {
color: #006cff; }
.str-chat__edit-message-form .rfu-dropzone {
width: 100%; }
.str-chat__edit-message-form .rfu-file-upload-button,
.str-chat__edit-message-form .str-chat__input-emojiselect,
.str-chat__edit-message-form .str-chat__input-fileupload {
position: unset;
top: unset;
right: unset;
left: unset; }
.str-chat__edit-message-form .rfu-file-upload-button svg,
.str-chat__edit-message-form .str-chat__input-emojiselect svg,
.str-chat__edit-message-form .str-chat__input-fileupload svg {
fill: black;
opacity: 0.5; }
.str-chat__edit-message-form .rfu-file-upload-button:hover svg,
.str-chat__edit-message-form .str-chat__input-emojiselect:hover svg,
.str-chat__edit-message-form .str-chat__input-fileupload:hover svg {
opacity: 1; }
.str-chat__edit-message-form-options {
display: flex; }
.str-chat.dark .str-chat__edit-message-form .rfu-file-upload-button svg,
.str-chat.dark .str-chat__edit-message-form .str-chat__input-emojiselect svg {
fill: white; }
.str-chat.dark .str-chat__edit-message-form button {
color: rgba(255, 255, 255, 0.4); }
.str-chat.dark .str-chat__edit-message-form button[type='submit'] {
color: #006cff; }
.str-chat.dark .str-chat__edit-message-form textarea {
background: rgba(255, 255, 255, 0.05);
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.21);
border: 2px solid transparent;
border-radius: 6px;
color: white; }
.str-chat.dark .str-chat__edit-message-form textarea:focus {
box-shadow: inset 0 0 0 1px #006cff;
border: 2px solid rgba(0, 108, 255, 0.36);
border-radius: 6px; }
.str-chat.messaging .str-chat__event-component__channel-event {
display: flex;
margin-top: 20px; }
.str-chat.messaging .str-chat__event-component__channel-event__content {
margin-right: 10px;
color: rgba(0, 0, 0, 0.5);
font-size: 15px; }
.str-chat.messaging .str-chat__event-component__channel-event__date {
font-size: 11px;
margin-top: 4px; }
.str-chat.team .str-chat__event-component__channel-event {
display: flex;
margin: 20px 40px; }
.str-chat.team .str-chat__event-component__channel-event__content {
margin-right: 10px;
color: rgba(0, 0, 0, 0.5);
font-size: 15px; }
.str-chat.team .str-chat__event-component__channel-event__date {
font-size: 11px;
margin-top: 4px; }
.str-chat.commerce .str-chat__event-component__channel-event,
.str-chat.livestream .str-chat__event-component__channel-event {
display: none; }
.str-chat__audio__wrapper {
height: 80px;
overflow: hidden;
position: relative;
border-radius: 6px;
margin: 0;
display: flex;
background: #f1f1f1; }
.str-chat__audio__image {
height: 80px;
width: 80px;
position: relative;
z-index: 20; }
.str-chat__audio__image--overlay {
width: inherit;
height: inherit;
position: absolute;
top: 0;
left: 0;
background: rgba(0, 0, 0, 0.4);
z-index: 30;
font-size: 3em;
color: rgba(255, 255, 255, 0.69);
display: flex;
align-items: center;
justify-content: center;
user-select: none; }
.str-chat__audio__image--button {
margin: 0;
padding: 0;
display: flex;
align-items: center;
width: 40px;
height: 40px; }
.str-chat__audio__image--button svg {
fill: rgba(255, 255, 255, 0.69); }
.str-chat__audio__image img {
z-index: 20;
position: absolute;
top: 0;
left: 0;
width: inherit;
height: inherit;
object-fit: cover; }
.str-chat__audio__content {
display: flex;
flex-direction: column;
justify-content: space-around;
padding: 8px 16px;
margin-left: 16px;
width: 100%; }
.str-chat__audio__content--title {
margin: 0;
padding: 0;
line-height: 1; }
.str-chat__audio__content--subtitle {
margin: 0;
padding: 0;
line-height: 1;
font-size: 12px;
opacity: 0.49; }
.str-chat__audio__content--progress {
height: 6px;
width: 100%;
border-radius: 4px;
background: rgba(0, 0, 0, 0.1);
padding: 1px;
margin: 2px 0; }
.str-chat__audio__content--progress > div {
height: 4px;
border-radius: 4px;
width: 0%;
background: #006cff;
transition: width 0.5s linear; }
.str-chat.dark .str-chat__audio__wrapper {
background: #1a1a1a;
color: white; }
.str-chat.dark .str-chat__audio__content--progress {
background: rgba(255, 255, 255, 0.1); }
.str-chat__gallery {
display: inline-flex;
flex-wrap: wrap;
justify-content: flex-end;
overflow: hidden; }
.str-chat__gallery-image {
/* flex: 1; x */
width: 150px;
height: 150px;
background: white;
margin-bottom: 1px;
margin-right: 1px; }
.str-chat__gallery-image:hover {
cursor: -moz-zoom-in;
cursor: -webkit-zoom-in;
cursor: zoom-in; }
.str-chat__gallery-image img {
width: inherit;
height: inherit;
object-fit: cover; }
.str-chat__gallery--square {
max-width: 301px; }
.str-chat__gallery--square .str-chat__gallery-image:nth-child(even) {
margin-right: 0; }
.livestream.str-chat .str-chat__gallery,
.messaging.str-chat .str-chat__gallery,
.commerce.str-chat .str-chat__gallery,
.team.str-chat .str-chat__gallery {
margin: 5px 0; }
.livestream.str-chat .str-chat__gallery-image,
.messaging.str-chat .str-chat__gallery-image,
.commerce.str-chat .str-chat__gallery-image,
.team.str-chat .str-chat__gallery-image {
width: 150px;
height: 150px; }
.livestream.str-chat .str-chat__gallery-placeholder,
.messaging.str-chat .str-chat__gallery-placeholder,
.commerce.str-chat .str-chat__gallery-placeholder,
.team.str-chat .str-chat__gallery-placeholder {
position: relative;
width: 150px;
height: 150px;
color: white;
display: flex;
align-items: center;
justify-content: center;
background-size: cover;
background-position: top left;
background-repeat: no-repeat;
cursor: -moz-zoom-in;
cursor: -webkit-zoom-in;
cursor: zoom-in; }
.livestream.str-chat .str-chat__gallery-placeholder p,
.messaging.str-chat .str-chat__gallery-placeholder p,
.commerce.str-chat .str-chat__gallery-placeholder p,
.team.str-chat .str-chat__gallery-placeholder p {
position: relative;
z-index: 1; }
.livestream.str-chat .str-chat__gallery-placeholder:after,
.messaging.str-chat .str-chat__gallery-placeholder:after,
.commerce.str-chat .str-chat__gallery-placeholder:after,
.team.str-chat .str-chat__gallery-placeholder:after {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.69);
z-index: 0; }
.commerce.str-chat .str-chat__gallery {
width: calc(100% - 30px);
display: grid;
grid-template-columns: 1fr 1fr;
grid-auto-rows: 100px; }
.commerce.str-chat .str-chat__gallery-image, .commerce.str-chat .str-chat__gallery-placeholder {
width: 100%;
height: 100%; }
.commerce.str-chat .str-chat__message-commerce .str-chat__gallery {
border-radius: 16px 16px 16px 2px; }
.commerce.str-chat .str-chat__message-commerce--right .str-chat__gallery {
border-radius: 16px 16px 2px 16px; }
.str-chat__infinite-scroll-paginator {
display: flex;
align-items: center;
justify-content: center;
padding: 10px; }
.str-chat__loading-indicator {
display: flex;
align-items: center;
justify-content: center;
animation: rotate 1s linear infinite; }
@-webkit-keyframes rotate {
from {
-webkit-transform: rotate(0deg);
-o-transform: rotate(0deg);
transform: rotate(0deg); }
to {
-webkit-transform: rotate(360deg);
-o-transform: rotate(360deg);
transform: rotate(360deg); } }
@keyframes rotate {
from {
-ms-transform: rotate(0deg);
-moz-transform: rotate(0deg);
-webkit-transform: rotate(0deg);
-o-transform: rotate(0deg);
transform: rotate(0deg); }
to {
-ms-transform: rotate(360deg);
-moz-transform: rotate(360deg);
-webkit-transform: rotate(360deg);
-o-transform: rotate(360deg);
transform: rotate(360deg); } }
.str-chat.messaging .str-chat__load-more-button__button {
border: 0;
width: 100%;
height: 40px;
border-radius: 9px;
background: rgba(255, 255, 255, 0.9);
box-shadow: none;
box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.07);
padding: 10px;
font-size: 14px; }
.str-chat.team .str-chat__load-more-button__button {
border: 0;
background: transparent;
width: 100%;
height: 40px;
padding: 10px;
font-size: 14px; }
.str-chat__loading-channels {
width: 300px;
height: 100%;
padding: 20px;
background: #fafafa; }
.str-chat__loading-channels-meta {
flex: 1; }
.str-chat__loading-channels-avatar, .str-chat__loading-channels-username, .str-chat__loading-channels-status {
background-image: linear-gradient(-90deg, #f2f2f2 0%, #e5e5e5 100%); }
.str-chat__loading-channels-username, .str-chat__loading-channels-status {
border-radius: 2px;
height: 14px; }
.str-chat__loading-channels-avatar {
width: 40px;
height: 40px;
border-radius: 100%;
margin-right: 10px; }
.str-chat__loading-channels-username {
width: 40%;
margin-bottom: 6px; }
.str-chat__loading-channels-status {
width: 80%; }
.str-chat__loading-channels-item {
display: flex;
align-items: center;
width: 100%;
height: 40px;
border-radius: 3px;
margin-bottom: 10px;
animation: pulsate 1s linear 0s infinite alternate; }
.str-chat__loading-channels-item:nth-of-type(2) {
animation: pulsate 1s linear 0.3334 infinite alternate; }
.str-chat__loading-channels-item:last-of-type {
animation: pulsate 1s linear 0.6667s infinite alternate; }
@keyframes pulsate {
from {
opacity: 0.5; }
to {
opacity: 1; } }
.str-chat__message-actions-box {
position: absolute;
display: none;
bottom: 20px;
left: 40px;
width: 120px;
border-radius: 16px 16px 16px 0;
background: #fff;
background-image: linear-gradient(-180deg, rgba(255, 255, 255, 0.02) 0%, rgba(0, 0, 0, 0.02) 100%);
box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.22), 0 1px 0 0 rgba(0, 0, 0, 0.08), 0 1px 8px 0 rgba(0, 0, 0, 0.05);
z-index: 999; }
.str-chat__message-actions-box--open {
display: block; }
.str-chat__message-actions-list {
height: 100%;
margin: 0;
padding: 0;
list-style-type: none;
display: flex;
flex-direction: column;
align-items: flex-start; }
.str-chat__message-actions-list-item {
padding: 8px 10px;
width: 100%;
margin: 0; }
.str-chat__message-actions-list button {
background: none;
text-align: left;
outline: none;
border: none;
cursor: pointer;
display: block;
width: 100%;
font-size: 12px;
color: black;
text-decoration: none; }
.str-chat__message-actions-list button:hover {
color: #006cff; }
.str-chat__message-actions-list button:not(:last-of-type) {
border-bottom: 1px solid rgba(0, 0, 0, 0.07); }
.str-chat__message-actions {
positi