-
Notifications
You must be signed in to change notification settings - Fork 1
/
styles.css
110 lines (93 loc) · 1.78 KB
/
styles.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
105
106
107
108
109
110
html,
body {
margin: 0;
box-sizing: border-box;
background-color: black;
overflow: hidden;
font-family: 'Trebuchet MS', Arial, sans-serif;
}
#prism-svg {
height: 100vh;
width: 100vw;
}
#prism-glass {
filter: drop-shadow(0 0 1pt rgba(255, 255, 255, 0.75));
transition: 0.5s;
cursor: pointer;
}
#prism-glass:hover {
stroke-width: 2.5;
}
#prism-refraction {
filter: blur(0.5px);
}
#settings-container {
bottom: -250px;
width: 100%;
transition: 1s;
display: flex;
flex-direction: column;
align-items: center;
position: absolute;
/* Container should be click through to allow svg events. */
pointer-events: none;
}
#settings-container.move-in {
bottom: 0;
}
#settings {
border-top-left-radius: 30px;
border-top-right-radius: 30px;
padding: 15px;
gap: 5px;
background-color: rgba(255, 255, 255, 0.70);
display: flex;
flex-direction: column;
align-items: center;
pointer-events: all;
}
/* Numeric display */
#settings span {
width: 40px;
}
#button-close-settings {
border-radius: 33%;
padding: 0;
margin-bottom: 5px;
color: black;
align-self: flex-end;
font-size: large;
border: none;
background-color: transparent;
cursor: pointer;
}
.glow {
animation: glow-animation 5s infinite alternate;
}
.draggable {
cursor: move;
}
.d-none {
display: none !important;
}
.warning {
height: 20px;
display: block;
color: darkred;
text-align: center;
}
.setting {
display: inline-flex;
gap: 5px;
}
input[type="range"] {
width: 150px;
}
@keyframes glow-animation {
from {
filter: drop-shadow(0 0 5pt rgba(255, 255, 255, 0.75));
}
to {
filter: drop-shadow(0 0 1pt rgba(150, 150, 150, 0.75));
}
}