owncast/web/public/styles/admin/chat.css

147 lines
2.6 KiB
CSS
Raw Normal View History

.chat-messages .ant-table-cell .name-col {
2022-10-10 23:33:13 +03:00
text-overflow: ellipsis;
overflow: hidden;
}
.chat-messages .ant-table-cell .toggle-col label {
2022-10-10 23:33:13 +03:00
font-size: 0.7rem;
}
2022-10-10 23:33:13 +03:00
.chat-messages .ant-table-cell .message-contents {
overflow: auto;
max-height: 200px;
}
2022-10-10 23:33:13 +03:00
.chat-messages .ant-table-cell .message-contents img {
position: relative;
margin-top: -5px;
max-height: 50px;
max-width: 50px;
2022-10-10 23:33:13 +03:00
padding: 0.25rem;
}
2022-10-10 23:33:13 +03:00
.chat-messages .ant-table-cell .message-contents p {
margin-bottom: 0;
}
2022-10-10 23:33:13 +03:00
.chat-messages .bulk-editor {
margin: 0.5rem 0;
padding: 0.5rem;
border: 1px solid var(--theme-color-palette-8);
2022-10-10 23:33:13 +03:00
display: flex;
flex-direction: row;
align-items: center;
justify-content: flex-end;
border-radius: 4px;
}
2022-10-10 23:33:13 +03:00
.chat-messages .bulk-editor .label {
font-size: 0.75rem;
color: var(--theme-color-palette-10);
2022-10-10 23:33:13 +03:00
margin-right: 0.5rem;
}
2022-10-10 23:33:13 +03:00
.chat-messages .bulk-editor button {
margin: 0 0.2rem;
font-size: 0.75rem;
}
2022-10-10 23:33:13 +03:00
.ant-table-filter-dropdown {
max-width: 250px;
}
2022-10-10 23:33:13 +03:00
.toggle-switch {
display: flex;
flex-flow: row nowrap;
2022-10-10 23:33:13 +03:00
align-items: center;
justify-content: flex-end;
transition: opacity 0.15s;
}
2022-10-10 23:33:13 +03:00
.toggle-switch .outcome-icon {
margin-right: 0.5rem;
}
2022-10-10 23:33:13 +03:00
.toggle-switch.hidden {
opacity: 0.25;
}
2022-10-10 23:33:13 +03:00
.toggle-switch.hidden:hover {
opacity: 1;
}
2022-10-10 23:33:13 +03:00
.toggle-switch .ant-btn .anticon {
opacity: 0.5;
}
2022-10-10 23:33:13 +03:00
.toggle-switch .ant-btn:hover .anticon {
opacity: 1;
}
2022-10-10 23:33:13 +03:00
.toggle-switch .ant-btn-text:hover {
background-color: var(--theme-color-palette-10);
2022-10-10 23:33:13 +03:00
}
2022-10-10 23:33:13 +03:00
.blockuser-popover {
max-width: 400px;
}
2022-10-10 23:33:13 +03:00
.user-item-container {
border: none;
background: none;
text-align: left;
padding: 0;
margin: 0;
cursor: pointer;
outline: none;
}
2022-10-10 23:33:13 +03:00
.user-item-container .display-name {
color: var(--theme-color-palette-2);
border-bottom: 1px dotted var(--theme-color-palette-10);
2022-10-10 23:33:13 +03:00
}
2022-10-10 23:33:13 +03:00
.user-item-container:hover .display-name {
border-color: var(--theme-color-palette-4);
2022-10-10 23:33:13 +03:00
}
2022-10-10 23:33:13 +03:00
.user-details h5 {
color: var(--theme-color-palette-0);
2022-10-10 23:33:13 +03:00
}
2022-10-10 23:33:13 +03:00
.user-details .created-at {
font-size: 0.75em;
font-style: italic;
}
2022-10-10 23:33:13 +03:00
.user-details .connection-info {
font-size: 0.88em;
}
2022-10-10 23:33:13 +03:00
.user-details .previous-names-list {
font-size: 0.88em;
}
2022-10-10 23:33:13 +03:00
.user-details .previous-names-list .user-name-item {
font-family: monospace;
}
2022-10-10 23:33:13 +03:00
.user-details .previous-names-list .latest {
font-style: italic;
}
2022-10-10 23:33:13 +03:00
.user-details .previous-names-list .latest .user-name-item {
font-weight: bold;
font-style: normal;
color: var(--theme-color-palette-12);
2022-10-10 23:33:13 +03:00
}
2022-10-10 23:33:13 +03:00
.block-user-button {
text-transform: capitalize;
}
.ant-dropdown-menu-item-selected,
.ant-dropdown-menu-submenu-title-selected {
background-color: #f5f0ff;
}