jekyll-theme-explosive-lab 0.1.2.2 → 0.1.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/_includes/header.html +13 -9
- data/_sass/main.scss +107 -57
- data/assets/js/main.js +7 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3ab67d0901c91b9811ee399204aadb3d868f35e5
|
4
|
+
data.tar.gz: 517e42fe3d77a503d919bb94e356bd7448f72ee9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9b74fc7a78510068e2af29bfe9ea7075fdcc320c895813d7e71d73df7fb53cd5611993025dd2b25bf4af22f8a8ad39d0ec4c836f1bf72ca2a690a89173ba2b62
|
7
|
+
data.tar.gz: bf8e6d1e4987f57a2fc5015f9b9064578a863e8f1c2c6e4f556a59060d970239e3c7ba954feba1e84785a1738267d019aaa8b0ed62258c51f5f96e9bc74d295b
|
data/_includes/header.html
CHANGED
@@ -1,22 +1,26 @@
|
|
1
1
|
<header>
|
2
2
|
<div class="header-logo">
|
3
3
|
<span>
|
4
|
-
<a href="/" title="ExplosiveLab Home Page">{{
|
4
|
+
<a href="/" title="ExplosiveLab Home Page">{{site.title}}</a>
|
5
5
|
</span>
|
6
6
|
</div>
|
7
|
+
</header>
|
7
8
|
|
8
|
-
|
9
|
-
<div class="header-navigation-icon">
|
10
|
-
<span>menu</span>
|
9
|
+
<nav class="header-navigation">
|
10
|
+
<div class="header-navigation-icon no-select">
|
11
11
|
<div class="card-1">
|
12
12
|
<i class="material-icons md-48">apps</i>
|
13
13
|
</div>
|
14
14
|
</div>
|
15
15
|
|
16
16
|
<ul class="header-navigation-menu disabled">
|
17
|
-
|
18
|
-
|
19
|
-
|
17
|
+
{% for item in site.data.menu.menuitems %}
|
18
|
+
<li>
|
19
|
+
<a href="{{item.link}}">
|
20
|
+
<span>{{item.text}}</span>
|
21
|
+
<i class="material-icons md-48">{{item.icon-name}}</i>
|
22
|
+
</a>
|
23
|
+
</li>
|
24
|
+
{% endfor %}
|
20
25
|
</ul>
|
21
|
-
</nav>
|
22
|
-
</header>
|
26
|
+
</nav>
|
data/_sass/main.scss
CHANGED
@@ -27,6 +27,33 @@ html {
|
|
27
27
|
box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
|
28
28
|
}
|
29
29
|
|
30
|
+
/* animation keyframes */
|
31
|
+
@keyframes fadeInUp {
|
32
|
+
from {
|
33
|
+
opacity: 0;
|
34
|
+
transform: translate3d(0, 100%, 0);
|
35
|
+
}
|
36
|
+
|
37
|
+
to {
|
38
|
+
opacity: 1;
|
39
|
+
transform: none;
|
40
|
+
}
|
41
|
+
}
|
42
|
+
|
43
|
+
.fadeInUp {
|
44
|
+
animation-name: fadeInUp;
|
45
|
+
}
|
46
|
+
|
47
|
+
.no-select {
|
48
|
+
-webkit-touch-callout: none; /* iOS Safari */
|
49
|
+
-webkit-user-select: none; /* Safari */
|
50
|
+
-khtml-user-select: none; /* Konqueror HTML */
|
51
|
+
-moz-user-select: none; /* Firefox */
|
52
|
+
-ms-user-select: none; /* Internet Explorer/Edge */
|
53
|
+
user-select: none; /* Non-prefixed version, currently
|
54
|
+
supported by Chrome and Opera */
|
55
|
+
}
|
56
|
+
|
30
57
|
|
31
58
|
|
32
59
|
/* Google font */
|
@@ -78,11 +105,18 @@ body {
|
|
78
105
|
header {
|
79
106
|
display: flex;
|
80
107
|
justify-content: space-between;
|
81
|
-
|
108
|
+
z-index: 10;
|
82
109
|
|
83
|
-
padding: 5px 10px;
|
84
110
|
|
111
|
+
position: fixed;
|
112
|
+
top: 0; left: 0;
|
85
113
|
|
114
|
+
width: 100%;
|
115
|
+
height: 60px;
|
116
|
+
|
117
|
+
padding: 5px 10px;
|
118
|
+
|
119
|
+
background: $primary-700;
|
86
120
|
|
87
121
|
.header-logo {
|
88
122
|
display: flex;
|
@@ -101,84 +135,100 @@ header {
|
|
101
135
|
}
|
102
136
|
}
|
103
137
|
|
104
|
-
|
105
|
-
|
106
|
-
bottom: 10px;
|
107
|
-
right: 10px;
|
138
|
+
|
139
|
+
}
|
108
140
|
|
109
|
-
|
110
|
-
|
111
|
-
|
141
|
+
.header-navigation {
|
142
|
+
position: fixed;
|
143
|
+
bottom: 10px;
|
144
|
+
right: 10px;
|
112
145
|
|
113
|
-
|
146
|
+
display: flex;
|
147
|
+
flex-direction: row-reverse;
|
148
|
+
align-items: center;
|
114
149
|
|
115
|
-
|
116
|
-
flex-direction: column;
|
117
|
-
align-items: center;
|
150
|
+
&-icon {
|
118
151
|
|
119
|
-
|
120
|
-
|
152
|
+
display: flex;
|
153
|
+
flex-direction: column;
|
154
|
+
align-items: center;
|
155
|
+
z-index: 10;
|
121
156
|
|
122
|
-
|
123
|
-
|
157
|
+
color: #ffffff;
|
158
|
+
cursor: pointer;
|
124
159
|
|
125
|
-
|
126
|
-
opacity: 1;
|
127
|
-
}
|
160
|
+
@include transition(all .3s ease-out);
|
128
161
|
|
129
|
-
|
130
|
-
|
162
|
+
div {
|
163
|
+
display: flex;
|
131
164
|
|
132
|
-
|
133
|
-
|
165
|
+
border-radius: 50%;
|
166
|
+
padding: 5px;
|
134
167
|
|
135
|
-
|
168
|
+
background: $primary-700;
|
169
|
+
}
|
170
|
+
|
171
|
+
&:hover {
|
172
|
+
div {
|
173
|
+
background: $primary-500;
|
136
174
|
}
|
175
|
+
}
|
137
176
|
|
138
|
-
|
139
|
-
font-size: $font-small-x;
|
140
|
-
font-weight: bold;
|
141
|
-
text-transform: uppercase;
|
142
|
-
color: $primary-100;
|
143
|
-
}
|
177
|
+
&.enabled {
|
144
178
|
|
145
|
-
|
146
|
-
|
179
|
+
div {
|
180
|
+
background: #ffffff;
|
181
|
+
color: $primary-700;
|
182
|
+
transform: rotate(360deg);
|
147
183
|
}
|
184
|
+
}
|
185
|
+
|
186
|
+
@include media (">phone") {
|
187
|
+
|
148
188
|
}
|
189
|
+
}
|
149
190
|
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
191
|
+
&-menu {
|
192
|
+
display: flex;
|
193
|
+
flex-flow: column;
|
194
|
+
justify-content: space-around;
|
195
|
+
align-items: flex-start;
|
196
|
+
z-index: 8;
|
154
197
|
|
155
|
-
|
156
|
-
margin: 0;
|
198
|
+
animation: .3s ease-out fadeInUp;
|
157
199
|
|
158
|
-
|
159
|
-
|
200
|
+
list-style: none;
|
201
|
+
margin: 0;
|
160
202
|
|
161
|
-
|
162
|
-
|
163
|
-
|
203
|
+
&.disabled {
|
204
|
+
display: none;
|
205
|
+
}
|
164
206
|
|
165
|
-
|
166
|
-
|
167
|
-
|
207
|
+
&.enabled {
|
208
|
+
display: flex;
|
209
|
+
position: fixed;
|
210
|
+
top: 60px; left: 0;
|
211
|
+
width: 100%;
|
212
|
+
height: 100%;
|
168
213
|
|
169
|
-
|
170
|
-
|
171
|
-
text-transform: uppercase;
|
172
|
-
text-decoration: none;
|
173
|
-
color: $primary-link;
|
174
|
-
}
|
214
|
+
background-color: rgba($primary-700, .9);
|
215
|
+
}
|
175
216
|
|
176
|
-
|
177
|
-
|
178
|
-
|
217
|
+
a {
|
218
|
+
font-size: $font-large;
|
219
|
+
|
220
|
+
font-weight: bold;
|
221
|
+
text-transform: uppercase;
|
222
|
+
text-decoration: none;
|
223
|
+
|
224
|
+
color: $accent-100;
|
225
|
+
}
|
226
|
+
|
227
|
+
@include media (">phone") {
|
228
|
+
|
179
229
|
}
|
180
|
-
|
181
230
|
}
|
231
|
+
|
182
232
|
}
|
183
233
|
|
184
234
|
main {
|
data/assets/js/main.js
CHANGED
@@ -1,11 +1,18 @@
|
|
1
1
|
$(document).ready(function(){
|
2
2
|
var hamburgerIcon = $('.header-navigation-icon');
|
3
|
+
var hamburgerIconName = $('.header-navigation-icon i');
|
3
4
|
var menu = $('.header-navigation-menu');
|
4
5
|
|
5
6
|
function changeMenuStatus() {
|
6
7
|
if( menu.hasClass('enabled')) {
|
8
|
+
hamburgerIcon.removeClass('enabled').addClass('disabled');
|
9
|
+
hamburgerIconName.text('apps');
|
10
|
+
|
7
11
|
menu.removeClass('enabled').addClass('disabled');
|
8
12
|
} else {
|
13
|
+
hamburgerIcon.addClass('enabled').removeClass('disabled');
|
14
|
+
hamburgerIconName.text('close');
|
15
|
+
|
9
16
|
menu.addClass('enabled').removeClass('disabled');
|
10
17
|
}
|
11
18
|
}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-theme-explosive-lab
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.2.
|
4
|
+
version: 0.1.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrea Castenetto
|
@@ -97,5 +97,5 @@ rubyforge_project:
|
|
97
97
|
rubygems_version: 2.6.10
|
98
98
|
signing_key:
|
99
99
|
specification_version: 4
|
100
|
-
summary: Jekyll theme
|
100
|
+
summary: Jekyll theme NOT READY YET FOR PRODUCTION. I\' working on it. '
|
101
101
|
test_files: []
|