First release
This commit is contained in:
commit
fa6c85266e
2339 changed files with 761050 additions and 0 deletions
64
node_modules/video.js/src/css/components/_live.scss
generated
vendored
Normal file
64
node_modules/video.js/src/css/components/_live.scss
generated
vendored
Normal file
|
@ -0,0 +1,64 @@
|
|||
// css for the old live ui, assumes that the progress bar is hidden
|
||||
.video-js .vjs-live-control {
|
||||
@include display-flex(flex-start);
|
||||
@include flex(auto);
|
||||
font-size: 1em;
|
||||
line-height: 3em;
|
||||
}
|
||||
|
||||
.vjs-no-flex .vjs-live-control {
|
||||
display: table-cell;
|
||||
width: auto;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
// hide the LiveDisplay when not live or when
|
||||
// the new liveui is in use
|
||||
.video-js:not(.vjs-live) .vjs-live-control,
|
||||
.video-js.vjs-liveui .vjs-live-control {
|
||||
display: none;
|
||||
}
|
||||
|
||||
// css for the new live ui below
|
||||
.video-js .vjs-seek-to-live-control {
|
||||
align-items: center;
|
||||
cursor: pointer;
|
||||
@include flex(none);
|
||||
display: inline-flex;
|
||||
height: 100%;
|
||||
padding-left: 0.5em;
|
||||
padding-right: 0.5em;
|
||||
font-size: 1em;
|
||||
line-height: 3em;
|
||||
width: auto;
|
||||
min-width: 4em;
|
||||
}
|
||||
|
||||
.vjs-no-flex .vjs-seek-to-live-control {
|
||||
display: table-cell;
|
||||
width: auto;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
// hide the SeekToLive button when not live and
|
||||
// when the liveui is not in use
|
||||
.video-js.vjs-live:not(.vjs-liveui) .vjs-seek-to-live-control,
|
||||
.video-js:not(.vjs-live) .vjs-seek-to-live-control {
|
||||
display: none;
|
||||
}
|
||||
|
||||
// only show as a pointer when we will seek to live edge
|
||||
.vjs-seek-to-live-control.vjs-control.vjs-at-live-edge {
|
||||
cursor: auto;
|
||||
}
|
||||
|
||||
.vjs-seek-to-live-control .vjs-icon-placeholder {
|
||||
margin-right: 0.5em;
|
||||
@extend .vjs-icon-circle;
|
||||
color: #888;
|
||||
}
|
||||
|
||||
// make the live circle red when at the live edge
|
||||
.vjs-seek-to-live-control.vjs-control.vjs-at-live-edge .vjs-icon-placeholder {
|
||||
color: red;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue