You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
114 lines
1.8 KiB
CSS
114 lines
1.8 KiB
CSS
5 years ago
|
* {
|
||
|
font-family: Karla;
|
||
|
font-size: 1.2rem;
|
||
|
}
|
||
|
|
||
|
.chat {
|
||
|
width: 100%;
|
||
|
height: 90%;
|
||
|
max-height: calc(100%-2.5rem);
|
||
|
position: fixed;
|
||
|
left: 0;
|
||
|
top: 0;
|
||
|
overflow-y: scroll;
|
||
|
}
|
||
|
|
||
|
.actions {
|
||
|
position: fixed;
|
||
|
bottom: 0;
|
||
|
display: block;
|
||
|
width: 100%;
|
||
|
height: 10%;
|
||
|
max-height: 2.5rem;
|
||
|
min-height: 60px;
|
||
|
}
|
||
|
|
||
|
|
||
|
.actions input {
|
||
|
height: 100%;
|
||
|
display: block;
|
||
|
float: left;
|
||
|
width: 79.89%;
|
||
|
outline: 0;
|
||
|
border: 0;
|
||
|
background-color: #dfdfdf;
|
||
|
padding: 0 1%;
|
||
|
}
|
||
|
|
||
|
.actions button {
|
||
|
height: 100%;
|
||
|
float: right;
|
||
|
width: 18%;
|
||
|
background-color:#44c767;
|
||
|
border:1px solid #18ab29;
|
||
|
display:inline-block;
|
||
|
cursor:pointer;
|
||
|
color:#ffffff;
|
||
|
padding:16px 31px;
|
||
|
text-decoration:none;
|
||
|
}
|
||
|
|
||
|
.actions button:hover {
|
||
|
background-color:#5cbf2a;
|
||
|
}
|
||
|
|
||
|
.messages {
|
||
|
padding: 1%;
|
||
|
height: 30px;
|
||
|
max-width: 40rem;
|
||
|
}
|
||
|
|
||
|
.messages div {
|
||
|
max-width: 60%;
|
||
|
display: block;
|
||
|
margin: 10px;
|
||
|
padding: 10px;
|
||
|
border-radius: 7px;
|
||
|
}
|
||
|
|
||
|
.messages .bot {
|
||
|
text-align: left;
|
||
|
margin-right: auto;
|
||
|
background: #0066cc;
|
||
|
color: white;
|
||
|
width: max-content;
|
||
|
min-width: 30%;
|
||
|
}
|
||
|
|
||
|
.messages .bot a {
|
||
|
color: white;
|
||
|
}
|
||
|
|
||
|
.messages .bot b {
|
||
|
color: yellow;
|
||
|
}
|
||
|
|
||
|
.messages .self {
|
||
|
margin-left: auto;
|
||
|
background: #DDD;
|
||
|
width: max-content;
|
||
|
min-width: 30%;
|
||
|
}
|
||
|
|
||
|
@media all and (max-width: 768px) {
|
||
|
* {
|
||
|
font-size: 1.1rem;
|
||
|
}
|
||
|
|
||
|
.chat {
|
||
|
padding-top: 10%;
|
||
|
}
|
||
|
|
||
|
.messages div {
|
||
|
max-width: 90%;
|
||
|
}
|
||
|
|
||
|
.actions button {
|
||
|
padding: 0;
|
||
|
}
|
||
|
|
||
|
.actions input {
|
||
|
text-indent: 10px;
|
||
|
}
|
||
|
|
||
|
}
|