Skip to content

Commit c0c290d

Browse files
committed
Added css for video stream in admin
1 parent 5953f5a commit c0c290d

1 file changed

Lines changed: 49 additions & 0 deletions

File tree

public/css/all.css

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -823,4 +823,53 @@ label .description {
823823
/* Class for just-dropped elements (to be added dynamically) */
824824
.element-just-dropped {
825825
animation: dropBounce 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
826+
}
827+
828+
/* ===== Streaming Video Component Styles ===== */
829+
/* These styles are required for the stream element to render in the web page editor */
830+
831+
#liveContainer {
832+
height: 100%;
833+
width: 100%;
834+
background-color: #000;
835+
display: flex;
836+
flex-direction: column;
837+
}
838+
839+
#liveBody {
840+
flex: 9;
841+
display: flex;
842+
height: 100%;
843+
}
844+
845+
#videoContainer {
846+
flex: 3;
847+
overflow: hidden;
848+
display: flex;
849+
flex-direction: row;
850+
}
851+
852+
#videoContainer iframe {
853+
width: 100%;
854+
flex: 1 1 100%;
855+
align-self: center;
856+
height: 100%;
857+
}
858+
859+
#noVideoContent {
860+
color: #fff;
861+
width: 100%;
862+
text-align: center;
863+
align-self: center;
864+
}
865+
866+
#videoContainer.embedded {
867+
padding-bottom: 56.25%;
868+
position: relative;
869+
}
870+
871+
#videoContainer.embedded iframe,
872+
#videoContainer.embedded #noVideoContent {
873+
position: absolute;
874+
align-self: auto;
826875
}

0 commit comments

Comments
 (0)