elixir-toolkit-theme 1.15.2 → 1.18.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 +7 -4
- data/_includes/affiliation-tiles-selection.html +1 -1
- data/_includes/contributor-minitiles-page.html +3 -3
- data/_includes/events.html +3 -3
- data/_includes/head.html +10 -3
- data/_includes/image.html +6 -6
- data/_includes/news.html +5 -5
- data/_includes/resource-table-all.html +38 -15
- data/_includes/resource-table-page.html +96 -7
- data/_includes/training-table-all.html +1 -1
- data/_sass/_bootstrap_variables.scss +1 -1
- data/_sass/_custom_variables.scss +0 -70
- data/_sass/_variables.scss +70 -0
- data/assets/css/main.scss +80 -42
- data/assets/js/main.js +27 -16
- metadata +3 -3
- data/assets/js/jquery.cookie.min.js +0 -8
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 702636aa170b2e75631a12f0d9be59517201ed939f85f05ad55995605eebfdd0
|
|
4
|
+
data.tar.gz: 3b65284656f88bd3ef65100136314bf63b8b26673e6f0209a2fe03e021fb935b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: '007482963824a42c21fed1785de053c989aaf7d3a1c09f5524d29ff3a63051dbb6678765d743c8b707908a4eda36288f375743797b8926871d34fd2e80e377d0'
|
|
7
|
+
data.tar.gz: c7e480e1f14b95d2be8f990fbc15bb79663049cfe46e95b69135fac6ab7a19471c83f70649ec184a7e4992d47246902efcaa87729bee9d8635a90107f9fef394
|
data/README.md
CHANGED
|
@@ -23,13 +23,16 @@ Its key features:
|
|
|
23
23
|
|
|
24
24
|
## Installation
|
|
25
25
|
|
|
26
|
-
### via GitHub Pages remote theme
|
|
26
|
+
### via GitHub Pages remote theme (installation free!)
|
|
27
27
|
|
|
28
|
-
The
|
|
28
|
+
The quickest way to use the elixir-toolkit-theme is to use the GitHub pages [remote theme](https://blog.github.com/2017-11-29-use-any-theme-with-github-pages/) feature in your `config.yml` file:
|
|
29
29
|
|
|
30
30
|
```yaml
|
|
31
31
|
remote_theme: ELIXIR-Belgium/elixir-toolkit-theme
|
|
32
32
|
```
|
|
33
|
+
|
|
34
|
+
It also allows you to use a specific version of the theme by add `@X.X.X` to make sure your website keeps working iif breaking changes get introduced.
|
|
35
|
+
|
|
33
36
|
### via RubyGems:
|
|
34
37
|
|
|
35
38
|
Alternatively you can install it as a Ruby Gem (preferred way if you use GitLab).
|
|
@@ -96,7 +99,7 @@ docker run -it --rm -p [::1]:4000:4000 -v $PWD:/srv/jekyll jekyll/jekyll:latest
|
|
|
96
99
|
|
|
97
100
|
This will start the docker container and serve the website locally. Make sure the `.\_site` is not yet created to avoid permission errors.
|
|
98
101
|
|
|
99
|
-
## This theme is known to be used in
|
|
102
|
+
## This theme is known to be used in
|
|
100
103
|
|
|
101
104
|
- [RDMkit](https://rdmkit.elixir-europe.org/)
|
|
102
105
|
- [WorkflowHub project](https://about.workflowhub.eu/)
|
|
@@ -104,7 +107,7 @@ This will start the docker container and serve the website locally. Make sure th
|
|
|
104
107
|
- [Infectious Diseases Toolkit](https://www.infectious-diseases-toolkit.org/)
|
|
105
108
|
- [Applied Bioinformatics and Biostatistics intranet page](https://intranet.psb.ugent.be/abb/)
|
|
106
109
|
- [FAIRDOM](https://fair-dom.org/)
|
|
107
|
-
|
|
110
|
+
- [Australian BioCommons How-to-Guides](https://australianbiocommons.github.io/how-to-guides/)
|
|
108
111
|
|
|
109
112
|
## Used packages
|
|
110
113
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<div class="col">
|
|
7
7
|
<div class="card h-100 border-0">
|
|
8
8
|
<div class="my-auto d-flex justify-content-center">
|
|
9
|
-
{% if affiliation.url %}<a href="{{ affiliation.url }}">{% endif %}<img class="rounded
|
|
9
|
+
{% if affiliation.url %}<a class="w-100" href="{{ affiliation.url }}">{% endif %}<img class="rounded" src="{{ affiliation.image_url | relative_url }}" alt="{{ affiliation.name }}">{%- if affiliation.url %}</a>{% endif %}
|
|
10
10
|
</div>
|
|
11
11
|
</div>
|
|
12
12
|
</div>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{%- if page.contributors and page.contributors.size != 0 %}
|
|
2
|
-
<span class="d-block h2-like fs-2
|
|
2
|
+
<span class="d-block h2-like fs-2">Contributors</span>
|
|
3
3
|
<div class="p-4 rounded mt-4 page-contributors">
|
|
4
4
|
{%- assign contributors = site.data.CONTRIBUTORS %}
|
|
5
5
|
{%- assign page_contributors = page.contributors | sort %}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
{%- assign id = contributors[contributor].git | default: 'no_github' %}
|
|
8
8
|
{%- capture html_code %}
|
|
9
9
|
{%- assign stripped_name = contributor | replace: "'", "’" %}
|
|
10
|
-
<div class="card
|
|
10
|
+
<div class="card">
|
|
11
11
|
{%- assign id = contributors[contributor].git | default: 'no_github' %}
|
|
12
12
|
<div class="position-relative d-flex justify-content-center">
|
|
13
13
|
{%- if contributors[contributor].image_url %}
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
{%- endif %}
|
|
27
27
|
</div>
|
|
28
28
|
{%- if contributors[contributor].git or contributors[contributor].email or contributors[contributor].orcid %}
|
|
29
|
-
<div class="card-footer
|
|
29
|
+
<div class="card-footer">
|
|
30
30
|
<div class="d-flex justify-content-center">
|
|
31
31
|
{%- if contributors[contributor].git %}
|
|
32
32
|
<div class="mx-1"><a class="btn bg-white text-primary hover-primary rounded-circle social-icons p-0" href="https://github.com/{{id}}"><i class="fa-brands fa-github"></i></a></div>
|
data/_includes/events.html
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<div class="events {{include.event_type}}s">
|
|
2
|
-
{%- if include.title ==
|
|
2
|
+
{%- if include.title == true%}
|
|
3
3
|
<h2>{{include.event_type | replace: "_", " " | capitalize}}s</h2>
|
|
4
4
|
{%- endif %}
|
|
5
5
|
{%- assign events = site.data.events %}
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
{%- endif %}
|
|
17
17
|
{%- if event.description %}
|
|
18
18
|
{%- assign word_count = event.description | split: " " | size %}
|
|
19
|
-
{%- if include.truncate ==
|
|
19
|
+
{%- if include.truncate == true and word_count > 40 %}
|
|
20
20
|
<p class="mb-0"><a data-bs-toggle="collapse" href="#collapse-{{count}}" role="button" aria-expanded="false" aria-controls="collapse-{{count}}">
|
|
21
21
|
View description
|
|
22
22
|
</a>
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
{%- assign count = count | plus: 1 %}
|
|
33
33
|
{%- endfor %}
|
|
34
34
|
</ul>
|
|
35
|
-
{%- if include.caption ==
|
|
35
|
+
{%- if include.caption == true%}
|
|
36
36
|
<small>An overview of all our events can be fount on the <a href="{{'/events' | relative_url}}">events page</a>.</small>
|
|
37
37
|
{%- endif %}
|
|
38
38
|
</div>
|
data/_includes/head.html
CHANGED
|
@@ -6,9 +6,17 @@
|
|
|
6
6
|
{%- capture keywords %}
|
|
7
7
|
{%- if page.related_pages %}
|
|
8
8
|
{%- for section in page.related_pages %}
|
|
9
|
-
{%- unless section[1] == nil %}
|
|
10
|
-
{%-
|
|
9
|
+
{%- unless section[1] == nil %}
|
|
10
|
+
{%- for keywordstr in section[1] %}
|
|
11
|
+
{%- assign keywordpage = site.pages | where: "page_id", keywordstr | first %}
|
|
12
|
+
{%- if allkeywords %}
|
|
13
|
+
{%- assign allkeywords = allkeywords | append: ", " | append: keywordstr | append: ", " | append: keywordpage.title %}
|
|
14
|
+
{%- else %}
|
|
15
|
+
{%- assign allkeywords = allkeywords | append: keywordstr | append: ", " | append: keywordpage.title %}
|
|
16
|
+
{%- endif %}
|
|
11
17
|
{%- endfor %}
|
|
18
|
+
{%- endunless %}
|
|
19
|
+
{%- endfor %}{{allkeywords}}
|
|
12
20
|
{%- endif %}
|
|
13
21
|
{%- endcapture %}
|
|
14
22
|
<meta name="keywords" content="{{keywords}}">
|
|
@@ -46,7 +54,6 @@
|
|
|
46
54
|
<script src="{{ 'assets/js/anchor.min.js' | relative_url }}"></script>
|
|
47
55
|
<script src="{{ 'assets/js/toc.js' | relative_url }}"></script>
|
|
48
56
|
<script src="{{ 'assets/js/jquery.navgoco.js' | relative_url }}"></script>
|
|
49
|
-
<script src="{{ 'assets/js/jquery.cookie.min.js' | relative_url }}"></script>
|
|
50
57
|
<script src="{{ 'assets/js/main.js' | relative_url }}"></script>
|
|
51
58
|
<script src="{{ 'assets/js/search.js' | relative_url }}"></script>
|
|
52
59
|
{%- if page.datatable == true %}
|
data/_includes/image.html
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
<figure class="{% if
|
|
1
|
+
<figure class="{% if include.inline == true %}my-0{% else %}my-4{%- endif %} {% if include.class %}{{include.class}}{%- endif %}" {% if include.max-width %}style="max-width:{{include.max-width}}"{% endif %}>
|
|
2
2
|
{%- capture file_url -%}
|
|
3
3
|
{{ "/images/" | append:include.file | relative_url }}
|
|
4
4
|
{%- endcapture -%}
|
|
5
|
-
{%- if
|
|
5
|
+
{%- if include.url %}
|
|
6
6
|
<a target="_blank" rel="noopener" href="{{include.url}}">
|
|
7
7
|
{%- elsif {{include.click}} == true %}
|
|
8
8
|
<a target="_blank" rel="noopener noreferrer" href="{{file_url}}">
|
|
9
9
|
{%- endif %}
|
|
10
10
|
<img src="{{file_url}}" alt="{{include.alt}}" class="figure-img img-fluid rounded"/>
|
|
11
|
-
{%- if
|
|
11
|
+
{%- if include.url or include.click == true %}
|
|
12
12
|
</a>
|
|
13
13
|
{%- endif %}
|
|
14
|
-
{%- if
|
|
14
|
+
{%- if include.caption %}
|
|
15
15
|
<figcaption class="figure-caption">
|
|
16
|
-
{{include.caption}}
|
|
16
|
+
{{ include.caption | markdownify }}
|
|
17
17
|
</figcaption>
|
|
18
18
|
{%- endif %}
|
|
19
|
-
{%- if
|
|
19
|
+
{%- if include.inline != true %}
|
|
20
20
|
</figure>
|
|
21
21
|
{%- endif %}
|
data/_includes/news.html
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
<div class="news">
|
|
2
|
-
{%- if include.title ==
|
|
2
|
+
{%- if include.title == true %}
|
|
3
3
|
<h2>Whats new?</h2>
|
|
4
4
|
{%- endif %}
|
|
5
|
-
{%- assign news = site.data.news | sort: "date"%}
|
|
5
|
+
{%- assign news = site.data.news | sort: "date" %}
|
|
6
6
|
{%- assign count = 0 %}
|
|
7
7
|
<ul class="list-unstyled mt-3">
|
|
8
8
|
{%- for new in news reversed%}
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
<p class="text-muted"><i class="far fa-calendar me-2"></i><time>{{ new.date | date_to_long_string }}</time>{% if new.linked_pr %}<b> - </b><i class="fa-solid fa-code-branch"></i><a href="{{ site.github.repository_url | append: '/pull/' | append: new.linked_pr }}">{{new.linked_pr }}</a>{% endif %}</p>
|
|
12
12
|
{%- if new.description %}
|
|
13
13
|
{%- assign word_count = new.description | split: " " | size %}
|
|
14
|
-
{%- if include.truncate ==
|
|
14
|
+
{%- if include.truncate == true and word_count > 40 %}
|
|
15
15
|
<p class="mb-0"><a data-bs-toggle="collapse" href="#collapse-{{count}}" role="button" aria-expanded="false" aria-controls="collapse-{{count}}">
|
|
16
16
|
View description
|
|
17
17
|
</a>
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
{%- endif %}
|
|
31
31
|
{%- endfor %}
|
|
32
32
|
</ul>
|
|
33
|
-
{%- if include.caption ==
|
|
34
|
-
<small>For more news please visit our <a href="/news">news page</a>.</small>
|
|
33
|
+
{%- if include.caption == true %}
|
|
34
|
+
<small>For more news please visit our <a href="{{ '/news' | relative_url }}">news page</a>.</small>
|
|
35
35
|
{%- endif %}
|
|
36
36
|
</div>
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{%- assign tools = site.data.tool_and_resource_list | where:"related_pages", include.tag %}
|
|
2
|
-
{%- assign country_pages = site.pages | where_exp: "item", "item.search_exclude != true" | where_exp:"item","item.
|
|
2
|
+
{%- assign country_pages = site.pages | where_exp: "item", "item.search_exclude != true" | where_exp:"item","item.national_resources != nil" %}
|
|
3
3
|
{%- unless tools.size == 0 %}
|
|
4
4
|
{%- if include.tag %}
|
|
5
5
|
<h2>Relevant tools and resources</h2>
|
|
6
6
|
{%- endif %}
|
|
7
7
|
<a class="visually-hidden-focusable" href='#skip-tool-table'>Skip tool table</a>
|
|
8
8
|
<div class="table-responsive mt-4 mb-5">
|
|
9
|
-
<table
|
|
9
|
+
<table class="tooltable table display">
|
|
10
10
|
<thead>
|
|
11
11
|
<tr class="text-nowrap">
|
|
12
12
|
<th>Tool or resource {%- if include.tag -%}
|
|
@@ -26,12 +26,12 @@
|
|
|
26
26
|
<tbody>
|
|
27
27
|
{%- for tool in tools | sort %}
|
|
28
28
|
<tr>
|
|
29
|
-
{%- assign total_county_tools = 0 %}
|
|
30
29
|
{%- assign instances_tool = 0 %}
|
|
30
|
+
{%- assign total_county_tools = 0 %}
|
|
31
31
|
{%- assign query = "related_pages." | append: page.type %}
|
|
32
32
|
{%- for country_page in country_pages %}
|
|
33
|
-
{%- assign instance_matches = country_page.
|
|
34
|
-
{%- assign tool_matches = country_page.
|
|
33
|
+
{%- assign instance_matches = country_page.national_resources | where: "instance_of", tool.name | where_exp:"resource","resource.related_pages != nil" | where: query, include.tag %}
|
|
34
|
+
{%- assign tool_matches = country_page.national_resources | where_exp:"resource","resource.related_pages != nil" | where: query, include.tag %}
|
|
35
35
|
{%- unless tool_matches.size == 0 %}
|
|
36
36
|
{%- assign total_county_tools = total_county_tools | plus: tool_matches.size %}
|
|
37
37
|
{%- endunless %}
|
|
@@ -39,17 +39,27 @@
|
|
|
39
39
|
{%- assign instances_tool = instances_tool | plus: instance_matches.size %}
|
|
40
40
|
{%- endunless %}
|
|
41
41
|
{%- endfor %}
|
|
42
|
-
{% if tool.
|
|
43
|
-
<td><a href="{{tool.
|
|
42
|
+
{% if tool.url %}
|
|
43
|
+
<td><a href="{{tool.url}}">{{tool.name}}</a></td>
|
|
44
44
|
{%- else %}
|
|
45
45
|
<td>{{tool.name}}</td>
|
|
46
46
|
{%- endif %}
|
|
47
47
|
<td>{{tool.description}}
|
|
48
|
-
{%-
|
|
49
|
-
<
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
48
|
+
{%- if instances_tool != 0 and total_county_tools != 0 and include.tag != nil or tool.instance_of or tool.how_to_access %}
|
|
49
|
+
<div class="d-block mt-1">
|
|
50
|
+
{%- if tool.instance_of %}
|
|
51
|
+
<span class="d-inline-block" tabindex="0" data-bs-toggle="tooltip" title="This resource is an instance of {{tool.instance_of}}"><span class="badge text-primary border border-primary">{{tool.instance_of}}</span></span>
|
|
52
|
+
{%- endif %}
|
|
53
|
+
{%- if tool.how_to_access %}
|
|
54
|
+
<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>
|
|
55
|
+
{%- endif %}
|
|
56
|
+
{%- unless instances_tool == 0 or total_county_tools == 0 or include.tag == nil %}
|
|
57
|
+
<a href="#national-resources-button">
|
|
58
|
+
<span class="badge text-white bg-primary"><i class="fa-solid fa-arrow-circle-down me-2"></i>Different instances available</span>
|
|
59
|
+
</a>
|
|
60
|
+
{%- endunless %}
|
|
61
|
+
</div>
|
|
62
|
+
{%- endif %}
|
|
53
63
|
</td>
|
|
54
64
|
{%- capture related_pages %}
|
|
55
65
|
{%- for tag in tool.related_pages %}
|
|
@@ -84,9 +94,9 @@
|
|
|
84
94
|
{%- assign hide_ids = "resource_title" %}
|
|
85
95
|
{%- for country_page in country_pages %}
|
|
86
96
|
{%- if include.tag %}
|
|
87
|
-
{%- assign tool_matches = country_page.
|
|
97
|
+
{%- assign tool_matches = country_page.national_resources| where_exp:"resource","resource.related_pages != nil" | where: query, include.tag %}
|
|
88
98
|
{%- else %}
|
|
89
|
-
{%- assign tool_matches = country_page.
|
|
99
|
+
{%- assign tool_matches = country_page.national_resources %}
|
|
90
100
|
{%- endif %}
|
|
91
101
|
{%- for tool in tool_matches %}
|
|
92
102
|
{%- assign tool_id = tool.name | slugify %}
|
|
@@ -124,7 +134,20 @@
|
|
|
124
134
|
{%- else %}
|
|
125
135
|
<td></td>
|
|
126
136
|
{%- endif %}
|
|
127
|
-
<td
|
|
137
|
+
<td>
|
|
138
|
+
{%- if tool.registry.biotools %}
|
|
139
|
+
<a data-bs-toggle="tooltip" data-bs-original-title="Bio.tools" href="https://bio.tools/{{tool.registry.biotools}}"><span class="badge bg-dark text-white hover-primary"><i class="fa-solid fa-info me-2"></i>Tool info</span></a>
|
|
140
|
+
{%- endif %}
|
|
141
|
+
{%- if tool.registry.fairsharing %}
|
|
142
|
+
<a data-bs-toggle="tooltip" data-bs-original-title="FAIRsharing" href="https://fairsharing.org/FAIRsharing.{{tool.registry.fairsharing}}"><span class="badge bg-dark text-white hover-primary"><i class="fa-solid fa-database me-2"></i>Standards/Databases</span></a>
|
|
143
|
+
{%- endif %}
|
|
144
|
+
{%- if tool.registry.fairsharing-coll %}
|
|
145
|
+
<a data-bs-toggle="tooltip" data-bs-original-title="FAIRsharing collection" href="https://fairsharing.org/{{tool.registry.fairsharing-coll}}"><span class="badge bg-dark text-white hover-primary"><i class="fa-solid fa-database me-2"></i>Standards/Databases</span></a>
|
|
146
|
+
{%- endif %}
|
|
147
|
+
{%- if tool.registry.tess %}
|
|
148
|
+
<a data-bs-toggle="tooltip" data-bs-original-title="TeSS" href="https://tess.elixir-europe.org/search?q={{tool.registry.tess}}"><span class="badge bg-dark text-white hover-primary"><i class="fa-solid fa-graduation-cap me-2"></i>Training</span></a>
|
|
149
|
+
{%- endif %}
|
|
150
|
+
</td>
|
|
128
151
|
</tr>
|
|
129
152
|
{%- endfor %}
|
|
130
153
|
{%- endfor %}
|
|
@@ -1,14 +1,21 @@
|
|
|
1
|
-
{%- if page.
|
|
2
|
-
{%- assign tools = page.
|
|
3
|
-
<h2>
|
|
4
|
-
<
|
|
1
|
+
{%- if page.national_resources %}
|
|
2
|
+
{%- assign tools = page.national_resources %}
|
|
3
|
+
<h2>Tools and resources</h2>
|
|
4
|
+
<h3>Tailored to users in {{page.title}}</h3>
|
|
5
|
+
<p>Developed and/or deployed by institutions and organisations in {{page.title}}.</p>
|
|
6
|
+
<a class="visually-hidden-focusable" href='#skip-tool-table-1'>Skip tool table</a>
|
|
5
7
|
<div class="table-responsive mt-4 mb-5">
|
|
6
|
-
<table
|
|
8
|
+
<table class="tooltable table display">
|
|
7
9
|
<thead>
|
|
8
10
|
<tr class="text-nowrap">
|
|
9
11
|
<th>Resource</th>
|
|
10
12
|
<th>Description</th>
|
|
11
13
|
<th>Related pages</th>
|
|
14
|
+
<th>Registry
|
|
15
|
+
<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.">
|
|
16
|
+
<i class="fa-solid fa-info-circle"></i>
|
|
17
|
+
</a>
|
|
18
|
+
</th>
|
|
12
19
|
</tr>
|
|
13
20
|
</thead>
|
|
14
21
|
<tbody>
|
|
@@ -47,11 +54,93 @@
|
|
|
47
54
|
{%- else %}
|
|
48
55
|
<td></td>
|
|
49
56
|
{%- endif %}
|
|
57
|
+
<td>
|
|
58
|
+
{%- if tool.registry.biotools %}
|
|
59
|
+
<a data-bs-toggle="tooltip" data-bs-original-title="Bio.tools" href="https://bio.tools/{{tool.registry.biotools}}"><span class="badge bg-dark text-white hover-primary"><i class="fa-solid fa-info me-2"></i>Tool info</span></a>
|
|
60
|
+
{%- endif %}
|
|
61
|
+
{%- if tool.registry.fairsharing %}
|
|
62
|
+
<a data-bs-toggle="tooltip" data-bs-original-title="FAIRsharing" href="https://fairsharing.org/FAIRsharing.{{tool.registry.fairsharing}}"><span class="badge bg-dark text-white hover-primary"><i class="fa-solid fa-database me-2"></i>Standards/Databases</span></a>
|
|
63
|
+
{%- endif %}
|
|
64
|
+
{%- if tool.registry.fairsharing-coll %}
|
|
65
|
+
<a data-bs-toggle="tooltip" data-bs-original-title="FAIRsharing collection" href="https://fairsharing.org/{{tool.registry.fairsharing-coll}}"><span class="badge bg-dark text-white hover-primary"><i class="fa-solid fa-database me-2"></i>Standards/Databases</span></a>
|
|
66
|
+
{%- endif %}
|
|
67
|
+
{%- if tool.registry.tess %}
|
|
68
|
+
<a data-bs-toggle="tooltip" data-bs-original-title="TeSS" href="https://tess.elixir-europe.org/search?q={{tool.registry.tess}}"><span class="badge bg-dark text-white hover-primary"><i class="fa-solid fa-graduation-cap me-2"></i>Training</span></a>
|
|
69
|
+
{%- endif %}
|
|
70
|
+
</td>
|
|
50
71
|
</tr>
|
|
51
72
|
{%- endfor %}
|
|
52
73
|
</tbody>
|
|
53
74
|
</table>
|
|
54
75
|
</div>
|
|
55
|
-
<div id="skip-tool-table"></div>
|
|
56
|
-
|
|
76
|
+
<div id="skip-tool-table-1"></div>
|
|
57
77
|
{%- endif %}
|
|
78
|
+
{%- if page.ref_to_main_resources %}
|
|
79
|
+
{%- assign tool_names = page.ref_to_main_resources %}
|
|
80
|
+
<h3>{{page.title}} contributes to</h3>
|
|
81
|
+
<p>Institutions and organisations in {{page.title}} are actively involved in the development of the following tools and resources.</p>
|
|
82
|
+
<a class="visually-hidden-focusable" href='#skip-tool-table-2'>Skip tool table</a>
|
|
83
|
+
<div class="table-responsive mt-4 mb-5">
|
|
84
|
+
<table class="tooltable table display">
|
|
85
|
+
<thead>
|
|
86
|
+
<tr class="text-nowrap">
|
|
87
|
+
<th>Resource</th>
|
|
88
|
+
<th>Description</th>
|
|
89
|
+
<th>Related pages</th>
|
|
90
|
+
<th>Registry
|
|
91
|
+
<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.">
|
|
92
|
+
<i class="fa-solid fa-info-circle"></i>
|
|
93
|
+
</a>
|
|
94
|
+
</th>
|
|
95
|
+
</tr>
|
|
96
|
+
</thead>
|
|
97
|
+
<tbody>
|
|
98
|
+
{%- for tool_name in tool_names | sort %}
|
|
99
|
+
{%- assign tool = site.data.tool_and_resource_list | where:"name", tool_name | first %}
|
|
100
|
+
<tr>
|
|
101
|
+
{% if tool.url %}
|
|
102
|
+
<td><a href="{{tool.url}}">{{tool.name}}</a>
|
|
103
|
+
</td>
|
|
104
|
+
{%- else %}
|
|
105
|
+
<td>{{tool.name}}</td>
|
|
106
|
+
{%- endif %}
|
|
107
|
+
<td>{{tool.description | markdownify }}
|
|
108
|
+
{%- if tool.instance_of or tool.how_to_access %}
|
|
109
|
+
<div class="d-block mt-1">
|
|
110
|
+
<span class="d-inline-block" tabindex="0" data-bs-toggle="tooltip" title="This resource is an instance of {{tool.instance_of}}"><span class="badge text-primary border border-primary">{{tool.instance_of}}</span></span>
|
|
111
|
+
{%- if tool.how_to_access %}
|
|
112
|
+
<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>
|
|
113
|
+
{%- endif %}
|
|
114
|
+
</div>
|
|
115
|
+
{%- endif %}
|
|
116
|
+
</td>
|
|
117
|
+
{%- capture related_pages %}
|
|
118
|
+
{%- for tag in tool.related_pages %}
|
|
119
|
+
{%- unless tag == page.page_id %}
|
|
120
|
+
{%- assign related_page = site.pages | where:"page_id",tag | first %}
|
|
121
|
+
<a href="{{related_page.url | relative_url }}"><span class="badge default-badge">{{related_page.title}}</span></a>
|
|
122
|
+
{%- endunless %}
|
|
123
|
+
{%- endfor %}
|
|
124
|
+
{%- endcapture %}
|
|
125
|
+
<td>{{related_pages}}</td>
|
|
126
|
+
<td>
|
|
127
|
+
{%- if tool.registry.biotools %}
|
|
128
|
+
<a data-bs-toggle="tooltip" data-bs-original-title="Bio.tools" href="https://bio.tools/{{tool.registry.biotools}}"><span class="badge bg-dark text-white hover-primary"><i class="fa-solid fa-info me-2"></i>Tool info</span></a>
|
|
129
|
+
{%- endif %}
|
|
130
|
+
{%- if tool.registry.fairsharing %}
|
|
131
|
+
<a data-bs-toggle="tooltip" data-bs-original-title="FAIRsharing" href="https://fairsharing.org/FAIRsharing.{{tool.registry.fairsharing}}"><span class="badge bg-dark text-white hover-primary"><i class="fa-solid fa-database me-2"></i>Standards/Databases</span></a>
|
|
132
|
+
{%- endif %}
|
|
133
|
+
{%- if tool.registry.fairsharing-coll %}
|
|
134
|
+
<a data-bs-toggle="tooltip" data-bs-original-title="FAIRsharing collection" href="https://fairsharing.org/{{tool.registry.fairsharing-coll}}"><span class="badge bg-dark text-white hover-primary"><i class="fa-solid fa-database me-2"></i>Standards/Databases</span></a>
|
|
135
|
+
{%- endif %}
|
|
136
|
+
{%- if tool.registry.tess %}
|
|
137
|
+
<a data-bs-toggle="tooltip" data-bs-original-title="TeSS" href="https://tess.elixir-europe.org/search?q={{tool.registry.tess}}"><span class="badge bg-dark text-white hover-primary"><i class="fa-solid fa-graduation-cap me-2"></i>Training</span></a>
|
|
138
|
+
{%- endif %}
|
|
139
|
+
</td>
|
|
140
|
+
</tr>
|
|
141
|
+
{%- endfor %}
|
|
142
|
+
</tbody>
|
|
143
|
+
</table>
|
|
144
|
+
</div>
|
|
145
|
+
<div id="skip-tool-table-2"></div>
|
|
146
|
+
{%- endif %}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<a class="visually-hidden-focusable" href='#skip-tool-table'>Skip tool table</a>
|
|
2
2
|
<div class="table-responsive mt-4 mb-5">
|
|
3
|
-
<table
|
|
3
|
+
<table class="trainingtable table display">
|
|
4
4
|
<thead>
|
|
5
5
|
<tr class="text-nowrap">
|
|
6
6
|
<th>Name
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
/*-----General styling-----*/
|
|
2
|
-
$font-family-theme: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !default;
|
|
3
|
-
$h2-color: $primary;
|
|
4
|
-
|
|
5
|
-
/*-----Buttons hover style-----*/
|
|
6
|
-
$btn-primary-bg-hover: $primary;
|
|
7
|
-
$btn-primary-color-hover: $white;
|
|
8
|
-
|
|
9
|
-
/*-----Top navigation-----*/
|
|
10
|
-
$topnav-bg: $light;
|
|
11
|
-
$topnav-title-color: $primary;
|
|
12
|
-
$topnav-brand-height: 44px;
|
|
13
|
-
|
|
14
|
-
/*-----Search-----*/
|
|
15
|
-
$search-result-color: $primary;
|
|
16
|
-
|
|
17
|
-
/*-----Sidebar-----*/
|
|
18
|
-
$sidebar-bg: $light;
|
|
19
|
-
$sidebar-color: $dark;
|
|
20
|
-
$sidebar-lvl2-bg: $white;
|
|
21
|
-
$sidebar-lvl2-color: $dark;
|
|
22
|
-
$sidebar-lvl3-bg: $white;
|
|
23
|
-
$sidebar-lvl3-color: $dark;
|
|
24
|
-
$sidebar-bg-active: $primary;
|
|
25
|
-
$sidebar-color-active: $white;
|
|
26
|
-
|
|
27
|
-
/*-----TOC-----*/
|
|
28
|
-
$toc-bg: $light;
|
|
29
|
-
|
|
30
|
-
/*-----Section navigation tiles-----*/
|
|
31
|
-
$nav-card-bg: $white;
|
|
32
|
-
$nav-card-header-bg: $dark;
|
|
33
|
-
$nav-card-header-color: $white;
|
|
34
|
-
$nav-card-badge-color: $body-color;
|
|
35
|
-
$nav-card-badge-bg: $light;
|
|
36
|
-
$nav-card-badge-color-hover: $white;
|
|
37
|
-
$nav-card-badge-bg-hover: $primary;
|
|
38
|
-
|
|
39
|
-
/*-----More information tiles-----*/
|
|
40
|
-
$info-card-bg: $light;
|
|
41
|
-
$info-card-header-bg: $dark;
|
|
42
|
-
$info-card-header-color: $white;
|
|
43
|
-
|
|
44
|
-
/*-----Contributors-cards-----*/
|
|
45
|
-
$contr-card-bg: $light;
|
|
46
|
-
|
|
47
|
-
/*-----Page contributors-----*/
|
|
48
|
-
$contr-bg: $light;
|
|
49
|
-
$contr-link-bg: $white;
|
|
50
|
-
$contr-crown-bg: $dark;
|
|
51
|
-
$contr-crown-color: $white;
|
|
52
|
-
|
|
53
|
-
/*-----Events & news-----*/
|
|
54
|
-
$news-title-bg: $primary;
|
|
55
|
-
$news-border-color: $light;
|
|
56
|
-
$news-title-color: $white;
|
|
57
|
-
|
|
58
|
-
/*-----Default badge-----*/
|
|
59
|
-
$badge-color: $body-color;
|
|
60
|
-
$badge-bg: $light;
|
|
61
|
-
$badge-color-hover: $white;
|
|
62
|
-
$badge-bg-hover: $primary;
|
|
63
|
-
|
|
64
|
-
/*-----Footer-----*/
|
|
65
|
-
$footer-bg: $light;
|
|
66
|
-
$footer-color: $dark;
|
|
67
|
-
$footer-link-color: $dark;
|
|
68
|
-
$footer-link-color-hover: $primary;
|
|
69
|
-
$footer-copyright-bg: $gray-200;
|
|
70
|
-
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/*-----General styling-----*/
|
|
2
|
+
$font-family-theme: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !default;
|
|
3
|
+
$h2-color: $primary;
|
|
4
|
+
|
|
5
|
+
/*-----Buttons hover style-----*/
|
|
6
|
+
$btn-primary-bg-hover: $primary;
|
|
7
|
+
$btn-primary-color-hover: $white;
|
|
8
|
+
|
|
9
|
+
/*-----Top navigation-----*/
|
|
10
|
+
$topnav-bg: $light;
|
|
11
|
+
$topnav-title-color: $primary;
|
|
12
|
+
$topnav-brand-height: 44px;
|
|
13
|
+
|
|
14
|
+
/*-----Search-----*/
|
|
15
|
+
$search-result-color: $primary;
|
|
16
|
+
|
|
17
|
+
/*-----Sidebar-----*/
|
|
18
|
+
$sidebar-bg: $light;
|
|
19
|
+
$sidebar-color: $dark;
|
|
20
|
+
$sidebar-lvl2-bg: $white;
|
|
21
|
+
$sidebar-lvl2-color: $dark;
|
|
22
|
+
$sidebar-lvl3-bg: $white;
|
|
23
|
+
$sidebar-lvl3-color: $dark;
|
|
24
|
+
$sidebar-bg-active: $primary;
|
|
25
|
+
$sidebar-color-active: $white;
|
|
26
|
+
|
|
27
|
+
/*-----TOC-----*/
|
|
28
|
+
$toc-bg: $light;
|
|
29
|
+
|
|
30
|
+
/*-----Section navigation tiles-----*/
|
|
31
|
+
$nav-card-bg: $white;
|
|
32
|
+
$nav-card-header-bg: $secondary;
|
|
33
|
+
$nav-card-header-color: $white;
|
|
34
|
+
$nav-card-badge-color: $body-color;
|
|
35
|
+
$nav-card-badge-bg: $light;
|
|
36
|
+
$nav-card-badge-color-hover: $white;
|
|
37
|
+
$nav-card-badge-bg-hover: $primary;
|
|
38
|
+
|
|
39
|
+
/*-----More information tiles-----*/
|
|
40
|
+
$info-card-bg: $light;
|
|
41
|
+
$info-card-header-bg: $secondary;
|
|
42
|
+
$info-card-header-color: $white;
|
|
43
|
+
|
|
44
|
+
/*-----Contributors-cards-----*/
|
|
45
|
+
$contr-card-bg: $light;
|
|
46
|
+
|
|
47
|
+
/*-----Page contributors-----*/
|
|
48
|
+
$contr-bg: $light;
|
|
49
|
+
$contr-link-bg: $white;
|
|
50
|
+
$contr-crown-bg: $dark;
|
|
51
|
+
$contr-crown-color: $white;
|
|
52
|
+
$contr-popover-bg: $white;
|
|
53
|
+
|
|
54
|
+
/*-----Events & news-----*/
|
|
55
|
+
$news-title-bg: $primary;
|
|
56
|
+
$news-border-color: $light;
|
|
57
|
+
$news-title-color: $white;
|
|
58
|
+
|
|
59
|
+
/*-----Default badge-----*/
|
|
60
|
+
$badge-color: $body-color;
|
|
61
|
+
$badge-bg: $light;
|
|
62
|
+
$badge-color-hover: $white;
|
|
63
|
+
$badge-bg-hover: $primary;
|
|
64
|
+
|
|
65
|
+
/*-----Footer-----*/
|
|
66
|
+
$footer-bg: $light;
|
|
67
|
+
$footer-color: $dark;
|
|
68
|
+
$footer-link-color: $dark;
|
|
69
|
+
$footer-link-color-hover: $primary;
|
|
70
|
+
$footer-copyright-bg: $gray-200;
|
data/assets/css/main.scss
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
---
|
|
1
|
+
---
|
|
2
2
|
layout: none
|
|
3
3
|
permalink: assets/css/main.css
|
|
4
4
|
---
|
|
5
|
+
|
|
5
6
|
/*-----Default theme variables-----*/
|
|
6
7
|
$popover-max-width: 12em;
|
|
7
8
|
$enable-caret: false;
|
|
8
9
|
@import "bootstrap_variables";
|
|
9
10
|
@import "bootstrap/bootstrap";
|
|
11
|
+
@import "variables";
|
|
10
12
|
@import "custom_variables";
|
|
11
13
|
|
|
12
14
|
/*-----General styling-----*/
|
|
@@ -17,6 +19,7 @@ main {
|
|
|
17
19
|
font-weight: 400;
|
|
18
20
|
margin-bottom: $spacer * 1.5;
|
|
19
21
|
}
|
|
22
|
+
|
|
20
23
|
h2,
|
|
21
24
|
.h2-like {
|
|
22
25
|
font-family: $font-family-theme;
|
|
@@ -36,11 +39,7 @@ main {
|
|
|
36
39
|
margin-top: $spacer * 1.5;
|
|
37
40
|
}
|
|
38
41
|
|
|
39
|
-
|
|
40
|
-
margin-top: $spacer * 0.5;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
h3 + h4 {
|
|
42
|
+
h3+h4 {
|
|
44
43
|
margin-top: $spacer * 0.25;
|
|
45
44
|
}
|
|
46
45
|
|
|
@@ -59,6 +58,11 @@ main {
|
|
|
59
58
|
ol li,
|
|
60
59
|
ul li {
|
|
61
60
|
margin: 10px 0px;
|
|
61
|
+
|
|
62
|
+
&::marker {
|
|
63
|
+
color: $primary;
|
|
64
|
+
font-weight: 600;
|
|
65
|
+
}
|
|
62
66
|
}
|
|
63
67
|
|
|
64
68
|
img {
|
|
@@ -67,11 +71,11 @@ main {
|
|
|
67
71
|
}
|
|
68
72
|
|
|
69
73
|
.ff-body {
|
|
70
|
-
font-family: $font-family-sans-serif
|
|
74
|
+
font-family: $font-family-sans-serif !important;
|
|
71
75
|
}
|
|
72
76
|
|
|
73
77
|
.ff-theme {
|
|
74
|
-
font-family: $font-family-theme
|
|
78
|
+
font-family: $font-family-theme !important;
|
|
75
79
|
}
|
|
76
80
|
|
|
77
81
|
/*-----Blockquote-----*/
|
|
@@ -96,12 +100,6 @@ blockquote {
|
|
|
96
100
|
background: $primary;
|
|
97
101
|
}
|
|
98
102
|
|
|
99
|
-
/*-----Color list marker-----*/
|
|
100
|
-
|
|
101
|
-
ul li::marker {
|
|
102
|
-
color: $primary;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
103
|
/*-----Emoji styling-----*/
|
|
106
104
|
|
|
107
105
|
main img.emoji {
|
|
@@ -139,8 +137,10 @@ pre code {
|
|
|
139
137
|
|
|
140
138
|
header .navbar {
|
|
141
139
|
background-color: $topnav-bg;
|
|
140
|
+
|
|
142
141
|
.navbar-brand {
|
|
143
142
|
color: $topnav-title-color;
|
|
143
|
+
|
|
144
144
|
img {
|
|
145
145
|
height: $topnav-brand-height;
|
|
146
146
|
}
|
|
@@ -160,8 +160,9 @@ header .navbar {
|
|
|
160
160
|
content: "\f0d7";
|
|
161
161
|
transition: transform 0.2s ease-in-out;
|
|
162
162
|
}
|
|
163
|
+
|
|
163
164
|
.dropdown-toggle[aria-expanded="true"]::after {
|
|
164
|
-
|
|
165
|
+
transform: rotate(-180deg);
|
|
165
166
|
}
|
|
166
167
|
|
|
167
168
|
// Break line in top navigation
|
|
@@ -170,9 +171,11 @@ header .navbar {
|
|
|
170
171
|
@media (min-width: 992px) {
|
|
171
172
|
width: 1px;
|
|
172
173
|
}
|
|
174
|
+
|
|
173
175
|
@media (max-width: 992px) {
|
|
174
176
|
height: 1px;
|
|
175
177
|
}
|
|
178
|
+
|
|
176
179
|
background-color: rgba($nav-link-color, 0.3);
|
|
177
180
|
}
|
|
178
181
|
|
|
@@ -206,6 +209,7 @@ header .navbar {
|
|
|
206
209
|
background-color: $light;
|
|
207
210
|
}
|
|
208
211
|
}
|
|
212
|
+
|
|
209
213
|
@media (max-width: 992px) {
|
|
210
214
|
.search-results {
|
|
211
215
|
width: 100%;
|
|
@@ -228,6 +232,7 @@ header .navbar {
|
|
|
228
232
|
font-size: 12px !important;
|
|
229
233
|
font-weight: 600;
|
|
230
234
|
}
|
|
235
|
+
|
|
231
236
|
.search-result-doc-title {
|
|
232
237
|
overflow: auto;
|
|
233
238
|
color: $body-color;
|
|
@@ -259,7 +264,7 @@ header .navbar {
|
|
|
259
264
|
vertical-align: top;
|
|
260
265
|
}
|
|
261
266
|
|
|
262
|
-
.search-result-preview
|
|
267
|
+
.search-result-preview+.search-result-preview {
|
|
263
268
|
margin-top: 0.25rem;
|
|
264
269
|
}
|
|
265
270
|
|
|
@@ -285,6 +290,7 @@ header .navbar {
|
|
|
285
290
|
|
|
286
291
|
.sidebar-collapse {
|
|
287
292
|
background-color: $sidebar-bg;
|
|
293
|
+
|
|
288
294
|
i {
|
|
289
295
|
font-size: 1.25rem;
|
|
290
296
|
float: right;
|
|
@@ -298,19 +304,20 @@ header .navbar {
|
|
|
298
304
|
}
|
|
299
305
|
|
|
300
306
|
#side-nav>ul {
|
|
301
|
-
>
|
|
307
|
+
>li:not(.sidebar-title)>a {
|
|
302
308
|
background-color: $sidebar-bg;
|
|
303
309
|
color: $sidebar-color;
|
|
304
310
|
}
|
|
305
|
-
|
|
306
|
-
|
|
311
|
+
|
|
312
|
+
li>a {
|
|
313
|
+
>span {
|
|
307
314
|
float: right;
|
|
308
315
|
width: 15px;
|
|
309
316
|
margin-left: $btn-padding-x;
|
|
310
317
|
text-align: center;
|
|
311
318
|
}
|
|
312
319
|
|
|
313
|
-
>
|
|
320
|
+
>span:after {
|
|
314
321
|
display: inline-block;
|
|
315
322
|
font-style: normal;
|
|
316
323
|
font-variant: normal;
|
|
@@ -322,23 +329,28 @@ header .navbar {
|
|
|
322
329
|
transition: transform 0.2s ease-in-out;
|
|
323
330
|
}
|
|
324
331
|
}
|
|
332
|
+
|
|
325
333
|
li.active {
|
|
326
|
-
&:not(.parent)
|
|
334
|
+
&:not(.parent)>a {
|
|
327
335
|
background-color: $sidebar-bg-active;
|
|
328
336
|
color: $sidebar-color-active;
|
|
329
337
|
}
|
|
330
|
-
|
|
338
|
+
|
|
339
|
+
>a>span:after {
|
|
331
340
|
transform: rotate(-180deg);
|
|
332
341
|
}
|
|
333
342
|
}
|
|
343
|
+
|
|
334
344
|
ul {
|
|
335
345
|
display: none;
|
|
346
|
+
|
|
336
347
|
li {
|
|
337
348
|
a {
|
|
338
349
|
margin-left: 30px;
|
|
339
350
|
background-color: $sidebar-lvl2-bg;
|
|
340
351
|
color: $sidebar-lvl2-color;
|
|
341
352
|
}
|
|
353
|
+
|
|
342
354
|
ul li a {
|
|
343
355
|
margin-left: 60px;
|
|
344
356
|
background-color: $sidebar-lvl3-bg;
|
|
@@ -401,7 +413,7 @@ header .navbar {
|
|
|
401
413
|
|
|
402
414
|
/*-----General table properties-----*/
|
|
403
415
|
|
|
404
|
-
.table
|
|
416
|
+
.table> :not(:first-child) {
|
|
405
417
|
border-color: inherit;
|
|
406
418
|
}
|
|
407
419
|
|
|
@@ -415,13 +427,15 @@ table {
|
|
|
415
427
|
|
|
416
428
|
// Tool table column width optimizations
|
|
417
429
|
|
|
418
|
-
|
|
430
|
+
.tooltable {
|
|
419
431
|
tr th:nth-child(1) {
|
|
420
432
|
width: 25%;
|
|
421
433
|
}
|
|
434
|
+
|
|
422
435
|
tr th:nth-child(2) {
|
|
423
436
|
width: 40%;
|
|
424
437
|
}
|
|
438
|
+
|
|
425
439
|
td:nth-child(2) {
|
|
426
440
|
font-size: 0.9em;
|
|
427
441
|
}
|
|
@@ -431,8 +445,8 @@ table {
|
|
|
431
445
|
}
|
|
432
446
|
}
|
|
433
447
|
|
|
434
|
-
|
|
435
|
-
|
|
448
|
+
.tooltable td:nth-child(1) a,
|
|
449
|
+
.trainingtable td:nth-child(1) a {
|
|
436
450
|
font-weight: bold;
|
|
437
451
|
}
|
|
438
452
|
|
|
@@ -445,12 +459,12 @@ footer {
|
|
|
445
459
|
color: $footer-color;
|
|
446
460
|
|
|
447
461
|
a {
|
|
448
|
-
color: $footer-link-color
|
|
462
|
+
color: $footer-link-color !important;
|
|
449
463
|
font-weight: bold;
|
|
450
464
|
}
|
|
451
465
|
|
|
452
466
|
a:hover {
|
|
453
|
-
color: $footer-link-color-hover
|
|
467
|
+
color: $footer-link-color-hover !important;
|
|
454
468
|
}
|
|
455
469
|
|
|
456
470
|
h2 {
|
|
@@ -467,6 +481,7 @@ footer {
|
|
|
467
481
|
}
|
|
468
482
|
|
|
469
483
|
/*-----Back to top-----*/
|
|
484
|
+
|
|
470
485
|
#back-to-top {
|
|
471
486
|
transition: 0.3s ease-in-out;
|
|
472
487
|
position: fixed;
|
|
@@ -479,7 +494,7 @@ footer {
|
|
|
479
494
|
&.visible {
|
|
480
495
|
bottom: $spacer;
|
|
481
496
|
opacity: 1;
|
|
482
|
-
}
|
|
497
|
+
}
|
|
483
498
|
}
|
|
484
499
|
|
|
485
500
|
/*-----Contributors cards-----*/
|
|
@@ -488,16 +503,19 @@ footer {
|
|
|
488
503
|
.card {
|
|
489
504
|
background-color: $contr-card-bg;
|
|
490
505
|
}
|
|
506
|
+
|
|
491
507
|
.badge {
|
|
492
508
|
background-color: $primary;
|
|
493
509
|
margin: 10px 10px 0px 0px;
|
|
494
510
|
}
|
|
511
|
+
|
|
495
512
|
.card-affiliation {
|
|
496
513
|
color: $primary;
|
|
497
514
|
font-size: 0.8em;
|
|
498
515
|
}
|
|
499
516
|
|
|
500
517
|
}
|
|
518
|
+
|
|
501
519
|
/*-----Contributors carousel-----*/
|
|
502
520
|
|
|
503
521
|
#contributors-carousel .carousel-control-next,
|
|
@@ -509,10 +527,12 @@ footer {
|
|
|
509
527
|
#contributors-carousel .card-title {
|
|
510
528
|
font-size: 0.5em;
|
|
511
529
|
}
|
|
530
|
+
|
|
512
531
|
#contributors-carousel .card-affiliation {
|
|
513
532
|
color: $primary;
|
|
514
533
|
font-size: 0.4em;
|
|
515
534
|
}
|
|
535
|
+
|
|
516
536
|
#contributors-carousel .card-body {
|
|
517
537
|
padding: 0rem 0.5rem 0.5rem 0.5rem;
|
|
518
538
|
}
|
|
@@ -538,9 +558,12 @@ footer {
|
|
|
538
558
|
/*--------Page contributors---------*/
|
|
539
559
|
.page-contributors {
|
|
540
560
|
background-color: $contr-bg;
|
|
541
|
-
font-size: 0;
|
|
561
|
+
font-size: 0;
|
|
562
|
+
|
|
563
|
+
/* Gets rid of extra white space */
|
|
542
564
|
.contributor-link {
|
|
543
565
|
background-color: $contr-link-bg;
|
|
566
|
+
|
|
544
567
|
.contributor-img-sm {
|
|
545
568
|
height: 1.7em;
|
|
546
569
|
}
|
|
@@ -559,8 +582,14 @@ footer {
|
|
|
559
582
|
}
|
|
560
583
|
}
|
|
561
584
|
|
|
562
|
-
.contributor-
|
|
563
|
-
|
|
585
|
+
.popover.contributor-cards {
|
|
586
|
+
.contributor-img {
|
|
587
|
+
width: 11em;
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
.card {
|
|
591
|
+
background-color: $contr-popover-bg;
|
|
592
|
+
}
|
|
564
593
|
}
|
|
565
594
|
|
|
566
595
|
/*-----Cookie consent banner-----*/
|
|
@@ -580,11 +609,11 @@ footer {
|
|
|
580
609
|
transition: all 500ms ease-out;
|
|
581
610
|
|
|
582
611
|
a {
|
|
583
|
-
color: $footer-link-color
|
|
612
|
+
color: $footer-link-color !important;
|
|
584
613
|
}
|
|
585
614
|
|
|
586
615
|
a:hover {
|
|
587
|
-
color: $footer-link-color-hover
|
|
616
|
+
color: $footer-link-color-hover !important;
|
|
588
617
|
}
|
|
589
618
|
}
|
|
590
619
|
|
|
@@ -599,15 +628,15 @@ footer {
|
|
|
599
628
|
|
|
600
629
|
.hover-primary:hover,
|
|
601
630
|
.hover-primary:focus {
|
|
602
|
-
background-color: $btn-primary-bg-hover
|
|
631
|
+
background-color: $btn-primary-bg-hover !important;
|
|
603
632
|
transition: $btn-transition;
|
|
604
|
-
color: $btn-primary-color-hover
|
|
633
|
+
color: $btn-primary-color-hover !important;
|
|
605
634
|
}
|
|
606
635
|
|
|
607
636
|
.text-hover-primary:hover,
|
|
608
637
|
.text-hover-primary:focus {
|
|
609
638
|
transition: $btn-transition;
|
|
610
|
-
color: $primary
|
|
639
|
+
color: $primary !important;
|
|
611
640
|
}
|
|
612
641
|
|
|
613
642
|
/*-----Size components-----*/
|
|
@@ -624,8 +653,8 @@ li.past_event,
|
|
|
624
653
|
display: none;
|
|
625
654
|
}
|
|
626
655
|
|
|
627
|
-
.events
|
|
628
|
-
.news
|
|
656
|
+
.events>ul>li,
|
|
657
|
+
.news>ul>li {
|
|
629
658
|
border-left: $news-border-color 5px solid;
|
|
630
659
|
border-radius: $border-radius;
|
|
631
660
|
padding: 0px 11px;
|
|
@@ -645,32 +674,37 @@ li.past_event,
|
|
|
645
674
|
display: inline-block;
|
|
646
675
|
}
|
|
647
676
|
|
|
648
|
-
.full-description
|
|
677
|
+
.full-description>*:last-child {
|
|
649
678
|
margin-bottom: 0;
|
|
679
|
+
|
|
650
680
|
li {
|
|
651
681
|
margin-bottom: 0;
|
|
652
682
|
}
|
|
653
683
|
}
|
|
654
684
|
}
|
|
685
|
+
|
|
655
686
|
/*-----More information tiles-----*/
|
|
656
687
|
|
|
657
688
|
.info-card {
|
|
658
689
|
background-color: $info-card-bg;
|
|
690
|
+
|
|
659
691
|
.card-header {
|
|
660
692
|
background-color: $info-card-header-bg;
|
|
661
693
|
color: $info-card-header-color;
|
|
662
694
|
}
|
|
695
|
+
|
|
663
696
|
a:hover {
|
|
664
697
|
.text-muted {
|
|
665
698
|
transition: $btn-transition;
|
|
666
|
-
color: $white
|
|
699
|
+
color: $white !important;
|
|
667
700
|
}
|
|
668
701
|
|
|
669
702
|
i {
|
|
670
703
|
transition: $btn-transition;
|
|
671
|
-
color: $white
|
|
704
|
+
color: $white !important;
|
|
672
705
|
}
|
|
673
706
|
}
|
|
707
|
+
|
|
674
708
|
img {
|
|
675
709
|
height: 40px;
|
|
676
710
|
max-width: 45px;
|
|
@@ -690,9 +724,11 @@ li.past_event,
|
|
|
690
724
|
.navigation-tiles {
|
|
691
725
|
.card {
|
|
692
726
|
background-color: $nav-card-bg;
|
|
727
|
+
|
|
693
728
|
.card-text {
|
|
694
729
|
min-height: 4.5em;
|
|
695
730
|
}
|
|
731
|
+
|
|
696
732
|
.card-header {
|
|
697
733
|
background-color: $nav-card-header-bg;
|
|
698
734
|
|
|
@@ -700,6 +736,7 @@ li.past_event,
|
|
|
700
736
|
color: $nav-card-header-color;
|
|
701
737
|
}
|
|
702
738
|
}
|
|
739
|
+
|
|
703
740
|
.badge {
|
|
704
741
|
font-weight: inherit;
|
|
705
742
|
background-color: $nav-card-badge-bg;
|
|
@@ -722,3 +759,4 @@ iframe.scale {
|
|
|
722
759
|
}
|
|
723
760
|
|
|
724
761
|
@import "custom_classes";
|
|
762
|
+
|
data/assets/js/main.js
CHANGED
|
@@ -76,24 +76,24 @@ $(function () {
|
|
|
76
76
|
* Back to top button
|
|
77
77
|
*/
|
|
78
78
|
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
79
|
+
var toggleHeight = $(window).outerHeight() / 2;
|
|
80
|
+
|
|
81
|
+
$(window).scroll(function () {
|
|
82
|
+
if ($(window).scrollTop() > toggleHeight) {
|
|
83
|
+
//Adds active class to make button visible
|
|
84
|
+
$("#back-to-top").addClass("visible");
|
|
85
|
+
|
|
86
|
+
} else {
|
|
87
|
+
//Removes active class to make button visible
|
|
88
|
+
$("#back-to-top").removeClass("visible");
|
|
89
|
+
}
|
|
90
|
+
});
|
|
91
|
+
|
|
92
|
+
//Scrolls the user to the top of the page again
|
|
93
|
+
function topFunction() {
|
|
94
94
|
document.body.scrollTop = 0; // For Safari
|
|
95
95
|
document.documentElement.scrollTop = 0; // For Chrome, Firefox, IE and Opera
|
|
96
|
-
|
|
96
|
+
}
|
|
97
97
|
|
|
98
98
|
|
|
99
99
|
/**
|
|
@@ -127,3 +127,14 @@ function show_past_events() {
|
|
|
127
127
|
elements.show();
|
|
128
128
|
};
|
|
129
129
|
|
|
130
|
+
/**
|
|
131
|
+
* Making tables responsive
|
|
132
|
+
*/
|
|
133
|
+
$(document).ready(function () {
|
|
134
|
+
$('table').each(function (i, obj) {
|
|
135
|
+
if (!$(obj).parents('.table-responsive').length) {
|
|
136
|
+
$(obj).wrap('<div class="table-responsive mt-4 mb-5"/>');
|
|
137
|
+
}
|
|
138
|
+
});
|
|
139
|
+
|
|
140
|
+
});
|
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: 1.
|
|
4
|
+
version: 1.18.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- bedroesb
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-
|
|
11
|
+
date: 2022-07-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|
|
@@ -93,6 +93,7 @@ files:
|
|
|
93
93
|
- _sass/_bootstrap_variables.scss
|
|
94
94
|
- _sass/_custom_classes.scss
|
|
95
95
|
- _sass/_custom_variables.scss
|
|
96
|
+
- _sass/_variables.scss
|
|
96
97
|
- _sass/bootstrap/_accordion.scss
|
|
97
98
|
- _sass/bootstrap/_alert.scss
|
|
98
99
|
- _sass/bootstrap/_badge.scss
|
|
@@ -467,7 +468,6 @@ files:
|
|
|
467
468
|
- assets/js/bootstrap.bundle.min.js
|
|
468
469
|
- assets/js/bootstrap.bundle.min.js.map
|
|
469
470
|
- assets/js/dataTables.bootstrap5.min.js
|
|
470
|
-
- assets/js/jquery.cookie.min.js
|
|
471
471
|
- assets/js/jquery.dataTables.min.js
|
|
472
472
|
- assets/js/jquery.min.js
|
|
473
473
|
- assets/js/jquery.min.map
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* jQuery Cookie Plugin v1.3.1
|
|
3
|
-
* https://github.com/carhartl/jquery-cookie
|
|
4
|
-
*
|
|
5
|
-
* Copyright 2013 Klaus Hartl
|
|
6
|
-
* Released under the MIT license
|
|
7
|
-
*/
|
|
8
|
-
!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):a(jQuery)}(function(a){function b(a){return a}function c(a){return decodeURIComponent(a.replace(e," "))}function d(a){0===a.indexOf('"')&&(a=a.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\"));try{return f.json?JSON.parse(a):a}catch(b){}}var e=/\+/g,f=a.cookie=function(e,g,h){if(void 0!==g){if(h=a.extend({},f.defaults,h),"number"==typeof h.expires){var i=h.expires,j=h.expires=new Date;j.setDate(j.getDate()+i)}return g=f.json?JSON.stringify(g):String(g),document.cookie=[f.raw?e:encodeURIComponent(e),"=",f.raw?g:encodeURIComponent(g),h.expires?"; expires="+h.expires.toUTCString():"",h.path?"; path="+h.path:"",h.domain?"; domain="+h.domain:"",h.secure?"; secure":""].join("")}for(var k=f.raw?b:c,l=document.cookie.split("; "),m=e?void 0:{},n=0,o=l.length;o>n;n++){var p=l[n].split("="),q=k(p.shift()),r=k(p.join("="));if(e&&e===q){m=d(r);break}e||(m[q]=d(r))}return m};f.defaults={},a.removeCookie=function(b,c){return void 0!==a.cookie(b)?(a.cookie(b,"",a.extend({},c,{expires:-1})),!0):!1}});
|