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;
|
2019-11-24 01:42:26 +08:00
|
|
|
--talker-padding-lg: .75rem;
|
|
|
|
--talker-padding-xl: 1.62rem;
|
|
|
|
--talker-padding-xsm: .13rem;
|
2019-11-02 03:29:33 +08:00
|
|
|
--talker-max-width: 10rem;
|
|
|
|
--talker-font-weight: 400;
|
|
|
|
--talker-border-radius: 2rem;
|
|
|
|
}
|
|
|
|
|
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 {
|
2019-11-26 23:59:26 +08:00
|
|
|
flex-wrap: nowrap;
|
|
|
|
overflow-x: auto;
|
|
|
|
overflow-y: hidden;
|
2019-11-24 01:42:26 +08:00
|
|
|
max-height: var(--talker-padding-xl);
|
2019-11-02 03:29:33 +08:00
|
|
|
}
|
|
|
|
|
2019-11-26 23:59:26 +08:00
|
|
|
.speaking::-webkit-scrollbar {
|
|
|
|
width: 0px;
|
|
|
|
height: 0px;
|
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
|
2019-11-02 03:29:33 +08:00
|
|
|
.talker {
|
2019-11-26 23:59:26 +08:00
|
|
|
flex: 0 0 auto;
|
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-24 01:42:26 +08:00
|
|
|
padding: var(--talker-padding-xsm) var(--talker-padding-lg) var(--talker-padding-xsm) var(--talker-padding-lg);
|
2019-11-16 01:11:58 +08:00
|
|
|
margin-left: var(--border-radius);
|
|
|
|
margin-right: var(--border-radius);
|
2019-11-23 06:25:05 +08:00
|
|
|
height: var(--talker-height);
|
|
|
|
box-shadow: none !important;
|
|
|
|
|
|
|
|
i,
|
|
|
|
span {
|
|
|
|
position: relative;
|
|
|
|
bottom: var(--bottom-offset);
|
|
|
|
}
|
2019-11-02 03:29:33 +08:00
|
|
|
|
2019-11-23 06:25:05 +08:00
|
|
|
span {
|
2019-11-02 03:29:33 +08:00
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
2019-11-25 23:41:48 +08:00
|
|
|
margin: 0 0 0 0 !important;
|
2019-11-23 06:25:05 +08:00
|
|
|
max-width: var(--talker-max-width);
|
|
|
|
|
|
|
|
[dir="rtl"] & {
|
2019-11-24 01:42:26 +08:00
|
|
|
margin-left: var(--talker-margin-sm);
|
2019-11-23 06:25:05 +08:00
|
|
|
}
|
2019-11-02 03:29:33 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
i {
|
|
|
|
font-size: var(--font-size-small);
|
2019-11-23 06:25:05 +08:00
|
|
|
width: 1rem;
|
|
|
|
height: 1rem;
|
|
|
|
background-color: var(--color-success);
|
|
|
|
border-radius: 50%;
|
|
|
|
position: relative;
|
2019-11-25 23:41:48 +08:00
|
|
|
right: var(--talker-margin-sm);
|
2019-11-23 06:25:05 +08:00
|
|
|
|
|
|
|
[dir="rtl"] & {
|
2019-11-25 23:41:48 +08:00
|
|
|
right: calc(var(--talker-margin-sm) * -1);
|
2019-11-23 06:25:05 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
span:hover {
|
|
|
|
opacity: 1;
|
2019-11-02 03:29:33 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-11-16 01:11:58 +08:00
|
|
|
.spoke {
|
|
|
|
opacity: var(--spoke-opacity);
|
|
|
|
|
|
|
|
[dir="rtl"] & {
|
2019-11-24 01:42:26 +08:00
|
|
|
padding-right: var(--talker-padding-lg)
|
2019-11-16 01:11:58 +08:00
|
|
|
}
|
|
|
|
}
|
2019-11-14 01:56:26 +08:00
|
|
|
|
|
|
|
.muted {
|
|
|
|
cursor: default;
|
2019-11-23 06:25:05 +08:00
|
|
|
|
|
|
|
i {
|
|
|
|
background-color: var(--color-danger);
|
|
|
|
}
|
2019-11-14 01:56:26 +08:00
|
|
|
}
|
2019-11-26 03:24:12 +08:00
|
|
|
|
|
|
|
.mobileHide {
|
|
|
|
@include mq($small-only) {
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
}
|