6
1
mirror of https://git.mills.io/saltyim/saltyim.git synced 2024-07-08 19:11:24 +00:00
prologic-saltyim/internal/web/css/style.css

113 lines
1.8 KiB
CSS
Raw Normal View History

2022-03-23 04:06:56 +00:00
body {
background-color: var(--mdc-theme-background);
color: var(--mdc-theme-text-primary-on-background);
font-family: Roboto, monospace;
margin: 0;
}
.main-content {
margin-left: 5px;
margin-right: 5px;
}
2022-03-23 17:08:21 +00:00
form {
display: flex;
gap: 5px;
justify-content: flex-start;
}
#wrapper {
margin: 0px;
background: #eee;
max-width: 100%;
}
#chatbox {
box-sizing: border-box;
background: #efefef;
2022-03-23 17:08:21 +00:00
padding: 10px;
height: calc(100vh - 130px);
width: 100%;
display: block;
2022-03-23 17:08:21 +00:00
overflow: auto;
}
.chat-msg.user > .msg-avatar img {
max-width: 45px;
max-height: 45px;
border-radius: 50%;
float: left;
width: 15%;
2022-03-25 02:22:57 +00:00
}
.chat-msg.self > .msg-avatar img {
max-width: 45px;
max-height: 45px;
border-radius: 50%;
float: right;
width: 15%;
}
.cm-msg-text {
background: white;
padding: 10px 15px 10px 15px;
color: #666;
max-width: 75%;
float: left;
margin-left: 10px;
position: relative;
margin-bottom: 20px;
border-radius: 30px;
}
.chat-msg {
clear: both;
}
.chat-msg.self > .cm-msg-text {
float: right;
margin-right: 10px;
background: #5A5EB9;
color: white;
2022-03-23 17:08:21 +00:00
}
.cm-msg-time {
font-size: small;
2022-03-25 02:11:26 +00:00
}
#chat-input {
flex: 1;
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 {
font-family: 'Material Icons';
font-style: normal;
font-weight: 400;
src: url(micons.woff2) format('woff2');
}
.material-icons {
font-family: 'Material Icons';
font-weight: normal;
font-style: normal;
font-size: 24px;
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;
}