owncast/web/styles/chat.scss

110 lines
1.8 KiB
SCSS
Raw Normal View History

2020-12-23 10:15:37 +03:00
.chat-messages {
.ant-table-small .ant-table-selection-column {
width: 20px;
min-width: 20px;
}
.ant-table-tbody > tr > td {
transition: background-color 0.15s;
2020-12-23 10:15:37 +03:00
}
2020-12-27 08:36:48 +03:00
.ant-table-row.hidden {
.ant-table-cell {
color: var(--black-35)
2020-12-27 08:36:48 +03:00
}
2021-01-10 05:38:22 +03:00
@media (prefers-color-scheme: dark) {
.ant-table-cell {
color: var(--white-25);
2021-01-10 05:38:22 +03:00
}
}
2020-12-27 08:36:48 +03:00
}
2020-12-23 10:15:37 +03:00
.ant-table-cell {
font-size: 12px;
&.name-col {
text-overflow: ellipsis;
overflow: hidden;
}
2020-12-27 08:36:48 +03:00
&.toggle-col {
label {
font-size: 11px;
}
}
2020-12-27 08:46:40 +03:00
.message-contents {
2020-12-27 12:15:17 +03:00
overflow: auto;
max-height: 200px;
2020-12-27 08:46:40 +03:00
img {
position: relative;
margin-top: -5px;
width: 3rem;
padding: 0.25rem;
}
2021-01-02 16:10:16 +03:00
p {
margin-bottom: 0;
}
2020-12-27 08:46:40 +03:00
}
2020-12-23 10:15:37 +03:00
}
2020-12-26 10:14:27 +03:00
.bulk-editor {
margin: .5rem 0;
padding: .5rem;
border: 1px solid var(--textfield-border);
2020-12-26 10:14:27 +03:00
display: flex;
flex-direction: row;
align-items: center;
justify-content: flex-end;
2020-12-27 08:36:48 +03:00
border-radius: 4px;
&.active {
.label {
color: var(--black);
2021-01-10 05:38:22 +03:00
}
2020-12-27 08:36:48 +03:00
}
2020-12-26 10:14:27 +03:00
.label {
font-size: .75rem;
color: var(--white-50);
2020-12-27 08:36:48 +03:00
margin-right: .5rem;
2020-12-26 10:14:27 +03:00
}
2020-12-27 08:36:48 +03:00
button {
margin: 0 .2rem;
font-size: .75rem;
2020-12-26 10:14:27 +03:00
}
}
2020-12-23 10:15:37 +03:00
}
.ant-table-filter-dropdown {
max-width: 250px;
}
.toggle-switch {
display: flex;
flex-direction: row;
align-items: center;
flex-wrap: nowrap;
justify-content: flex-end;
transition: opacity .15s;
.outcome-icon {
margin-right: .5rem;
}
&.hidden {
opacity: .25;
&:hover {
opacity: 1;
}
}
.ant-btn {
.anticon {
opacity: .5;
}
&:hover {
.anticon {
opacity: 1;
}
}
}
.ant-btn-text:hover {
background-color: var(--black-35)
2021-01-10 05:38:22 +03:00
}
2020-12-27 08:36:48 +03:00
}