-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
214 lines (213 loc) · 20.9 KB
/
index.html
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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Elements is an interactive periodic table app. It contains a molar mass calculator and visual scales of molecular properties.">
<title>Elements</title>
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/styles.css">
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-58875517-1', 'auto'); ga('send', 'pageview'); </script>
</head>
<body>
<div id="candy-wrapper">
<table id="p-table">
<tr class="p-row">
<td class="element" id="H"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="space status"></td>
<td class="space status" id="the-box" colspan=10 rowspan=3>
<div class="mode" id="trad-mode">
<div class="box-data trad-data" id="box-symbol"></div>
<div class="box-data trad-data" id="box-name"></div>
<div class="box-data trad-data box-row-1 box-col-1" id="box-number"></div>
<div class="box-data trad-data box-row-2 box-col-1" id="box-mass"></div>
<div class="box-data trad-data box-row-3 box-col-1" id="box-density"></div>
<div class="box-data trad-data box-row-4 box-col-1" id="box-electro"></div>
<div class="box-data trad-data box-row-1 box-col-2" id="box-melting"></div>
<div class="box-data trad-data box-row-2 box-col-2" id="box-boiling"></div>
<div class="box-data trad-data box-row-3 box-col-2" id="box-specific"></div>
<div class="box-data trad-data" id="box-type"></div>
</div>
<div class="mode" id="calc-mode" hidden>
<div class="box-data calc-data" id="molecule-mass"></div>
<div class="box-data calc-data" id="molecule-error"></div>
<input type="text" class="box-data calc-data" id="molecule-text" placeholder="Chemical Formula">
<div class="box-data calc-data" id="molecule-formula"></div>
<div class="box-data calc-data" id="molecule-name"></div>
<div class="box-data calc-data" id="mass-percent"></div>
<div class="box-data calc-data" id="molecule-clear"></div>
</div>
<div class="mode" id="scale-mode" hidden>
<div class="box-data" id="scale-title"></div>
<div class="box-data scale-data scale-col-1 scale-row-1" id="no-scale"></div>
<div class="box-data scale-data scale-col-1 scale-row-2" id="mass-scale"></div>
<div class="box-data scale-data scale-col-1 scale-row-3" id="density-scale"></div>
<div class="box-data scale-data scale-col-1 scale-row-4" id="electro-scale"></div>
<div class="box-data scale-data scale-col-2 scale-row-1" id="melt-scale"></div>
<div class="box-data scale-data scale-col-2 scale-row-2" id="boil-scale"></div>
<div class="box-data scale-data scale-col-2 scale-row-3" id="specific-scale"></div>
<div class="box-data" id="units"></div>
</div>
</td>
<td class="space status" id="nav-row" colspan=5>
<div id="nav-header" class="nav-element">Modes</div>
<div id='trad-button' class="nav-element nav-button">Traditional</div>
<div id='calc-button' class="nav-element nav-button">Calculator</div>
<div id='scale-button' class="nav-element nav-button">Scale</div>
</td>
<td class="element" id="He"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
</tr>
<tr class="p-row">
<td class="element" id="Li"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Be"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<!-- SPACE -->
<td class="element" id="B"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="C"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="N"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="O"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="F"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Ne"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
</tr>
<tr class="p-row">
<td class="element" id="Na"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Mg"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<!--SPACE-->
<td class="element" id="Al"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Si"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="P"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="S"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Cl"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Ar"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
</tr>
<tr class="p-row">
<td class="element" id="K"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Ca"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Sc"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Ti"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="V"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Cr"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Mn"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Fe"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Co"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Ni"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Cu"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Zn"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Ga"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Ge"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="As"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Se"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Br"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Kr"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
</tr>
<tr class="p-row">
<td class="element" id="Rb"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Sr"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Y"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Zr"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Nb"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Mo"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Tc"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Ru"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Rh"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Pd"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Ag"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Cd"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="In"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Sn"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Sb"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Te"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="I"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Xe"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
</tr>
<tr class="p-row">
<td class="element" id="Cs"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Ba"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="space" rowspan=2></td>
<td class="element" id="Hf"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Ta"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="W"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Re"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Os"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Ir"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Pt"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Au"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Hg"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Tl"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Pb"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Bi"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Po"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="At"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Rn"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
</tr>
<tr class="p-row">
<td class="element" id="Fr"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Ra"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Rf"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Db"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Sg"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Bh"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Hs"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Mt"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Ds"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Rg"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Cn"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Uut"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Fl"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Uup"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Lv"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Uus"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Uuo"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
</tr>
<tr class="p-row">
<td class="space empty-row" colspan=2></td>
<td class="space empty-row" colspan=16></td>
</tr>
<tr class="p-row">
<td class="space" colspan=3></td>
<td class="element" id="La"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Ce"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Pr"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Nd"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Pm"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Sm"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Eu"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Gd"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Tb"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Dy"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Ho"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Er"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Tm"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Yb"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Lu"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
</tr>
<tr class="p-row">
<td class="space" colspan=3></td>
<td class="element" id="Ac"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Th"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Pa"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="U"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Np"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Pu"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Am"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Cm"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Bk"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Cf"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Es"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Fm"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Md"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="No"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
<td class="element" id="Lr"><div class="number"></div><div class="symbol"></div><div class="mass"></div></td>
</tr>
</table>
<div id="git-container"><a target="_blank" href="https://github.com/nickroberts404/Elements">
<?xml version="1.0" encoding="utf-8"?> <!-- Generated by IcoMoon.io --> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> <svg id="github-svg" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 64 64"> <path id="github-icon" d="M32.001 0.79c-17.671 0-32.001 14.326-32.001 32 0 14.138 9.169 26.133 21.884 30.365 1.599 0.296 2.187-0.694 2.187-1.539 0-0.763-0.030-3.284-0.044-5.958-8.903 1.936-10.781-3.776-10.781-3.776-1.455-3.699-3.553-4.682-3.553-4.682-2.903-1.986 0.219-1.945 0.219-1.945 3.213 0.226 4.905 3.298 4.905 3.298 2.855 4.892 7.486 3.477 9.313 2.66 0.287-2.068 1.116-3.48 2.032-4.279-7.108-0.809-14.58-3.553-14.58-15.815 0-3.494 1.25-6.348 3.297-8.589-0.332-0.806-1.428-4.061 0.309-8.469 0 0 2.688-0.86 8.802 3.281 2.552-0.709 5.29-1.065 8.010-1.077 2.719 0.012 5.459 0.368 8.016 1.077 6.108-4.14 8.791-3.281 8.791-3.281 1.742 4.408 0.647 7.663 0.315 8.469 2.051 2.241 3.293 5.096 3.293 8.589 0 12.291-7.486 14.997-14.612 15.789 1.148 0.993 2.17 2.94 2.17 5.926 0 4.282-0.037 7.728-0.037 8.782 0 0.852 0.576 1.85 2.198 1.535 12.708-4.236 21.865-16.227 21.865-30.361 0-17.674-14.327-32-32-32z"></path> </svg>
</a></div>
</div>
<!-- jQuery 1.11.1 -->
<script src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
<script src="js/chroma.min.js"></script>
<script src='js/app.js'></script>
</body>
</html>