aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/static/modules/plyr/custom_plyr.css
blob: 0fd3c52a7fc501a758e9483eb9f280be87f42377 (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
33
34
35
36
37
38
39
/* Prevent this div from blocking right-click menu for video
e.g. Firefox playback speed options */
.plyr__poster {
    display: none;
}

/* plyr fix */
.plyr:-moz-full-screen video {
    max-height: initial;
}

.plyr:-webkit-full-screen video {
    max-height: initial;
}

.plyr:-ms-fullscreen video {
    max-height: initial;
}

.plyr:fullscreen video {
    max-height: initial;
}

.plyr__preview-thumb__image-container {
    width: 158px;
    height: 90px;
}

.plyr__preview-thumb {
    bottom: 100%;
}

.plyr__menu__container [role="menu"],
.plyr__menu__container [role="menucaptions"] {
    /* Set vertical scroll */
    /* issue https://github.com/sampotts/plyr/issues/1420 */
    max-height: 320px;
    overflow-y: auto;
}