bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/actions-bar/styles.scss
2020-01-25 01:02:36 +00:00

105 lines
1.5 KiB
SCSS
Executable File

@import "/imports/ui/stylesheets/variables/_all";
:root {
--mobile-swap-offset: 3.5rem;
}
.actionsbar,
.center,
.right {
display: flex;
flex-direction: row;
}
.center,
.right {
flex: 1;
justify-content: center;
}
.left,
.center,
.right {
> * {
margin: 0 var(--sm-padding-x);
@include mq($small-only) {
margin: 0 var(--sm-padding-y);
}
}
}
.left {
display: inherit;
flex: 0;
@include mq($small-only) {
bottom: var(--sm-padding-x);
left: var(--sm-padding-x);
right: auto;
[dir="rtl"] & {
left: auto;
right: var(--sm-padding-x);
}
}
}
.right {
position: absolute;
bottom: var(--sm-padding-x);
right: var(--sm-padding-x);
left: auto;
[dir="rtl"] & {
right: auto;
left: var(--sm-padding-x);
}
}
.centerWithActions {
@include mq($xsmall-only) {
justify-content: flex-end;
}
}
.mobileLayoutSwapped {
@include mq($xsmall-only) {
padding-right: var(--mobile-swap-offset);
[dir="rtl"] & {
padding-right: 0;
padding-left: var(--mobile-swap-offset);
}
}
}
.button {
span:first-child {
box-shadow: 0 2px 5px 0 rgb(0, 0, 0);
}
}
.btn {
span {
box-shadow: none;
background-color: transparent !important;
border-color: var(--color-white) !important;
}
}
.presentationItem {
span {
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
max-width: 10rem;
}
}
.isCurrent {
i,
span {
color: var(--color-primary);
}
}