panthera-jekyll 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ae8c31b024366c5421b484fa36f659f581ef8aceaac339eae85f5369856718b2
4
- data.tar.gz: d0eca84c30017579c4365709d0d778422d6d6b1a660062a498dc3107c37139f3
3
+ metadata.gz: b15cbf08ce3a932fae4cb2ba14f1a4a5b229a8c3f65bbfc4bc2e953f2db8b2b0
4
+ data.tar.gz: 4635b264c7cbf03d0a84922653653f3b3d218f6abb5cb53910674890ca5a6f9c
5
5
  SHA512:
6
- metadata.gz: 154b9937a2f0f828ee2016c97c1d65a85f1b8ffb38d59955519acc83cc303219729b0fd24bc51bc2c28eaecc6743951519ec1acda34564859aac1bd98c999fb7
7
- data.tar.gz: 6bb7a67ee57b607379117c14790c01012256633974c478f141da0f2ae53f1b9b7b2227edaff2e364922c3373e9707750f7578bae5f25f1b8d7e2775d8e1f40ff
6
+ metadata.gz: bde6d4a60bf7930c53e2a202c8d3b67170954e96c0de86a39e2354a28ae1c5cbdd89d9c15ac193035fb3c000c57fcceab1d1a32cc56bb9ebdca1258b32a7da94
7
+ data.tar.gz: 65c21af19dfa7e8993c6da752b55c1cfe496e0f9678a218e88cc49bbccda2e3f559cdea3a77ef0be1333cc922a2fd5ee44ed2497c3e65380d079dbd9e318c27c
@@ -1,5 +1,5 @@
1
1
  <section class="pan-layout-footer">
2
2
  <div class="pan-layout-footer-right">
3
- <div>Theme designed by <a target="_blank" href="https://github.com/christianezeani">Christian Ezeani</a>.</div>
3
+ <div>Theme developed by <a target="_blank" href="https://github.com/christianezeani">Christian Ezeani</a>.</div>
4
4
  </div>
5
5
  </section>
data/_includes/left.html CHANGED
@@ -49,4 +49,8 @@
49
49
  {% endif %}
50
50
  </div>
51
51
  </div>
52
+
53
+ <div class="pan-layout-left__close">
54
+ <i class="fa fa-fw fa-times"></i>
55
+ </div>
52
56
  </section>
@@ -165,5 +165,15 @@
165
165
  }
166
166
  }
167
167
 
168
+ &__close {
169
+ left: unset;
170
+ top: 0px;
171
+ padding: 10px 15px;
172
+ color: #FFF;
173
+ cursor: pointer;
174
+ z-index: 10;
175
+ display: var(--pan-layout-left-close-btn-display);
176
+ }
177
+
168
178
  }
169
179
 
data/_sass/root/root.scss CHANGED
@@ -9,6 +9,7 @@
9
9
  --pan-layout-left-top-height: 300px;
10
10
  --pan-layout-left-bottom-height: 70px;
11
11
  --pan-layout-left-middle-border: 1px solid rgba(255, 255, 255, .3);
12
+ --pan-layout-left-close-btn-display: block;
12
13
 
13
14
  --pan-layout-right-left: 0px;
14
15
  --pan-layout-right-right: 0px;
@@ -24,6 +25,7 @@
24
25
  @media (min-width: pan-device(sm)) {
25
26
  :root {
26
27
  --pan-layout-left-width: 340px;
28
+ --pan-layout-left-close-btn-display: none;
27
29
  }
28
30
  }
29
31
 
@@ -10,6 +10,11 @@ jQuery(document).ready(function () {
10
10
  var $layout = jQuery(e.delegateTarget);
11
11
  $layout.removeClass('pan-menu-open');
12
12
  });
13
+
14
+ jQuery('.pan-layout').on('click', '.pan-layout-left__close', function (e) {
15
+ var $layout = jQuery(e.delegateTarget);
16
+ $layout.removeClass('pan-menu-open');
17
+ });
13
18
  })();
14
19
 
15
20
  (function () {
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: panthera-jekyll
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christian Ezeani
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-06-07 00:00:00.000000000 Z
11
+ date: 2019-06-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll