bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/nav-bar/talking-indicator/styles.scss

74 lines
1.3 KiB
SCSS
Raw Normal View History

@import "../../../stylesheets/variables/_all";
@import "../../../stylesheets/variables/typography";
:root {
2019-11-06 04:19:50 +08:00
--spoke-padding-right: 1.3rem;
--spoke-opacity: .75;
--talker-margin-xsm: .25rem;
--talker-margin-sm: .5rem;
--talker-max-width: 10rem;
--talker-font-weight: 400;
--talker-border-radius: 2rem;
}
2019-11-06 04:19:50 +08:00
.isTalkingWrapper,
.speaking,
.talker,
.spoke {
display: flex;
flex-direction: row;
2019-11-06 04:19:50 +08:00
}
.isTalkingWrapper {
position: absolute;
left: var(--md-padding-x);
2019-11-06 04:19:50 +08:00
top: 3.7rem;
2019-11-14 21:12:22 +08:00
[dir="rtl"] & {
left: none;
right: var(--md-padding-x);
}
}
.speaking {
flex-wrap: wrap;
}
.talker {
color: white;
font-weight: var(--talker-font-weight);
border-radius: var(--talker-border-radius) var(--talker-border-radius);
font-size: var(--font-size-base);
padding-left: var(--talker-margin-sm);
padding-right: var(--sm-padding-y);
margin-right: var(--talker-margin-sm);
margin-bottom: var(--talker-margin-xsm);
> span {
max-width: var(--talker-max-width);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
i {
position: relative;
top: var(--border-size-large);
margin-left: var(--border-size);
font-size: var(--font-size-small);
}
}
.spoke{
padding-right: var(--spoke-padding-right);
2019-11-14 00:24:38 +08:00
opacity: .5;
}
.unmuted {
cursor: pointer;
}
.muted {
cursor: default;
}