NDOJ/templates/chat/chat_css.html

262 lines
5 KiB
HTML
Raw Normal View History

2021-07-24 06:36:34 +00:00
<style>
#content {
margin: -1em 1em 0 0;
}
#chat-log p {
margin: 0;
padding-top: 0.1em;
padding-bottom: 0.1em;
}
.chatbtn_remove_mess {
float: right;
margin-right: 1em;
}
#refresh-button {
padding: 0;
margin-left: auto;
margin-right: 0.3em;
background: transparent;
border: none;
height: 1.5em;
width: 1.5em;
}
#refresh-button:hover {
background: lightgreen;
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
transition: 1.5s ease-in-out;
}
.status-pic {
height: 1.3em;
width: 1.3em;
border-radius: 0.3em;
}
.status-container {
position: relative;
display: inline-flex;
}
.status-circle {
position: absolute;
bottom: 0;
right: 0;
cx: 18px;
cy: 18px;
r: 4.5px;
stroke: white;
stroke-width: 1;
}
.status-row {
display: flex;
margin-bottom: 0.5em;
font-size: 15px;
}
.status-list {
padding: 0;
padding-left: 1em;
}
.status-section-title {
cursor: pointer;
margin-top: 0.5em;
}
::-webkit-scrollbar {
width: 20px;
}
::-webkit-scrollbar-track {
background-color: transparent;
}
::-webkit-scrollbar-thumb {
background-color: #d6dee1;
border-radius: 20px;
border: 6px solid transparent;
background-clip: content-box;
}
::-webkit-scrollbar-thumb:hover {
background-color: #a8bbbf;
}
#page-container {
width: 100%;
}
.body-message img{
max-height: 12em;
}
.tooltip:not(.shown) {
display: none;
}
textarea {
resize: none;
}
.tooltip {
left: 120vh !important;
transform: translate(100px, 0) !important;
position: absolute;
}
#emoji-button {
position: absolute;
right: 1em;
font-size: 2em;
color: lightgray;
}
#emoji-button:hover {
color: gray;
}
#loader {
display: block;
margin-left: auto;
margin-right: auto;
width: 4%;
}
#chat-log {
padding: 0;
padding-top: 2em;
width: 100%;
font-size: 14px;
}
#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;
padding-bottom: 0.5em;
border-bottom: 1px dotted lightgray;
}
.user-time {
margin-bottom: 0.3em;
}
.time {
margin-left: 0.5em;
}
.big-emoji {
font-size: 16px;
}
.clear {
clear: both;
}
.content-message {
word-wrap: break-word;
}
.content-message p {
margin: 0;
}
#chat-online {
border-right: 1px solid #ccc;
padding-bottom: 0 !important;
min-width: 25%;
border-bottom: 0;
}
#chat-online-content {
margin-top: 0.5em;
margin-bottom: 0;
overflow: hidden;
overflow-wrap: break-word;
overflow-y: auto;
max-height: 77vh;
}
#chat-box {
/*border: 1px solid #ccc;*/
/*border-top-right-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%;
padding: 0.4em;
padding-bottom: 0.6em;
border: 0;
color: black;
font-family: "Segoe UI", "Lucida Grande", Arial, sans-serif;
border-top-left-radius: 0;
border-top-right-radius: 0;
height: 100%;
font-size: 14px;
}
#chat-online-content {
padding: 0;
width: 100%;
}
#content {
width: 100%;
}
#content-body {
padding-bottom: 0;
}
#page-container {
min-height: 0;
}
.sidebox h3 {
border-radius: 0;
margin: -1px -5.5px 0 -5.8px;
}
.body-block {
border-radius: 4px;
padding-left: 0.2em;
}
.body-block:hover {
background: #eee;
}
@media (min-width: 800px) {
#page-container {
position:fixed;
overflow:hidden;
}
#chat-container {
display: flex;
width: 100%;
height: 90vh;
border: 1px solid #ccc;
/*border-radius: 0 4px 0 0;*/
border-bottom: 0;
}
#chat-box {
}
#chat-online {
margin: 0;
}
.chat-left-panel, .chat-right-panel {
display: block !important;
}
}
</style>