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

109 lines
2.0 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-padding-lg: .75rem;
--talker-padding-xl: 1.62rem;
--talker-padding-xsm: .13rem;
--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 {
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(--talker-padding-xl);
}
.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);
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);
height: var(--talker-height);
box-shadow: none !important;
i,
span {
position: relative;
bottom: var(--bottom-offset);
}
span {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
margin: 0 0 0 0 !important;
max-width: var(--talker-max-width);
[dir="rtl"] & {
margin-left: var(--talker-margin-sm);
}
}
i {
font-size: var(--font-size-small);
width: 1rem;
height: 1rem;
background-color: var(--color-success);
border-radius: 50%;
position: relative;
right: var(--talker-margin-sm);
[dir="rtl"] & {
right: calc(var(--talker-margin-sm) * -1);
}
}
span:hover {
opacity: 1;
}
}
2019-11-16 01:11:58 +08:00
.spoke {
opacity: var(--spoke-opacity);
[dir="rtl"] & {
padding-right: var(--talker-padding-lg)
2019-11-16 01:11:58 +08:00
}
}
.muted {
cursor: default;
i {
background-color: var(--color-danger);
}
}
2019-11-26 03:24:12 +08:00
.mobileHide {
@include mq($small-only) {
visibility: hidden;
}
}