owncast/webroot/styles/chat.css

170 lines
2.5 KiB
CSS
Raw Normal View History

#messages-container {
overflow: auto;
padding: 1em 0;
}
#message-input-container {
width: 100%;
padding: 1em;
}
/******************************/
/******************************/
#message-input {
height: 5rem;
font-size: .85em;
}
#message-input img {
display: inline;
vertical-align: middle;
padding: 5px;
}
#message-input .emoji {
width: 2.2em;
}
/* 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;
}
/******************************/
/******************************/
/* #message-form {
flex-direction: column;
align-items: flex-end;
margin-bottom: 0;
} */
#message-form-actions {
flex-direction: row;
justify-content: space-between;
align-items: center;
width: 100%;
}
#message-form-actions-buttons {
flex-direction: row;
justify-content: flex-end;
align-items: center;
}
/* Emoji picker button */
#emoji-button {
font-size: 1.75em;
cursor: pointer;
margin-right: .5em;
}
2020-08-20 00:46:20 +03:00
.emoji-picker__emoji {
border-radius: 10px;
}
.message {
padding: .85em;
align-items: flex-start;
}
.message-avatar {
margin-right: .75em;
}
.message-avatar img {
max-width: unset;
height: 3.0em;
width: 3.0em;
padding: 5px;
}
.message-content {
font-size: .85em;
max-width: 85%;
word-wrap: break-word;
}
/* MESSAGE TEXT CONTENT */
/* MESSAGE TEXT CONTENT */
/* MESSAGE TEXT CONTENT */
.message-text a {
color: #7F9CF5; /* indigo-400 */
}
.message-text a:hover {
text-decoration: underline;
}
.message-text img {
display: inline;
padding-left: 5px;
padding-right: 5px;
}
.message-text code {
background-color:darkslategrey;
padding: 3px;
}
.message-text .emoji {
width: 60px;
}
.message-text iframe {
width: 100%;
height: 170px;
border-radius: 15px;
}
.message-text .instagram-embed {
height: 314px;
}
.message-text .embedded-image {
width: 100%;
height: 170px;
border-radius: 15px;
}
.message-text .highlighted {
color: orange;
font-weight: 400;
font-size: 14px;
}
/* MESSAGE TEXT CONTENT */
/* MESSAGE TEXT CONTENT */
/* MESSAGE TEXT CONTENT */
/* MESSAGE TEXT CONTENT */