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

147 lines
2.6 KiB
CSS
Raw Normal View History

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