kcc-gem-theme 1.65.57 → 1.65.58

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
  SHA256:
3
- metadata.gz: 5a4684277abea3a50370b9b9c1aa38ea5125e181866d424799341dc7a7528dc5
4
- data.tar.gz: 13bc4d3dc26794bfc61d37d760022b2faa604655f6ba32550bcf3a1b457d9bc3
3
+ metadata.gz: ea1b14c125c24b270ffff765cc90d9687654045bfd294ef727662bf3e9b01407
4
+ data.tar.gz: f34f03123fd98cf96633dc7982e747e7976dfd09cc3a860e500b9b036606ae08
5
5
  SHA512:
6
- metadata.gz: 646ac5ae69376a34f41b7d681653c93de3f8e8a6b1d6f967a6d32f282505dd3b9d33482dc6b2bc6258784a96ca0e590215114cd6b90e70967d11d536874da4e8
7
- data.tar.gz: 8b6845f6fb57ae5ecca8bf1bdf52ed85cdc59a1fb9008a62c519e05ca2ad4f83ebd24db26a69d0b530e3ea7f7c781d048048a3b20c8cfa77c43fbb598bf6e228
6
+ metadata.gz: 862f13a4e7ee377015c58980e73411887930bd6b87ef10d492cccbe36b4b7bea7510f005ad30976fae2ae8a1222c9d34cc57e53dc373c6cbd56893582d803d19
7
+ data.tar.gz: bee2762ab55995d3c62302568caef63c1cd7fa12792c1fcd024a40c3b32d3b5eecfdf888f059e713f2569a6c64edfd547deeae649413ba7fe60f4a3f55de25c4
@@ -1,5 +1,5 @@
1
- - link_text: Accordion
2
- link_href: 'accordion'
1
+ - link_text: Academics
2
+ link_href: 'academics'
3
3
  image:
4
4
  source: 'assets/img/e-tech_a-roberts_mar2016_D41_6690.jpg'
5
5
  alt: 'Student working in an electrical technology lab'
@@ -37,15 +37,21 @@
37
37
  - text: 'College Credit in High School'
38
38
  href: 'college-credit'
39
39
  - link_text: Tuition & Aid
40
- link_href: tuition-and-aid
41
40
  image:
42
41
  source: 'assets/img/fafsa-early-bird-banner-18.jpg'
43
42
  alt: 'The early bird gets the money. FAFSA available Oct. 1. Apply at fafsa.gov. More details and workshop info at www.kcc.edu/finaid'
44
43
  dropdown:
45
- - text: Financial Aid
46
- href: 'financial-aid'
47
- - text: Net Price Calculator
48
- href: 'net-price-calculator'
44
+ - text: Action
45
+ href: '#'
46
+ - text: Another action
47
+ href: '#'
48
+ - text: Another action
49
+ href: '#'
50
+ - text: Another action
51
+ href: '#'
52
+ - text: dropdown-divider
53
+ - text: Something else here
54
+ href: '#'
49
55
  - link_text: Student Resources
50
56
  image:
51
57
  source: 'assets/img/DSC_5650_helpful.jpg'
@@ -3,26 +3,34 @@
3
3
  <a href="cloudcannon:collections/_accordions/" class="btn btn-success editor-button">Edit Accordions Collection</a>
4
4
  </div>
5
5
  </div>
6
- <div id="accordion" class="accordion">
7
- {% assign page_title = page.title | downcase | replace: ' ', '-'| replace: '&', 'and' %}
8
- {% assign site_categories = site.categories %}
9
- {% assign accordion_collection = site.accordions | sort: "order" %}
6
+ <div id="accordion" class="accordion pt-2 pb-3 mb-3">
7
+ {% assign page_title = page.title %}
8
+ {% assign accordion_collection = site.accordions | where: "accordion_page", page_title | sort: "order" %}
10
9
  {% for item in accordion_collection %}
11
- {% if item.path contains page_title %}
10
+ {% assign this_accordion_id = item.card_heading | downcase | remove: '-' | replace: '&', 'and' | replace: ' ', '-' | remove: "'" | remove: "/" | remove: '0' | remove: '1' | remove: '2' | remove: '3' | remove: '4' | remove: '5' | remove: '6' | remove: '7' | remove: '8' | remove: '9' | remove: '?' | remove: '!' | remove: '#' | remove: '$' | remove: '.' | remove: ',' %}
12
11
  <div class="card">
13
- <div class="card-header accordion__padding-left" id="card-header-{{ item.card_heading | downcase | replace: '-', '' | replace: '&', 'and' | replace: ' ', '-' | replace: "'", "" }}">
14
- <h2 class="mb-0 accordion__typography--card-header accordion__typography--hover">
15
- <button class="btn btn-link buttons__no-decoration accordion__button{% if forloop.first != true %} collapsed{% endif %}{% if forloop.first == true and page.accordion_expanded == false %} collapsed{% endif %}" type="button" data-target="#{{ item.card_heading | downcase | replace: '-', '' | replace: '&', 'and' | replace: ' ', '-' | replace: "'", "" }}" data-toggle="collapse" aria-expanded="{% if forloop.first == true and page.accordion_expanded != false %}true{% else %}false{% endif %}" aria-controls="{{ item.card_heading | downcase | replace: '-', '' | replace: '&', 'and' | replace: ' ', '-' | replace: "'", "" }}">
16
- {{ item.card_heading }}
17
- </button>
18
- </h2>
12
+ <div class="card-header accordion__padding-left"
13
+ id="card-header-{{ this_accordion_id }}">
14
+ <h2 class="mb-0 accordion__typography--card-header accordion__typography--hover">
15
+ <button
16
+ class="btn btn-link buttons__no-decoration accordion__button{% if forloop.first != true %} collapsed{% endif %}{% if forloop.first == true and page.accordion_expanded == false %} collapsed{% endif %}"
17
+ type="button"
18
+ data-target="#{{ this_accordion_id }}"
19
+ data-toggle="collapse"
20
+ aria-expanded="{% if forloop.first == true and page.accordion_expanded != false %}true{% else %}false{% endif %}"
21
+ aria-controls="{{ this_accordion_id }}">
22
+ {{ item.card_heading }}
23
+ </button>
24
+ </h2>
19
25
  </div>
20
- <div id="{{ item.card_heading | downcase | replace: '-', '' | replace: '&', 'and' | replace: ' ', '-' | replace: "'", "" }}" class="collapse{% if forloop.first == true and page.accordion_expanded != false %} show{% endif %}" aria-labelledby="card-header-{{ item.card_heading | downcase | replace: '-', '' | replace: '&', 'and' | replace: ' ', '-' | replace: "'", "" }}">
21
- <div class="card-body">
22
- {{ item.content }}
23
- </div>
26
+ <div
27
+ id="{{ this_accordion_id }}"
28
+ class="collapse{% if forloop.first == true and page.accordion_expanded != false %} show{% endif %}"
29
+ aria-labelledby="card-header-{{ this_accordion_id }}">
30
+ <div class="card-body">
31
+ {{ item.content }}
32
+ </div>
24
33
  </div>
25
34
  </div>
26
- {% endif %}
27
35
  {% endfor %}
28
36
  </div>
@@ -2,7 +2,7 @@
2
2
  layout: default
3
3
  ---
4
4
 
5
- <main class="position__offset-fixed-nav">
5
+ <main>
6
6
  <div class="container">
7
7
  <div class="row">
8
8
  <div class="col">
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kcc-gem-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.65.57
4
+ version: 1.65.58
5
5
  platform: ruby
6
6
  authors:
7
7
  - wdzajicek
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-07-21 00:00:00.000000000 Z
11
+ date: 2020-08-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll