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

80 lines
1.5 KiB
SCSS
Raw Normal View History

@import "../../../stylesheets/variables/_all";
@import "../../../stylesheets/variables/typography";
2019-11-15 23:54:07 +08:00
@import "../../../stylesheets/mixins/_indicators";
:root {
2019-11-16 01:11:58 +08:00
--spoke-opacity: .5;
--talker-margin-sm: .5rem;
--talker-max-width: 10rem;
--talker-font-weight: 400;
--talker-border-radius: 2rem;
--max-speaker-height: 1.5rem;
2019-11-16 01:11:58 +08:00
--icon-offset: 1.1rem;
}
2019-11-15 23:54:07 +08:00
.hidden {
display: none;
}
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: relative;
margin-top: var(--talker-margin-sm);
overflow: hidden;
}
.speaking {
flex-wrap: wrap;
max-height: var(--max-speaker-height);
}
.talker {
2019-11-15 23:54:07 +08:00
@include highContrastOutline();
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);
> 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);
}
}
.unmuted {
cursor: pointer;
}
.muted {
cursor: default;
}