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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dc10fe6d3c5b827544ba216f6b4590fdce1312e8
4
- data.tar.gz: 6446c8fd4360cf8348f80883f8b5cb6f3e9e9adc
3
+ metadata.gz: 3ab67d0901c91b9811ee399204aadb3d868f35e5
4
+ data.tar.gz: 517e42fe3d77a503d919bb94e356bd7448f72ee9
5
5
  SHA512:
6
- metadata.gz: 92f0e01933ed3bdaeadd5add04720e6bb3f8b4b2e24e88f7ab48b93a071744cd9bfafe29fa695b0badc15f16d947d960a016c1b0b931b28d6a3b5986472e65da
7
- data.tar.gz: eac8938a9be41102b6a6f29ed48a13d1a16f25f2d9a164982758739e09cbb72070ea2c2958de74fd1bc21300c0f64926cd5b0812ab4b8fe3d38fc5c027ce52e9
6
+ metadata.gz: 9b74fc7a78510068e2af29bfe9ea7075fdcc320c895813d7e71d73df7fb53cd5611993025dd2b25bf4af22f8a8ad39d0ec4c836f1bf72ca2a690a89173ba2b62
7
+ data.tar.gz: bf8e6d1e4987f57a2fc5015f9b9064578a863e8f1c2c6e4f556a59060d970239e3c7ba954feba1e84785a1738267d019aaa8b0ed62258c51f5f96e9bc74d295b
@@ -1,22 +1,26 @@
1
1
  <header>
2
2
  <div class="header-logo">
3
3
  <span>
4
- <a href="/" title="ExplosiveLab Home Page">{{page.title}}</a>
4
+ <a href="/" title="ExplosiveLab Home Page">{{site.title}}</a>
5
5
  </span>
6
6
  </div>
7
+ </header>
7
8
 
8
- <nav class="header-navigation">
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
- <li><a href="">blog</a></li>
18
- <li><a href="">chi siamo</a></li>
19
- <li><a href="">contatti</a></li>
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>
@@ -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
- background: $primary-700;
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
- .header-navigation {
105
- position: absolute;
106
- bottom: 10px;
107
- right: 10px;
138
+
139
+ }
108
140
 
109
- display: flex;
110
- flex-direction: row-reverse;
111
- align-items: center;
141
+ .header-navigation {
142
+ position: fixed;
143
+ bottom: 10px;
144
+ right: 10px;
112
145
 
113
- &-icon {
146
+ display: flex;
147
+ flex-direction: row-reverse;
148
+ align-items: center;
114
149
 
115
- display: flex;
116
- flex-direction: column;
117
- align-items: center;
150
+ &-icon {
118
151
 
119
- color: #ffffff;
120
- cursor: pointer;
152
+ display: flex;
153
+ flex-direction: column;
154
+ align-items: center;
155
+ z-index: 10;
121
156
 
122
- @include transition(opacity .3s ease-out);
123
- opacity: .8;
157
+ color: #ffffff;
158
+ cursor: pointer;
124
159
 
125
- &:hover {
126
- opacity: 1;
127
- }
160
+ @include transition(all .3s ease-out);
128
161
 
129
- div {
130
- display: flex;
162
+ div {
163
+ display: flex;
131
164
 
132
- border-radius: 50%;
133
- padding: 5px;
165
+ border-radius: 50%;
166
+ padding: 5px;
134
167
 
135
- background: $primary-700;
168
+ background: $primary-700;
169
+ }
170
+
171
+ &:hover {
172
+ div {
173
+ background: $primary-500;
136
174
  }
175
+ }
137
176
 
138
- span {
139
- font-size: $font-small-x;
140
- font-weight: bold;
141
- text-transform: uppercase;
142
- color: $primary-100;
143
- }
177
+ &.enabled {
144
178
 
145
- @include media (">phone") {
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
- &-menu {
151
- display: flex;
152
- justify-content: space-around;
153
- align-items: center;
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
- list-style: none;
156
- margin: 0;
198
+ animation: .3s ease-out fadeInUp;
157
199
 
158
- min-width: 300px;
159
- height: 60px;
200
+ list-style: none;
201
+ margin: 0;
160
202
 
161
- &.disabled {
162
- display: none;
163
- }
203
+ &.disabled {
204
+ display: none;
205
+ }
164
206
 
165
- &.enabled {
166
- display: flex;
167
- }
207
+ &.enabled {
208
+ display: flex;
209
+ position: fixed;
210
+ top: 60px; left: 0;
211
+ width: 100%;
212
+ height: 100%;
168
213
 
169
- a {
170
- font-weight: bold;
171
- text-transform: uppercase;
172
- text-decoration: none;
173
- color: $primary-link;
174
- }
214
+ background-color: rgba($primary-700, .9);
215
+ }
175
216
 
176
- @include media (">phone") {
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 {
@@ -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.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 for http://explosivelab.it NOT READY YET FOR PRODUCTION.
100
+ summary: Jekyll theme NOT READY YET FOR PRODUCTION. I\' working on it. '
101
101
  test_files: []