2019-12-30 14:54:53 -05:00
|
|
|
.embed__wrapper {
|
|
|
|
height: 100vh;
|
|
|
|
width: 100vw;
|
|
|
|
position: relative;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
2020-01-29 15:21:03 -05:00
|
|
|
background-color: var(--color-black);
|
2019-12-30 14:54:53 -05:00
|
|
|
}
|
2020-04-29 16:50:06 -04:00
|
|
|
|
2020-09-21 11:34:58 -04:00
|
|
|
.embed__wrapper--light-background {
|
|
|
|
@extend .embed__wrapper;
|
|
|
|
|
|
|
|
.vjs-poster,
|
|
|
|
video {
|
|
|
|
background-color: var(--color-white);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-04-29 16:50:06 -04:00
|
|
|
.embed__inline-button {
|
|
|
|
@include thumbnail;
|
|
|
|
position: relative;
|
|
|
|
background-position: 50% 50%;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-size: 100%;
|
|
|
|
width: 100%;
|
2020-04-30 11:01:11 -04:00
|
|
|
height: auto;
|
2020-04-29 16:50:06 -04:00
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
2020-10-20 13:10:02 -04:00
|
|
|
border-top-left-radius: var(--border-radius);
|
|
|
|
border-top-right-radius: var(--border-radius);
|
|
|
|
background-color: var(--color-black);
|
2020-04-29 16:50:06 -04:00
|
|
|
|
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
height: 200px;
|
|
|
|
}
|
|
|
|
}
|
2020-05-26 12:16:30 -04:00
|
|
|
|
2020-09-16 00:19:54 +08:00
|
|
|
.embed__inline-button-preview {
|
|
|
|
@extend .embed__inline-button;
|
|
|
|
background-color: var(--color-editor-inline-code-bg);
|
|
|
|
width: 50%;
|
|
|
|
}
|
|
|
|
|
2020-05-26 12:16:30 -04:00
|
|
|
.embed__loading {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.embed__loading-text {
|
|
|
|
height: 100%;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
color: var(--color-white);
|
|
|
|
|
|
|
|
h1 {
|
2020-05-26 14:29:53 -04:00
|
|
|
font-size: var(--font-large);
|
2020-05-26 12:16:30 -04:00
|
|
|
}
|
|
|
|
}
|
2021-08-03 13:23:52 -04:00
|
|
|
|
2021-08-03 13:32:28 -04:00
|
|
|
.embed__overlay-logo {
|
2021-09-18 10:23:30 -04:00
|
|
|
max-height: 2rem;
|
|
|
|
max-width: 7rem;
|
2021-08-03 13:23:52 -04:00
|
|
|
}
|