classic-ui-dev/assets/styles/components/_video.scss
Danil Kovtonyuk 44f31f8b9f
init
2022-04-22 13:14:19 +10:00

33 lines
515 B
SCSS

.video {
margin-left: auto;
margin-right: auto;
max-width: 640px;
position: relative;
&.is-loading {
&:after {
@include loader;
position: absolute;
z-index: 0;
top: calc(50% - .5em);
left: calc(50% - .5em);
}
}
&--iframe {
padding-top: 56.25%;
position: relative;
background-color: #1B3147;
display: block;
iframe {
height: 100%;
left: 0;
position: absolute;
top: 0;
width: 100%;
z-index: 1;
}
}
}