TeaWeb/shared/js/ui/modal/video-source/Renderer.scss

252 lines
No EOL
5.9 KiB
SCSS

@import "../../../../css/static/mixin";
@import "../../../../css/static/properties";
.container {
display: flex;
flex-direction: column;
justify-content: flex-start;
padding: 1em;
@include user-select(none);
.content {
display: flex;
flex-direction: row;
position: relative;
.overlay {
z-index: 10;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: var(--modal-content-background);
&.noPermissions {
}
}
.columnSource {
display: flex;
flex-direction: column;
justify-content: flex-start;
}
.columnSettings {
margin-left: 1em;
width: 20em;
.body .title {
display: flex;
flex-direction: row;
justify-content: space-between;
font-weight: bold;
color: #e0e0e0;
}
}
.section {
margin-bottom: 1em;
.head {
display: flex;
flex-direction: row;
justify-content: flex-start;
flex-grow: 1;
flex-shrink: 1;
width: 100%;
align-self: flex-end;
&.title, .title {
font-size: 1.2em;
color: #557edc;
text-transform: uppercase;
align-self: center;
@include text-dotdotdot();
}
.advanced {
margin-left: auto;
align-self: center;
label {
display: flex;
flex-direction: revert;
}
}
}
.body {
display: flex;
flex-direction: column;
justify-content: flex-start;
.selectError {
color: #a10000;
}
.videoContainer {
position: relative;
width: 37.5em; /* 600px for 16px/em */
height: 25em; /* 400px for 16px/em */
border-radius: .2em;
border: 1px solid var(--boxed-input-field-border);
background-color: var(--boxed-input-field-background);
display: flex;
flex-direction: column;
justify-content: center;
video {
max-height: 100%;
max-width: 100%;
min-height: 100%;
min-width: 100%;
align-self: center;
}
.overlay {
z-index: 10;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
display: none;
flex-direction: column;
justify-content: center;
text-align: center;
background-color: var(--boxed-input-field-background);
&.shown {
display: flex;
}
&.permissions {
.text {
font-size: 1.2em;
padding-bottom: 1em;
}
.button {
width: min-content;
align-self: center;
}
}
.error {
font-size: 1.2em;
color: #a10000;
padding-bottom: 1em;
}
.info {
font-size: 1.8em;
padding-bottom: 1em;
font-weight: 600;
color: #4d4d4d;
&.selected {}
&.none {}
&.error {
color: #a10000;
}
}
}
}
.sourcePrompt {
display: flex;
flex-direction: row;
justify-content: flex-start;
button {
margin-right: .5em;
}
> * {
align-self: center;
}
}
}
}
}
.buttons {
display: flex;
flex-direction: row;
justify-content: space-between;
}
}
.columnSettings {
display: flex;
flex-direction: column;
justify-content: flex-start;
.setting:not(:last-of-type) {
margin-bottom: .5em;
}
.head {
flex-grow: 0!important;
}
.body {
flex-grow: 1;
}
.dimensions {
.aspectRatio {
margin-top: .5em;
}
.sliderTitle {
display: flex;
flex-direction: row;
justify-content: space-between;
}
.slider:not(:first-of-type) {
margin-top: .75em;
}
.advanced {
display: none;
flex-direction: column;
justify-content: flex-start;
&.shown {
display: flex;
}
}
}
.bpsInfo {
margin-top: auto;
.body {
font-size: .8em;
}
}
}