chatapp/public/css.css
Expand-sys 73ccfdad9a yeet
2021-09-30 13:16:39 +10:00

116 lines
2.5 KiB
CSS

.avenue-messenger {
opacity: 1;
border-radius: 20px;
height: calc(100% - 60px) !important;
max-height: 460px !important;
min-height: 220px !important;
width: 320px;
background: rgba(255, 255, 255, 0.9);
position: fixed;
right: 20px;
bottom: 20px;
margin: auto;
z-index: 10;
box-shadow: 2px 10px 40px rgb(22 20 19 / 40%);
/* transform: translateX(300px); */
-webkit-transition: 0.3s all ease-out 0.1s, transform 0.2s ease-in;
-moz-transition: 0.3s all ease-out 0.1s, transform 0.2s ease-in;
}
.chat {
position: relative;
width: 100%;
height: calc(100% - 15px);
max-height: 500px;
z-index: 10;
overflow: hidden;
/* box-shadow: 0 5px 30px rgb(0 0 0 / 20%); */
/* background: rgba(0, 0, 0, .5); */
background: transparent;
border-radius: 20px;
-webkit-border-radius: 20px;
-moz-border-radius: 20px;
display: flex;
justify-content: space-between;
flex-direction: column;
}
.chat-title {
flex: 0 1 45px;
position: relative;
z-index: 2;
width: 100%;
border-bottom: 1px solid #ccc;
color: #777;
padding-bottom: 5px;
background-color: #fff;
text-transform: uppercase;
text-align: center;
}
.messages {
flex: 1 1 auto;
overflow: hidden;
position: relative;
width: 100%;
}
.messages .messages-content {
position: absolute;
top: 0;
left: 0;
height: 101%;
width: 100%;
}
.message {
clear: both;
float: left;
padding: 6px 10px 7px;
border-radius: 20px 20px 20px 0;
background: #eee;
margin: 8px 0;
font-size: 14px;
line-height: 1.4;
margin-left: 35px;
position: relative;
border: 1px solid #ccc;
/* text-shadow: 0 1px 1px rgb(0 0 0 / 20%); */
}
.message-box .message-input {
background: none;
border: none;
outline: none !important;
resize: none;
/* color: rgba(255, 255, 255, .8); */
font-size: 15px;
height: 24px;
margin: 0;
padding-right: 20px;
width: 265px;
color: #444;
}
.message-box .message-submit {
position: absolute;
z-index: 1;
color: #4a90e2;
border: none;
/* background: #c29d5f; */
background: #fff;
font-size: 12px;
text-transform: uppercase;
line-height: 1;
padding: 6px 10px;
border-radius: 5px;
outline: none !important;
transition: background 0.2s ease;
cursor: pointer;
}
.message-personal {
color: black !important;
float: right !important;
text-align: right !important;
/* background: linear-gradient(
120deg, #ddd, #eee); */
background: #fff !important;
border: 1px solid #ccc !important;
border-radius: 20px 20px 0 20px !important;
}