forked from cerebral/overmind
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathelements.tsx
More file actions
48 lines (43 loc) · 876 Bytes
/
elements.tsx
File metadata and controls
48 lines (43 loc) · 876 Bytes
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
import styled from '../../styled-components'
export const Wrapper = styled.div`
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
opacity: 0;
transition: opacity 0.25s ease-in;
`
export const Backdrop = styled.a`
position: absolute;
top: 0;
left: 0;
z-index: -1;
width: 100vw;
height: 100vh;
background-color: #000;
opacity: 0.5;
`
export const Video = styled.div`
position: relative;
display: inline-block;
width: 560px;
height: 315px;
box-shadow: 0px 0px 36px 0px rgba(0, 0, 0, 0.75);
background-color: #000;
`
export const Loader = styled.div`
position: absolute;
width: 560px;
top: 50%;
text-align: center;
color: ${({ theme }) => theme.color.white};
`
export const Iframe = styled.iframe`
position: absolute;
top: 0;
left: 0;
`