NDOJ/templates/chat/chat_css.html

229 lines
4.2 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;
2023-09-25 07:12:06 +00:00
margin-bottom: 0;
2023-08-28 19:20:35 +00:00
}
2021-07-24 06:36:34 +00:00
2023-08-28 19:20:35 +00:00
::-webkit-scrollbar {
2023-11-01 07:08:36 +00:00
width: 16px;
background-color: transparent !important;
}
#chat-input::-webkit-scrollbar {
width: 22px;
}
#chat-input::-webkit-scrollbar-thumb {
border: 10px solid transparent;
2023-08-28 19:20:35 +00:00
}
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;
2023-09-25 07:12:06 +00:00
border-radius: 50%;
2023-08-28 19:20:35 +00:00
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-09-25 07:12:06 +00:00
#setting-button {
height: 2.3em;
width: 2.5em;
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
padding-top: 2px;
}
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;
}
2023-09-25 07:12:06 +00:00
::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
text-align: left;
}
2023-08-30 02:50:33 +00:00
#chat-input {
padding: 10px 20px;
font-size: 16px;
2023-09-25 07:12:06 +00:00
border-radius: 100px;
2023-08-30 02:50:33 +00:00
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
transition: box-shadow 0.3s ease-in-out;
width: 80%;
resize: none;
2023-11-01 07:08:36 +00:00
height: 70%;
2023-09-25 07:12:06 +00:00
max-height: 200px;
overflow-y: auto;
2023-11-01 07:08:36 +00:00
margin-top: auto;
margin-bottom: 6px;
2023-08-30 02:50:33 +00:00
}
#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-25 07:12:06 +00:00
border-radius: 50%;
2023-08-30 02:50:33 +00:00
}
#chat-info {
2023-08-30 18:07:57 +00:00
height: 3em;
2023-09-25 07:12:06 +00:00
padding-left: 0.75em;
display: flex;
align-items: center;
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-25 07:12:06 +00:00
padding-left: 3%;
2023-08-30 02:50:33 +00:00
}
2023-09-25 07:12:06 +00:00
.back-button {
display: none;
}
2023-08-28 19:20:35 +00:00
}
@media (max-width: 799px) {
html, body {
max-width: 100%;
overflow-x: hidden;
}
.active-span {
display: none;
}
2023-09-25 07:12:06 +00:00
#chat-area {
display: none;
}
.back-button {
margin-right: 1em;
font-size: 1.5em;
}
2021-07-24 06:49:42 +00:00
}
2023-08-28 19:20:35 +00:00
</style>
{% endcompress %}