-
Notifications
You must be signed in to change notification settings - Fork 2
/
_flowplayer.sass
42 lines (41 loc) · 1.04 KB
/
_flowplayer.sass
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
$video-width: 720px !default
$video-aspect-ratio-wide: 9 / 16 !default
$video-aspect-ratio-four-three: 3 / 4 !default
.video-wrapper
max-width: $video-width
.video-inner
padding:
bottom: $video-aspect-ratio-wide * 100%
&.aspect-four-three
.video-inner
padding:
bottom: $video-aspect-ratio-four-three * 100%
.video-inner
position: relative
margin:
bottom: $site-padding * 2
video,
object,
.poster a,
.poster img
display: block
video,
object,
.poster
position: absolute
top: 0
left: 0
width: 100%
height: 100%
.play-button
pointer-events: none
position: absolute
top: 50%
left: 50%
margin:
top: -50px
left: -25px
width: 0
height: 0
border: 50px solid transparent
left-color: rgba(#000, 0.3)