jumbo-jekyll-theme 1.4.2.13 → 1.4.2.14

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
  SHA1:
3
- metadata.gz: e3411721192986b1ef738ea1a5b0c3b899efc259
4
- data.tar.gz: e9f1162a215af3f3c153d5ebb67d748c5e074d8c
3
+ metadata.gz: 795073cbb816863e0c012dcdb5f05cb23201648e
4
+ data.tar.gz: 144d55fc1140248aed90117cfd8105f22c48f2b0
5
5
  SHA512:
6
- metadata.gz: 258561413ebd1f528076fce69d0299334df5c97905eab179d4cf84f03c4a4405c1c2644500088a5717293cb80a0744bb753b3c800f731438aa475a47b39311c3
7
- data.tar.gz: e5b0eb53324c26886b28767832a9a56733b1257e54e425c2090455348b6a131c6b28b53a834f1b108bb49543a3edbf5e4feeb62f4b74356b4642003aaa12832b
6
+ metadata.gz: c0d27be415e13534bc859f8b63e77c6d6782effc25ddab2928325b3cc76966fa41ad0837ded6139dc92dc5ae3f41bb01651fcd7e4102c235f5d5cc086e52d3e6
7
+ data.tar.gz: e8e8a8d1f6a62912cfa07c9ea4f108fda1ec4fca55ec0d8d37c0ee245fd0a68855e159ff3cbb23f6981fa875345fa52d74a5920220692083315a2162a01f12d4
@@ -1,31 +1,52 @@
1
1
  {% for post in paginator.posts %}
2
2
  <div class="row blog_post">
3
3
  {% if site.data.settings.blog.show_thumbnails %}
4
- <div class="col-xs-12 post_title no-padding">
5
- <a href="{{post.url}}"><h3>{{ post.title}}</h3></a>
6
- <em>{{ post.date | date: "%A, %B %-d, %Y"}}</em><br />
7
- <p class="post_excerpt">
8
- {{ post.content | strip_html | truncatewords:30 }}
9
- </p>
10
- <p>
4
+ <div class="col-md-4 col-sm-4 col-xs-4">
11
5
  <a href="{{post.url}}">
12
- <button class="btn blog-read-more-btn">Read More</button>
6
+ <img class="img-responsive blog-img lazyload"
7
+ src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="
8
+ {% if site.using_assets == true %}
9
+ {% if post.featured_image %}
10
+ data-src="{% asset_path '{{post.featured_image}}' %}"
11
+ {% else %}
12
+ data-src="{% asset_path '{{site.data.company.placeholder}}' %}"
13
+ {% endif %}
14
+ {% else %}
15
+ {% if post.featured_image %}
16
+ data-src="/assets{{post.featured_image}}"
17
+ {% else %}
18
+ data-src="{% if site.data.company.placeholder %}{{site.data.company.placeholder}}{% else %}/assets/images/placeholder.png{% endif %}"
19
+ {% endif %}
20
+ {% endif %}
21
+ alt="{{post.title}}" />
13
22
  </a>
14
- </p>
15
- </div>
23
+ </div>
24
+ <div class="col-md-8 col-sm-8 col-xs-8 post_title no-padding">
25
+ <a href="{{post.url}}"><h3>{{ post.title}}</h3></a>
26
+ <em>{{ post.date | date: "%A, %B %-d, %Y"}}</em><br />
27
+ <p class="post_excerpt">
28
+ {{ post.content | strip_html | truncatewords:30 }}
29
+ </p>
30
+ <p>
31
+ <a href="{{post.url}}">
32
+ <button class="btn blog-read-more-btn">Read More</button>
33
+ </a>
34
+ </p>
35
+ </div>
16
36
  {% else %}
17
- <div class="col-xs-12 post_title no-padding">
18
- <a href="{{post.url}}"><h3>{{ post.title}}</h3></a>
19
- <em>{{ post.date | date: "%A, %B %-d, %Y"}}</em><br />
20
- <p class="post_excerpt">
21
- {{ post.content | strip_html | truncatewords:30 }}
22
- </p>
23
- <p>
24
- <a href="{{post.url}}">
25
- <button class="btn blog-read-more-btn">Read More</button>
26
- </a>
27
- </p>
28
- </div>
37
+ <div class="col-xs-12 post_title no-padding">
38
+ <a href="{{post.url}}"><h3>{{ post.title}}</h3></a>
39
+ <em>{{ post.date | date: "%A, %B %-d, %Y"}}</em><br />
40
+ <p class="post_excerpt">
41
+ {{ post.content | strip_html | truncatewords:30 }}
42
+ </p>
43
+ <p>
44
+ <a href="{{post.url}}">
45
+ <button class="btn blog-read-more-btn">Read More</button>
46
+ </a>
47
+ </p>
48
+ </div>
29
49
  {% endif %}
30
50
  </div>
31
51
  {% endfor %}
52
+
data/_includes/nav.html CHANGED
@@ -40,7 +40,7 @@ navbar-inverse navbar-fixed-top" id="main-navigation">
40
40
  <ul class="nav navbar-nav navbar-right" id="navbar-buttons">
41
41
  {% for section in site.data.nav.pages %}
42
42
  {% if section.options %}
43
- <li class="dropdown menu
43
+ <li class="main dropdown menu
44
44
  {% for menu-item in section.options %}
45
45
  {% if page.url == menu-item.url %}
46
46
  active
@@ -81,7 +81,9 @@ navbar-inverse navbar-fixed-top" id="main-navigation">
81
81
  </li>
82
82
  {% else %}
83
83
  <li {% if section.url == page.permalink %}
84
- class="active"
84
+ class="main active"
85
+ {% else %}
86
+ class="main"
85
87
  {% endif %}
86
88
  ><a href="{{section.url}}" title="{{section.title}}">{{section.title}}</a></li>
87
89
  {% endif %}
@@ -19,9 +19,9 @@
19
19
 
20
20
 
21
21
  {% if tab-list %}
22
- <div class="tabbed-area" id="tabbed-nav-bar"><!-- Nav tabs Wrapper-->
22
+ <div class="tabbed-area non-sticky-nav" id="tabbed-nav-bar"><!-- Nav tabs Wrapper-->
23
+ <div class="container">
23
24
  <nav class="navbar-default" role="navigation"><!-- Nav -->
24
- <div class="container"><!-- Container -->
25
25
  <div class="navbar-header"><!-- Navbar Header -->
26
26
  <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#tabbed-nav-bar-collapse">
27
27
  <span class="sr-only">Toggle navigation</span>
@@ -38,8 +38,8 @@
38
38
  {% endfor %}
39
39
  </ul>
40
40
  </div>
41
- </div>
42
41
  </nav>
42
+ </div>
43
43
  </div>
44
44
  {% elsif custom-include %}
45
45
  {% include {{custom-include}}.html %}
@@ -12,6 +12,7 @@ $footer-text-color: #fff;
12
12
 
13
13
  // Sub footer
14
14
  $sub-footer-bg-color: #ccc;
15
+ $footer-border-color: #272727;
15
16
 
16
17
  // Navbar
17
18
  $navbar-text-color: #fff;
@@ -30,12 +30,18 @@ $cookie-consent-text: #FFF !default;
30
30
  $cookie-consent-bg: #000 !default;
31
31
 
32
32
 
33
+
34
+
35
+
33
36
  // homepage title text and sub text
34
37
  $home-page-title-text: #FFF !default; // all title text
35
38
  $home-page-text: #fff !default; // all title text
36
39
  $home-page-main-title-color: $home-page-title-text !default; // overide for specific main title text
37
40
 
38
41
  $cookie-consent-btn-bg: $brand-primary !default;
42
+
43
+ // Footer Colour
44
+ $footer-border-color: $brand-primary !default;
39
45
  $footer-bg-color: $gray-darker !default;
40
46
  $footer-text-color: #fff !default;
41
47
  $sub-footer-color: #E5E5E5 !default;
@@ -76,8 +76,11 @@ footer b a:hover{
76
76
 
77
77
  .footer-strip{
78
78
  background-color: $footer-bg-color;
79
- border-top: 1px $brand-primary solid;
79
+ border-top: 1px $footer-border-color solid;
80
80
  }
81
+
82
+
83
+
81
84
  div.row.footer-strip > div > div.pull-right > ul {
82
85
  background-color: $gray-darker;
83
86
  }
@@ -140,6 +143,3 @@ a.btn.btn-social-icon:hover i {
140
143
  color: $footer-text-color;
141
144
  }
142
145
 
143
- .row.footer-strip {
144
- border-top-color: $footer-text-color;
145
- }
data/_sass/core/nav.scss CHANGED
@@ -7,6 +7,7 @@
7
7
  .navbar-inverse .navbar-brand{
8
8
  color: $navbar-text-color;
9
9
  line-height: $navbar-height;
10
+ padding-left:15px;
10
11
  }
11
12
  .navbar-inverse .navbar-brand:hover{
12
13
  color: $brand-primary;
@@ -18,14 +19,24 @@
18
19
  }
19
20
 
20
21
 
22
+ div#tabbed-nav-bar-collapse {
23
+ padding: 0;
24
+ }
25
+
26
+ div#tabbed-nav-bar.non-sticky-nav > .container {
27
+ padding-left: 0px;
28
+ padding-right: 0px;
29
+ }
30
+
31
+
21
32
 
22
33
  @media (min-width: $screen-lg) {
23
34
 
24
- .navbar-collapse {
35
+ #navbar-collapse {
25
36
  padding-top: 0px;
26
37
  padding-right: 38px;
27
- margin-right: -40px !important;
28
- margin-left: -15px !important;
38
+ margin-right: -40px;
39
+ margin-left: -15px;
29
40
  }
30
41
  ul.dropdown-menu {
31
42
  margin-top: -1px !important;
@@ -46,6 +57,10 @@
46
57
  }
47
58
 
48
59
  @media (max-width: $screen-sm){
60
+
61
+ div#tabbed-nav-bar.sticky-nav li.divider {
62
+ border-top: 2px solid #272727;
63
+ }
49
64
  // Style for Home Page Nav - Transparent
50
65
  nav.nav-light >
51
66
  div#navbar-collapse {
@@ -56,6 +71,21 @@
56
71
  nav.nav-light #navbar-buttons>li>a {
57
72
  color: $navbar-text-color;
58
73
  }
74
+
75
+ div#tabbed-nav-bar>.navbar-default {
76
+ margin-left: -15px;
77
+ margin-right: -15px;
78
+ }
79
+
80
+ div#tabbed-nav-bar.sticky-nav > .container {
81
+ padding-left: 0px;
82
+ padding-right: 0px;
83
+ }
84
+
85
+
86
+ #tabbed-nav-bar.sticky-nav a#sub-navigation-header {
87
+ padding-left: 15px;
88
+ }
59
89
  }
60
90
 
61
91
  @media screen and (max-width: $screen-lg) and (min-width: 0px) {
@@ -377,6 +407,9 @@ nav > ul.navbar-right {
377
407
  margin-bottom:-1px;
378
408
  z-index: 1;
379
409
  }
410
+ #tabbed-nav-bar.non-sticky-nav button.navbar-toggle {
411
+ margin-right: -5px;
412
+ }
380
413
 
381
414
  .sticky-nav {
382
415
  position: fixed;
@@ -404,6 +437,14 @@ nav > ul.navbar-right {
404
437
  }
405
438
  #tabbed-nav-bar .nav-tabs>li>a {
406
439
  color: $navbar-text-color;
440
+ font-size: 12px;
441
+ font-weight: bold;
442
+ padding: 10px;
443
+ padding-left: 20px;
444
+ text-transform: uppercase;
445
+ letter-spacing: 0px;
446
+ line-height: 21px;
447
+
407
448
  }
408
449
  #tabbed-nav-bar .nav-tabs>li>a:hover {
409
450
  color: $brand-primary;
@@ -431,10 +472,13 @@ nav > ul.navbar-right {
431
472
 
432
473
  #tabbed-nav-bar a#sub-navigation-header {
433
474
  color: #000;
475
+ padding: 0px;
434
476
  }
435
477
  #tabbed-nav-bar.sticky-nav a#sub-navigation-header{
436
478
  color: $navbar-text-color;
437
479
  }
480
+
481
+
438
482
  /* Sub Navigation Side Bar Hover Style */
439
483
  .nav-pills>li.side-nav-button>a:hover {
440
484
  color: $navbar-inverse-bg;
@@ -533,6 +577,7 @@ nav > ul.navbar-right {
533
577
  #tabbed-nav-bar .nav-tabs {
534
578
  margin-top: 18px;
535
579
  }
580
+
536
581
  }
537
582
 
538
583
  .tab-pane-legal{
@@ -786,6 +831,17 @@ li#linaro-app-menu-item > ul:before {
786
831
  margin-left: -16px;
787
832
  }
788
833
 
834
+ @media(min-width:$screen-sm-min){
835
+ div#tabbed-nav-bar.sticky-nav li.divider {
836
+ border-right: 1px solid $navbar-inverse-bg;
837
+ height: 48px;
838
+ width: 1px;
839
+ }
840
+ div#tabbed-nav-bar.non-sticky-nav li.divider {
841
+ border-right: 2px solid #272727;
842
+ }
843
+ }
844
+
789
845
  @media only screen and (max-width: $screen-lg-min) and (min-width: $screen-sm-min) {
790
846
  div#search_bar {
791
847
  right: 0px;
@@ -0,0 +1,74 @@
1
+ $(document).ready(function(){
2
+
3
+ var menu = $('#tabbed-nav-bar');
4
+
5
+ if(menu.length){
6
+
7
+ var origOffsetY = menu.offset().top;
8
+ var navHeight = $("nav#main-navigation").height;
9
+
10
+ var text = $('#tabbed-nav-bar ul.nav-tabs li.active a').text();
11
+ $('#sub-navigation-header').text(text);
12
+
13
+ function scroll() {
14
+ var text = $('#tabbed-nav-bar ul.nav-tabs li.active a').text();
15
+ $('#sub-navigation-header').text(text);
16
+ $('#sub-navigation-header').hide();
17
+
18
+
19
+ if ( $(window).scrollTop() > origOffsetY) {
20
+ $('#tabbed-nav-bar').removeClass('non-sticky-nav');
21
+ $('#tabbed-nav-bar').addClass('sticky-nav');
22
+ if($("ul#tab-row > li.main").length == 0){
23
+ $("ul#tab-row").append("<li class='divider'></li>");
24
+ $("#navbar-buttons > li" ).clone().appendTo("ul#tab-row");
25
+ }
26
+
27
+ $("nav#main-navigation").hide();
28
+ $('#wrapper').css('margin-top','70px');
29
+ if ($(window).width() < 1000) {
30
+ $('#tabbed-nav-bar nav').removeClass('navbar-default');
31
+ $('#tabbed-nav-bar nav').addClass('navbar-inverse');
32
+
33
+
34
+ $('#tabbed-nav-bar ul.nav-tabs').addClass('nav-stacked');
35
+ $('#sub-navigation-header').show();
36
+ }
37
+ else {
38
+ $('#tabbed-nav-bar nav').addClass('navbar-default');
39
+ $('#tabbed-nav-bar nav').removeClass('navbar-inverse');
40
+
41
+ $('#tabbed-nav-bar ul.nav-tabs').removeClass('nav-stacked');
42
+ $('#sub-navigation-header').hide();
43
+ }
44
+ }
45
+ else {
46
+ $('#tabbed-nav-bar').removeClass('sticky-nav');
47
+ $('#tabbed-nav-bar').addClass('non-sticky-nav');
48
+ $("ul#tab-row > li.main").remove();
49
+ $("ul#tab-row > li.divider").remove();
50
+ $('#wrapper').css('margin-top','0px');
51
+ $("nav#main-navigation").show();
52
+
53
+ $('#tabbed-nav-bar nav').addClass('navbar-default');
54
+ $('#tabbed-nav-bar nav').removeClass('navbar-inverse');
55
+
56
+ if ($(window).width() < 1000) {
57
+ $('#tabbed-nav-bar ul.nav-tabs').addClass('nav-stacked');
58
+ $('#sub-navigation-header').show();
59
+ }
60
+ else {
61
+ $('#tabbed-nav-bar ul.nav-tabs').removeClass('nav-stacked');
62
+ $('#sub-navigation-header').hide();
63
+ }
64
+
65
+
66
+ }
67
+ }
68
+ scroll();
69
+ $(window).scroll(function(){
70
+ scroll();
71
+ });
72
+ $(window).resize(scroll);
73
+ }
74
+ });
@@ -17,9 +17,11 @@ $(document).ready(function(){
17
17
 
18
18
 
19
19
  if ( $(window).scrollTop() > origOffsetY) {
20
+ $('#tabbed-nav-bar').removeClass('non-sticky-nav');
20
21
  $('#tabbed-nav-bar').addClass('sticky-nav');
22
+
21
23
  $("nav#main-navigation").hide();
22
- $('#wrapper').css('margin-top','132px');
24
+ $('#wrapper').css('margin-top','70px');
23
25
  if ($(window).width() < 1000) {
24
26
  $('#tabbed-nav-bar nav').removeClass('navbar-default');
25
27
  $('#tabbed-nav-bar nav').addClass('navbar-inverse');
@@ -38,6 +40,8 @@ $(document).ready(function(){
38
40
  }
39
41
  else {
40
42
  $('#tabbed-nav-bar').removeClass('sticky-nav');
43
+ $('#tabbed-nav-bar').addClass('non-sticky-nav');
44
+
41
45
  $('#wrapper').css('margin-top','0px');
42
46
  $("nav#main-navigation").show();
43
47
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jumbo-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.2.13
4
+ version: 1.4.2.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyle Kirkby
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-01-18 00:00:00.000000000 Z
11
+ date: 2018-01-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -480,6 +480,7 @@ files:
480
480
  - assets/js/app/openhours-timer.js
481
481
  - assets/js/app/rss.js
482
482
  - assets/js/app/search-page.js
483
+ - assets/js/app/sticky-tab-bar-concept.js
483
484
  - assets/js/app/sticky-tab-bar.js
484
485
  - assets/js/app/tables.js
485
486
  - assets/js/package-blog.js