owncast/webroot/styles/chat.css
2020-08-23 19:37:06 -07:00

149 lines
2.1 KiB
CSS

#chat-container {
position: fixed;
z-index: 9;
top: var(--header-height);
right: 0;
width: var(--right-col-width);
height: calc(100vh - var(--header-height));
}
.touch-screen #chat-container {
height: calc(100vh - var(--header-height) - 3vh);
}
.no-chat #chat-container-wrap {
display: none;
}
.chat #chat-container-wrap {
display: block;
}
/******************************/
/******************************/
#message-input img {
display: inline;
vertical-align: middle;
padding: .25rem;
}
#message-input .emoji {
width: 2.2rem;
padding: .25rem;
}
/* If the div is empty then show the placeholder */
#message-input:empty:before{
content: attr(placeholderText);
pointer-events: none;
display: block; /* For Firefox */
color: rgba(0, 0, 0, 0.5);
}
/* When chat is enabled (contenteditable=true) */
#message-input[contenteditable=true]:before {
opacity: 1.0;
}
/* When chat is disabled (contenteditable=false) chat input div should appear disabled. */
#message-input:disabled,
#message-input[contenteditable=false] {
opacity: 0.6;
}
/******************************/
/******************************/
.emoji-picker__emoji {
border-radius: 5px;
}
.message-avatar {
height: 3.0em;
width: 3.0em;
}
.message-avatar img {
max-width: unset;
height: 3.0em;
width: 3.0em;
padding: 5px;
}
.message-content {
}
/* MESSAGE TEXT HTML */
/* MESSAGE TEXT HTML */
/* MESSAGE TEXT HTML */
.message-text a {
color: #7F9CF5; /* indigo-400 */
}
.message-text a:hover {
text-decoration: underline;
}
.message-text img {
display: inline;
padding-left: 0 .25rem;
}
.message-text .emoji {
width: 3rem;
padding: .25rem
}
.message-text code {
font-family: monospace;
background-color:darkslategrey;
padding: .25rem;
}
.message-text .chat-embed {
width: 100%;
border-radius: .25rem;
}
.message-text .instagram-embed {
height: 24rem;
}
.message-text .embedded-image {
width: 100%;
display: block;
/* height: 15rem; */
}
.message-text .youtube-embed {
width: 100%;
height: 12rem;
}
/* MESSAGE TEXT CONTENT */
/* MESSAGE TEXT CONTENT */
/* MESSAGE TEXT CONTENT */
/* MESSAGE TEXT CONTENT */