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

235 lines
3.8 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";
@import '/imports/ui/stylesheets/mixins/focus';
@import '/imports/ui/stylesheets/mixins/_indicators';
@import '/imports/ui/components/loading-screen/styles';
@import "/imports/ui/stylesheets/variables/placeholders";
2018-11-07 07:10:56 +08:00
.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: var(--border-size-large);
[dir="rtl"] & {
margin-right: auto;
margin-left: var(--border-size-large);
}
:first-child {
margin-right: var(--border-size-large);
margin-left: inherit;
[dir="rtl"] & {
margin-right: inherit;
margin-left: var(--border-size-large);
}
}
2018-11-07 07:10:56 +08:00
}
2020-03-12 03:42:53 +08:00
.extraActions {
margin-right: auto;
margin-left: var(--border-size-large);
2020-03-12 03:42:53 +08:00
[dir="rtl"] & {
margin-left: auto;
margin-right: var(--border-size-large);
2020-03-12 03:42:53 +08:00
}
:first-child {
margin-left: var(--border-size-large);
2020-03-12 03:42:53 +08:00
margin-right: inherit;
[dir="rtl"] & {
margin-left: inherit;
margin-right: var(--border-size-large);
2020-03-12 03:42:53 +08:00
}
}
}
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;
2021-11-09 00:54:42 +08:00
@include mq($landscape) {
width: 33.3%;
}
}
2018-11-07 07:10:56 +08:00
.content {
display: flex;
justify-content: center;
align-items: center;
2021-11-11 01:52:58 +08:00
flex-grow: 1;
2018-12-21 03:09:19 +08:00
@include mq($small-only) {
flex-direction: column;
margin: 0;
}
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 {
@extend .modal;
2021-11-09 00:54:42 +08:00
padding: 1rem;
min-height: 25rem;
max-height: 60vh;
2021-11-11 01:52:58 +08:00
& > [class^="content"] {
display: flex;
flex-direction: column;
flex-grow: 1;
}
2021-11-09 00:54:42 +08:00
@include mq($small-only) {
height: unset;
min-height: 22.5rem;
max-height: unset;
}
}
.modalPhone {
min-height: 100%;
min-width: 100%;
border-radius: 0;
2018-11-07 07:10:56 +08:00
}
.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 {
@include elementFocus(var(--color-primary));
2018-11-07 07:10:56 +08:00
background-color: var(--color-white);
border: var(--border-size) solid var(--color-white);
border-radius: var(--border-size);
border-bottom: 0.1rem solid var(--color-gray-lighter);
2018-11-07 07:10:56 +08:00
color: var(--color-gray-label);
width: 100%;
height: 1.75rem;
padding: 1px;
2018-11-07 07:10:56 +08:00
&:hover,
&:focus {
@extend %highContrastOutline;
}
2018-11-07 07:10:56 +08:00
}
.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: var(--border-size-large);
2019-03-29 05:53:42 +08:00
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
}