softchatjs-react
Version:
Install the softchat-js SDKs
163 lines (133 loc) • 2.41 kB
CSS
.input {
height: 80px;
width: 100%;
display: flex;
align-items: center;
z-index: 600;
padding-left: 10px;
padding-right: 10px;
}
.input__wrap{
display: flex;
align-items: center;
z-index: 600;
width: 100%;
}
.input__inner {
flex: 1;
width: 100%;
background-color: #222529;
height: 100%;
border-radius: 30px;
}
.input__inner input {
height: auto;
width: 100%;
background-color: #222529;
outline: none;
border: none;
color: white;
min-height: 50px;
border-radius: 30px;
padding: 0px 0px 0px 20px;
}
/* .input__inner input:focus{
border: 1px solid white;
} */
.input__button {
height: 100%;
cursor: pointer;
border-radius: 10px;
display: flex;
justify-content: flex-start;
padding-left: 20px;
padding-right: 20px;
}
.input__icon {
width: 5%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
}
.input__icon div{
display: flex;
justify-content: center;
align-items: center;
}
.input__icon div:hover{
opacity: 0.5;
height: 35px;
width: 35px;
border-radius: 100px;
}
.input__menu {
position: absolute;
bottom: 60px;
height: auto;
}
.input__emoji{
/* position: absolute;
top: 22px;
right: 135px; */
cursor: pointer;
margin-right: 10px;
}
.chatPhotos {
height: auto;
display: flex;
padding-left: 20px;
position: absolute;
bottom: 80px
}
.chatPhotos__item {
height: 100px;
width: 100px;
margin-right: 10px; position: relative;
}
.chatPhotos__cancel {
position: absolute;
top: 3px;
right: 2px;
cursor: pointer;
}
.audioCancel {
position: absolute;
top: 6px;
right: 7px;
cursor: pointer;
}
.chatPhotos img {
height: 100%;
width: 100%;
border-radius: 10px;
border: 0.5px solid rgba(142, 139, 139, 0.344);
}
.chatPhotos video{
height: 100%;
width: 100%;
border-radius: 10px;
border: 0.5px solid rgba(142, 139, 139, 0.344);
}
.audioContainer{
background: red;
width: 500px;
}
.input__emoji__picker{
position: absolute;
bottom: 70;
right: 70;
z-index: 100;
}
@media screen and (max-width:768px) {
.input {
width: 100%;
}
.input__inner{
/* width: 60%; */
}
.input__button {
width: auto;
}
}