futuro 0.4.6 → 0.4.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/artwork/orwell/animal/flob.scss +5 -0
- data/_includes/artwork/orwell/animal/waldo.scss +45 -0
- data/_includes/html/head.liquid +7 -5
- data/_includes/html/overlay/about.liquid +1 -1
- data/_includes/html/overlay/browse.liquid +19 -19
- data/_includes/html/overlay/load.liquid +42 -47
- data/_includes/html/overlay/mobile.liquid +4 -4
- data/_includes/html/overlay/search.liquid +16 -12
- data/_includes/html/overlay.liquid +7 -4
- data/_includes/html/page/artwork.liquid +1 -1
- data/_includes/html/page/info.liquid +4 -4
- data/_includes/html/page/layout/chapter.liquid +2 -2
- data/_includes/html/page/layout/home.liquid +11 -9
- data/_includes/html/page/layout/page.liquid +4 -4
- data/_includes/html/page/title.liquid +3 -3
- data/_includes/html/page/topbar.liquid +10 -10
- data/_includes/html/page/util.liquid +2 -2
- data/_includes/html/page/utils/author.liquid +1 -1
- data/_includes/html/page/utils/share.liquid +3 -3
- data/_includes/html/page/utils/update.liquid +1 -1
- data/_includes/html/scripts.liquid +2 -2
- data/_layouts/feed.html +1 -1
- data/_layouts/single.html +1 -1
- data/_sass/_area.scss +23 -76
- data/_sass/_bar.scss +2 -2
- data/_sass/_base.lite.scss +4 -0
- data/_sass/_base.scss +16 -15
- data/_sass/_block.scss +21 -153
- data/_sass/_box.scss +2 -2
- data/_sass/_btn.scss +1 -1
- data/_sass/_col.scss +14 -17
- data/_sass/_form.scss +1 -1
- data/_sass/_input.scss +6 -7
- data/_sass/_lnk.scss +9 -10
- data/_sass/_nav.scss +3 -3
- data/_sass/_site.scss +3 -15
- data/_sass/_slick.scss +93 -97
- data/_sass/_split.scss +7 -10
- data/_sass/_task.scss +10 -13
- data/_sass/_title.scss +30 -58
- data/_sass/_wrap.scss +19 -50
- data/_sass/{_overlay.scss → area/_overlay.scss} +9 -17
- data/_sass/area/_topbar.scss +14 -0
- data/_sass/block/_browse.scss +35 -0
- data/_sass/block/_results.scss +39 -0
- data/_sass/block/_util.scss +37 -0
- data/_sass/fonts/_lite.scss +18 -0
- data/_sass/fonts/_max.scss +41 -0
- data/_sass/futuro.lite.scss +37 -0
- data/_sass/futuro.scss +32 -34
- data/_sass/helpers/_extends.scss +66 -49
- data/_sass/helpers/_mixins.scss +13 -5
- data/_sass/{_helpers.scss → helpers/_variables.scss} +0 -0
- data/_sass/title/_overlay.scss +22 -0
- data/_sass/wrap/_overlay.scss +28 -0
- data/assets/{img → css}/fallback.jpg +0 -0
- data/assets/{img → css}/favicon.png +0 -0
- data/assets/css/styles.lite.scss +4 -0
- data/assets/css/styles.scss +0 -1
- data/assets/js/footer/custom/CheckWidth.js +13 -11
- data/assets/js/footer/custom/ExpandBlock.js +9 -5
- data/assets/js/footer/custom/OpenOverlay.js +90 -65
- data/assets/js/footer/custom/ScrollFunc.js +15 -14
- data/assets/js/footer/custom/Settings.js +6 -7
- data/assets/js/footer/custom/SetupHome.js +6 -9
- data/assets/js/footer/custom/SiteFunc.js +15 -11
- data/assets/js/footer/custom/SplitCode.js +8 -10
- data/assets/js/footer/custom/StartBrowse.js +45 -45
- data/assets/js/footer/custom/UtilShare.js +13 -10
- data/assets/js/footer/vendor/gsap-draw.js +6 -9
- data/assets/js/futuro.footer.custom.js +1 -0
- data/assets/js/{futuro.vendor.js → futuro.footer.vendor.js} +7 -9
- data/assets/js/futuro.header.custom.js +1 -0
- data/assets/js/futuro.header.legacy.js +26 -0
- data/assets/js/{header.vendor.js → futuro.header.vendor.js} +1 -0
- data/assets/js/header/custom/Overlay.js +58 -0
- data/assets/js/header/custom/Site.js +72 -0
- data/assets/js/header/vendor/{enquire.min.js → enquire.js} +0 -0
- data/assets/js/header/vendor/{gsap.min.js → gsap.js} +0 -0
- data/assets/js/header/vendor/{modernizr.min.js → modernizr.js} +1 -1
- data/assets/js/header/vendor/modernizr.legacy.js +1 -0
- metadata +30 -19
- data/_sass/_copy.scss +0 -10
- data/_sass/_fonts.scss +0 -21
- data/assets/css/normalize.css +0 -423
- data/assets/img/search.svg +0 -1
- data/assets/js/futuro.custom.min.js +0 -1
- data/assets/js/header/custom/Settings.js +0 -21
- data/assets/js/header/data.js +0 -5
- data/assets/js/header.custom.min.js +0 -1
@@ -0,0 +1,41 @@
|
|
1
|
+
|
2
|
+
@font-face {
|
3
|
+
font-family: 'FuturaBT-Book';
|
4
|
+
src: url('../fonts/230883_0_0.eot');
|
5
|
+
src: url('../fonts/230883_0_0.eot?#iefix') format('embedded-opentype'), url('../fonts/230883_0_0.woff') format('woff'), url('../fonts/230883_0_0.ttf') format('truetype');
|
6
|
+
}
|
7
|
+
@font-face {
|
8
|
+
font-family: 'FuturaBT-BookItalic';
|
9
|
+
src: url('../fonts/230883_1_0.eot');
|
10
|
+
src: url('../fonts/230883_1_0.eot?#iefix') format('embedded-opentype'), url('../fonts/230883_1_0.woff') format('woff'), url('../fonts/230883_1_0.ttf') format('truetype');
|
11
|
+
}
|
12
|
+
@font-face {
|
13
|
+
font-family: 'FuturaBT-Bold';
|
14
|
+
src: url('../fonts/230883_2_0.eot');
|
15
|
+
src: url('../fonts/230883_2_0.eot?#iefix') format('embedded-opentype'), url('../fonts/230883_2_0.woff') format('woff'), url('../fonts/230883_2_0.ttf') format('truetype');
|
16
|
+
}
|
17
|
+
@font-face {
|
18
|
+
font-family: 'FuturaBT-BoldItalic';
|
19
|
+
src: url('../fonts/230883_3_0.eot');
|
20
|
+
src: url('../fonts/230883_3_0.eot?#iefix') format('embedded-opentype'), url('../fonts/230883_3_0.woff') format('woff'), url('../fonts/230883_3_0.ttf') format('truetype');
|
21
|
+
}
|
22
|
+
|
23
|
+
%book {
|
24
|
+
font-family: 'FuturaBT-Book', 'Helvetica Neue', sans-serif;
|
25
|
+
font-weight: normal;
|
26
|
+
}
|
27
|
+
|
28
|
+
%book-italic {
|
29
|
+
font-family: 'FuturaBT-BookItalic', 'Helvetica Neue', sans-serif;
|
30
|
+
font-weight: normal;
|
31
|
+
}
|
32
|
+
|
33
|
+
%bold {
|
34
|
+
font-family: 'FuturaBT-Bold', 'Helvetica Neue', sans-serif;
|
35
|
+
font-weight: normal;
|
36
|
+
}
|
37
|
+
|
38
|
+
%bold-italic {
|
39
|
+
font-family: 'FuturaBT-BoldItalic', 'Helvetica Neue', sans-serif;
|
40
|
+
font-weight: normal;
|
41
|
+
}
|
@@ -0,0 +1,37 @@
|
|
1
|
+
|
2
|
+
@charset 'utf-8';
|
3
|
+
|
4
|
+
@import
|
5
|
+
'normalize',
|
6
|
+
'fonts/lite',
|
7
|
+
'helpers/variables',
|
8
|
+
'helpers/mixins',
|
9
|
+
'helpers/extends',
|
10
|
+
'base',
|
11
|
+
'base.lite',
|
12
|
+
'area',
|
13
|
+
'area/overlay',
|
14
|
+
'area/topbar',
|
15
|
+
'artwork',
|
16
|
+
'bar',
|
17
|
+
'block',
|
18
|
+
'block/results',
|
19
|
+
'block/browse',
|
20
|
+
'block/util',
|
21
|
+
'box',
|
22
|
+
'btn',
|
23
|
+
'col',
|
24
|
+
'exit',
|
25
|
+
'form',
|
26
|
+
'input',
|
27
|
+
'lnk',
|
28
|
+
'nav',
|
29
|
+
'site',
|
30
|
+
'slick',
|
31
|
+
'split',
|
32
|
+
'task',
|
33
|
+
'textarea',
|
34
|
+
'title',
|
35
|
+
'title/overlay',
|
36
|
+
'wrap',
|
37
|
+
'wrap/overlay';
|
data/_sass/futuro.scss
CHANGED
@@ -3,71 +3,69 @@
|
|
3
3
|
|
4
4
|
@import
|
5
5
|
'normalize',
|
6
|
-
'fonts',
|
7
|
-
'helpers',
|
6
|
+
'fonts/max',
|
7
|
+
'helpers/variables',
|
8
8
|
'helpers/mixins',
|
9
9
|
'helpers/extends',
|
10
10
|
'base',
|
11
11
|
'area',
|
12
|
+
'area/overlay',
|
13
|
+
'area/topbar',
|
12
14
|
'artwork',
|
13
15
|
'bar',
|
14
16
|
'block',
|
17
|
+
'block/results',
|
18
|
+
'block/browse',
|
19
|
+
'block/util',
|
15
20
|
'box',
|
16
21
|
'btn',
|
17
22
|
'col',
|
18
|
-
'copy',
|
19
23
|
'exit',
|
20
24
|
'form',
|
21
25
|
'input',
|
22
26
|
'lnk',
|
23
27
|
'nav',
|
24
|
-
'overlay',
|
25
28
|
'site',
|
26
29
|
'slick',
|
27
30
|
'split',
|
28
31
|
'task',
|
29
32
|
'textarea',
|
30
33
|
'title',
|
31
|
-
'
|
34
|
+
'title/overlay',
|
35
|
+
'wrap',
|
36
|
+
'wrap/overlay';
|
32
37
|
|
33
38
|
.stop {
|
34
39
|
position: relative;
|
35
40
|
top: -80px;
|
36
41
|
}
|
37
42
|
|
38
|
-
.code {
|
43
|
+
.code-wrap {
|
44
|
+
grid-template-columns: repeat(2,1fr);
|
45
|
+
border-bottom: 1px solid $gun;
|
46
|
+
border-right: 1px solid $gun;
|
47
|
+
border-left: 1px solid $gun;
|
48
|
+
background-color: $smoke;
|
49
|
+
display: none;
|
50
|
+
color: $gun;
|
39
51
|
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
border-right: 1px solid $gun;
|
44
|
-
border-left: 1px solid $gun;
|
45
|
-
background-color: $smoke;
|
46
|
-
display: none;
|
47
|
-
color: $gun;
|
48
|
-
|
49
|
-
&.--open {
|
50
|
-
display: grid;
|
51
|
-
}
|
52
|
-
|
53
|
-
+ .output-html {
|
54
|
-
margin-top: 20px;
|
55
|
-
}
|
52
|
+
+ .output-html {
|
53
|
+
margin-top: 20px;
|
54
|
+
}
|
56
55
|
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
56
|
+
span {
|
57
|
+
@include ib;
|
58
|
+
border-radius: 2px;
|
59
|
+
padding: 2px 4px 0;
|
60
|
+
font-size: 1.6rem;
|
61
|
+
color: white;
|
62
|
+
}
|
64
63
|
|
65
|
-
|
66
|
-
|
64
|
+
> div {
|
65
|
+
padding: 10px;
|
67
66
|
|
68
|
-
|
69
|
-
|
70
|
-
}
|
67
|
+
+ div {
|
68
|
+
border-left: 1px solid $gun;
|
71
69
|
}
|
72
70
|
}
|
73
71
|
}
|
data/_sass/helpers/_extends.scss
CHANGED
@@ -1,63 +1,37 @@
|
|
1
1
|
|
2
|
-
%
|
3
|
-
|
4
|
-
&_default {
|
5
|
-
grid-template-columns: 20px minmax(280px,1000px) 20px;
|
6
|
-
}
|
7
|
-
|
8
|
-
&_overlay {
|
9
|
-
grid-template-columns: 20px minmax(280px,560px) 20px;
|
10
|
-
}
|
11
|
-
|
12
|
-
&_search {
|
13
|
-
grid-template-columns: 20px minmax(280px,480px) 20px;
|
14
|
-
}
|
15
|
-
|
16
|
-
&_load {
|
17
|
-
grid-template-columns: 20px minmax(280px,320px) 20px;
|
18
|
-
}
|
2
|
+
%grid_default {
|
3
|
+
grid-template-columns: 20px minmax(280px,1000px) 20px;
|
19
4
|
}
|
20
5
|
|
21
|
-
%
|
22
|
-
|
23
|
-
|
24
|
-
grid-column: 2 / 3;
|
25
|
-
display: grid;
|
26
|
-
}
|
27
|
-
|
28
|
-
&_block {
|
29
|
-
margin-right: auto;
|
30
|
-
margin-left: auto;
|
31
|
-
}
|
6
|
+
%grid_overlay {
|
7
|
+
grid-template-columns: 20px minmax(280px,560px) 20px;
|
8
|
+
}
|
32
9
|
|
33
|
-
|
34
|
-
|
35
|
-
@include ib;
|
36
|
-
}
|
10
|
+
%grid_search {
|
11
|
+
grid-template-columns: 20px minmax(280px,480px) 20px;
|
37
12
|
}
|
38
13
|
|
39
|
-
|
40
|
-
|
14
|
+
%grid_load {
|
15
|
+
grid-template-columns: 20px minmax(280px,320px) 20px;
|
41
16
|
}
|
42
17
|
|
43
|
-
%
|
44
|
-
|
45
|
-
|
18
|
+
%wrap_grid {
|
19
|
+
grid-column: 2 / 3;
|
20
|
+
display: grid;
|
21
|
+
}
|
46
22
|
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
}
|
23
|
+
%wrap_block {
|
24
|
+
margin-right: auto;
|
25
|
+
margin-left: auto;
|
51
26
|
}
|
52
27
|
|
53
|
-
%
|
54
|
-
|
55
|
-
|
28
|
+
%wrap_overlay {
|
29
|
+
min-width: 280px;
|
30
|
+
@include ib;
|
31
|
+
}
|
56
32
|
|
57
|
-
|
58
|
-
|
59
|
-
font-weight: normal;
|
60
|
-
}
|
33
|
+
:focus {
|
34
|
+
outline: rgba(0,0,0,0);
|
61
35
|
}
|
62
36
|
|
63
37
|
%siblings {
|
@@ -69,7 +43,7 @@
|
|
69
43
|
margin-top: 20px;
|
70
44
|
}
|
71
45
|
|
72
|
-
p + p, p + ul, p +
|
46
|
+
p + p, p + ul, p + div {
|
73
47
|
margin-top: 20px;
|
74
48
|
}
|
75
49
|
|
@@ -77,3 +51,46 @@
|
|
77
51
|
margin-top: 20px;
|
78
52
|
}
|
79
53
|
}
|
54
|
+
|
55
|
+
%util-grid {
|
56
|
+
justify-content: flex-start;
|
57
|
+
grid-auto-flow: column;
|
58
|
+
grid-column-gap: 10px;
|
59
|
+
align-items: center;
|
60
|
+
display: grid;
|
61
|
+
}
|
62
|
+
|
63
|
+
%site-setup {
|
64
|
+
grid-template-columns: 1fr 1000px 1fr;
|
65
|
+
padding-bottom: 100px;
|
66
|
+
padding-top: 100px;
|
67
|
+
}
|
68
|
+
|
69
|
+
%area-page {
|
70
|
+
background-color: white;
|
71
|
+
position: relative;
|
72
|
+
overflow: hidden;
|
73
|
+
display: grid;
|
74
|
+
|
75
|
+
&:not(.setup-docs) {
|
76
|
+
grid-template-columns: repeat(2,1fr);
|
77
|
+
height: 560px;
|
78
|
+
}
|
79
|
+
|
80
|
+
&.setup-docs {
|
81
|
+
padding: 20px;
|
82
|
+
}
|
83
|
+
|
84
|
+
&.tag-tree {
|
85
|
+
grid-template-rows: 60px 500px;
|
86
|
+
grid-template-columns: auto;
|
87
|
+
}
|
88
|
+
|
89
|
+
&.tag-new {
|
90
|
+
grid-template-columns: 860px 140px;
|
91
|
+
}
|
92
|
+
|
93
|
+
&.tag-custom {
|
94
|
+
grid-template-columns: 860px 140px;
|
95
|
+
}
|
96
|
+
}
|
data/_sass/helpers/_mixins.scss
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
|
2
|
-
@mixin zeros($pos:fixed) {
|
2
|
+
@mixin zeros($pos:fixed,$val:0) {
|
3
3
|
position: $pos;
|
4
|
-
bottom:
|
5
|
-
right:
|
6
|
-
left:
|
7
|
-
top:
|
4
|
+
bottom: $val;
|
5
|
+
right: $val;
|
6
|
+
left: $val;
|
7
|
+
top: $val;
|
8
8
|
}
|
9
9
|
|
10
10
|
@mixin ib($align : middle) {
|
@@ -43,3 +43,11 @@
|
|
43
43
|
transform: rotate($deg);
|
44
44
|
position: absolute;
|
45
45
|
}
|
46
|
+
|
47
|
+
@mixin ThemeResults($col) {
|
48
|
+
color: $col;
|
49
|
+
|
50
|
+
.block.results-dot {
|
51
|
+
background-color: $col;
|
52
|
+
}
|
53
|
+
}
|
File without changes
|
@@ -0,0 +1,22 @@
|
|
1
|
+
|
2
|
+
.title.overlay {
|
3
|
+
|
4
|
+
&.about {
|
5
|
+
border-bottom: 2px solid $gun;
|
6
|
+
}
|
7
|
+
|
8
|
+
&.browse {
|
9
|
+
border-bottom: 2px solid $gun;
|
10
|
+
}
|
11
|
+
|
12
|
+
&.search {
|
13
|
+
border-bottom: 2px solid $gun;
|
14
|
+
}
|
15
|
+
|
16
|
+
&.load {
|
17
|
+
@extend %bold;
|
18
|
+
text-transform: uppercase;
|
19
|
+
font-size: 4.8rem;
|
20
|
+
color: red;
|
21
|
+
}
|
22
|
+
}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
|
2
|
+
.wrap.overlay {
|
3
|
+
@extend %wrap_grid;
|
4
|
+
align-self: center;
|
5
|
+
position: relative;
|
6
|
+
z-index: 2;
|
7
|
+
|
8
|
+
&.load {
|
9
|
+
text-align: center;
|
10
|
+
|
11
|
+
.title + .box {
|
12
|
+
margin-top: 20px;
|
13
|
+
}
|
14
|
+
}
|
15
|
+
|
16
|
+
&.mobile {
|
17
|
+
text-align: center;
|
18
|
+
font-size: 2.1rem;
|
19
|
+
|
20
|
+
p + .box.mobile {
|
21
|
+
margin-top: 20px;
|
22
|
+
}
|
23
|
+
}
|
24
|
+
|
25
|
+
&.search {
|
26
|
+
grid-gap: 5px;
|
27
|
+
}
|
28
|
+
}
|
File without changes
|
File without changes
|
data/assets/css/styles.scss
CHANGED
@@ -1,24 +1,26 @@
|
|
1
1
|
|
2
2
|
const PrintWidth = () => {
|
3
3
|
var size = $(document)[0].documentElement.clientWidth,
|
4
|
-
more = Site.width - size +
|
5
|
-
percent = (100/Site.width) * size +
|
4
|
+
more = Site.width - size + "px",
|
5
|
+
percent = (100/Site.width) * size + "%";
|
6
6
|
|
7
|
-
$(
|
8
|
-
gsap.set(
|
7
|
+
$(".width").html(more);
|
8
|
+
gsap.set(Overlay.mobile.bar,{width:percent});
|
9
9
|
}
|
10
10
|
|
11
11
|
const CheckWidth = () => {
|
12
|
-
|
13
|
-
|
14
|
-
|
12
|
+
|
13
|
+
if (!Site.respond) {
|
14
|
+
if (Site.mobile) {
|
15
|
+
gsap.set(Overlay.mobile.screen,{display:Site.open});
|
15
16
|
PrintWidth();
|
16
17
|
} else {
|
17
|
-
gsap.set(
|
18
|
+
gsap.set(Overlay.mobile.screen,{clearProps:"display"});
|
18
19
|
}
|
19
20
|
}
|
20
21
|
}
|
21
22
|
|
22
|
-
|
23
|
-
|
24
|
-
$(window).resize(CheckWidth);
|
23
|
+
if (Overlay.mobile.active) {
|
24
|
+
$(CheckWidth);
|
25
|
+
$(window).resize(CheckWidth);
|
26
|
+
}
|
@@ -1,10 +1,10 @@
|
|
1
1
|
|
2
2
|
const ExpandBlock = (e) => {
|
3
3
|
let ting = $(e.target),
|
4
|
-
target = ting.parent().siblings(
|
4
|
+
target = ting.parent().siblings(Site.page.artwork).children(Site.code.wrap);
|
5
5
|
|
6
6
|
if (target.css("display") == "none") {
|
7
|
-
gsap.set(target,{display:open});
|
7
|
+
gsap.set(target,{display:Site.open});
|
8
8
|
gsap.set(ting,{text:"Hide"});
|
9
9
|
} else {
|
10
10
|
gsap.set(target,{clearProps:"display"});
|
@@ -12,6 +12,10 @@ const ExpandBlock = (e) => {
|
|
12
12
|
}
|
13
13
|
}
|
14
14
|
|
15
|
-
|
16
|
-
|
17
|
-
|
15
|
+
if (Site.code.active) {
|
16
|
+
|
17
|
+
$(Site.code.expand).click(function(e) {
|
18
|
+
ExpandBlock(e);
|
19
|
+
});
|
20
|
+
|
21
|
+
}
|
@@ -1,95 +1,120 @@
|
|
1
1
|
|
2
|
-
const SearchInput = $(".input.--search"),
|
3
|
-
SearchResults = $(".block._results");
|
4
|
-
|
5
2
|
const OpenOverlay = type => {
|
6
3
|
gsap.set(body,{overflow:"hidden"});
|
7
|
-
gsap.set(".overlay.
|
8
|
-
console.log(open);
|
4
|
+
gsap.set(".overlay." + type,{display:Site.open});
|
9
5
|
}
|
10
6
|
|
11
7
|
const CloseOverlay = type => {
|
12
|
-
gsap.set([body,".overlay.
|
8
|
+
gsap.set([body,".overlay." + type],{clearProps:"all"});
|
13
9
|
}
|
14
10
|
|
15
11
|
function KeyFunc(e) {
|
16
12
|
let code = e.keyCode;
|
17
13
|
|
18
14
|
if (code == 27) {
|
19
|
-
|
20
|
-
|
21
|
-
|
15
|
+
|
16
|
+
if (Overlay.about.active) {
|
17
|
+
|
18
|
+
if (Overlay.about.open) {
|
19
|
+
CloseOverlay("about");
|
20
|
+
Overlay.about.open = false;
|
21
|
+
}
|
22
22
|
}
|
23
|
-
|
24
|
-
|
25
|
-
|
23
|
+
|
24
|
+
if (Overlay.browse.active) {
|
25
|
+
|
26
|
+
if (Overlay.browse.open) {
|
27
|
+
CloseOverlay("browse");
|
28
|
+
Overlay.browse.open = false;
|
29
|
+
}
|
26
30
|
}
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
31
|
+
|
32
|
+
if (Overlay.search.active) {
|
33
|
+
|
34
|
+
if (Overlay.search.open) {
|
35
|
+
CloseOverlay("search");
|
36
|
+
$(Overlay.search.input).val("");
|
37
|
+
$(Overlay.search.results).html("");
|
38
|
+
Overlay.search.open = false;
|
39
|
+
}
|
32
40
|
}
|
33
41
|
}
|
34
42
|
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
43
|
+
if (Overlay.about.active) {
|
44
|
+
|
45
|
+
if (code == 65) {
|
46
|
+
OpenOverlay("about");
|
47
|
+
Overlay.about.open = true;
|
48
|
+
}
|
39
49
|
}
|
40
|
-
|
41
|
-
|
42
|
-
|
50
|
+
|
51
|
+
if (Overlay.browse.active) {
|
52
|
+
|
53
|
+
if (code == 66) {
|
54
|
+
OpenOverlay("browse");
|
55
|
+
Overlay.browse.open = true;
|
56
|
+
}
|
43
57
|
}
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
58
|
+
|
59
|
+
if (Overlay.search.active) {
|
60
|
+
|
61
|
+
if (code == 83) {
|
62
|
+
OpenOverlay("search");
|
63
|
+
$(Overlay.search.input).focus();
|
64
|
+
Overlay.search.open = true;
|
65
|
+
}
|
48
66
|
}
|
49
|
-
|
67
|
+
|
50
68
|
}
|
51
69
|
|
52
|
-
|
53
|
-
OpenOverlay('about');
|
54
|
-
AboutOpen = true;
|
55
|
-
});
|
70
|
+
if (Overlay.about.active) {
|
56
71
|
|
57
|
-
$(
|
58
|
-
|
59
|
-
|
60
|
-
});
|
72
|
+
$(Overlay.about.btn).click(function() {
|
73
|
+
OpenOverlay("about");
|
74
|
+
Overlay.about.open = true;
|
75
|
+
});
|
61
76
|
|
62
|
-
$(
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
}
|
77
|
+
$(Overlay.about.exit).click(function() {
|
78
|
+
CloseOverlay("about");
|
79
|
+
Overlay.about.open = false;
|
80
|
+
});
|
81
|
+
}
|
67
82
|
|
68
|
-
|
69
|
-
CloseOverlay('about');
|
70
|
-
AboutOpen = false;
|
71
|
-
});
|
83
|
+
if (Overlay.browse.active) {
|
72
84
|
|
73
|
-
$(
|
74
|
-
|
75
|
-
|
76
|
-
});
|
85
|
+
$(Overlay.browse.btn).click(function() {
|
86
|
+
OpenOverlay("browse");
|
87
|
+
Overlay.browse.open = true;
|
88
|
+
});
|
77
89
|
|
78
|
-
$(
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
90
|
+
$(Overlay.browse.exit).click(function() {
|
91
|
+
CloseOverlay("browse");
|
92
|
+
Overlay.browse.open = false;
|
93
|
+
});
|
94
|
+
}
|
95
|
+
|
96
|
+
if (Overlay.search.active) {
|
97
|
+
|
98
|
+
$(Overlay.search.btn).click(function() {
|
99
|
+
OpenOverlay("search");
|
100
|
+
$(Overlay.search.input).focus();
|
101
|
+
Overlay.search.open = true;
|
102
|
+
});
|
103
|
+
|
104
|
+
$(Overlay.search.exit).click(function() {
|
105
|
+
CloseOverlay("search");
|
106
|
+
$(Overlay.search.input).val("");
|
107
|
+
$(Overlay.search.results).html("");
|
108
|
+
Overlay.search.open = false;
|
109
|
+
});
|
110
|
+
}
|
84
111
|
|
85
112
|
$(document).keyup(function(e){
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
}
|
94
|
-
}
|
113
|
+
|
114
|
+
if (!Site.respond) {
|
115
|
+
|
116
|
+
if (!Site.mobile) { KeyFunc(e); }
|
117
|
+
|
118
|
+
} else { KeyFunc(e); }
|
119
|
+
|
95
120
|
});
|