2019-11-02 03:29:33 +08:00
|
|
|
@import "../../../stylesheets/variables/_all";
|
|
|
|
@import "../../../stylesheets/variables/typography";
|
2019-11-15 23:54:07 +08:00
|
|
|
@import "../../../stylesheets/mixins/_indicators";
|
2019-11-02 03:29:33 +08:00
|
|
|
|
|
|
|
:root {
|
2019-11-16 01:11:58 +08:00
|
|
|
--spoke-opacity: .5;
|
2019-11-02 03:29:33 +08:00
|
|
|
--talker-margin-sm: .5rem;
|
|
|
|
--talker-max-width: 10rem;
|
|
|
|
--talker-font-weight: 400;
|
|
|
|
--talker-border-radius: 2rem;
|
2019-11-15 02:47:27 +08:00
|
|
|
--max-speaker-height: 1.5rem;
|
2019-11-16 01:11:58 +08:00
|
|
|
--icon-offset: 1.1rem;
|
2019-11-02 03:29:33 +08:00
|
|
|
}
|
|
|
|
|
2019-11-15 23:54:07 +08:00
|
|
|
.hidden {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2019-11-06 04:19:50 +08:00
|
|
|
.isTalkingWrapper,
|
|
|
|
.speaking,
|
|
|
|
.talker,
|
|
|
|
.spoke {
|
2019-11-02 03:29:33 +08:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
2019-11-06 04:19:50 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.isTalkingWrapper {
|
2019-11-15 02:47:27 +08:00
|
|
|
position: relative;
|
|
|
|
margin-top: var(--talker-margin-sm);
|
|
|
|
overflow: hidden;
|
2019-11-02 03:29:33 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.speaking {
|
|
|
|
flex-wrap: wrap;
|
2019-11-15 02:47:27 +08:00
|
|
|
max-height: var(--max-speaker-height);
|
2019-11-02 03:29:33 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.talker {
|
2019-11-15 23:54:07 +08:00
|
|
|
@include highContrastOutline();
|
2019-11-02 03:29:33 +08:00
|
|
|
color: white;
|
|
|
|
font-weight: var(--talker-font-weight);
|
|
|
|
border-radius: var(--talker-border-radius) var(--talker-border-radius);
|
|
|
|
font-size: var(--font-size-base);
|
2019-11-16 01:11:58 +08:00
|
|
|
padding-left: var(--border-radius);
|
|
|
|
padding-right: var(--border-radius);
|
|
|
|
margin-left: var(--border-radius);
|
|
|
|
margin-right: var(--border-radius);
|
2019-11-02 03:29:33 +08:00
|
|
|
|
|
|
|
> span {
|
|
|
|
max-width: var(--talker-max-width);
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
i {
|
|
|
|
position: relative;
|
|
|
|
top: var(--border-size-large);
|
|
|
|
font-size: var(--font-size-small);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-11-16 01:11:58 +08:00
|
|
|
.spoke {
|
|
|
|
opacity: var(--spoke-opacity);
|
|
|
|
padding-right: var(--icon-offset);
|
|
|
|
|
|
|
|
[dir="rtl"] & {
|
|
|
|
padding-left: var(--icon-offset);
|
|
|
|
padding-right: var(--border-radius);
|
|
|
|
}
|
|
|
|
}
|
2019-11-14 01:56:26 +08:00
|
|
|
|
|
|
|
.unmuted {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.muted {
|
|
|
|
cursor: default;
|
|
|
|
}
|