owncast/web/styles/chat.scss

149 lines
2.4 KiB
SCSS
Raw Normal View History

2021-07-20 07:02:02 +02:00
// Users, Chat views
2020-12-23 08:15:37 +01:00
.chat-messages {
.ant-table-cell {
&.name-col {
text-overflow: ellipsis;
overflow: hidden;
}
2020-12-27 06:36:48 +01:00
&.toggle-col {
label {
font-size: 11px;
}
}
2020-12-27 06:46:40 +01:00
.message-contents {
2020-12-27 10:15:17 +01:00
overflow: auto;
2021-07-20 07:02:02 +02:00
max-height: 200px;
2020-12-27 06:46:40 +01:00
img {
position: relative;
margin-top: -5px;
width: 3rem;
padding: 0.25rem;
}
2021-01-02 14:10:16 +01:00
p {
margin-bottom: 0;
}
2020-12-27 06:46:40 +01:00
}
2020-12-23 08:15:37 +01:00
}
2020-12-26 08:14:27 +01:00
.bulk-editor {
2021-07-20 07:02:02 +02:00
margin: 0.5rem 0;
padding: 0.5rem;
border: 1px solid var(--textfield-border);
2020-12-26 08:14:27 +01:00
display: flex;
flex-direction: row;
align-items: center;
justify-content: flex-end;
2020-12-27 06:36:48 +01:00
border-radius: 4px;
&.active {
.label {
2021-08-10 21:13:11 +02:00
color: var(--black-3);
2021-01-10 03:38:22 +01:00
}
2020-12-27 06:36:48 +01:00
}
2020-12-26 08:14:27 +01:00
.label {
2021-07-20 07:02:02 +02:00
font-size: 0.75rem;
color: var(--white-50);
2021-07-20 07:02:02 +02:00
margin-right: 0.5rem;
2020-12-26 08:14:27 +01:00
}
2020-12-27 06:36:48 +01:00
button {
2021-07-20 07:02:02 +02:00
margin: 0 0.2rem;
font-size: 0.75rem;
2020-12-26 08:14:27 +01:00
}
}
2020-12-23 08:15:37 +01: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;
2021-07-20 07:02:02 +02:00
transition: opacity 0.15s;
.outcome-icon {
2021-07-20 07:02:02 +02:00
margin-right: 0.5rem;
}
&.hidden {
2021-07-20 07:02:02 +02:00
opacity: 0.25;
&:hover {
opacity: 1;
}
}
.ant-btn {
.anticon {
2021-07-20 07:02:02 +02:00
opacity: 0.5;
}
&:hover {
.anticon {
opacity: 1;
}
}
}
.ant-btn-text:hover {
2021-07-20 07:02:02 +02:00
background-color: var(--black-35);
2021-01-10 03:38:22 +01:00
}
2020-12-27 06:36:48 +01:00
}
2021-07-20 07:02:02 +02:00
.blockuser-popover {
max-width: 400px;
}
.user-item-container {
// reset <button> properties
border: none;
background: none;
text-align: left;
padding: 0;
margin: 0;
cursor: pointer;
outline: none;
.display-name {
color: var(--white);
border-bottom: 1px dotted var(--white-50);
}
&:hover {
.display-name {
border-color: var(--white);
}
}
}
.user-details {
h5 {
color: var(--white);
}
.created-at {
font-size: 0.75em;
font-style: italic;
}
.connection-info {
font-size: 0.88em;
}
.previous-names-list {
font-size: 0.88em;
.user-name-item {
font-family: monospace;
}
.latest {
font-style: italic;
.user-name-item {
font-weight: bold;
font-style: normal;
color: var(--pink);
}
}
}
.ant-divider {
border-color: var(--white-25);
}
}
.block-user-button {
text-transform: capitalize;
}