elixir-toolkit-theme 3.0.0 → 3.1.0
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/README.md +21 -12
- data/_includes/banner.html +3 -0
- data/_includes/footer.html +1 -1
- data/_includes/resource-table-all.html +30 -19
- data/_includes/section-navigation-tiles.html +6 -6
- data/_includes/topnav.html +2 -2
- data/_layouts/default.html +2 -1
- data/assets/css/main.scss +28 -17
- data/assets/js/main.js +1 -0
- data/assets/js/search-data.json +2 -1
- metadata +4 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3267c907281c8601c8ef5b4050bc50cd5ed9ec81fdf1597ff1df9324b02c722f
|
|
4
|
+
data.tar.gz: 44102163b9642fc43400aeaa54c0e2c54a6ae16adba516b1158fb26b1116a59a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ad2244937003421f31a83b4a01c9b23a91dc6d22ebaba3b2f8f8788361650a647b829027c6c7308c6aa7ec235ddbe772a5391686a15cdc8508574d7b90ed0506
|
|
7
|
+
data.tar.gz: cc977bc1c224160e2cda1d8b3f1d8c002606a86f9c42e76c6d4d8463f0deb0a4b9452d9c605a8031bdec11dafddab638c375b2e6247cf561a3cbe9c0f9673421
|
data/README.md
CHANGED
|
@@ -13,18 +13,18 @@ permalink: /
|
|
|
13
13
|
The ELIXIR toolkit theme is a Jekyll theme designed to support easy deployment of documentation websites but also more complex ones that require a central tool table and linking towards ELIXIR resources.
|
|
14
14
|
|
|
15
15
|
Its key features:
|
|
16
|
-
- Easy deployment using GitHub
|
|
16
|
+
- Easy deployment using GitHub Pages or GitHub Actions
|
|
17
17
|
- Advanced content search
|
|
18
|
-
- Create your own look with the many theme variables
|
|
19
|
-
- Change style using custom classes
|
|
18
|
+
- Create your own look with the many theme variables and support for custom classes
|
|
20
19
|
- Support for a central tools table
|
|
20
|
+
- Integrated attribution for contributors, editors and affiliations
|
|
21
21
|
- Page tagging and listing of those tagged pages
|
|
22
|
-
- Linking to ELIXIR resources including Bio.tools, FAIRsharing, FAIR Cookbook, TeSS and DSW
|
|
22
|
+
- Linking to ELIXIR resources including Bio.tools, FAIRsharing, FAIR Cookbook, RDMkit, TeSS and DSW
|
|
23
23
|
- Easy side navigation, top navigation and footer management
|
|
24
24
|
- Mobile friendly
|
|
25
25
|
- Create website sections with each section having its own sidebar
|
|
26
26
|
- Out of the box search engine optimizations including schema.org attributes and many other metadata attributes
|
|
27
|
-
-
|
|
27
|
+
- Web analytics through Matomo, Google Analytics or Plausible
|
|
28
28
|
|
|
29
29
|
## Enabling the theme on your Jekyll project
|
|
30
30
|
|
|
@@ -34,10 +34,10 @@ The quickest way to use the elixir-toolkit-theme is setting it as a [remote them
|
|
|
34
34
|
remote_theme: ELIXIR-Belgium/elixir-toolkit-theme
|
|
35
35
|
```
|
|
36
36
|
|
|
37
|
-
You can lock it onto a specific version
|
|
37
|
+
You can lock it onto a specific version using:
|
|
38
38
|
|
|
39
39
|
```yaml
|
|
40
|
-
remote_theme: ELIXIR-Belgium/elixir-toolkit-theme@
|
|
40
|
+
remote_theme: ELIXIR-Belgium/elixir-toolkit-theme@3.0.1
|
|
41
41
|
```
|
|
42
42
|
|
|
43
43
|
### Using Ruby Gems (alternative)
|
|
@@ -50,7 +50,7 @@ gem "elixir-toolkit-theme"
|
|
|
50
50
|
You can lock it onto a specific version like this:
|
|
51
51
|
|
|
52
52
|
```ruby
|
|
53
|
-
gem "elixir-toolkit-theme", "~>
|
|
53
|
+
gem "elixir-toolkit-theme", "~> 3.0.1"
|
|
54
54
|
```
|
|
55
55
|
|
|
56
56
|
And add this line to your Jekyll site's `_config.yml`:
|
|
@@ -107,10 +107,11 @@ pages:
|
|
|
107
107
|
1. If not already present on your machine, install **ruby**.
|
|
108
108
|
|
|
109
109
|
1. Install Jekyll
|
|
110
|
-
|
|
110
|
+
|
|
111
|
+
If you have never installed or run a Jekyll site locally on your computer, follow these instructions to install Jekyll: [https://jekyllrb.com/docs/installation/](https://jekyllrb.com/docs/installation/)
|
|
111
112
|
|
|
112
113
|
```
|
|
113
|
-
gem install jekyll
|
|
114
|
+
gem install jekyll
|
|
114
115
|
```
|
|
115
116
|
|
|
116
117
|
1. Install dependencies
|
|
@@ -119,12 +120,20 @@ If you have never installed or run a Jekyll site locally on your computer, follo
|
|
|
119
120
|
bundle install
|
|
120
121
|
```
|
|
121
122
|
|
|
122
|
-
1.
|
|
123
|
+
1. Deploy website locally in development mode:
|
|
123
124
|
|
|
124
125
|
```
|
|
125
126
|
bundle exec jekyll serve
|
|
126
127
|
```
|
|
127
128
|
|
|
129
|
+
If you want to deploy the website locally in production mode, do:
|
|
130
|
+
|
|
131
|
+
```
|
|
132
|
+
JEKYLL_ENV=production PAGES_REPO_NWO='USER_OR_ORGANISATION/REPO_NAME' bundle exec jekyll serve --baseurl ""
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
1. To preview your site, in your web browser, navigate to `http://localhost:4000`.
|
|
136
|
+
|
|
128
137
|
Additional information can be found at the following link: [https://docs.github.com/en/free-pro-team@latest/github/working-with-github-pages/testing-your-github-pages-site-locally-with-jekyll](https://docs.github.com/en/free-pro-team@latest/github/working-with-github-pages/testing-your-github-pages-site-locally-with-jekyll)
|
|
129
138
|
|
|
130
139
|
|
|
@@ -149,7 +158,7 @@ This will start the docker container and serve the website locally. Make sure th
|
|
|
149
158
|
- [Australian BioCommons How-to-Guides](https://australianbiocommons.github.io/how-to-guides/)
|
|
150
159
|
- [Norwegian Life Science RDM LookUp](https://elixir.no/rdm-lookup)
|
|
151
160
|
- [ERIM Research Toolbox](https://eur-nl.github.io/erim-research-toolbox/)
|
|
152
|
-
|
|
161
|
+
|
|
153
162
|
|
|
154
163
|
## Dependencies
|
|
155
164
|
|
data/_includes/footer.html
CHANGED
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
<div class="d-flex align-items-center mb-3 mb-lg-0 mx-auto mx-lg-0 text-center">{{ site.data.footer.copyright | markdownify }}</div>
|
|
45
45
|
{%- endunless %}
|
|
46
46
|
<div class="d-flex align-items-center mx-auto ms-lg-4 me-lg-0">
|
|
47
|
-
<a id="ett-logo" class="text-nowrap" href="https://elixir-belgium.github.io/elixir-toolkit-theme">Built with
|
|
47
|
+
<a id="ett-logo" class="text-nowrap me-lg-5 me-xxxl-0" href="https://elixir-belgium.github.io/elixir-toolkit-theme">Built with
|
|
48
48
|
<svg data-name="ETT logo" xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 77.2 77.12">
|
|
49
49
|
<defs>
|
|
50
50
|
<style>
|
|
@@ -4,7 +4,21 @@
|
|
|
4
4
|
{%- assign tools = site.data.tool_and_resource_list | add_related_pages | sort_natural: "name" %}
|
|
5
5
|
{%- endif %}
|
|
6
6
|
{%- assign country_pages = site.pages | where_exp: "item", "item.search_exclude != true" | where_exp:"item","item.national_resources != nil" %}
|
|
7
|
-
{%- unless
|
|
7
|
+
{%- unless country_pages.size == 0 %}
|
|
8
|
+
{%- assign tool_matches_total = 0 %}
|
|
9
|
+
{%- assign query = "related_pages." | append: page.type %}
|
|
10
|
+
{%- for country_page in country_pages %}
|
|
11
|
+
{%- if include.tag %}
|
|
12
|
+
{%- assign tool_matches = country_page.national_resources | where_exp:"resource","resource.related_pages != nil" | where: query, include.tag %}
|
|
13
|
+
{%- unless tool_matches.size == 0 %}
|
|
14
|
+
{%- assign tool_matches_total = tool_matches_total | plus: tool_matches.size %}
|
|
15
|
+
{%- endunless %}
|
|
16
|
+
{%- else %}
|
|
17
|
+
{%- assign tool_matches_total = tool_matches_total | plus: country_page.national_resources.size %}
|
|
18
|
+
{%- endif %}
|
|
19
|
+
{%- endfor %}
|
|
20
|
+
{%- endunless %}
|
|
21
|
+
{%- unless tools.size == 0 and tool_matches_total.size == 0 %}
|
|
8
22
|
{%- if include.tag %}
|
|
9
23
|
<a class="visually-hidden-focusable" href='#skip-tool-table'>Skip tool table</a>
|
|
10
24
|
{%- if site.theme_variables.headings.resource-table-all-collapse %}
|
|
@@ -17,6 +31,7 @@
|
|
|
17
31
|
<div class="collapse info-card" id="tools_collapse">
|
|
18
32
|
{%- endif %}
|
|
19
33
|
{%- endif %}
|
|
34
|
+
{%- unless tools.size == 0 %}
|
|
20
35
|
<div class="table-responsive mt-4">
|
|
21
36
|
<table class="tooltable table display">
|
|
22
37
|
<thead>
|
|
@@ -36,14 +51,9 @@
|
|
|
36
51
|
{%- for tool in tools %}
|
|
37
52
|
<tr>
|
|
38
53
|
{%- assign instances_tool = 0 %}
|
|
39
|
-
{%- assign total_county_tools = 0 %}
|
|
40
54
|
{%- assign query = "related_pages." | append: page.type %}
|
|
41
55
|
{%- for country_page in country_pages %}
|
|
42
56
|
{%- assign instance_matches = country_page.national_resources | where: "instance_of", tool.id | where_exp:"resource","resource.related_pages != nil" | where: query, include.tag %}
|
|
43
|
-
{%- assign tool_matches = country_page.national_resources | where_exp:"resource","resource.related_pages != nil" | where: query, include.tag %}
|
|
44
|
-
{%- unless tool_matches.size == 0 %}
|
|
45
|
-
{%- assign total_county_tools = total_county_tools | plus: tool_matches.size %}
|
|
46
|
-
{%- endunless %}
|
|
47
57
|
{%- unless instance_matches.size == 0 %}
|
|
48
58
|
{%- assign instances_tool = instances_tool | plus: instance_matches.size %}
|
|
49
59
|
{%- endunless %}
|
|
@@ -54,7 +64,7 @@
|
|
|
54
64
|
<td>{{tool.name}}</td>
|
|
55
65
|
{%- endif %}
|
|
56
66
|
<td>{{tool.description}}
|
|
57
|
-
{%- if tool.instance_of or tool.how_to_access or instances_tool != 0
|
|
67
|
+
{%- if tool.instance_of or tool.how_to_access or instances_tool != 0 != 0 and include.tag != nil %}
|
|
58
68
|
{%- assign linked_tool = site.data.tool_and_resource_list | where:"id", tool.instance_of | first %}
|
|
59
69
|
<div class="d-block mt-1">
|
|
60
70
|
{%- if linked_tool %}
|
|
@@ -63,7 +73,7 @@
|
|
|
63
73
|
{%- if tool.how_to_access %}
|
|
64
74
|
<span class="d-inline-block" tabindex="0" data-bs-toggle="tooltip" title="{{tool.how_to_access}}"><span class="badge text-primary border border-primary"> <i class="fa-solid fa-key"></i></span></span>
|
|
65
75
|
{%- endif %}
|
|
66
|
-
{%- unless instances_tool == 0 or
|
|
76
|
+
{%- unless instances_tool == 0 or include.tag == nil %}
|
|
67
77
|
<!-- <a href="#national-resources-button">
|
|
68
78
|
<span class="badge text-white bg-primary"><i class="fa-solid fa-arrow-circle-down me-2"></i>Different instances available</span>
|
|
69
79
|
</a> -->
|
|
@@ -99,16 +109,20 @@
|
|
|
99
109
|
</td>
|
|
100
110
|
</tr>
|
|
101
111
|
{%- endfor %}
|
|
112
|
+
{%- if tool_matches_total == 0 or include.tag %}
|
|
102
113
|
</tbody>
|
|
103
114
|
</table>
|
|
104
115
|
</div>
|
|
116
|
+
{%- endif %}
|
|
105
117
|
{%- if include.tag %}
|
|
106
118
|
{%- if site.theme_variables.headings.resource-table-all-collapse %}
|
|
107
119
|
</div>
|
|
108
120
|
{%- endif %}
|
|
109
121
|
<div id="skip-tool-table"></div>
|
|
110
122
|
{%- endif %}
|
|
111
|
-
|
|
123
|
+
|
|
124
|
+
{%- endunless %}
|
|
125
|
+
{%- unless tool_matches_total == 0 %}
|
|
112
126
|
{%- if include.tag %}
|
|
113
127
|
<a class="visually-hidden-focusable" href='#skip-nat-tool-table'>Skip national tools table</a>
|
|
114
128
|
{%- if site.theme_variables.headings.resource-table-all-collapse %}
|
|
@@ -120,37 +134,34 @@
|
|
|
120
134
|
</a>
|
|
121
135
|
<div class="collapse info-card" id="nat_tools_collapse">
|
|
122
136
|
{%- endif %}
|
|
123
|
-
{%- endif %}
|
|
124
137
|
<p class="mt-4">Tools and resources tailored to users in different countries.</p>
|
|
125
138
|
<div class="table-responsive mt-3">
|
|
126
|
-
<table class="tooltable table display"
|
|
139
|
+
<table class="tooltable table display">
|
|
127
140
|
<thead>
|
|
128
141
|
<tr class="text-nowrap">
|
|
129
|
-
<th>Tool or resource
|
|
142
|
+
<th>Tool or resource
|
|
130
143
|
<a data-bs-toggle="tooltip" data-bs-original-title="This is a curated list which means that not all tools or resources that exist for this topic are listed here. This is mainly because we do not intend to be a registry. In most cases you will only find back the tools or resources that are mentioned in this page.">
|
|
131
144
|
<i class="fa-solid fa-info-circle"></i>
|
|
132
|
-
</a>
|
|
145
|
+
</a>
|
|
133
146
|
</th>
|
|
134
147
|
<th>Description</th>
|
|
135
148
|
<th>Related pages</th>
|
|
136
|
-
<th>Registry
|
|
149
|
+
<th>Registry
|
|
137
150
|
<a data-bs-toggle="tooltip" data-bs-original-title="Links to related information in ELIXIR registries: related policies and standards in FAIRsharing, scientific and technical descriptions of the resource in bio.tools, and related training in TeSS.">
|
|
138
151
|
<i class="fa-solid fa-info-circle"></i>
|
|
139
|
-
</a>
|
|
152
|
+
</a>
|
|
140
153
|
</th>
|
|
141
154
|
</tr>
|
|
142
155
|
</thead>
|
|
143
156
|
<tbody>
|
|
144
|
-
|
|
157
|
+
{%- endif %}
|
|
145
158
|
{%- for country_page in country_pages %}
|
|
146
159
|
{%- if include.tag %}
|
|
147
160
|
{%- assign tool_matches = country_page.national_resources | where_exp:"resource","resource.related_pages != nil" | where: query, include.tag | sort_natural: "name" %}
|
|
148
161
|
{%- else %}
|
|
149
|
-
{%- assign tool_matches = country_page.national_resources
|
|
162
|
+
{%- assign tool_matches = country_page.national_resources %}
|
|
150
163
|
{%- endif %}
|
|
151
164
|
{%- for tool in tool_matches %}
|
|
152
|
-
{%- assign tool_id = tool.name | slugify %}
|
|
153
|
-
{%- assign hide_ids = hide_ids | append: " " | append: tool_id %}
|
|
154
165
|
<tr>
|
|
155
166
|
{% if tool.url %}
|
|
156
167
|
<td><a href="{{tool.url}}">{{tool.name}}</a><a href="{{country_page.url | relative_url }}" data-bs-toggle="tooltip" title="{{country_page.title}}"><span class="flag-icon ms-2 shadow-sm flag-icon-{{country_page.country_code | downcase }}"></span></a></td>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
{%-
|
|
1
|
+
{%- if include.affiliations == true or include.search == true %}
|
|
2
2
|
{%- assign allcountries = site.data.countries %}
|
|
3
3
|
{%- for current_page in site.pages | sorted %}
|
|
4
4
|
{%- if current_page.affiliations and current_page.search_exclude != true and current_page.type == include.type %}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
{%- endfor %}
|
|
13
13
|
{%- assign allaffiliations = allaffiliations | split: ", " | uniq | sort %}
|
|
14
14
|
<div class="row g-4 row-cols-1 row-cols-md-2 row-cols-lg-{{ include.col | default: 2 }} my-4">
|
|
15
|
-
{%-
|
|
15
|
+
{%- if include.affiliations == true %}
|
|
16
16
|
<div class="col">
|
|
17
17
|
<div class="input-group">
|
|
18
18
|
<label class="input-group-text" for="affiliations-input">Filter by affiliation</label>
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
</button>
|
|
33
33
|
</div>
|
|
34
34
|
</div>
|
|
35
|
-
{%-
|
|
36
|
-
{%-
|
|
35
|
+
{%- endif %}
|
|
36
|
+
{%- if include.search == true %}
|
|
37
37
|
<div class="col">
|
|
38
38
|
<div class="input-group">
|
|
39
39
|
<span class="input-group-text" id="search-label">Search</span>
|
|
@@ -43,9 +43,9 @@
|
|
|
43
43
|
</button>
|
|
44
44
|
</div>
|
|
45
45
|
</div>
|
|
46
|
-
{%-
|
|
46
|
+
{%- endif %}
|
|
47
47
|
</div>
|
|
48
|
-
{%-
|
|
48
|
+
{%- endif %}
|
|
49
49
|
<div class="row row-cols-1 row-cols-md-2 row-cols-lg-{{ include.col | default: 2 }} g-4 mb-5 navigation-tiles">
|
|
50
50
|
{%- if include.custom %}
|
|
51
51
|
{%- assign related_pages = include.custom | split: ", " %}
|
data/_includes/topnav.html
CHANGED
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
<a class="visually-hidden-focusable" href='#footer'>Skip to footer</a>
|
|
5
5
|
<nav class="navbar navbar-{{ site.theme_variables.topnav.theme | default: 'light' }} navbar-expand-lg mb-3 mb-lg-5">
|
|
6
6
|
<div class="container">
|
|
7
|
-
<a class="navbar-brand" href="{{ '/' | relative_url }}"><img class="{% if site.topnav_title %}me-3 {% endif %}img-fluid" alt="{{site.title}} logo" src="{{ site.theme_variables.topnav.brand_logo | default: 'assets/img/main_logo.svg' | relative_url }}">{% if site.topnav_title %}<span class="me-0 me-lg-3">{{site.topnav_title}}</span>{% endif %}</a>
|
|
7
|
+
<a class="navbar-brand overflow-x-auto" href="{{ '/' | relative_url }}"><img class="{% if site.topnav_title %}me-3 {% endif %}img-fluid" alt="{{site.title}} logo" src="{{ site.theme_variables.topnav.brand_logo | default: 'assets/img/main_logo.svg' | relative_url }}">{% if site.topnav_title %}<span class="me-0 me-lg-3">{{site.topnav_title}}</span>{% endif %}</a>
|
|
8
8
|
<button class="navbar-toggler text-primary" type="button" data-bs-toggle="collapse" data-bs-target="#navbarCollapse" aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation">
|
|
9
9
|
<i title="navbar-toggler" class="fa-solid fa-bars"></i>
|
|
10
10
|
</button>
|
|
11
11
|
<div class="collapse navbar-collapse justify-content-end" id="navbarCollapse">
|
|
12
|
-
<ul class="navbar-nav gap-2">
|
|
12
|
+
<ul class="navbar-nav pt-3 pt-lg-0 pb-2 pb-lg-0 gap-2">
|
|
13
13
|
<!-- navigation entries -->
|
|
14
14
|
{%- assign topnav = site.data.topnav %}
|
|
15
15
|
{%- for item in topnav.subitems %}
|
data/_layouts/default.html
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
<html lang="en">
|
|
3
3
|
{% include head.html %}
|
|
4
4
|
<body class="d-flex flex-column min-vh-100"{% unless page.toc == false %} data-bs-spy="scroll" data-bs-target="#toc-contents" data-bs-smooth-scroll="true" tabindex="0"{% endunless %}>
|
|
5
|
+
{% if site.topnav_banner %}{% include banner.html %}{% endif %}
|
|
5
6
|
{% if jekyll.environment == "development" %}{% include dev-info.html %}{% endif %}
|
|
6
7
|
{% include topnav.html %}
|
|
7
8
|
<!-- Page Content -->
|
|
@@ -19,7 +20,7 @@
|
|
|
19
20
|
</div>
|
|
20
21
|
</div>
|
|
21
22
|
{%- if site.theme_variables.back_to_top or site.theme_variables.back_to_top == nil %}
|
|
22
|
-
<button id="back-to-top" class="btn btn-primary rounded-
|
|
23
|
+
<button id="back-to-top" class="btn btn-primary btn-sm rounded-pill" type="button" aria-hidden="true" onclick="topFunction()">
|
|
23
24
|
<i class="fa-solid fa-arrow-up"></i>
|
|
24
25
|
</button>
|
|
25
26
|
{%- endif %}
|
data/assets/css/main.scss
CHANGED
|
@@ -15,7 +15,7 @@ $h2-font-size: 1rem * 2.1 !default;
|
|
|
15
15
|
$h1-font-size: 1rem * 3.3 !default;
|
|
16
16
|
$card-border-width: 0;
|
|
17
17
|
$custom-container-max-widths: (
|
|
18
|
-
xxxl:
|
|
18
|
+
xxxl: 1700px
|
|
19
19
|
);
|
|
20
20
|
|
|
21
21
|
/*-----Initialize Bootstrap variables-----*/
|
|
@@ -597,6 +597,12 @@ footer {
|
|
|
597
597
|
background-color: $footer-copyright-bg;
|
|
598
598
|
}
|
|
599
599
|
|
|
600
|
+
@media (min-width: 1850px) {
|
|
601
|
+
.me-xxxl-0 {
|
|
602
|
+
margin-right: 0!important;
|
|
603
|
+
}
|
|
604
|
+
}
|
|
605
|
+
|
|
600
606
|
#ett-logo {
|
|
601
607
|
transition: color 0.15s ease-in-out;
|
|
602
608
|
|
|
@@ -617,19 +623,20 @@ footer {
|
|
|
617
623
|
|
|
618
624
|
#back-to-top {
|
|
619
625
|
position: fixed;
|
|
620
|
-
|
|
621
|
-
|
|
626
|
+
height: 50px;
|
|
627
|
+
width: 50px;
|
|
628
|
+
bottom: -50px; /* Default hidden position */
|
|
629
|
+
right: 1rem; /* Adjust as needed */
|
|
622
630
|
opacity: 0;
|
|
623
631
|
overflow: hidden;
|
|
624
632
|
z-index: 1000;
|
|
625
633
|
font-size: 21px;
|
|
626
|
-
padding: 12px 20px;
|
|
627
634
|
transition:
|
|
628
635
|
bottom 0.15s ease-out,
|
|
629
636
|
opacity 0.15s ease-out;
|
|
630
637
|
|
|
631
638
|
&.visible {
|
|
632
|
-
bottom:
|
|
639
|
+
bottom: 1rem; /* Initial visible position */
|
|
633
640
|
opacity: 1;
|
|
634
641
|
}
|
|
635
642
|
}
|
|
@@ -891,31 +898,35 @@ li.past_event,
|
|
|
891
898
|
}
|
|
892
899
|
|
|
893
900
|
/*-----More information tiles-----*/
|
|
894
|
-
|
|
895
|
-
.info-collapse {
|
|
896
|
-
transition: border-color 0.2s ease-in-out;
|
|
897
|
-
|
|
901
|
+
// Main accordion style
|
|
902
|
+
a.info-collapse {
|
|
898
903
|
i {
|
|
899
|
-
transition
|
|
900
|
-
transition-duration: 0.2s;
|
|
901
|
-
transition-timing-function: ease-in-out;
|
|
904
|
+
transition: transform 0.2s ease-in-out;
|
|
902
905
|
margin-right: $spacer;
|
|
903
906
|
}
|
|
904
|
-
|
|
907
|
+
h3 {
|
|
908
|
+
transition: color 0.2s ease-in-out;
|
|
909
|
+
}
|
|
905
910
|
&[aria-expanded="true"] {
|
|
906
|
-
border-color: color.scale($border-color, $lightness: -30%) !important;
|
|
907
911
|
i {
|
|
908
912
|
transform: rotate(180deg);
|
|
909
913
|
}
|
|
910
914
|
}
|
|
911
915
|
&:hover {
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
color:
|
|
916
|
+
i,
|
|
917
|
+
h3 {
|
|
918
|
+
color: rgba($link-color, 0.8) !important;
|
|
915
919
|
}
|
|
916
920
|
}
|
|
917
921
|
}
|
|
918
922
|
|
|
923
|
+
// Add a bottom border to the last accordion.
|
|
924
|
+
a.info-collapse[aria-expanded="false"]:last-of-type,
|
|
925
|
+
a.info-collapse[aria-expanded="true"]:last-of-type + .show {
|
|
926
|
+
border-bottom: 1px solid $border-color;
|
|
927
|
+
}
|
|
928
|
+
|
|
929
|
+
// Collapsed content styling
|
|
919
930
|
.info-card {
|
|
920
931
|
.info-logo {
|
|
921
932
|
max-width: 250px;
|
data/assets/js/main.js
CHANGED
data/assets/js/search-data.json
CHANGED
|
@@ -6,6 +6,7 @@ layout: none
|
|
|
6
6
|
{%- assign i = 0 -%}
|
|
7
7
|
{%- assign pages_array = "" | split: "" -%}
|
|
8
8
|
{%- assign pages_array = pages_array | push: site.html_pages -%}
|
|
9
|
+
{%- assign pages_array = pages_array | push: site.documents -%}
|
|
9
10
|
{%- for pages in pages_array -%}
|
|
10
11
|
{%- for page in pages -%}
|
|
11
12
|
{%- if page.title and page.search_exclude != true -%}
|
|
@@ -61,4 +62,4 @@ layout: none
|
|
|
61
62
|
{%- endfor -%}
|
|
62
63
|
{%- endfor %}
|
|
63
64
|
}
|
|
64
|
-
|
|
65
|
+
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: elixir-toolkit-theme
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.
|
|
4
|
+
version: 3.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- bedroesb
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-
|
|
11
|
+
date: 2024-08-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|
|
@@ -80,6 +80,7 @@ files:
|
|
|
80
80
|
- _data/countries.yml
|
|
81
81
|
- _includes/affiliation-tiles-page.html
|
|
82
82
|
- _includes/affiliation-tiles-selection.html
|
|
83
|
+
- _includes/banner.html
|
|
83
84
|
- _includes/callout.html
|
|
84
85
|
- _includes/contributor-carousel-selection.html
|
|
85
86
|
- _includes/contributor-minitiles-page.html
|
|
@@ -535,7 +536,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
535
536
|
- !ruby/object:Gem::Version
|
|
536
537
|
version: '0'
|
|
537
538
|
requirements: []
|
|
538
|
-
rubygems_version: 3.3.
|
|
539
|
+
rubygems_version: 3.3.27
|
|
539
540
|
signing_key:
|
|
540
541
|
specification_version: 4
|
|
541
542
|
summary: Flexible Jekyll theme using bootstrap 5 as CSS framework.
|