NDOJ/resources/chatbox.scss

124 lines
1.9 KiB
SCSS
Raw Normal View History

2020-06-08 22:08:24 +00:00
2020-03-20 21:34:33 +00:00
#loader {
display: block;
margin-left: auto;
margin-right: auto;
width: 4%;
}
#chat-log {
padding: 0;
2020-03-21 04:48:04 +00:00
padding-top: 2em;
2020-03-20 21:34:33 +00:00
width: 100%;
}
2020-03-19 05:13:55 +00:00
#chat-log li {
list-style-type: none;
margin: 0.5em;
}
#chat-submit {
margin-top: 1em;
}
.profile-pic {
height: 2.6em;
width: 2.6em;
border-radius: 0.3em;
margin-top: 0.1em;
float: left;
}
.body-message {
padding-left: 3em;
2020-05-24 01:35:18 +00:00
padding-bottom: 1em;
2020-06-08 20:11:07 +00:00
border-bottom: 1px solid lightgray;
2020-03-19 05:13:55 +00:00
}
.user-time {
margin-bottom: 0.3em;
}
.time {
margin-left: 0.5em;
}
.clear {
clear: both;
}
2021-06-19 03:26:43 +00:00
2020-03-21 04:48:04 +00:00
.content-message {
2020-03-19 05:13:55 +00:00
word-wrap: break-word;
}
2021-06-19 03:26:43 +00:00
.content-message p {
margin: 0;
}
2020-03-19 05:13:55 +00:00
2020-06-08 20:11:07 +00:00
#chat-area {
height: 85vh;
2020-06-08 22:08:24 +00:00
/*display: flex;*/
/*flex-direction: column;*/
2020-06-08 20:11:07 +00:00
}
#chat-online {
border: 1px solid #ccc;
border-radius: 4px;
2021-07-02 06:55:45 +00:00
padding-bottom: 0 !important;
2021-07-02 06:38:48 +00:00
}
#chat-online-content {
2021-07-02 06:55:45 +00:00
margin-top: 0.5em;
margin-bottom: 0;
2020-06-08 20:11:07 +00:00
overflow: hidden;
overflow-wrap: break-word;
2021-07-02 06:38:48 +00:00
overflow-y: auto;
2021-07-02 06:55:45 +00:00
max-height: 77vh;
2020-06-08 20:11:07 +00:00
}
#chat-box {
border: 1px solid #ccc;
border-radius: 4px;
width: 100%;
overflow: hidden;
overflow-wrap: break-word;
overflow-y: scroll;
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
max-height: 85%;
height: auto;
}
#chat-input {
width: 100.3%;
padding: 0.4em;
color: black;
font-family: "Segoe UI", "Lucida Grande", Arial, sans-serif;
border-top-left-radius: 0;
border-top-right-radius: 0;
2020-06-08 22:08:24 +00:00
height: 15%;
2020-06-08 20:11:07 +00:00
}
#chat-online-content {
padding: 0;
width: 100%;
}
@media (min-width: 800px) {
#chat-container {
display: flex;
width: 100%;
}
#chat-box {
}
#chat-online {
margin-left: auto;
width: 22%;
}
#chat-area {
width: 75%;
}
.chat-left-panel, .chat-right-panel {
display: block !important;
}
2021-07-02 06:55:45 +00:00
}