-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.html
executable file
·306 lines (284 loc) · 10.6 KB
/
main.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
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
<!DOCTYPE html>
<html lang="en" class="no-js">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Something Hacks</title>
<meta name="description" content="Sidebar Transitions: Transition effects for off-canvas views" />
<meta name="keywords" content="transition, off-canvas, navigation, effect, 3d, css3, smooth" />
<meta name="author" content="Codrops" />
<link rel="shortcut icon" href="../favicon.ico">
<link rel="stylesheet" type="text/css" href="css/normalize.css" />
<link rel="stylesheet" type="text/css" href="css/demo.css" />
<link rel="stylesheet" type="text/css" href="css/icons.css" />
<link rel="stylesheet" type="text/css" href="css/component.css" />
<link rel="stylesheet" type="text/css" href="css/style10.css" />
<link rel="stylesheet" type="text/css" href="css/checkout-sidebar.css" />
<style type="text/css">#answer1, #answer2, #answer3, #answer4 {display: none;}</style>
<script src="js/snap.svg-min.js"></script>
<script src="js/modernizr.custom.js"></script>
<script src="js/segment.min.js"></script>
<script src="js/ease.min.js"></script>
<style>
#menu {
background-image: url('img/burgerButton.png');
background-color: transparent;
border: none;
background-size: 48px 48px;
height: 50px;
width: 50px;
}
.progress {
margin: 20px auto;
text-align: center;
}
.progress .circle,
.progress .bar {
display: inline-block;
background: #fff;
width: 40px; height: 40px;
border-radius: 40px;
border: 1px solid #d5d5da;
}
.progress .bar {
position: relative;
width: 80px;
height: 6px;
top: -33px;
margin-left: -5px;
margin-right: -5px;
border-left: none;
border-right: none;
border-radius: 0;
}
.progress .circle .label {
display: inline-block;
width: 32px;
height: 32px;
line-height: 32px;
border-radius: 32px;
margin-top: 3px;
color: #b5b5ba;
font-size: 17px;
}
.progress .circle .title {
color: #b5b5ba;
font-size: 13px;
line-height: 30px;
margin-left: -5px;
}
/* Done / Active */
.progress .bar.done,
.progress .circle.done {
background: #eee;
}
.progress .bar.active {
background: linear-gradient(to right, #EEE 40%, #FFF 60%);
}
.progress .circle.done .label {
color: #FFF;
background: #8bc435;
box-shadow: inset 0 0 2px rgba(0,0,0,.2);
}
.progress .circle.done .title {
color: #444;
}
.progress .circle.active .label {
color: #FFF;
background: #0c95be;
box-shadow: inset 0 0 2px rgba(0,0,0,.2);
}
.progress .circle.active .title {
color: #0c95be;
}
</style>
</head>
<body>
<div class="md-modal md-effect-1" id="modal-1">
<div class="md-content">
<h3>Affordable Housing</h3>
<div>
<p>Providing affordable housing opportunities for low-income and homeless individuals</p>
<div class ="container question" id="answer">
<div class="new_member_box">
<a href="#" class="question1"><h4 style="color:white;">General Funding</h4></a>
</div>
<div class="new_member_box">
<a href="#" class="question2"><h4 style="color:white;">Local Housing</h4></a>
</div>
<div class="new_member_box">
<a href="#" class="question3"><h4 style="color:white;">Staffing</h4></a>
</div>
<div class="new_member_box">
<a href="#" class="question4"><h4 style="color:white;">Outreach</h4></a>
</div>
</div>
<div class="clear" class="question"></div>
<div id="answer2"><h4 style="color:white;">Local Housing</h4>
<div class = "container">
<div class="progress">
<div class="circle done">
<span class="label">1</span>
<span class="title">Funding</span>
</div>
<span class="bar done"></span>
<div class="circle done">
<span class="label">2</span>
<span class="title">Operations</span>
</div>
<span class="bar half"></span>
<div class="circle active">
<span class="label">3</span>
<span class="title">Phase1</span>
</div>
<span class="bar"></span>
<div class="circle">
<span class="label">4</span>
<span class="title">Phase2</span>
</div>
<span class="bar"></span>
<div class="circle">
<span class="label">5</span>
<span class="title">Finish</span>
</div>
</div>
</div>
<p>Need $10000 to finish funding phase</p>
<button><a href="monitor.html">Support Now</a></button>
<button>Custom Amount</button>
</div>
<div id="answer1">Lorem</div>
<div id="answer3">Lorem</div>
<div id="answer4">Lorem</div>
</div>
</div>
</div>
<div id="st-container" class="">
<!--
example menus
these menus will be on top of the push wrapper
-->
<nav class="st-menu st-effect-9" id="menu-9">
<h2 style="color:white;">Menu</h2>
<ul>
<li><img src= "img/dummy2.png" style = "height:100px; display:block; margin:auto;"></li>
<p style = "text-align: center;"> Kent Makishima </p>
<li><a class="icon icon-data" href="main.html">Purchase</a></li>
<li><a class="icon icon-location" href="monitor.html">Monitoring</a></li>
<li><a class="icon icon-location" href="tax.pdf">Tax Forms</a></li>
<li><a class="icon icon-location" href="index.html">Logout</a></li>
</ul>
</nav>
<!-- content push wrapper -->
<div class="st-pusher">
<div class="st-content"><!-- this is the wrapper for the content -->
<div class="st-content-inner"><!-- extra div for emulating position:fixed of the menu -->
<!-- Top Navigation -->
<div class="main clearfix">
<div id="st-trigger-effects" class="column">
<button id="menu" data-effect="st-effect-9"></button>
</div>
<div class="container">
<!-- Top Navigation -->
<!-- <header class="codrops-header">
<h1 style="color:black">Welcome Back Kent</h1>
</header> -->
<section class="grid-wrap">
<ul class="grid swipe-rotate" id="grid">
<li class="title-box">
<h2>Available Infrastructure Opportunties</h2>
</li>
<li><a class="md-trigger" data-modal="modal-1" href="#"><img src="img/dummy1.png" alt="dummy"><h3>Affordable Housing</h3></a></li>
<li><a href="#"><img src="img/dummy2.png" alt="dummy"><h3>Food</h3></a></li>
<li><a href="#"><img src="img/dummy3.png" alt="dummy"><h3>Hygiene</h3></a></li>
<li><a href="#"><img src="img/dummy4.png" alt="dummy"><h3>Clothing</h3></a></li>
<li><a href="#"><img src="img/dummy5.png" alt="dummy"><h3>Work</h3></a></li>
<li><a href="#"><img src="img/dummy6.png" alt="dummy"><h3>Health Wellness</h3></a></li>
<li><a href="#"><img src="img/dummy7.png" alt="dummy"><h3>Emergency Care</h3></a></li>
<li><a href="#"><img src="img/dummy8.png" alt="dummy"><h3>Veterans</h3></a></li>
<li><a href="#"><img src="img/dummy9.png" alt="dummy"><h3>Emergency Care</h3></a></li>
<li><a href="#"><img src="img/dummy10.png" alt="dummy"><h3>Solar Infrastructure</h3></a></li>
<li><a href="#"><img src="img/dummy11.png" alt="dummy"><h3>Small Business</h3></a></li>
<li><a href="#"><img src="img/dummy12.png" alt="dummy"><h3>Education</h3></a></li>
<li><a href="#"><img src="img/dummy13.png" alt="dummy"><h3>Healthcare</h3></a></li>
<li><a href="#"><img src="img/dummy14.png" alt="dummy"><h3>Public Transportation</h3></a></li>
<li><a href="#"><img src="img/dummy15.png" alt="dummy"><h3>Misc</h3></a></li>
<li class="title-box">
<a href="#grid"><h2>Back to Top</h2>
</li>
</ul>
</section>
</div><!-- /main -->
<div class="md-overlay"></div><!-- the overlay element -->
</div><!-- /st-content-inner -->
</div><!-- /st-content -->
</div><!-- /st-pusher -->
</div><!-- /st-container -->
<!-- open/close -->
<script src="js/classie.js"></script>
<script src="js/sidebarEffects.js"></script>
<script src="js/masonry.pkgd.min.js"></script>
<script src="js/imagesloaded.pkgd.min.js"></script>
<script src="js/colorfinder-1.1.js"></script>
<script src="js/gridScrollFx.js"></script>
<script src="js/main.js"></script>
<script src="js/demo10.js"></script>
<script src="js/modalEffects.js"></script>
<script>
new GridScrollFx( document.getElementById( 'grid' ), {
viewportFactor : 0.4
} );
</script>
<script>
// this is important for IEs
var polyfilter_scriptpath = '/js/';
</script>
<script src="js/cssParser.js"></script>
<script src="js/css-filters-polyfill.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<script>
$('[class^="question"]').on('click', function(e){
e.preventDefault();
var numb = this.className.replace('question', '');
$('[id^="answer"]').hide();
$('#answer' + numb).show();
});
</script>
<script>
(function() {
[].slice.call( document.querySelectorAll( '.checkout' ) ).forEach( function( el ) {
var openCtrl = el.querySelector( '.checkout__button' ),
closeCtrls = el.querySelectorAll( '.checkout__cancel' );
openCtrl.addEventListener( 'click', function(ev) {
ev.preventDefault();
classie.add( el, 'checkout--active' );
} );
[].slice.call( closeCtrls ).forEach( function( ctrl ) {
ctrl.addEventListener( 'click', function() {
classie.remove( el, 'checkout--active' );
} );
} );
} );
})();
</script>
<script>
var i = 1;
$('.progress .circle').removeClass().addClass('circle');
$('.progress .bar').removeClass().addClass('bar');
setInterval(function() {
$('.progress .circle:nth-of-type(' + i + ')').addClass('active');
$('.progress .circle:nth-of-type(' + (i-1) + ')').removeClass('active').addClass('done');
$('.progress .circle:nth-of-type(' + (i-1) + ') .label').html('✓');
$('.progress .bar:nth-of-type(' + (i-1) + ')').addClass('active');
$('.progress .bar:nth-of-type(' + (i-2) + ')').removeClass('active').addClass('done');
// i++;
if (i==0) {
$('.progress .bar').removeClass().addClass('bar');
$('.progress div.circle').removeClass().addClass('circle');
i = 1;
}
}, 1000);
</script>
</body>
</html>