aboutsummaryrefslogtreecommitdiffstats
path: root/src/sass/plugins/ads.scss
blob: 4bff7a201c97937a74c6342af1f5bd3b72a599a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// ==========================================================================
// Advertisments
// ==========================================================================

.plyr__ads {
    display: none; // Hide initially.
    bottom: 0;
    cursor: pointer;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 3; // Above the controls.

    video {
        left: 0;
    }
}

// Advertisement cue's for the progress bar.
.plyr__cues {
    display: block;
    position: absolute;
    z-index: 3; // Between progress and thumb.
    top: 50%;
    left: 0;
    margin: -($plyr-range-track-height / 2) 0 0;
    width: 3px;
    height: $plyr-range-track-height;
    background: currentColor;
    opacity: 0.8;
}