-
Notifications
You must be signed in to change notification settings - Fork 10
/
video-embed-privacy.css
77 lines (68 loc) · 1.5 KB
/
video-embed-privacy.css
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
.video-wrapped {
background: black no-repeat center center;
background-size: cover;
color: white;
overflow: hidden;
position: relative;
cursor: pointer;
max-width: 100%;
margin: auto;
}
.video-wrapped-clicked {
background: transparent;
background-image: none !important;
}
.video-wrapped .video-wrapped-nojs {
padding: 20px;
cursor: auto;
}
.video-wrapped .video-wrapped-play {
text-align: center;
font-size: 30px;
padding-top: 20px;
position: relative;
left: 0;
right: 0;
margin-top: 30%;
cursor: pointer;
text-shadow: 1px 1px 3px black;
}
.video-wrapped .video-wrapped-play span {
background: rgba(0, 0, 0, .3);
box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
}
.video-wrapped.video-wrapped-video .video-wrapped-play:before {
content: '';
position: absolute;
width: 80px;
height: 50px;
margin-left: -40px;
left: 50%;
top: -35px;
background: black;
border-radius: 5px;
}
.video-wrapped.video-wrapped-video:hover .video-wrapped-play:before {
box-shadow: 0 0 5px rgba(0, 0, 0, .3);
}
.video-wrapped.video-wrapped-yt .video-wrapped-play:before {
background: rgb(185, 0, 0);
}
.video-wrapped.video-wrapped-vimeo .video-wrapped-play:before {
background: #08c;
}
.video-wrapped.video-wrapped-video .video-wrapped-play:after {
content: '';
border-style: solid;
border-width: 17px 0 17px 35px;
border-color: transparent transparent transparent white;
position: absolute;
width: 0;
height: 0;
margin-left: -15px;
left: 50%;
top: -27px;
}
.video-wrapped .video-wrapped-play .small {
font-size: 50%;
}