-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
53 lines (53 loc) · 891 Bytes
/
styles.css
File metadata and controls
53 lines (53 loc) · 891 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
49
50
51
52
53
body, html {
margin: 0;
padding: 0;
height: 100%;
overflow: hidden;
}
#container {
position: relative;
height: 100%;
width: 100%;
}
spline-viewer {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 1;
}
.panel {
position: fixed;
padding-left: 24px;
right: -100%;
width: 300px;
height: 100%;
background: rgba(255, 255, 255, 1);
box-shadow: -2px 0 5px rgba(0,0,0,0.5);
transition: right 0.3s ease;
z-index: 10;
}
.panel.show {
right: 0;
}
.close-btn, .open-btn {
background: #333;
color: #fff;
border: none;
padding: 10px;
cursor: pointer;
z-index: 11;
}
.close-btn {
position: absolute;
top: 20px;
right: 20px;
}
.open-btn {
position: absolute;
bottom: 20px;
right: 50%;
transform: translateX(50%);
margin-right: 10px;
}