bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/video-preview/styles.scss

204 lines
2.9 KiB
SCSS
Raw Normal View History

@import "/imports/ui/stylesheets/variables/breakpoints";
2018-11-07 07:10:56 +08:00
@import "/imports/ui/components/modal/simple/styles";
.warning {
text-align: center;
font-weight: var(--headings-font-weight);
font-size: 5rem;
white-space: normal;
}
.text {
margin: var(--line-height-computed);
text-align: center;
}
.main {
margin: var(--line-height-computed);
text-align: center;
font-size: var(--font-size-large);
}
2018-11-07 07:10:56 +08:00
.actions {
margin-left: auto;
margin-right: 3px;
[dir="rtl"] & {
margin-right: auto;
margin-left: 3px;
}
:first-child {
margin-right: 3px;
margin-left: inherit;
[dir="rtl"] & {
margin-right: inherit;
margin-left: 3px;
}
}
2018-11-07 07:10:56 +08:00
}
2020-03-12 03:42:53 +08:00
.extraActions {
margin-right: auto;
margin-left: 3px;
[dir="rtl"] & {
margin-left: auto;
margin-right: 3px;
}
:first-child {
margin-left: 3px;
margin-right: inherit;
[dir="rtl"] & {
margin-left: inherit;
margin-right: 3px;
}
}
}
2018-11-07 07:10:56 +08:00
.closeBtn {
i {
color: var(--color-gray-light);
}
2018-11-07 07:10:56 +08:00
margin-left: auto;
margin-right: 0;
[dir="rtl"] & {
margin-left: 0;
margin-right: auto;
}
2018-11-07 07:10:56 +08:00
}
.col {
display: flex;
2019-04-09 06:07:26 +08:00
flex-direction: column;
height: 100%;
justify-content: center;
margin: 0 0.5rem 0 0.5rem;
2018-11-07 07:10:56 +08:00
width: 50%;
2018-12-21 03:09:19 +08:00
@include mq($small-only) {
width: 90%;
2019-04-09 06:07:26 +08:00
height: unset;
}
2018-11-07 07:10:56 +08:00
}
.videoCol {
@extend .col;
align-items: center;
}
2018-11-07 07:10:56 +08:00
.content {
display: flex;
height: 14rem;
max-height: 40vh;
justify-content: center;
align-items: center;
2018-12-21 03:09:19 +08:00
@include mq($small-only) {
flex-direction: column;
height: unset;
margin: 0;
min-height: 12rem;
max-height: unset;
}
2018-11-07 07:10:56 +08:00
}
.footer {
display: flex;
}
.header {
display: flex;
border: none;
}
.label {
margin-top: 8px;
2018-11-07 07:10:56 +08:00
font-size: 0.85rem;
font-weight: bold;
color: var(--color-gray-label);
}
.modal {
padding: 1rem;
@extend .modal;
}
.overlay {
@extend .overlay;
}
.preview {
height: 100%;
width: 100%;
2018-12-21 03:09:19 +08:00
@include mq($small-only) {
height: 10rem;
}
2018-11-07 07:10:56 +08:00
}
.mirroredVideo {
transform: scale(-1, 1);
}
2018-11-07 07:10:56 +08:00
.row {
display: flex;
}
.select {
margin-top: 0.4rem;
width: 100%;
height: 1.6rem;
color: var(--color-gray-label);
border-radius: 0.3rem;
background-color: var(--color-white);
}
.title {
display: block;
color: var(--color-background);
2018-11-07 07:10:56 +08:00
font-size: 1.4rem;
text-align: center;
}
2019-03-29 05:53:42 +08:00
.browserWarning {
padding: 0.5rem;
border-width: 3px;
border-style: solid;
border-radius: 0.25rem;
margin: var(--line-height-computed);
text-align: center;
}
.fetchingAnimation {
margin: auto;
display: inline-block;
width: 1.5em;
&:after {
overflow: hidden;
display: inline-block;
vertical-align: bottom;
content: "\2026"; /* ascii code for the ellipsis character */
width: 0;
margin-left: 0.25em;
:global(.animationsEnabled) & {
animation: ellipsis steps(4, end) 900ms infinite;
}
}
}
@keyframes ellipsis {
to {
width: 1.5em;
}
2021-07-20 21:41:14 +08:00
}