classic-ui/assets/styles/components/_video.scss
FreezyEx b32527e057 Revert "minor fixes"
This reverts commit 7f8f7c2aa15c8b8c6a7449d177f46f8a417e2f67.
2022-10-13 16:03:54 +02: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;
}
}
}