mirror of
https://github.com/Expand-sys/chatapp
synced 2026-03-22 12:27:10 +11:00
117 lines
2.5 KiB
CSS
117 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 {
|
|
color: black;
|
|
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: 5px;
|
|
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;
|
|
}
|