NDOJ/templates/chat/chat_css.html

200 lines
3.5 KiB
HTML
Raw Normal View History

2023-08-28 19:20:35 +00:00
{% compress css %}
<style>
footer {
display: none;
}
2021-07-24 06:36:34 +00:00
2023-08-28 19:20:35 +00:00
#content {
padding-top: 0;
}
2021-07-24 06:36:34 +00:00
2023-08-28 19:20:35 +00:00
::-webkit-scrollbar {
width: 20px;
}
2021-07-24 06:36:34 +00:00
2023-08-28 19:20:35 +00:00
::-webkit-scrollbar-track {
background-color: transparent;
}
2021-07-24 06:36:34 +00:00
2023-08-28 19:20:35 +00:00
::-webkit-scrollbar-thumb {
background-color: #d6dee1;
border-radius: 20px;
border: 6px solid transparent;
background-clip: content-box;
}
2021-07-24 06:36:34 +00:00
2023-08-28 19:20:35 +00:00
::-webkit-scrollbar-thumb:hover {
background-color: #a8bbbf;
}
2021-07-24 06:36:34 +00:00
2023-08-28 19:20:35 +00:00
#page-container {
width: 100%;
}
2023-01-27 23:11:10 +00:00
2023-08-28 19:20:35 +00:00
.body-message img{
max-height: 12em;
}
2023-01-27 23:11:10 +00:00
2023-08-28 19:20:35 +00:00
.tooltip:not(.shown) {
display: none;
}
2023-01-27 23:11:10 +00:00
2023-08-28 19:20:35 +00:00
textarea {
resize: none;
}
2023-01-27 23:11:10 +00:00
2023-08-28 19:20:35 +00:00
.tooltip {
position: absolute;
z-index: 1000;
}
2023-01-27 23:11:10 +00:00
2023-08-28 19:20:35 +00:00
#loader {
display: block;
margin-left: auto;
margin-right: auto;
width: 80px;
}
.profile-pic {
height: 2.6em;
width: 2.6em;
border-radius: 0.3em;
margin-top: 0.1em;
float: left;
}
.body-message {
padding-left: 3em;
padding-bottom: 0.5em;
}
.user-time {
margin-bottom: 0.3em;
}
.time {
margin-left: 0.5em;
}
.clear {
clear: both;
}
.content-message {
word-wrap: break-word;
}
.content-message p {
margin: 0;
}
#content {
width: 100%;
}
#content-body {
padding-bottom: 0;
}
2021-07-24 06:36:34 +00:00
#page-container {
2023-08-28 19:20:35 +00:00
min-height: 0;
2021-07-24 06:36:34 +00:00
}
2023-08-28 19:20:35 +00:00
.sidebox h3 {
border-radius: 0;
2021-07-24 06:36:34 +00:00
}
2023-08-28 19:20:35 +00:00
.body-block {
border-radius: 4px;
padding: 0.05em 0.6em;
2023-01-27 23:11:10 +00:00
width: 100%;
2021-11-21 04:23:03 +00:00
}
2023-08-28 19:20:35 +00:00
#search-form {
float: inherit;
2021-07-24 06:36:34 +00:00
}
2023-08-28 19:20:35 +00:00
#search-container {
2023-08-29 23:36:01 +00:00
padding: 1em;
2023-08-28 19:20:35 +00:00
}
#setting {
position: relative;
}
2023-08-29 23:36:01 +00:00
.status-user {
display: flex;
flex-direction: column;
min-width: 0;
flex-grow: 1;
}
.wrapline {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
2023-08-30 02:50:33 +00:00
#chat-input-container {
display: flex;
align-items: center;
gap: 1em;
}
#chat-input {
padding: 10px 20px;
font-size: 16px;
border-radius: 20px;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
transition: box-shadow 0.3s ease-in-out;
width: 80%;
resize: none;
height: 100%;
}
#chat-input:focus {
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
outline: none;
}
.chat-input-icon {
font-size: 16px;
border-radius: 50%;
width: 2em;
height: 2em;
display: flex;
justify-content: center;
align-items: center;
border: 2px solid;
}
.chat-input-icon:hover {
cursor: pointer;
}
#chat-area {
display: flex;
flex-direction: column;
}
.info-circle {
position: absolute;
cx: 5px;
cy: 5px;
r: 5px;
stroke: white;
stroke-width: 1;
}
.info-pic {
2023-09-01 22:51:40 +00:00
border-radius: 5px;
2023-08-30 02:50:33 +00:00
margin-left: 1em;
}
#chat-info {
2023-08-30 18:07:57 +00:00
height: 3em;
2023-08-30 02:50:33 +00:00
}
2023-08-28 19:20:35 +00:00
@media (min-width: 800px) {
#page-container {
position:fixed;
overflow:hidden;
}
2023-08-30 02:50:33 +00:00
#chat-input-container {
2023-09-08 18:14:09 +00:00
padding-left: 5%;
2023-08-30 02:50:33 +00:00
}
#chat-area {
padding-bottom: 1.5em;
}
2023-08-28 19:20:35 +00:00
}
@media (max-width: 799px) {
html, body {
max-width: 100%;
overflow-x: hidden;
}
#mobile ul {
width: 100%;
}
.info-pic {
margin-left: 0.5em;
}
.active-span {
display: none;
}
2021-07-24 06:49:42 +00:00
}
2023-08-28 19:20:35 +00:00
</style>
{% endcompress %}