Formatting, events and ad countdown added

This commit is contained in:
Sam Potts
2018-01-22 23:15:10 +11:00
parent 1dd5c9efd9
commit 5671235fd9
11 changed files with 199 additions and 113 deletions

View File

@ -14,16 +14,20 @@
&::after {
background: rgba($plyr-color-gunmetal, 0.8);
border-radius: 2px;
bottom: ($plyr-control-spacing * 2);
bottom: $plyr-control-spacing;
color: #fff;
content: attr(data-badge-text);
font-size: $plyr-font-size-captions-small;
font-size: 10px;
padding: 2px 6px;
pointer-events: none;
position: absolute;
right: ($plyr-control-spacing * 2);
right: $plyr-control-spacing;
z-index: 3;
}
&::after:empty {
display: none;
}
}
// Advertisement cue's for the progress bar.