2022-04-03 09:46:28 +00:00
|
|
|
html, body {
|
2022-03-23 04:06:56 +00:00
|
|
|
background-color: var(--mdc-theme-background);
|
|
|
|
color: var(--mdc-theme-text-primary-on-background);
|
2022-04-03 09:46:28 +00:00
|
|
|
font-family: system-ui, -apple-system, "Segoe UI", "Roboto", "Ubuntu";
|
2022-03-23 04:06:56 +00:00
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2022-03-23 17:08:21 +00:00
|
|
|
form {
|
2022-04-03 09:46:28 +00:00
|
|
|
margin: 0 0.5rem;
|
|
|
|
background-color: var(--mdc-theme-primary);
|
2022-03-23 17:08:21 +00:00
|
|
|
display: flex;
|
2022-04-03 09:46:28 +00:00
|
|
|
gap: 0.5rem;
|
2022-03-23 17:08:21 +00:00
|
|
|
justify-content: flex-start;
|
2022-04-03 09:46:28 +00:00
|
|
|
border-radius: 0.5rem;
|
2022-03-23 17:08:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#wrapper {
|
2022-04-03 09:46:28 +00:00
|
|
|
margin: 0;
|
2022-03-23 17:08:21 +00:00
|
|
|
background: #eee;
|
|
|
|
max-width: 100%;
|
2022-04-03 09:46:28 +00:00
|
|
|
padding-bottom: 1.1rem;
|
2022-03-23 17:08:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#chatbox {
|
2022-04-03 09:46:28 +00:00
|
|
|
margin-top: -2rem;
|
2022-03-23 17:08:21 +00:00
|
|
|
box-sizing: border-box;
|
2022-03-31 21:38:34 +00:00
|
|
|
background: #efefef;
|
2022-03-23 17:08:21 +00:00
|
|
|
padding: 10px;
|
|
|
|
height: calc(100vh - 130px);
|
|
|
|
width: 100%;
|
2022-03-31 21:38:34 +00:00
|
|
|
display: block;
|
2022-03-23 17:08:21 +00:00
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
|
2022-04-03 09:46:28 +00:00
|
|
|
.chat-msg.user > .msg-avatar img,
|
|
|
|
.chat-msg.self > .msg-avatar img {
|
2022-03-31 21:38:34 +00:00
|
|
|
max-width: 45px;
|
|
|
|
max-height: 45px;
|
|
|
|
border-radius: 50%;
|
|
|
|
float: left;
|
|
|
|
width: 15%;
|
2022-03-25 02:22:57 +00:00
|
|
|
}
|
|
|
|
|
2022-04-03 09:46:28 +00:00
|
|
|
.chat-msg.user > .msg-avatar img {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
2022-03-31 21:38:34 +00:00
|
|
|
.chat-msg.self > .msg-avatar img {
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
.cm-msg-text {
|
|
|
|
background: white;
|
|
|
|
padding: 10px 15px 10px 15px;
|
|
|
|
color: #666;
|
|
|
|
max-width: 75%;
|
|
|
|
float: left;
|
|
|
|
margin-left: 10px;
|
|
|
|
position: relative;
|
2022-04-03 09:46:28 +00:00
|
|
|
margin-bottom: 1.25rem;
|
|
|
|
border-radius: 0.5rem;
|
2022-03-31 21:38:34 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.chat-msg {
|
|
|
|
clear: both;
|
|
|
|
}
|
|
|
|
|
|
|
|
.chat-msg.self > .cm-msg-text {
|
|
|
|
float: right;
|
|
|
|
margin-right: 10px;
|
2022-04-03 09:46:28 +00:00
|
|
|
background: var(--mdc-theme-primary);
|
2022-03-31 21:38:34 +00:00
|
|
|
color: white;
|
2022-03-23 17:08:21 +00:00
|
|
|
}
|
|
|
|
|
2022-03-31 21:38:34 +00:00
|
|
|
.cm-msg-time {
|
|
|
|
font-size: small;
|
2022-03-25 02:11:26 +00:00
|
|
|
}
|
|
|
|
|
2022-04-01 12:36:38 +00:00
|
|
|
#chat-send {
|
2022-04-03 09:46:28 +00:00
|
|
|
color: #fff;
|
|
|
|
vertical-align: middle;
|
|
|
|
height: 3.5rem;
|
|
|
|
margin-left: -0.5rem;
|
|
|
|
}
|
2022-04-01 12:36:38 +00:00
|
|
|
|
2022-03-31 21:38:34 +00:00
|
|
|
#chat-input {
|
|
|
|
flex: 1;
|
2022-04-03 09:46:28 +00:00
|
|
|
border-radius: 0.5rem;
|
|
|
|
border: 2px solid var(--mdc-theme-primary);
|
|
|
|
padding: 10px;
|
2022-03-23 17:08:21 +00:00
|
|
|
}
|
|
|
|
|
2022-03-24 14:50:51 +00:00
|
|
|
#config-user-input {
|
|
|
|
width: 500px;
|
|
|
|
}
|
2022-03-25 02:11:26 +00:00
|
|
|
|
2022-03-24 14:50:51 +00:00
|
|
|
#config-endpoint-input {
|
|
|
|
width: 500px;
|
|
|
|
}
|
|
|
|
|
2022-03-23 17:08:21 +00:00
|
|
|
|
2022-03-23 04:06:56 +00:00
|
|
|
@font-face {
|
2022-04-03 09:46:28 +00:00
|
|
|
font-family: 'wdc';
|
2022-03-23 04:06:56 +00:00
|
|
|
font-style: normal;
|
|
|
|
font-weight: 400;
|
|
|
|
src: url(micons.woff2) format('woff2');
|
|
|
|
}
|
|
|
|
|
|
|
|
.material-icons {
|
2022-04-03 09:46:28 +00:00
|
|
|
font-family: 'wdc';
|
2022-03-23 04:06:56 +00:00
|
|
|
font-weight: normal;
|
|
|
|
font-style: normal;
|
2022-04-03 09:46:28 +00:00
|
|
|
font-size: 1.5rem;
|
2022-03-23 04:06:56 +00:00
|
|
|
line-height: 1;
|
|
|
|
letter-spacing: normal;
|
|
|
|
text-transform: none;
|
|
|
|
display: inline-block;
|
|
|
|
white-space: nowrap;
|
|
|
|
word-wrap: normal;
|
|
|
|
direction: ltr;
|
|
|
|
-webkit-font-feature-settings: 'liga';
|
|
|
|
-webkit-font-smoothing: antialiased;
|
2022-04-03 09:46:28 +00:00
|
|
|
}
|