Showing
45 changed files
with
2128 additions
and
0 deletions
project/.vscode/launch.json
0 → 100644
1 | +{ | ||
2 | + // IntelliSense를 사용하여 가능한 특성에 대해 알아보세요. | ||
3 | + // 기존 특성에 대한 설명을 보려면 가리킵니다. | ||
4 | + // 자세한 내용을 보려면 https://go.microsoft.com/fwlink/?linkid=830387을(를) 방문하세요. | ||
5 | + "version": "0.2.0", | ||
6 | + "configurations": [ | ||
7 | + { | ||
8 | + "name": "(Windows) 시작", | ||
9 | + "type": "cppvsdbg", | ||
10 | + "request": "launch", | ||
11 | + "program": "프로그램 이름 입력(예: ${workspaceFolder}/a.exe)", | ||
12 | + "args": [], | ||
13 | + "stopAtEntry": false, | ||
14 | + "cwd": "${workspaceFolder}", | ||
15 | + "environment": [], | ||
16 | + "externalConsole": false | ||
17 | + } | ||
18 | + ] | ||
19 | +} | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
project/css/bootstrap.min.css
0 → 100644
This diff could not be displayed because it is too large.
project/css/templatemo-style.css
0 → 100644
1 | +/* | ||
2 | + | ||
3 | +The Town | ||
4 | + | ||
5 | +https://templatemo.com/tm-525-the-town | ||
6 | + | ||
7 | +*/ | ||
8 | + | ||
9 | + | ||
10 | + | ||
11 | +html { | ||
12 | + font-size: 18px; | ||
13 | +} | ||
14 | + | ||
15 | +body { | ||
16 | + color: #8f8f8f; | ||
17 | + margin: 0; | ||
18 | + padding: 0; | ||
19 | + overflow-x: hidden; | ||
20 | + font-family:'NanumBarunGothic' | ||
21 | +} | ||
22 | +a { | ||
23 | + transition: all 0.3s ease; | ||
24 | +} | ||
25 | + | ||
26 | +a:hover, | ||
27 | +a:focus { | ||
28 | + text-decoration: none; | ||
29 | +} | ||
30 | + | ||
31 | +a:focus { | ||
32 | + outline: none; | ||
33 | +} | ||
34 | + | ||
35 | +.btn { | ||
36 | + padding: 8px 32px; | ||
37 | +} | ||
38 | + | ||
39 | +.btn:hover { | ||
40 | + background-color: #ced4da; | ||
41 | +} | ||
42 | + | ||
43 | +.tm-section-pad-top { | ||
44 | + padding-top: 135px; | ||
45 | +} | ||
46 | + | ||
47 | +.tm-text-primary { | ||
48 | + color: #3496d8; | ||
49 | +} | ||
50 | + | ||
51 | +.tm-font-big { | ||
52 | + font-size: 1rem; | ||
53 | +} | ||
54 | + | ||
55 | +.tm-btn-primary { | ||
56 | + color: white; | ||
57 | + background-color: #3496d8; | ||
58 | + padding: 14px 35px; | ||
59 | + border-radius: 30px; | ||
60 | +} | ||
61 | + | ||
62 | +.tm-btn-primary:hover, | ||
63 | +.tm-btn-primary:focus { | ||
64 | + color: white; | ||
65 | + background-color: #73c1f6; | ||
66 | +} | ||
67 | + | ||
68 | +/* Navbar */ | ||
69 | + | ||
70 | +.tm-navbar { | ||
71 | + position: fixed; | ||
72 | + width: 100%; | ||
73 | + z-index: 1000; | ||
74 | + background-color: transparent; | ||
75 | + transition: all 0.3s ease; | ||
76 | +} | ||
77 | + | ||
78 | +.tm-navbar.scroll { | ||
79 | + background-color: white; | ||
80 | + border-bottom: 1px solid #e9ecef; | ||
81 | +} | ||
82 | + | ||
83 | +.navbar-brand { | ||
84 | + color: white; | ||
85 | + font-size: 1.4rem; | ||
86 | + font-weight: bold; | ||
87 | +} | ||
88 | + | ||
89 | +.navbar-brand:hover, | ||
90 | +.tm-navbar.scroll .navbar-brand:hover { | ||
91 | + color: grey; | ||
92 | +} | ||
93 | + | ||
94 | +.tm-navbar.scroll .navbar-brand { | ||
95 | + color: #8f8f8f; | ||
96 | +} | ||
97 | + | ||
98 | +.nav-item { | ||
99 | + list-style: none; | ||
100 | +} | ||
101 | + | ||
102 | +.tm-nav-link { | ||
103 | + color: white; | ||
104 | +} | ||
105 | + | ||
106 | +.tm-navbar.scroll .tm-nav-link { | ||
107 | + color: #8f8f8f; | ||
108 | +} | ||
109 | + | ||
110 | +.tm-navbar.scroll .tm-nav-link:hover, | ||
111 | +.tm-navbar.scroll .tm-nav-link.current, | ||
112 | +.tm-nav-link:hover { | ||
113 | + color: #3496d8; | ||
114 | +} | ||
115 | + | ||
116 | +.navbar-toggler { | ||
117 | + border: 1px solid white; | ||
118 | + padding-left: 10px; | ||
119 | + padding-right: 10px; | ||
120 | +} | ||
121 | + | ||
122 | +.navbar-toggler-icon { | ||
123 | + color: white; | ||
124 | + padding-top: 6px; | ||
125 | +} | ||
126 | + | ||
127 | +.tm-navbar.scroll .navbar-toggler { | ||
128 | + border: 1px solid #8f8f8f; | ||
129 | +} | ||
130 | + | ||
131 | +.tm-navbar.scroll .navbar-toggler-icon { | ||
132 | + color: #8f8f8f; | ||
133 | +} | ||
134 | + | ||
135 | +/* Hero */ | ||
136 | + | ||
137 | +#hero { | ||
138 | + background-repeat: no-repeat; | ||
139 | + height: 100vh; | ||
140 | + min-height: 375px; | ||
141 | + position: relative; | ||
142 | +} | ||
143 | + | ||
144 | +#hero-video{ | ||
145 | + position: fixed; | ||
146 | + right: 0; | ||
147 | + bottom: 0; | ||
148 | + min-width: 100%; | ||
149 | + min-height: 100%; | ||
150 | + max-height: 100%; | ||
151 | + z-index:-1; | ||
152 | + object-fit: cover; | ||
153 | +} | ||
154 | + | ||
155 | +@media (min-height: 830px) { | ||
156 | + #hero { | ||
157 | + background-position: center -210px; | ||
158 | + } | ||
159 | +} | ||
160 | + | ||
161 | +@media (min-height: 680px) and (max-height: 829px) { | ||
162 | + #hero { | ||
163 | + background-position: center -300px; | ||
164 | + } | ||
165 | +} | ||
166 | + | ||
167 | +@media (min-height: 500px) and (max-height: 679px) { | ||
168 | + #hero { | ||
169 | + background-position: center -400px; | ||
170 | + } | ||
171 | +} | ||
172 | + | ||
173 | +@media (max-height: 499px) { | ||
174 | + #hero { | ||
175 | + background-position: center -450px; | ||
176 | + } | ||
177 | +} | ||
178 | + | ||
179 | +.tm-hero-text-container { | ||
180 | + width: 100%; | ||
181 | + height: 100%; | ||
182 | + display: flex; | ||
183 | + flex-flow: column; | ||
184 | + justify-content: center; | ||
185 | +} | ||
186 | + | ||
187 | +.tm-hero-text-container-inner { | ||
188 | + margin-top: -90px; | ||
189 | +} | ||
190 | + | ||
191 | +.tm-hero-title { | ||
192 | + font-size: 2rem; | ||
193 | + text-shadow: 2px 2px 2px #333; | ||
194 | +} | ||
195 | + | ||
196 | +.tm-intro-next { | ||
197 | + position: absolute; | ||
198 | + bottom: 80px; | ||
199 | + left: 0; | ||
200 | + right: 0; | ||
201 | +} | ||
202 | + | ||
203 | +@media (max-height: 480px) { | ||
204 | + .tm-hero-text-container-inner { | ||
205 | + margin-top: -40px; | ||
206 | + } | ||
207 | + | ||
208 | + .tm-intro-next { | ||
209 | + bottom: 20px; | ||
210 | + } | ||
211 | +} | ||
212 | + | ||
213 | +.tm-down-arrow-link { | ||
214 | + display: block; | ||
215 | + margin-top: 18%; | ||
216 | +} | ||
217 | + | ||
218 | +.tm-down-arrow { | ||
219 | + font-size:15px; | ||
220 | + color: white; | ||
221 | + border: 2px none white; | ||
222 | + border-radius: 3%; | ||
223 | + padding: 10px 22px 8px; | ||
224 | + transition: all 0.3s ease; | ||
225 | +} | ||
226 | + | ||
227 | +.tm-down-arrow:hover, | ||
228 | +.tm-down-arrow:focus { | ||
229 | + color: grey; | ||
230 | + background: white; | ||
231 | +} | ||
232 | + | ||
233 | +/* Introduction */ | ||
234 | + | ||
235 | +.tm-section-title { | ||
236 | + font-size: 2.6rem; | ||
237 | + font-weight: normal; | ||
238 | +} | ||
239 | + | ||
240 | +.tm-intro-text { | ||
241 | + font-size: 1.2rem; | ||
242 | + line-height: 1.4; | ||
243 | +} | ||
244 | + | ||
245 | +.tm-icon { | ||
246 | + display: block; | ||
247 | + margin-bottom: 55px; | ||
248 | + color: #3496d8; | ||
249 | +} | ||
250 | + | ||
251 | + | ||
252 | +/* Contact */ | ||
253 | + | ||
254 | +#contact { | ||
255 | + background-color: grey; | ||
256 | + color: white; | ||
257 | + background-image: url(../img/the-town-bg-02.jpg); | ||
258 | + background-position: center; | ||
259 | + background-repeat: no-repeat; | ||
260 | + min-height: 1500px; | ||
261 | + position: relative; | ||
262 | + padding-bottom: 50px; | ||
263 | + padding-top: 160px; | ||
264 | +} | ||
265 | + | ||
266 | +.question-field{ | ||
267 | + display: flex; | ||
268 | + justify-content: center; | ||
269 | + width:100%; | ||
270 | + height:50px; | ||
271 | +} | ||
272 | +.question-text{ | ||
273 | + width:25%; | ||
274 | + box-sizing: border-box; | ||
275 | + float:left; | ||
276 | + text-align:left; | ||
277 | + padding-right:10px; | ||
278 | + font-size:20px; | ||
279 | +} | ||
280 | +.question-input{ | ||
281 | + width:25%; | ||
282 | + box-sizing:border-box; | ||
283 | + float:right; | ||
284 | +} | ||
285 | +#semester{ | ||
286 | + width: 200px; | ||
287 | + padding: .2em .5em; | ||
288 | + margin-left:0.5rem; | ||
289 | + font-family: inherit; | ||
290 | + color:white; | ||
291 | + background: url('../img/arrow.png') no-repeat 95% 50%; | ||
292 | + background-size: 10% 70%; | ||
293 | + border: 2px solid #999; border-radius: 0px; | ||
294 | + -webkit-appearance: none; | ||
295 | + -moz-appearance: none; | ||
296 | + appearance: none; | ||
297 | +} | ||
298 | +select::-ms-expand { | ||
299 | + display: none; | ||
300 | +} | ||
301 | +출처: https://doolyit.tistory.com/126 [동해둘리의 IT Study] | ||
302 | +input{ | ||
303 | + border-radius:5px; | ||
304 | +} | ||
305 | +.button_calculate{ | ||
306 | + width:15%; | ||
307 | + position:relative; | ||
308 | + left:44%; | ||
309 | + margin-top:40px; | ||
310 | + border:none; | ||
311 | + border-radius:5px; | ||
312 | +} | ||
313 | + | ||
314 | +#map-answer{ | ||
315 | + display:flex; | ||
316 | + justify-content: center; | ||
317 | + border-top:2px solid white; | ||
318 | + padding-top:50px; | ||
319 | +} | ||
320 | +.answer-field{ | ||
321 | + width:30%; | ||
322 | + font-size :30px; | ||
323 | + line-height:80px; | ||
324 | +} | ||
325 | +#answer-how-many-hours{ | ||
326 | + width:100%; | ||
327 | + margin-bottom:100px; | ||
328 | +} | ||
329 | +.row{ | ||
330 | + display:flex; | ||
331 | + justify-content: center; | ||
332 | +} | ||
333 | +#answer-detail{ | ||
334 | + display:flex; | ||
335 | + justify-content: center; | ||
336 | +} | ||
337 | +.answer-detail-question, | ||
338 | +.answer-detail-answer{ | ||
339 | + width:49%; | ||
340 | +} | ||
341 | +.answer-detail-question{ | ||
342 | + text-align: right; | ||
343 | + margin-right:10px; | ||
344 | +} | ||
345 | +.answer-highlight{ | ||
346 | + font-size:35px; | ||
347 | + color:darkseagreen; | ||
348 | +} | ||
349 | +.tm-underline { | ||
350 | + border-top: 2px solid white; | ||
351 | + height: 8px; | ||
352 | + width: 100%; | ||
353 | +} | ||
354 | + | ||
355 | +.tm-underline-inner { | ||
356 | + width: 25%; | ||
357 | + height: 8px; | ||
358 | + background: white; | ||
359 | +} | ||
360 | + | ||
361 | +.tm-contact-item { | ||
362 | + margin-bottom: 75px; | ||
363 | +} | ||
364 | + | ||
365 | +.tm-contact-item-link { | ||
366 | + display: flex; | ||
367 | + align-items: center; | ||
368 | +} | ||
369 | + | ||
370 | +.tm-contact-item-link i, | ||
371 | +.tm-contact-item-link span { | ||
372 | + color: white; | ||
373 | + transition: all 0.3s ease; | ||
374 | +} | ||
375 | + | ||
376 | +.tm-contact-item-link:hover i, | ||
377 | +.tm-contact-item-link:hover span { | ||
378 | + color: #3496d8; | ||
379 | +} | ||
380 | + | ||
381 | +.tm-input { | ||
382 | + padding: 8px 25px; | ||
383 | + border-radius: 3px; | ||
384 | + border: 1px solid white; | ||
385 | + background: transparent; | ||
386 | + color: white; | ||
387 | +} | ||
388 | + | ||
389 | +::placeholder { | ||
390 | + /* Chrome, Firefox, Opera, Safari 10.1+ */ | ||
391 | + color: white; | ||
392 | + opacity: 1; /* Firefox */ | ||
393 | +} | ||
394 | + | ||
395 | +:-ms-input-placeholder { | ||
396 | + /* Internet Explorer 10-11 */ | ||
397 | + color: white; | ||
398 | +} | ||
399 | + | ||
400 | +::-ms-input-placeholder { | ||
401 | + /* Microsoft Edge */ | ||
402 | + color: white; | ||
403 | +} | ||
404 | + | ||
405 | +.tm-btn-submit { | ||
406 | + margin-left: 20px; | ||
407 | +} | ||
408 | +iframe{ | ||
409 | + position: relative; | ||
410 | + right:10%; | ||
411 | +} | ||
412 | + | ||
413 | + | ||
414 | +.tm-footer { | ||
415 | + position: absolute; | ||
416 | + bottom: 35px; | ||
417 | + left: 0; | ||
418 | + right: 0; | ||
419 | + padding: 0 15px; | ||
420 | +} | ||
421 | + | ||
422 | +.tm-footer-link { | ||
423 | + color: white; | ||
424 | +} | ||
425 | + | ||
426 | +.tm-footer-link:hover, | ||
427 | +.tm-footer-link:focus { | ||
428 | + color: #3496d8; | ||
429 | + text-decoration: none; | ||
430 | +} | ||
431 | + | ||
432 | +p { | ||
433 | + line-height: 1.9; | ||
434 | +} | ||
435 | + | ||
436 | +@media (min-width: 768px) { | ||
437 | + .tm-intro-text-container { | ||
438 | + padding-left: 65px; | ||
439 | + } | ||
440 | + | ||
441 | + .navbar-expand-md .navbar-nav .nav-link { | ||
442 | + padding-right: 30px; | ||
443 | + padding-left: 30px; | ||
444 | + } | ||
445 | +} | ||
446 | + | ||
447 | +@media (min-width: 1200px) { | ||
448 | + .container { | ||
449 | + max-width: 1275px; | ||
450 | + } | ||
451 | + | ||
452 | + .tm-container-gallery { | ||
453 | + max-width: 1290px; | ||
454 | + } | ||
455 | + | ||
456 | + .tm-container-contact { | ||
457 | + max-width: 1063px; | ||
458 | + } | ||
459 | +} | ||
460 | + | ||
461 | +@media (max-width: 991px) { | ||
462 | + .tm-intro-text-container { | ||
463 | + padding-left: 15px; | ||
464 | + padding-top: 30px; | ||
465 | + max-width: 600px; | ||
466 | + margin-left: auto; | ||
467 | + margin-right: auto; | ||
468 | + } | ||
469 | + | ||
470 | + .tm-intro-img { | ||
471 | + display: block; | ||
472 | + margin-left: auto; | ||
473 | + margin-right: auto; | ||
474 | + } | ||
475 | + | ||
476 | + .tm-btn-submit { | ||
477 | + margin-left: 0; | ||
478 | + margin-top: 20px; | ||
479 | + } | ||
480 | +} | ||
481 | + | ||
482 | +@media (max-width: 767px) { | ||
483 | + .tm-btn-submit { | ||
484 | + margin-left: 20px; | ||
485 | + margin-top: 0; | ||
486 | + } | ||
487 | + | ||
488 | + .navbar-nav { | ||
489 | + max-width: 200px; | ||
490 | + text-align: right; | ||
491 | + } | ||
492 | + | ||
493 | + .navbar-collapse { | ||
494 | + background-color: rgb(255, 255, 255); | ||
495 | + padding: 10px; | ||
496 | + border-radius: 3px; | ||
497 | + } | ||
498 | + | ||
499 | + .navbar-collapse .nav-link { | ||
500 | + color: #8f8f8f; | ||
501 | + } | ||
502 | +} | ||
503 | + | ||
504 | +@media (max-width: 480px) { | ||
505 | + .tm-gallery-container { | ||
506 | + max-width: 220px; | ||
507 | + margin-left: auto; | ||
508 | + margin-right: auto; | ||
509 | + } | ||
510 | + | ||
511 | + .slick-dots li { | ||
512 | + margin: 0 8px; | ||
513 | + } | ||
514 | + | ||
515 | + .tm-gallery-item { | ||
516 | + margin: 0; | ||
517 | + } | ||
518 | +} | ||
519 | + | ||
520 | +@media (max-width: 420px) { | ||
521 | + .tm-btn-submit { | ||
522 | + display: block; | ||
523 | + margin-left: 0; | ||
524 | + margin-top: 20px; | ||
525 | + } | ||
526 | +} |
project/fontawesome-5.5/LICENSE.txt
0 → 100644
1 | +Font Awesome Free License | ||
2 | +------------------------- | ||
3 | + | ||
4 | +Font Awesome Free is free, open source, and GPL friendly. You can use it for | ||
5 | +commercial projects, open source projects, or really almost whatever you want. | ||
6 | +Full Font Awesome Free license: https://fontawesome.com/license/free. | ||
7 | + | ||
8 | +# Icons: CC BY 4.0 License (https://creativecommons.org/licenses/by/4.0/) | ||
9 | +In the Font Awesome Free download, the CC BY 4.0 license applies to all icons | ||
10 | +packaged as SVG and JS file types. | ||
11 | + | ||
12 | +# Fonts: SIL OFL 1.1 License (https://scripts.sil.org/OFL) | ||
13 | +In the Font Awesome Free download, the SIL OLF license applies to all icons | ||
14 | +packaged as web and desktop font files. | ||
15 | + | ||
16 | +# Code: MIT License (https://opensource.org/licenses/MIT) | ||
17 | +In the Font Awesome Free download, the MIT license applies to all non-font and | ||
18 | +non-icon files. | ||
19 | + | ||
20 | +# Attribution | ||
21 | +Attribution is required by MIT, SIL OLF, and CC BY licenses. Downloaded Font | ||
22 | +Awesome Free files already contain embedded comments with sufficient | ||
23 | +attribution, so you shouldn't need to do anything additional when using these | ||
24 | +files normally. | ||
25 | + | ||
26 | +We've kept attribution comments terse, so we ask that you do not actively work | ||
27 | +to remove them from files, especially code. They're a great way for folks to | ||
28 | +learn about Font Awesome. | ||
29 | + | ||
30 | +# Brand Icons | ||
31 | +All brand icons are trademarks of their respective owners. The use of these | ||
32 | +trademarks does not indicate endorsement of the trademark holder by Font | ||
33 | +Awesome, nor vice versa. **Please do not use brand logos for any purpose except | ||
34 | +to represent the company, product, or service to which they refer.** |
project/fontawesome-5.5/css/all.min.css
0 → 100644
This diff is collapsed. Click to expand it.
No preview for this file type
This diff could not be displayed because it is too large.
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
This diff could not be displayed because it is too large.
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
This diff could not be displayed because it is too large.
No preview for this file type
No preview for this file type
No preview for this file type
project/img/arrow.jpg
0 → 100644
847 Bytes
project/img/arrow.png
0 → 100644
16.7 KB
project/img/main-video1.mp4
0 → 100644
No preview for this file type
project/img/main-video2.mp4
0 → 100644
No preview for this file type
project/img/main-video3.mp4
0 → 100644
No preview for this file type
project/index.html
0 → 100644
1 | +<!DOCTYPE html> | ||
2 | +<html lang="en"> | ||
3 | + <head> | ||
4 | + <meta charset="UTF-8" /> | ||
5 | + <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
6 | + <meta http-equiv="X-UA-Compatible" content="ie=edge" /> | ||
7 | + <title>The Town HTML CSS Template</title> | ||
8 | + <link rel="stylesheet" href="fontawesome-5.5/css/all.min.css" /> | ||
9 | + <link rel="stylesheet" href="slick/slick.css"> | ||
10 | + <link rel="stylesheet" href="slick/slick-theme.css"> | ||
11 | + <link rel="stylesheet" href="magnific-popup/magnific-popup.css"> | ||
12 | + <link rel="stylesheet" href="css/bootstrap.min.css" /> | ||
13 | + <link rel="stylesheet" href="css/templatemo-style.css" /> | ||
14 | + <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/gh/moonspam/NanumBarunGothic@1.0/nanumbarungothicsubset.css"> | ||
15 | + | ||
16 | + <!-- | ||
17 | + The Town | ||
18 | + https://templatemo.com/tm-525-the-town | ||
19 | + --> | ||
20 | + </head> | ||
21 | + <body> | ||
22 | + <!-- Hero section --> | ||
23 | + <section id="hero" class="text-white tm-font-big tm-parallax"> | ||
24 | + <video autoplay muted loop id ="hero-video"> | ||
25 | + <source src="../templatemo_525_the_town/img/main-video1.mp4" type="video/mp4"> | ||
26 | + </video> | ||
27 | + <!-- Navigation --> | ||
28 | + <nav class="navbar navbar-expand-md tm-navbar" id="tmNav"> | ||
29 | + <div class="container"> | ||
30 | + <div class="tm-next"> | ||
31 | + <a href="#hero" class="navbar-brand">통길몇</a> | ||
32 | + </div> | ||
33 | + </div> | ||
34 | + </nav> | ||
35 | + | ||
36 | + <div class="text-center tm-hero-text-container"> | ||
37 | + <div class="tm-hero-text-container-inner"> | ||
38 | + <h2 class="tm-hero-title">통학생은 길에서 몇시간을 보냈을까?</h2> | ||
39 | + <p class="tm-hero-subtitle"> | ||
40 | + 매일 학교에 통학하시나요?<br> | ||
41 | + 뚜벅이님이 지금까지 몇시간을 길에서 보냈는지 보여드립니다. | ||
42 | + <br>-통길몇- | ||
43 | + </p> | ||
44 | + </div> | ||
45 | + </div> | ||
46 | + | ||
47 | + <div class="tm-next tm-intro-next"> | ||
48 | + <a href="#introduction" class="text-center tm-down-arrow-link"> | ||
49 | + <i class="fas fa-3x fa-caret-down tm-down-arrow">계산해보기</i> | ||
50 | + </a> | ||
51 | + </div> | ||
52 | + </section> | ||
53 | + | ||
54 | + | ||
55 | + | ||
56 | + <!-- Contact --> | ||
57 | + <section id="contact" class="tm-section-pad-top tm-parallax-2"> | ||
58 | + <div class="container tm-container-contact"> | ||
59 | + <div class="row"> | ||
60 | + <div class="container question-field"> | ||
61 | + <div class="question-text">어디에 사나요?</div> | ||
62 | + <div class="question-input"> | ||
63 | + <label for="question-input-field"></label> | ||
64 | + <input type ="text" id="question-input-field"> | ||
65 | + </div> | ||
66 | + </div> | ||
67 | + <div class="container question-field"> | ||
68 | + <div class="question-text">무슨학교에 다니나요?</div> | ||
69 | + <div class="question-input"> | ||
70 | + <label for="question-input-field"></label> | ||
71 | + <input type ="text" id="question-input-field"> | ||
72 | + </div> | ||
73 | + </div> | ||
74 | + <div class="container question-field"> | ||
75 | + <div class="question-text">몇학년인가요?</div> | ||
76 | + <div class="question-input"> | ||
77 | + <select name="semester" id="semester"> | ||
78 | + <option value="sem-1-1">1학년 1학기</option> | ||
79 | + <option value="sem-1-2">1학년 2학기</option> | ||
80 | + <option value="sem-2-1">2학년 1학기</option> | ||
81 | + <option value="sem-2-2">2학년 2학기</option> | ||
82 | + <option value="sem-3-1">3학년 1학기</option> | ||
83 | + <option value="sem-3-2">3학년 2학기</option> | ||
84 | + <option value="sem-4-1">4학년 1학기</option> | ||
85 | + <option value="sem-4-2">4학년 2학기</option> | ||
86 | + </select> | ||
87 | + </div> | ||
88 | + </div> | ||
89 | + <div class="container button-field"> | ||
90 | + <button class="button_calculate" type="button"> | ||
91 | + 계산해보기 | ||
92 | + </button> | ||
93 | + </div> | ||
94 | + </div> | ||
95 | + <div class=row id ="map-answer" style="margin-top:100px"> | ||
96 | + <div style="width:30%"> | ||
97 | + <iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d203276.83209506533!2d126.94001771640623!3d37.24295009999998!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x357b44de2c7f3ddb%3A0x4c35e852f90f5520!2z6rK97Z2s64yA7ZWZ6rWQIOq1reygnOy6oO2NvOyKpA!5e0!3m2!1sko!2skr!4v1606155147622!5m2!1sko!2skr" width=100% height="250" frameborder="0" style="border:0;" allowfullscreen="" aria-hidden="false" tabindex="0" right="20%"></iframe> | ||
98 | + </div> | ||
99 | + <div class="answer-field"> | ||
100 | + 한번 갈 때마다 ...<br> | ||
101 | + <span class="answer-highlight">n</span> 시간 <span class="answer-highlight">n</span> 분 <br> | ||
102 | + <span class="answer-highlight">n</span> 원 <br> | ||
103 | + </div> | ||
104 | + </div> | ||
105 | + <div class="row"> | ||
106 | + <div id="list-answer"> | ||
107 | + <div class="answer-field" id="answer-how-many-hours"> | ||
108 | + 지금까지 <span class="answer-highlight">n</span>시간을 길에서 보내셨군요<br> | ||
109 | + 졸업까지 앞으로 <span class="answer-highlight">n</span>시간은 더 길에서 보내시면 됩니다.<br> | ||
110 | + </div> | ||
111 | + </div> | ||
112 | + </div> | ||
113 | + <div class="row"> | ||
114 | + <div class = "answer-detail-question"> | ||
115 | + 이 시간에 알바를 했다면? <br> | ||
116 | + 교통비로 국밥 <br> | ||
117 | + </div> | ||
118 | + <div class="answer-detail-answer"> | ||
119 | + n원<br> | ||
120 | + m그릇<br> | ||
121 | + </div> | ||
122 | + </div> | ||
123 | + </div> | ||
124 | + <footer class="text-center small tm-footer"> | ||
125 | + <p class="mb-0"> | ||
126 | + Copyright © 2020 TongGilMut | ||
127 | + | ||
128 | + - Design: <a rel="nofollow" href="https://github.com/wjdwl001" class="tm-footer-link">Joung Jiwon</a> | ||
129 | + </p> | ||
130 | + </footer> | ||
131 | + </section> | ||
132 | + <script src="js/jquery-1.9.1.min.js"></script> | ||
133 | + <script src="slick/slick.min.js"></script> | ||
134 | + <script src="magnific-popup/jquery.magnific-popup.min.js"></script> | ||
135 | + <script src="js/jquery.singlePageNav.min.js"></script> | ||
136 | + <script src="js/bootstrap.min.js"></script> | ||
137 | + <script> | ||
138 | + $('button-calculate').click(function(){ | ||
139 | + | ||
140 | + }) | ||
141 | + | ||
142 | + function getOffSet(){ | ||
143 | + var _offset = 450; | ||
144 | + var windowHeight = window.innerHeight; | ||
145 | + | ||
146 | + if(windowHeight > 500) { | ||
147 | + _offset = 400; | ||
148 | + } | ||
149 | + if(windowHeight > 680) { | ||
150 | + _offset = 300 | ||
151 | + } | ||
152 | + if(windowHeight > 830) { | ||
153 | + _offset = 210; | ||
154 | + } | ||
155 | + | ||
156 | + return _offset; | ||
157 | + } | ||
158 | + | ||
159 | + function setParallaxPosition($doc, multiplier, $object){ | ||
160 | + var offset = getOffSet(); | ||
161 | + var from_top = $doc.scrollTop(), | ||
162 | + bg_css = 'center ' +(multiplier * from_top - offset) + 'px'; | ||
163 | + $object.css({"background-position" : bg_css }); | ||
164 | + } | ||
165 | + | ||
166 | + // Parallax function | ||
167 | + // Adapted based on https://codepen.io/roborich/pen/wpAsm | ||
168 | + var background_image_parallax = function($object, multiplier, forceSet){ | ||
169 | + multiplier = typeof multiplier !== 'undefined' ? multiplier : 0.5; | ||
170 | + multiplier = 1 - multiplier; | ||
171 | + var $doc = $(document); | ||
172 | + // $object.css({"background-attatchment" : "fixed"}); | ||
173 | + | ||
174 | + if(forceSet) { | ||
175 | + setParallaxPosition($doc, multiplier, $object); | ||
176 | + } else { | ||
177 | + $(window).scroll(function(){ | ||
178 | + setParallaxPosition($doc, multiplier, $object); | ||
179 | + }); | ||
180 | + } | ||
181 | + }; | ||
182 | + | ||
183 | + var background_image_parallax_2 = function($object, multiplier){ | ||
184 | + multiplier = typeof multiplier !== 'undefined' ? multiplier : 0.5; | ||
185 | + multiplier = 1 - multiplier; | ||
186 | + var $doc = $(document); | ||
187 | + $object.css({"background-attachment" : "fixed"}); | ||
188 | + $(window).scroll(function(){ | ||
189 | + var firstTop = $object.offset().top, | ||
190 | + pos = $(window).scrollTop(), | ||
191 | + yPos = Math.round((multiplier * (firstTop - pos)) - 186); | ||
192 | + | ||
193 | + var bg_css = 'center ' + yPos + 'px'; | ||
194 | + | ||
195 | + $object.css({"background-position" : bg_css }); | ||
196 | + }); | ||
197 | + }; | ||
198 | + | ||
199 | + $(function(){ | ||
200 | + // Hero Section - Background Parallax | ||
201 | + background_image_parallax($(".tm-parallax"), 0.30, false); | ||
202 | + background_image_parallax_2($("#contact"), 0.80); | ||
203 | + | ||
204 | + // Handle window resize | ||
205 | + window.addEventListener('resize', function(){ | ||
206 | + background_image_parallax($(".tm-parallax"), 0.30, true); | ||
207 | + }, true); | ||
208 | + | ||
209 | + // Detect window scroll and update navbar | ||
210 | + $(window).scroll(function(e){ | ||
211 | + if($(document).scrollTop() > 120) { | ||
212 | + $('.tm-navbar').addClass("scroll"); | ||
213 | + } else { | ||
214 | + $('.tm-navbar').removeClass("scroll"); | ||
215 | + } | ||
216 | + }); | ||
217 | + | ||
218 | + // Close mobile menu after click | ||
219 | + $('#tmNav a').on('click', function(){ | ||
220 | + $('.navbar-collapse').removeClass('show'); | ||
221 | + }) | ||
222 | + | ||
223 | + // Scroll to corresponding section with animation | ||
224 | + $('#tmNav').singlePageNav(); | ||
225 | + | ||
226 | + // Add smooth scrolling to all links | ||
227 | + // https://www.w3schools.com/howto/howto_css_smooth_scroll.asp | ||
228 | + $("a").on('click', function(event) { | ||
229 | + $('html, body').animate({ | ||
230 | + scrollTop: $("#contact").offset().top | ||
231 | + }, 400); | ||
232 | + }); | ||
233 | + | ||
234 | + // Pop up | ||
235 | + $('.tm-gallery').magnificPopup({ | ||
236 | + delegate: 'a', | ||
237 | + type: 'image', | ||
238 | + gallery: { enabled: true } | ||
239 | + }); | ||
240 | + | ||
241 | + // Gallery | ||
242 | + $('.tm-gallery').slick({ | ||
243 | + dots: true, | ||
244 | + infinite: false, | ||
245 | + slidesToShow: 5, | ||
246 | + slidesToScroll: 2, | ||
247 | + responsive: [ | ||
248 | + { | ||
249 | + breakpoint: 1199, | ||
250 | + settings: { | ||
251 | + slidesToShow: 4, | ||
252 | + slidesToScroll: 2 | ||
253 | + } | ||
254 | + }, | ||
255 | + { | ||
256 | + breakpoint: 991, | ||
257 | + settings: { | ||
258 | + slidesToShow: 3, | ||
259 | + slidesToScroll: 2 | ||
260 | + } | ||
261 | + }, | ||
262 | + { | ||
263 | + breakpoint: 767, | ||
264 | + settings: { | ||
265 | + slidesToShow: 2, | ||
266 | + slidesToScroll: 1 | ||
267 | + } | ||
268 | + }, | ||
269 | + { | ||
270 | + breakpoint: 480, | ||
271 | + settings: { | ||
272 | + slidesToShow: 1, | ||
273 | + slidesToScroll: 1 | ||
274 | + } | ||
275 | + } | ||
276 | + ] | ||
277 | + }); | ||
278 | + }); | ||
279 | + </script> | ||
280 | + </body> | ||
281 | +</html> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
project/js/bootstrap.min.js
0 → 100644
This diff is collapsed. Click to expand it.
project/js/jquery-1.9.1.min.js
0 → 100644
This diff is collapsed. Click to expand it.
project/js/jquery.singlePageNav.min.js
0 → 100644
1 | +/** | ||
2 | + * Single Page Nav Plugin | ||
3 | + * Copyright (c) 2014 Chris Wojcik <cpw1485@gmail.com> | ||
4 | + * Dual licensed under MIT and GPL. | ||
5 | + * @author Chris Wojcik | ||
6 | + * @version 1.2.1 | ||
7 | + */ | ||
8 | +"function"!=typeof Object.create&&(Object.create=function(a){function b(){}return b.prototype=a,new b}),function(a,b,c,d){"use strict";var e={init:function(c,d){this.options=a.extend({},a.fn.singlePageNav.defaults,c),this.container=d,this.$container=a(d),this.$links=this.$container.find("a"),""!==this.options.filter&&(this.$links=this.$links.filter(this.options.filter)),this.$window=a(b),this.$htmlbody=a("html, body"),this.$links.on("click.singlePageNav",a.proxy(this.handleClick,this)),this.didScroll=!1,this.checkPosition(),this.setTimer()},handleClick:function(b){var c=this,d=b.currentTarget,e=a(d.hash);b.preventDefault(),e.length&&(c.clearTimer(),"function"==typeof c.options.beforeStart&&c.options.beforeStart(),c.setActiveLink(d.hash),c.scrollTo(e,function(){c.options.updateHash&&history.pushState&&history.pushState(null,null,d.hash),c.setTimer(),"function"==typeof c.options.onComplete&&c.options.onComplete()}))},scrollTo:function(a,b){var c=this,d=c.getCoords(a).top,e=!1;c.$htmlbody.stop().animate({scrollTop:d},{duration:c.options.speed,easing:c.options.easing,complete:function(){"function"!=typeof b||e||b(),e=!0}})},setTimer:function(){var a=this;a.$window.on("scroll.singlePageNav",function(){a.didScroll=!0}),a.timer=setInterval(function(){a.didScroll&&(a.didScroll=!1,a.checkPosition())},250)},clearTimer:function(){clearInterval(this.timer),this.$window.off("scroll.singlePageNav"),this.didScroll=!1},checkPosition:function(){var a=this.$window.scrollTop(),b=this.getCurrentSection(a);null!==b&&this.setActiveLink(b)},getCoords:function(a){return{top:Math.round(a.offset().top)-this.options.offset}},setActiveLink:function(a){var b=this.$container.find("a[href$='"+a+"']");b.hasClass(this.options.currentClass)||(this.$links.removeClass(this.options.currentClass),b.addClass(this.options.currentClass))},getCurrentSection:function(d){var e,f,g,h;for(e=0;e<this.$links.length;e++)f=this.$links[e].hash,a(f).length&&(g=this.getCoords(a(f)),d>=g.top-this.options.threshold&&(h=f));var i=a(c).height()-a(b).height();if(d==i){var j=this.$links.length;j>0&&(h=this.$links[j-1].hash)}return h||(0===this.$links.length?null:this.$links[0].hash)}};a.fn.singlePageNav=function(a){return this.each(function(){var b=Object.create(e);b.init(a,this)})},a.fn.singlePageNav.defaults={offset:0,threshold:120,speed:400,currentClass:"current",easing:"swing",updateHash:!1,filter:"",onComplete:!1,beforeStart:!1}}(jQuery,window,document); | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
This diff is collapsed. Click to expand it.
project/magnific-popup/magnific-popup.css
0 → 100644
1 | +/* Magnific Popup CSS */ | ||
2 | +.mfp-bg { | ||
3 | + top: 0; | ||
4 | + left: 0; | ||
5 | + width: 100%; | ||
6 | + height: 100%; | ||
7 | + z-index: 1042; | ||
8 | + overflow: hidden; | ||
9 | + position: fixed; | ||
10 | + background: #0b0b0b; | ||
11 | + opacity: 0.8; } | ||
12 | + | ||
13 | +.mfp-wrap { | ||
14 | + top: 0; | ||
15 | + left: 0; | ||
16 | + width: 100%; | ||
17 | + height: 100%; | ||
18 | + z-index: 1043; | ||
19 | + position: fixed; | ||
20 | + outline: none !important; | ||
21 | + -webkit-backface-visibility: hidden; } | ||
22 | + | ||
23 | +.mfp-container { | ||
24 | + text-align: center; | ||
25 | + position: absolute; | ||
26 | + width: 100%; | ||
27 | + height: 100%; | ||
28 | + left: 0; | ||
29 | + top: 0; | ||
30 | + padding: 0 8px; | ||
31 | + box-sizing: border-box; } | ||
32 | + | ||
33 | +.mfp-container:before { | ||
34 | + content: ''; | ||
35 | + display: inline-block; | ||
36 | + height: 100%; | ||
37 | + vertical-align: middle; } | ||
38 | + | ||
39 | +.mfp-align-top .mfp-container:before { | ||
40 | + display: none; } | ||
41 | + | ||
42 | +.mfp-content { | ||
43 | + position: relative; | ||
44 | + display: inline-block; | ||
45 | + vertical-align: middle; | ||
46 | + margin: 0 auto; | ||
47 | + text-align: left; | ||
48 | + z-index: 1045; } | ||
49 | + | ||
50 | +.mfp-inline-holder .mfp-content, | ||
51 | +.mfp-ajax-holder .mfp-content { | ||
52 | + width: 100%; | ||
53 | + cursor: auto; } | ||
54 | + | ||
55 | +.mfp-ajax-cur { | ||
56 | + cursor: progress; } | ||
57 | + | ||
58 | +.mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close { | ||
59 | + cursor: -moz-zoom-out; | ||
60 | + cursor: -webkit-zoom-out; | ||
61 | + cursor: zoom-out; } | ||
62 | + | ||
63 | +.mfp-zoom { | ||
64 | + cursor: pointer; | ||
65 | + cursor: -webkit-zoom-in; | ||
66 | + cursor: -moz-zoom-in; | ||
67 | + cursor: zoom-in; } | ||
68 | + | ||
69 | +.mfp-auto-cursor .mfp-content { | ||
70 | + cursor: auto; } | ||
71 | + | ||
72 | +.mfp-close, | ||
73 | +.mfp-arrow, | ||
74 | +.mfp-preloader, | ||
75 | +.mfp-counter { | ||
76 | + -webkit-user-select: none; | ||
77 | + -moz-user-select: none; | ||
78 | + user-select: none; } | ||
79 | + | ||
80 | +.mfp-loading.mfp-figure { | ||
81 | + display: none; } | ||
82 | + | ||
83 | +.mfp-hide { | ||
84 | + display: none !important; } | ||
85 | + | ||
86 | +.mfp-preloader { | ||
87 | + color: #CCC; | ||
88 | + position: absolute; | ||
89 | + top: 50%; | ||
90 | + width: auto; | ||
91 | + text-align: center; | ||
92 | + margin-top: -0.8em; | ||
93 | + left: 8px; | ||
94 | + right: 8px; | ||
95 | + z-index: 1044; } | ||
96 | + .mfp-preloader a { | ||
97 | + color: #CCC; } | ||
98 | + .mfp-preloader a:hover { | ||
99 | + color: #FFF; } | ||
100 | + | ||
101 | +.mfp-s-ready .mfp-preloader { | ||
102 | + display: none; } | ||
103 | + | ||
104 | +.mfp-s-error .mfp-content { | ||
105 | + display: none; } | ||
106 | + | ||
107 | +button.mfp-close, | ||
108 | +button.mfp-arrow { | ||
109 | + overflow: visible; | ||
110 | + cursor: pointer; | ||
111 | + background: transparent; | ||
112 | + border: 0; | ||
113 | + -webkit-appearance: none; | ||
114 | + display: block; | ||
115 | + outline: none; | ||
116 | + padding: 0; | ||
117 | + z-index: 1046; | ||
118 | + box-shadow: none; | ||
119 | + touch-action: manipulation; } | ||
120 | + | ||
121 | +button::-moz-focus-inner { | ||
122 | + padding: 0; | ||
123 | + border: 0; } | ||
124 | + | ||
125 | +.mfp-close { | ||
126 | + width: 44px; | ||
127 | + height: 44px; | ||
128 | + line-height: 44px; | ||
129 | + position: absolute; | ||
130 | + right: 0; | ||
131 | + top: 0; | ||
132 | + text-decoration: none; | ||
133 | + text-align: center; | ||
134 | + opacity: 0.65; | ||
135 | + padding: 0 0 18px 10px; | ||
136 | + color: #FFF; | ||
137 | + font-style: normal; | ||
138 | + font-size: 28px; | ||
139 | + font-family: Arial, Baskerville, monospace; } | ||
140 | + .mfp-close:hover, | ||
141 | + .mfp-close:focus { | ||
142 | + opacity: 1; } | ||
143 | + .mfp-close:active { | ||
144 | + top: 1px; } | ||
145 | + | ||
146 | +.mfp-close-btn-in .mfp-close { | ||
147 | + color: #333; } | ||
148 | + | ||
149 | +.mfp-image-holder .mfp-close, | ||
150 | +.mfp-iframe-holder .mfp-close { | ||
151 | + color: #FFF; | ||
152 | + right: -6px; | ||
153 | + text-align: right; | ||
154 | + padding-right: 6px; | ||
155 | + width: 100%; } | ||
156 | + | ||
157 | +.mfp-counter { | ||
158 | + position: absolute; | ||
159 | + top: 0; | ||
160 | + right: 0; | ||
161 | + color: #CCC; | ||
162 | + font-size: 12px; | ||
163 | + line-height: 18px; | ||
164 | + white-space: nowrap; } | ||
165 | + | ||
166 | +.mfp-arrow { | ||
167 | + position: absolute; | ||
168 | + opacity: 0.65; | ||
169 | + margin: 0; | ||
170 | + top: 50%; | ||
171 | + margin-top: -55px; | ||
172 | + padding: 0; | ||
173 | + width: 90px; | ||
174 | + height: 110px; | ||
175 | + -webkit-tap-highlight-color: transparent; } | ||
176 | + .mfp-arrow:active { | ||
177 | + margin-top: -54px; } | ||
178 | + .mfp-arrow:hover, | ||
179 | + .mfp-arrow:focus { | ||
180 | + opacity: 1; } | ||
181 | + .mfp-arrow:before, | ||
182 | + .mfp-arrow:after { | ||
183 | + content: ''; | ||
184 | + display: block; | ||
185 | + width: 0; | ||
186 | + height: 0; | ||
187 | + position: absolute; | ||
188 | + left: 0; | ||
189 | + top: 0; | ||
190 | + margin-top: 35px; | ||
191 | + margin-left: 35px; | ||
192 | + border: medium inset transparent; } | ||
193 | + .mfp-arrow:after { | ||
194 | + border-top-width: 13px; | ||
195 | + border-bottom-width: 13px; | ||
196 | + top: 8px; } | ||
197 | + .mfp-arrow:before { | ||
198 | + border-top-width: 21px; | ||
199 | + border-bottom-width: 21px; | ||
200 | + opacity: 0.7; } | ||
201 | + | ||
202 | +.mfp-arrow-left { | ||
203 | + left: 0; } | ||
204 | + .mfp-arrow-left:after { | ||
205 | + border-right: 17px solid #FFF; | ||
206 | + margin-left: 31px; } | ||
207 | + .mfp-arrow-left:before { | ||
208 | + margin-left: 25px; | ||
209 | + border-right: 27px solid #3F3F3F; } | ||
210 | + | ||
211 | +.mfp-arrow-right { | ||
212 | + right: 0; } | ||
213 | + .mfp-arrow-right:after { | ||
214 | + border-left: 17px solid #FFF; | ||
215 | + margin-left: 39px; } | ||
216 | + .mfp-arrow-right:before { | ||
217 | + border-left: 27px solid #3F3F3F; } | ||
218 | + | ||
219 | +.mfp-iframe-holder { | ||
220 | + padding-top: 40px; | ||
221 | + padding-bottom: 40px; } | ||
222 | + .mfp-iframe-holder .mfp-content { | ||
223 | + line-height: 0; | ||
224 | + width: 100%; | ||
225 | + max-width: 900px; } | ||
226 | + .mfp-iframe-holder .mfp-close { | ||
227 | + top: -40px; } | ||
228 | + | ||
229 | +.mfp-iframe-scaler { | ||
230 | + width: 100%; | ||
231 | + height: 0; | ||
232 | + overflow: hidden; | ||
233 | + padding-top: 56.25%; } | ||
234 | + .mfp-iframe-scaler iframe { | ||
235 | + position: absolute; | ||
236 | + display: block; | ||
237 | + top: 0; | ||
238 | + left: 0; | ||
239 | + width: 100%; | ||
240 | + height: 100%; | ||
241 | + box-shadow: 0 0 8px rgba(0, 0, 0, 0.6); | ||
242 | + background: #000; } | ||
243 | + | ||
244 | +/* Main image in popup */ | ||
245 | +img.mfp-img { | ||
246 | + width: auto; | ||
247 | + max-width: 100%; | ||
248 | + height: auto; | ||
249 | + display: block; | ||
250 | + line-height: 0; | ||
251 | + box-sizing: border-box; | ||
252 | + padding: 40px 0 40px; | ||
253 | + margin: 0 auto; } | ||
254 | + | ||
255 | +/* The shadow behind the image */ | ||
256 | +.mfp-figure { | ||
257 | + line-height: 0; } | ||
258 | + .mfp-figure:after { | ||
259 | + content: ''; | ||
260 | + position: absolute; | ||
261 | + left: 0; | ||
262 | + top: 40px; | ||
263 | + bottom: 40px; | ||
264 | + display: block; | ||
265 | + right: 0; | ||
266 | + width: auto; | ||
267 | + height: auto; | ||
268 | + z-index: -1; | ||
269 | + box-shadow: 0 0 8px rgba(0, 0, 0, 0.6); | ||
270 | + background: #444; } | ||
271 | + .mfp-figure small { | ||
272 | + color: #BDBDBD; | ||
273 | + display: block; | ||
274 | + font-size: 12px; | ||
275 | + line-height: 14px; } | ||
276 | + .mfp-figure figure { | ||
277 | + margin: 0; } | ||
278 | + | ||
279 | +.mfp-bottom-bar { | ||
280 | + margin-top: -36px; | ||
281 | + position: absolute; | ||
282 | + top: 100%; | ||
283 | + left: 0; | ||
284 | + width: 100%; | ||
285 | + cursor: auto; } | ||
286 | + | ||
287 | +.mfp-title { | ||
288 | + text-align: left; | ||
289 | + line-height: 18px; | ||
290 | + color: #F3F3F3; | ||
291 | + word-wrap: break-word; | ||
292 | + padding-right: 36px; } | ||
293 | + | ||
294 | +.mfp-image-holder .mfp-content { | ||
295 | + max-width: 100%; } | ||
296 | + | ||
297 | +.mfp-gallery .mfp-image-holder .mfp-figure { | ||
298 | + cursor: pointer; } | ||
299 | + | ||
300 | +@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) { | ||
301 | + /** | ||
302 | + * Remove all paddings around the image on small screen | ||
303 | + */ | ||
304 | + .mfp-img-mobile .mfp-image-holder { | ||
305 | + padding-left: 0; | ||
306 | + padding-right: 0; } | ||
307 | + .mfp-img-mobile img.mfp-img { | ||
308 | + padding: 0; } | ||
309 | + .mfp-img-mobile .mfp-figure:after { | ||
310 | + top: 0; | ||
311 | + bottom: 0; } | ||
312 | + .mfp-img-mobile .mfp-figure small { | ||
313 | + display: inline; | ||
314 | + margin-left: 5px; } | ||
315 | + .mfp-img-mobile .mfp-bottom-bar { | ||
316 | + background: rgba(0, 0, 0, 0.6); | ||
317 | + bottom: 0; | ||
318 | + margin: 0; | ||
319 | + top: auto; | ||
320 | + padding: 3px 5px; | ||
321 | + position: fixed; | ||
322 | + box-sizing: border-box; } | ||
323 | + .mfp-img-mobile .mfp-bottom-bar:empty { | ||
324 | + padding: 0; } | ||
325 | + .mfp-img-mobile .mfp-counter { | ||
326 | + right: 5px; | ||
327 | + top: 3px; } | ||
328 | + .mfp-img-mobile .mfp-close { | ||
329 | + top: 0; | ||
330 | + right: 0; | ||
331 | + width: 35px; | ||
332 | + height: 35px; | ||
333 | + line-height: 35px; | ||
334 | + background: rgba(0, 0, 0, 0.6); | ||
335 | + position: fixed; | ||
336 | + text-align: center; | ||
337 | + padding: 0; } } | ||
338 | + | ||
339 | +@media all and (max-width: 900px) { | ||
340 | + .mfp-arrow { | ||
341 | + -webkit-transform: scale(0.75); | ||
342 | + transform: scale(0.75); } | ||
343 | + .mfp-arrow-left { | ||
344 | + -webkit-transform-origin: 0; | ||
345 | + transform-origin: 0; } | ||
346 | + .mfp-arrow-right { | ||
347 | + -webkit-transform-origin: 100%; | ||
348 | + transform-origin: 100%; } | ||
349 | + .mfp-container { | ||
350 | + padding-left: 6px; | ||
351 | + padding-right: 6px; } } |
project/slick/ajax-loader.gif
0 → 100644
4.08 KB
project/slick/config.rb
0 → 100644
project/slick/fonts/slick.eot
0 → 100644
No preview for this file type
project/slick/fonts/slick.svg
0 → 100644
1 | +<?xml version="1.0" standalone="no"?> | ||
2 | +<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> | ||
3 | +<svg xmlns="http://www.w3.org/2000/svg"> | ||
4 | +<metadata>Generated by Fontastic.me</metadata> | ||
5 | +<defs> | ||
6 | +<font id="slick" horiz-adv-x="512"> | ||
7 | +<font-face font-family="slick" units-per-em="512" ascent="480" descent="-32"/> | ||
8 | +<missing-glyph horiz-adv-x="512" /> | ||
9 | + | ||
10 | +<glyph unicode="→" d="M241 113l130 130c4 4 6 8 6 13 0 5-2 9-6 13l-130 130c-3 3-7 5-12 5-5 0-10-2-13-5l-29-30c-4-3-6-7-6-12 0-5 2-10 6-13l87-88-87-88c-4-3-6-8-6-13 0-5 2-9 6-12l29-30c3-3 8-5 13-5 5 0 9 2 12 5z m234 143c0-40-9-77-29-110-20-34-46-60-80-80-33-20-70-29-110-29-40 0-77 9-110 29-34 20-60 46-80 80-20 33-29 70-29 110 0 40 9 77 29 110 20 34 46 60 80 80 33 20 70 29 110 29 40 0 77-9 110-29 34-20 60-46 80-80 20-33 29-70 29-110z"/> | ||
11 | +<glyph unicode="←" d="M296 113l29 30c4 3 6 7 6 12 0 5-2 10-6 13l-87 88 87 88c4 3 6 8 6 13 0 5-2 9-6 12l-29 30c-3 3-8 5-13 5-5 0-9-2-12-5l-130-130c-4-4-6-8-6-13 0-5 2-9 6-13l130-130c3-3 7-5 12-5 5 0 10 2 13 5z m179 143c0-40-9-77-29-110-20-34-46-60-80-80-33-20-70-29-110-29-40 0-77 9-110 29-34 20-60 46-80 80-20 33-29 70-29 110 0 40 9 77 29 110 20 34 46 60 80 80 33 20 70 29 110 29 40 0 77-9 110-29 34-20 60-46 80-80 20-33 29-70 29-110z"/> | ||
12 | +<glyph unicode="•" d="M475 256c0-40-9-77-29-110-20-34-46-60-80-80-33-20-70-29-110-29-40 0-77 9-110 29-34 20-60 46-80 80-20 33-29 70-29 110 0 40 9 77 29 110 20 34 46 60 80 80 33 20 70 29 110 29 40 0 77-9 110-29 34-20 60-46 80-80 20-33 29-70 29-110z"/> | ||
13 | +<glyph unicode="a" d="M475 439l0-128c0-5-1-9-5-13-4-4-8-5-13-5l-128 0c-8 0-13 3-17 11-3 7-2 14 4 20l40 39c-28 26-62 39-100 39-20 0-39-4-57-11-18-8-33-18-46-32-14-13-24-28-32-46-7-18-11-37-11-57 0-20 4-39 11-57 8-18 18-33 32-46 13-14 28-24 46-32 18-7 37-11 57-11 23 0 44 5 64 15 20 9 38 23 51 42 2 1 4 3 7 3 3 0 5-1 7-3l39-39c2-2 3-3 3-6 0-2-1-4-2-6-21-25-46-45-76-59-29-14-60-20-93-20-30 0-58 5-85 17-27 12-51 27-70 47-20 19-35 43-47 70-12 27-17 55-17 85 0 30 5 58 17 85 12 27 27 51 47 70 19 20 43 35 70 47 27 12 55 17 85 17 28 0 55-5 81-15 26-11 50-26 70-45l37 37c6 6 12 7 20 4 8-4 11-9 11-17z"/> | ||
14 | +</font></defs></svg> |
project/slick/fonts/slick.ttf
0 → 100644
No preview for this file type
project/slick/fonts/slick.woff
0 → 100644
No preview for this file type
project/slick/slick-theme.css
0 → 100644
1 | +@charset 'UTF-8'; | ||
2 | +/* Slider */ | ||
3 | +.slick-loading .slick-list | ||
4 | +{ | ||
5 | + background: #fff url('./ajax-loader.gif') center center no-repeat; | ||
6 | +} | ||
7 | + | ||
8 | +/* Icons */ | ||
9 | +@font-face | ||
10 | +{ | ||
11 | + font-family: 'slick'; | ||
12 | + font-weight: normal; | ||
13 | + font-style: normal; | ||
14 | + | ||
15 | + src: url('./fonts/slick.eot'); | ||
16 | + src: url('./fonts/slick.eot?#iefix') format('embedded-opentype'), url('./fonts/slick.woff') format('woff'), url('./fonts/slick.ttf') format('truetype'), url('./fonts/slick.svg#slick') format('svg'); | ||
17 | +} | ||
18 | +/* Arrows */ | ||
19 | +.slick-prev, | ||
20 | +.slick-next | ||
21 | +{ | ||
22 | + font-size: 0; | ||
23 | + line-height: 0; | ||
24 | + | ||
25 | + position: absolute; | ||
26 | + top: 50%; | ||
27 | + | ||
28 | + display: block; | ||
29 | + | ||
30 | + width: 20px; | ||
31 | + height: 20px; | ||
32 | + padding: 0; | ||
33 | + -webkit-transform: translate(0, -50%); | ||
34 | + -ms-transform: translate(0, -50%); | ||
35 | + transform: translate(0, -50%); | ||
36 | + | ||
37 | + cursor: pointer; | ||
38 | + | ||
39 | + color: transparent; | ||
40 | + border: none; | ||
41 | + outline: none; | ||
42 | + background: transparent; | ||
43 | +} | ||
44 | +.slick-prev:hover, | ||
45 | +.slick-prev:focus, | ||
46 | +.slick-next:hover, | ||
47 | +.slick-next:focus | ||
48 | +{ | ||
49 | + color: transparent; | ||
50 | + outline: none; | ||
51 | + background: transparent; | ||
52 | +} | ||
53 | +.slick-prev:hover:before, | ||
54 | +.slick-prev:focus:before, | ||
55 | +.slick-next:hover:before, | ||
56 | +.slick-next:focus:before | ||
57 | +{ | ||
58 | + opacity: 1; | ||
59 | +} | ||
60 | +.slick-prev.slick-disabled:before, | ||
61 | +.slick-next.slick-disabled:before | ||
62 | +{ | ||
63 | + opacity: .25; | ||
64 | +} | ||
65 | + | ||
66 | +.slick-prev:before, | ||
67 | +.slick-next:before | ||
68 | +{ | ||
69 | + font-family: 'slick'; | ||
70 | + font-size: 20px; | ||
71 | + line-height: 1; | ||
72 | + | ||
73 | + opacity: .75; | ||
74 | + color: white; | ||
75 | + | ||
76 | + -webkit-font-smoothing: antialiased; | ||
77 | + -moz-osx-font-smoothing: grayscale; | ||
78 | +} | ||
79 | + | ||
80 | +.slick-prev | ||
81 | +{ | ||
82 | + left: -25px; | ||
83 | +} | ||
84 | +[dir='rtl'] .slick-prev | ||
85 | +{ | ||
86 | + right: -25px; | ||
87 | + left: auto; | ||
88 | +} | ||
89 | +.slick-prev:before | ||
90 | +{ | ||
91 | + content: '←'; | ||
92 | +} | ||
93 | +[dir='rtl'] .slick-prev:before | ||
94 | +{ | ||
95 | + content: '→'; | ||
96 | +} | ||
97 | + | ||
98 | +.slick-next | ||
99 | +{ | ||
100 | + right: -25px; | ||
101 | +} | ||
102 | +[dir='rtl'] .slick-next | ||
103 | +{ | ||
104 | + right: auto; | ||
105 | + left: -25px; | ||
106 | +} | ||
107 | +.slick-next:before | ||
108 | +{ | ||
109 | + content: '→'; | ||
110 | +} | ||
111 | +[dir='rtl'] .slick-next:before | ||
112 | +{ | ||
113 | + content: '←'; | ||
114 | +} | ||
115 | + | ||
116 | +/* Dots */ | ||
117 | +.slick-dotted.slick-slider | ||
118 | +{ | ||
119 | + margin-bottom: 30px; | ||
120 | +} | ||
121 | + | ||
122 | +.slick-dots | ||
123 | +{ | ||
124 | + position: absolute; | ||
125 | + bottom: -25px; | ||
126 | + | ||
127 | + display: block; | ||
128 | + | ||
129 | + width: 100%; | ||
130 | + padding: 0; | ||
131 | + margin: 0; | ||
132 | + | ||
133 | + list-style: none; | ||
134 | + | ||
135 | + text-align: center; | ||
136 | +} | ||
137 | +.slick-dots li | ||
138 | +{ | ||
139 | + position: relative; | ||
140 | + | ||
141 | + display: inline-block; | ||
142 | + | ||
143 | + width: 20px; | ||
144 | + height: 20px; | ||
145 | + margin: 0 5px; | ||
146 | + padding: 0; | ||
147 | + | ||
148 | + cursor: pointer; | ||
149 | +} | ||
150 | +.slick-dots li button | ||
151 | +{ | ||
152 | + font-size: 0; | ||
153 | + line-height: 0; | ||
154 | + | ||
155 | + display: block; | ||
156 | + | ||
157 | + width: 20px; | ||
158 | + height: 20px; | ||
159 | + padding: 5px; | ||
160 | + | ||
161 | + cursor: pointer; | ||
162 | + | ||
163 | + color: transparent; | ||
164 | + border: 0; | ||
165 | + outline: none; | ||
166 | + background: transparent; | ||
167 | +} | ||
168 | +.slick-dots li button:hover, | ||
169 | +.slick-dots li button:focus | ||
170 | +{ | ||
171 | + outline: none; | ||
172 | +} | ||
173 | +.slick-dots li button:hover:before, | ||
174 | +.slick-dots li button:focus:before | ||
175 | +{ | ||
176 | + opacity: 1; | ||
177 | +} | ||
178 | +.slick-dots li button:before | ||
179 | +{ | ||
180 | + font-family: 'slick'; | ||
181 | + font-size: 6px; | ||
182 | + line-height: 20px; | ||
183 | + | ||
184 | + position: absolute; | ||
185 | + top: 0; | ||
186 | + left: 0; | ||
187 | + | ||
188 | + width: 20px; | ||
189 | + height: 20px; | ||
190 | + | ||
191 | + content: '•'; | ||
192 | + text-align: center; | ||
193 | + | ||
194 | + opacity: .25; | ||
195 | + color: black; | ||
196 | + | ||
197 | + -webkit-font-smoothing: antialiased; | ||
198 | + -moz-osx-font-smoothing: grayscale; | ||
199 | +} | ||
200 | +.slick-dots li.slick-active button:before | ||
201 | +{ | ||
202 | + opacity: .75; | ||
203 | + color: black; | ||
204 | +} |
project/slick/slick-theme.less
0 → 100644
1 | +@charset "UTF-8"; | ||
2 | + | ||
3 | +// Default Variables | ||
4 | + | ||
5 | +@slick-font-path: "./fonts/"; | ||
6 | +@slick-font-family: "slick"; | ||
7 | +@slick-loader-path: "./"; | ||
8 | +@slick-arrow-color: white; | ||
9 | +@slick-dot-color: black; | ||
10 | +@slick-dot-color-active: @slick-dot-color; | ||
11 | +@slick-prev-character: "←"; | ||
12 | +@slick-next-character: "→"; | ||
13 | +@slick-dot-character: "•"; | ||
14 | +@slick-dot-size: 6px; | ||
15 | +@slick-opacity-default: 0.75; | ||
16 | +@slick-opacity-on-hover: 1; | ||
17 | +@slick-opacity-not-active: 0.25; | ||
18 | + | ||
19 | +/* Slider */ | ||
20 | +.slick-loading .slick-list{ | ||
21 | + background: #fff url('@{slick-loader-path}ajax-loader.gif') center center no-repeat; | ||
22 | +} | ||
23 | + | ||
24 | +/* Arrows */ | ||
25 | +.slick-prev, | ||
26 | +.slick-next { | ||
27 | + position: absolute; | ||
28 | + display: block; | ||
29 | + height: 20px; | ||
30 | + width: 20px; | ||
31 | + line-height: 0px; | ||
32 | + font-size: 0px; | ||
33 | + cursor: pointer; | ||
34 | + background: transparent; | ||
35 | + color: transparent; | ||
36 | + top: 50%; | ||
37 | + -webkit-transform: translate(0, -50%); | ||
38 | + -ms-transform: translate(0, -50%); | ||
39 | + transform: translate(0, -50%); | ||
40 | + padding: 0; | ||
41 | + border: none; | ||
42 | + outline: none; | ||
43 | + &:hover, &:focus { | ||
44 | + outline: none; | ||
45 | + background: transparent; | ||
46 | + color: transparent; | ||
47 | + &:before { | ||
48 | + opacity: @slick-opacity-on-hover; | ||
49 | + } | ||
50 | + } | ||
51 | + &.slick-disabled:before { | ||
52 | + opacity: @slick-opacity-not-active; | ||
53 | + } | ||
54 | +} | ||
55 | + | ||
56 | +.slick-prev:before, .slick-next:before { | ||
57 | + font-family: @slick-font-family; | ||
58 | + font-size: 20px; | ||
59 | + line-height: 1; | ||
60 | + color: @slick-arrow-color; | ||
61 | + opacity: @slick-opacity-default; | ||
62 | + -webkit-font-smoothing: antialiased; | ||
63 | + -moz-osx-font-smoothing: grayscale; | ||
64 | + | ||
65 | + & when ( @slick-font-family = 'slick' ) { | ||
66 | + /* Icons */ | ||
67 | + @font-face { | ||
68 | + font-family: 'slick'; | ||
69 | + font-weight: normal; | ||
70 | + font-style: normal; | ||
71 | + src: url('@{slick-font-path}slick.eot'); | ||
72 | + src: url('@{slick-font-path}slick.eot?#iefix') format('embedded-opentype'), url('@{slick-font-path}slick.woff') format('woff'), url('@{slick-font-path}slick.ttf') format('truetype'), url('@{slick-font-path}slick.svg#slick') format('svg'); | ||
73 | + } | ||
74 | + } | ||
75 | +} | ||
76 | + | ||
77 | +.slick-prev { | ||
78 | + left: -25px; | ||
79 | + [dir="rtl"] & { | ||
80 | + left: auto; | ||
81 | + right: -25px; | ||
82 | + } | ||
83 | + &:before { | ||
84 | + content: @slick-prev-character; | ||
85 | + [dir="rtl"] & { | ||
86 | + content: @slick-next-character; | ||
87 | + } | ||
88 | + } | ||
89 | +} | ||
90 | + | ||
91 | +.slick-next { | ||
92 | + right: -25px; | ||
93 | + [dir="rtl"] & { | ||
94 | + left: -25px; | ||
95 | + right: auto; | ||
96 | + } | ||
97 | + &:before { | ||
98 | + content: @slick-next-character; | ||
99 | + [dir="rtl"] & { | ||
100 | + content: @slick-prev-character; | ||
101 | + } | ||
102 | + } | ||
103 | +} | ||
104 | + | ||
105 | +/* Dots */ | ||
106 | + | ||
107 | +.slick-dotted .slick-slider { | ||
108 | + margin-bottom: 30px; | ||
109 | +} | ||
110 | + | ||
111 | +.slick-dots { | ||
112 | + position: absolute; | ||
113 | + bottom: -25px; | ||
114 | + list-style: none; | ||
115 | + display: block; | ||
116 | + text-align: center; | ||
117 | + padding: 0; | ||
118 | + margin: 0; | ||
119 | + width: 100%; | ||
120 | + li { | ||
121 | + position: relative; | ||
122 | + display: inline-block; | ||
123 | + height: 20px; | ||
124 | + width: 20px; | ||
125 | + margin: 0 5px; | ||
126 | + padding: 0; | ||
127 | + cursor: pointer; | ||
128 | + button { | ||
129 | + border: 0; | ||
130 | + background: transparent; | ||
131 | + display: block; | ||
132 | + height: 20px; | ||
133 | + width: 20px; | ||
134 | + outline: none; | ||
135 | + line-height: 0px; | ||
136 | + font-size: 0px; | ||
137 | + color: transparent; | ||
138 | + padding: 5px; | ||
139 | + cursor: pointer; | ||
140 | + &:hover, &:focus { | ||
141 | + outline: none; | ||
142 | + &:before { | ||
143 | + opacity: @slick-opacity-on-hover; | ||
144 | + } | ||
145 | + } | ||
146 | + &:before { | ||
147 | + position: absolute; | ||
148 | + top: 0; | ||
149 | + left: 0; | ||
150 | + content: @slick-dot-character; | ||
151 | + width: 20px; | ||
152 | + height: 20px; | ||
153 | + font-family: @slick-font-family; | ||
154 | + font-size: @slick-dot-size; | ||
155 | + line-height: 20px; | ||
156 | + text-align: center; | ||
157 | + color: @slick-dot-color; | ||
158 | + opacity: @slick-opacity-not-active; | ||
159 | + -webkit-font-smoothing: antialiased; | ||
160 | + -moz-osx-font-smoothing: grayscale; | ||
161 | + } | ||
162 | + } | ||
163 | + &.slick-active button:before { | ||
164 | + color: @slick-dot-color-active; | ||
165 | + opacity: @slick-opacity-default; | ||
166 | + } | ||
167 | + } | ||
168 | +} |
project/slick/slick-theme.scss
0 → 100644
1 | +@charset "UTF-8"; | ||
2 | + | ||
3 | +// Default Variables | ||
4 | + | ||
5 | +// Slick icon entity codes outputs the following | ||
6 | +// "\2190" outputs ascii character "←" | ||
7 | +// "\2192" outputs ascii character "→" | ||
8 | +// "\2022" outputs ascii character "•" | ||
9 | + | ||
10 | +$slick-font-path: "./fonts/" !default; | ||
11 | +$slick-font-family: "slick" !default; | ||
12 | +$slick-loader-path: "./" !default; | ||
13 | +$slick-arrow-color: white !default; | ||
14 | +$slick-dot-color: black !default; | ||
15 | +$slick-dot-color-active: $slick-dot-color !default; | ||
16 | +$slick-prev-character: "\2190" !default; | ||
17 | +$slick-next-character: "\2192" !default; | ||
18 | +$slick-dot-character: "\2022" !default; | ||
19 | +$slick-dot-size: 6px !default; | ||
20 | +$slick-opacity-default: 0.75 !default; | ||
21 | +$slick-opacity-on-hover: 1 !default; | ||
22 | +$slick-opacity-not-active: 0.25 !default; | ||
23 | + | ||
24 | +@function slick-image-url($url) { | ||
25 | + @if function-exists(image-url) { | ||
26 | + @return image-url($url); | ||
27 | + } | ||
28 | + @else { | ||
29 | + @return url($slick-loader-path + $url); | ||
30 | + } | ||
31 | +} | ||
32 | + | ||
33 | +@function slick-font-url($url) { | ||
34 | + @if function-exists(font-url) { | ||
35 | + @return font-url($url); | ||
36 | + } | ||
37 | + @else { | ||
38 | + @return url($slick-font-path + $url); | ||
39 | + } | ||
40 | +} | ||
41 | + | ||
42 | +/* Slider */ | ||
43 | + | ||
44 | +.slick-list { | ||
45 | + .slick-loading & { | ||
46 | + background: #fff slick-image-url("ajax-loader.gif") center center no-repeat; | ||
47 | + } | ||
48 | +} | ||
49 | + | ||
50 | +/* Icons */ | ||
51 | +@if $slick-font-family == "slick" { | ||
52 | + @font-face { | ||
53 | + font-family: "slick"; | ||
54 | + src: slick-font-url("slick.eot"); | ||
55 | + src: slick-font-url("slick.eot?#iefix") format("embedded-opentype"), slick-font-url("slick.woff") format("woff"), slick-font-url("slick.ttf") format("truetype"), slick-font-url("slick.svg#slick") format("svg"); | ||
56 | + font-weight: normal; | ||
57 | + font-style: normal; | ||
58 | + } | ||
59 | +} | ||
60 | + | ||
61 | +/* Arrows */ | ||
62 | + | ||
63 | +.slick-prev, | ||
64 | +.slick-next { | ||
65 | + position: absolute; | ||
66 | + display: block; | ||
67 | + height: 20px; | ||
68 | + width: 20px; | ||
69 | + line-height: 0px; | ||
70 | + font-size: 0px; | ||
71 | + cursor: pointer; | ||
72 | + background: transparent; | ||
73 | + color: transparent; | ||
74 | + top: 50%; | ||
75 | + -webkit-transform: translate(0, -50%); | ||
76 | + -ms-transform: translate(0, -50%); | ||
77 | + transform: translate(0, -50%); | ||
78 | + padding: 0; | ||
79 | + border: none; | ||
80 | + outline: none; | ||
81 | + &:hover, &:focus { | ||
82 | + outline: none; | ||
83 | + background: transparent; | ||
84 | + color: transparent; | ||
85 | + &:before { | ||
86 | + opacity: $slick-opacity-on-hover; | ||
87 | + } | ||
88 | + } | ||
89 | + &.slick-disabled:before { | ||
90 | + opacity: $slick-opacity-not-active; | ||
91 | + } | ||
92 | + &:before { | ||
93 | + font-family: $slick-font-family; | ||
94 | + font-size: 20px; | ||
95 | + line-height: 1; | ||
96 | + color: $slick-arrow-color; | ||
97 | + opacity: $slick-opacity-default; | ||
98 | + -webkit-font-smoothing: antialiased; | ||
99 | + -moz-osx-font-smoothing: grayscale; | ||
100 | + } | ||
101 | +} | ||
102 | + | ||
103 | +.slick-prev { | ||
104 | + left: -25px; | ||
105 | + [dir="rtl"] & { | ||
106 | + left: auto; | ||
107 | + right: -25px; | ||
108 | + } | ||
109 | + &:before { | ||
110 | + content: $slick-prev-character; | ||
111 | + [dir="rtl"] & { | ||
112 | + content: $slick-next-character; | ||
113 | + } | ||
114 | + } | ||
115 | +} | ||
116 | + | ||
117 | +.slick-next { | ||
118 | + right: -25px; | ||
119 | + [dir="rtl"] & { | ||
120 | + left: -25px; | ||
121 | + right: auto; | ||
122 | + } | ||
123 | + &:before { | ||
124 | + content: $slick-next-character; | ||
125 | + [dir="rtl"] & { | ||
126 | + content: $slick-prev-character; | ||
127 | + } | ||
128 | + } | ||
129 | +} | ||
130 | + | ||
131 | +/* Dots */ | ||
132 | + | ||
133 | +.slick-dotted.slick-slider { | ||
134 | + margin-bottom: 30px; | ||
135 | +} | ||
136 | + | ||
137 | +.slick-dots { | ||
138 | + position: absolute; | ||
139 | + bottom: -25px; | ||
140 | + list-style: none; | ||
141 | + display: block; | ||
142 | + text-align: center; | ||
143 | + padding: 0; | ||
144 | + margin: 0; | ||
145 | + width: 100%; | ||
146 | + li { | ||
147 | + position: relative; | ||
148 | + display: inline-block; | ||
149 | + height: 20px; | ||
150 | + width: 20px; | ||
151 | + margin: 0 5px; | ||
152 | + padding: 0; | ||
153 | + cursor: pointer; | ||
154 | + button { | ||
155 | + border: 0; | ||
156 | + background: transparent; | ||
157 | + display: block; | ||
158 | + height: 20px; | ||
159 | + width: 20px; | ||
160 | + outline: none; | ||
161 | + line-height: 0px; | ||
162 | + font-size: 0px; | ||
163 | + color: transparent; | ||
164 | + padding: 5px; | ||
165 | + cursor: pointer; | ||
166 | + &:hover, &:focus { | ||
167 | + outline: none; | ||
168 | + &:before { | ||
169 | + opacity: $slick-opacity-on-hover; | ||
170 | + } | ||
171 | + } | ||
172 | + &:before { | ||
173 | + position: absolute; | ||
174 | + top: 0; | ||
175 | + left: 0; | ||
176 | + content: $slick-dot-character; | ||
177 | + width: 20px; | ||
178 | + height: 20px; | ||
179 | + font-family: $slick-font-family; | ||
180 | + font-size: $slick-dot-size; | ||
181 | + line-height: 20px; | ||
182 | + text-align: center; | ||
183 | + color: $slick-dot-color; | ||
184 | + opacity: $slick-opacity-not-active; | ||
185 | + -webkit-font-smoothing: antialiased; | ||
186 | + -moz-osx-font-smoothing: grayscale; | ||
187 | + } | ||
188 | + } | ||
189 | + &.slick-active button:before { | ||
190 | + color: $slick-dot-color-active; | ||
191 | + opacity: $slick-opacity-default; | ||
192 | + } | ||
193 | + } | ||
194 | +} |
project/slick/slick.css
0 → 100644
1 | +/* Slider */ | ||
2 | +.slick-slider | ||
3 | +{ | ||
4 | + position: relative; | ||
5 | + | ||
6 | + display: block; | ||
7 | + box-sizing: border-box; | ||
8 | + | ||
9 | + -webkit-user-select: none; | ||
10 | + -moz-user-select: none; | ||
11 | + -ms-user-select: none; | ||
12 | + user-select: none; | ||
13 | + | ||
14 | + -webkit-touch-callout: none; | ||
15 | + -khtml-user-select: none; | ||
16 | + -ms-touch-action: pan-y; | ||
17 | + touch-action: pan-y; | ||
18 | + -webkit-tap-highlight-color: transparent; | ||
19 | +} | ||
20 | + | ||
21 | +.slick-list | ||
22 | +{ | ||
23 | + position: relative; | ||
24 | + | ||
25 | + display: block; | ||
26 | + overflow: hidden; | ||
27 | + | ||
28 | + margin: 0; | ||
29 | + padding: 0; | ||
30 | +} | ||
31 | +.slick-list:focus | ||
32 | +{ | ||
33 | + outline: none; | ||
34 | +} | ||
35 | +.slick-list.dragging | ||
36 | +{ | ||
37 | + cursor: pointer; | ||
38 | + cursor: hand; | ||
39 | +} | ||
40 | + | ||
41 | +.slick-slider .slick-track, | ||
42 | +.slick-slider .slick-list | ||
43 | +{ | ||
44 | + -webkit-transform: translate3d(0, 0, 0); | ||
45 | + -moz-transform: translate3d(0, 0, 0); | ||
46 | + -ms-transform: translate3d(0, 0, 0); | ||
47 | + -o-transform: translate3d(0, 0, 0); | ||
48 | + transform: translate3d(0, 0, 0); | ||
49 | +} | ||
50 | + | ||
51 | +.slick-track | ||
52 | +{ | ||
53 | + position: relative; | ||
54 | + top: 0; | ||
55 | + left: 0; | ||
56 | + | ||
57 | + display: block; | ||
58 | + margin-left: auto; | ||
59 | + margin-right: auto; | ||
60 | +} | ||
61 | +.slick-track:before, | ||
62 | +.slick-track:after | ||
63 | +{ | ||
64 | + display: table; | ||
65 | + | ||
66 | + content: ''; | ||
67 | +} | ||
68 | +.slick-track:after | ||
69 | +{ | ||
70 | + clear: both; | ||
71 | +} | ||
72 | +.slick-loading .slick-track | ||
73 | +{ | ||
74 | + visibility: hidden; | ||
75 | +} | ||
76 | + | ||
77 | +.slick-slide | ||
78 | +{ | ||
79 | + display: none; | ||
80 | + float: left; | ||
81 | + | ||
82 | + height: 100%; | ||
83 | + min-height: 1px; | ||
84 | +} | ||
85 | +[dir='rtl'] .slick-slide | ||
86 | +{ | ||
87 | + float: right; | ||
88 | +} | ||
89 | +.slick-slide img | ||
90 | +{ | ||
91 | + display: block; | ||
92 | +} | ||
93 | +.slick-slide.slick-loading img | ||
94 | +{ | ||
95 | + display: none; | ||
96 | +} | ||
97 | +.slick-slide.dragging img | ||
98 | +{ | ||
99 | + pointer-events: none; | ||
100 | +} | ||
101 | +.slick-initialized .slick-slide | ||
102 | +{ | ||
103 | + display: block; | ||
104 | +} | ||
105 | +.slick-loading .slick-slide | ||
106 | +{ | ||
107 | + visibility: hidden; | ||
108 | +} | ||
109 | +.slick-vertical .slick-slide | ||
110 | +{ | ||
111 | + display: block; | ||
112 | + | ||
113 | + height: auto; | ||
114 | + | ||
115 | + border: 1px solid transparent; | ||
116 | +} | ||
117 | +.slick-arrow.slick-hidden { | ||
118 | + display: none; | ||
119 | +} |
project/slick/slick.js
0 → 100644
This diff is collapsed. Click to expand it.
project/slick/slick.less
0 → 100644
1 | +/* Slider */ | ||
2 | + | ||
3 | +.slick-slider { | ||
4 | + position: relative; | ||
5 | + display: block; | ||
6 | + box-sizing: border-box; | ||
7 | + -webkit-touch-callout: none; | ||
8 | + -webkit-user-select: none; | ||
9 | + -khtml-user-select: none; | ||
10 | + -moz-user-select: none; | ||
11 | + -ms-user-select: none; | ||
12 | + user-select: none; | ||
13 | + -ms-touch-action: pan-y; | ||
14 | + touch-action: pan-y; | ||
15 | + -webkit-tap-highlight-color: transparent; | ||
16 | +} | ||
17 | +.slick-list { | ||
18 | + position: relative; | ||
19 | + overflow: hidden; | ||
20 | + display: block; | ||
21 | + margin: 0; | ||
22 | + padding: 0; | ||
23 | + | ||
24 | + &:focus { | ||
25 | + outline: none; | ||
26 | + } | ||
27 | + | ||
28 | + &.dragging { | ||
29 | + cursor: pointer; | ||
30 | + cursor: hand; | ||
31 | + } | ||
32 | +} | ||
33 | +.slick-slider .slick-track, | ||
34 | +.slick-slider .slick-list { | ||
35 | + -webkit-transform: translate3d(0, 0, 0); | ||
36 | + -moz-transform: translate3d(0, 0, 0); | ||
37 | + -ms-transform: translate3d(0, 0, 0); | ||
38 | + -o-transform: translate3d(0, 0, 0); | ||
39 | + transform: translate3d(0, 0, 0); | ||
40 | +} | ||
41 | + | ||
42 | +.slick-track { | ||
43 | + position: relative; | ||
44 | + left: 0; | ||
45 | + top: 0; | ||
46 | + display: block; | ||
47 | + margin-left: auto; | ||
48 | + margin-right: auto; | ||
49 | + | ||
50 | + &:before, | ||
51 | + &:after { | ||
52 | + content: ""; | ||
53 | + display: table; | ||
54 | + } | ||
55 | + | ||
56 | + &:after { | ||
57 | + clear: both; | ||
58 | + } | ||
59 | + | ||
60 | + .slick-loading & { | ||
61 | + visibility: hidden; | ||
62 | + } | ||
63 | +} | ||
64 | +.slick-slide { | ||
65 | + float: left; | ||
66 | + height: 100%; | ||
67 | + min-height: 1px; | ||
68 | + [dir="rtl"] & { | ||
69 | + float: right; | ||
70 | + } | ||
71 | + img { | ||
72 | + display: block; | ||
73 | + } | ||
74 | + &.slick-loading img { | ||
75 | + display: none; | ||
76 | + } | ||
77 | + | ||
78 | + display: none; | ||
79 | + | ||
80 | + &.dragging img { | ||
81 | + pointer-events: none; | ||
82 | + } | ||
83 | + | ||
84 | + .slick-initialized & { | ||
85 | + display: block; | ||
86 | + } | ||
87 | + | ||
88 | + .slick-loading & { | ||
89 | + visibility: hidden; | ||
90 | + } | ||
91 | + | ||
92 | + .slick-vertical & { | ||
93 | + display: block; | ||
94 | + height: auto; | ||
95 | + border: 1px solid transparent; | ||
96 | + } | ||
97 | +} | ||
98 | +.slick-arrow.slick-hidden { | ||
99 | + display: none; | ||
100 | +} |
project/slick/slick.min.js
0 → 100644
This diff is collapsed. Click to expand it.
project/slick/slick.scss
0 → 100644
1 | +/* Slider */ | ||
2 | + | ||
3 | +.slick-slider { | ||
4 | + position: relative; | ||
5 | + display: block; | ||
6 | + box-sizing: border-box; | ||
7 | + -webkit-touch-callout: none; | ||
8 | + -webkit-user-select: none; | ||
9 | + -khtml-user-select: none; | ||
10 | + -moz-user-select: none; | ||
11 | + -ms-user-select: none; | ||
12 | + user-select: none; | ||
13 | + -ms-touch-action: pan-y; | ||
14 | + touch-action: pan-y; | ||
15 | + -webkit-tap-highlight-color: transparent; | ||
16 | +} | ||
17 | +.slick-list { | ||
18 | + position: relative; | ||
19 | + overflow: hidden; | ||
20 | + display: block; | ||
21 | + margin: 0; | ||
22 | + padding: 0; | ||
23 | + | ||
24 | + &:focus { | ||
25 | + outline: none; | ||
26 | + } | ||
27 | + | ||
28 | + &.dragging { | ||
29 | + cursor: pointer; | ||
30 | + cursor: hand; | ||
31 | + } | ||
32 | +} | ||
33 | +.slick-slider .slick-track, | ||
34 | +.slick-slider .slick-list { | ||
35 | + -webkit-transform: translate3d(0, 0, 0); | ||
36 | + -moz-transform: translate3d(0, 0, 0); | ||
37 | + -ms-transform: translate3d(0, 0, 0); | ||
38 | + -o-transform: translate3d(0, 0, 0); | ||
39 | + transform: translate3d(0, 0, 0); | ||
40 | +} | ||
41 | + | ||
42 | +.slick-track { | ||
43 | + position: relative; | ||
44 | + left: 0; | ||
45 | + top: 0; | ||
46 | + display: block; | ||
47 | + margin-left: auto; | ||
48 | + margin-right: auto; | ||
49 | + | ||
50 | + &:before, | ||
51 | + &:after { | ||
52 | + content: ""; | ||
53 | + display: table; | ||
54 | + } | ||
55 | + | ||
56 | + &:after { | ||
57 | + clear: both; | ||
58 | + } | ||
59 | + | ||
60 | + .slick-loading & { | ||
61 | + visibility: hidden; | ||
62 | + } | ||
63 | +} | ||
64 | +.slick-slide { | ||
65 | + float: left; | ||
66 | + height: 100%; | ||
67 | + min-height: 1px; | ||
68 | + [dir="rtl"] & { | ||
69 | + float: right; | ||
70 | + } | ||
71 | + img { | ||
72 | + display: block; | ||
73 | + } | ||
74 | + &.slick-loading img { | ||
75 | + display: none; | ||
76 | + } | ||
77 | + | ||
78 | + display: none; | ||
79 | + | ||
80 | + &.dragging img { | ||
81 | + pointer-events: none; | ||
82 | + } | ||
83 | + | ||
84 | + .slick-initialized & { | ||
85 | + display: block; | ||
86 | + } | ||
87 | + | ||
88 | + .slick-loading & { | ||
89 | + visibility: hidden; | ||
90 | + } | ||
91 | + | ||
92 | + .slick-vertical & { | ||
93 | + display: block; | ||
94 | + height: auto; | ||
95 | + border: 1px solid transparent; | ||
96 | + } | ||
97 | +} | ||
98 | +.slick-arrow.slick-hidden { | ||
99 | + display: none; | ||
100 | +} |
-
Please register or login to post a comment