forked from sketchfab/experiments
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle-0.0.1.css
104 lines (92 loc) · 1.63 KB
/
style-0.0.1.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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
html,
body {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
.app {
position: relative;
width: 100%;
height: calc( 100% - 60px );
}
#video {
position: absolute;
right: 0;
bottom: 0;
min-width: 100%;
min-height: 100%;
width: auto;
height: auto;
z-index: -100;
background-size: cover;
}
#viewer {
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
z-index: 1;
display: none;
}
#controls {
box-sizing: border-box;
background: #FFFFFF;
border-radius: 3px;
position: absolute;
padding: 15px 20px 0 20px;
top: 10px;
left: 10px;
z-index: 1;
max-height: 15px;
overflow: hidden;
}
#controls.active {
max-height: 1000px;
padding: 20px;
}
#controls h1 {
font-size: 16px;
margin: 0 0 10px 0;
}
#controls p {
margin: 1em 0 0 0;
font-size: 13px;
}
#controls .toggle {
display: block;
color: #AAA;
position: absolute;
left: 0;
top: 0;
width: 100%;
font-size: 10px;
height: 15px;
line-height: 15px;
text-align: center;
cursor: pointer;
}
#controls .toggle:hover {
background: #EEE;
}
#controls .arrow {
display: block;
}
#controls.active .arrow {
transform: rotate(180deg);
}
#rasterCanvas {
position: fixed;
bottom: 0;
right: 0;
display: none;
}
.message.--info {
background: #FFE9B4;
border: 1px solid #FED600;
padding: 10px 20px;
border-radius: 3px;
font-size: 14px;
margin: 1em 0;
}