elixir-toolkit-theme 1.19.2 → 1.20.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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 36a5c2e07fa6bff41d4fa653b76dcc6c772e98cd8e8cc21e102dc96bac8d3480
|
4
|
+
data.tar.gz: 443f5893ee2e50a73816274f4c252dff97803e90e4267c3bf2576b152ba5a480
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ff28ed67a529084cdd371a592ff7fcd01215d994da91ecc9678f815b39156700057d11f302ecb89978198f336e64be7aa9c8ab525274530352793f1090ffa228
|
7
|
+
data.tar.gz: 5415a360f806e1c47b7b1f4cbbddaca8088c142e4e85bb8788946054965e7b7ac7947a8c062be0a1fb6eee5c30c3c67556094a9161a453c41a47f38daacc573b
|
@@ -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 class="w-100" href="{{ affiliation.url }}">{% endif %}<img class="rounded" src="{{ affiliation.image_url | relative_url }}" alt="{{ affiliation.name }}">{%- if affiliation.url %}</a>{% endif %}
|
9
|
+
{% if affiliation.url %}<a class="w-100" href="{{ affiliation.url }}">{% endif %}<img class="rounded p-3" src="{{ affiliation.image_url | relative_url }}" alt="{{ affiliation.name }}">{%- if affiliation.url %}</a>{% endif %}
|
10
10
|
</div>
|
11
11
|
</div>
|
12
12
|
</div>
|
@@ -1,9 +1,49 @@
|
|
1
|
-
{%- if page.
|
1
|
+
{%- if page.training %}
|
2
|
+
{%- assign actual_training = nil %}
|
3
|
+
{%- for training in page.training %}
|
4
|
+
{%- if training.name %}
|
5
|
+
{%- assign actual_training = 1 %}
|
6
|
+
{%- endif %}
|
7
|
+
{%- endfor %}
|
8
|
+
{%- endif %}
|
9
|
+
{%- if page.faircookbook %}
|
10
|
+
{%- assign actual_faircookbook = nil %}
|
11
|
+
{%- for recipe in page.faircookbook %}
|
12
|
+
{%- if recipe.name %}
|
13
|
+
{%- assign actual_faircookbook = 1 %}
|
14
|
+
{%- endif %}
|
15
|
+
{%- endfor %}
|
16
|
+
{%- endif %}
|
17
|
+
{%- if page.fairsharing %}
|
18
|
+
{%- assign actual_fairsharing = nil %}
|
19
|
+
{%- for standard in page.fairsharing %}
|
20
|
+
{%- if standard.name %}
|
21
|
+
{%- assign actual_fairsharing = 1 %}
|
22
|
+
{%- endif %}
|
23
|
+
{%- endfor %}
|
24
|
+
{%- endif %}
|
25
|
+
{%- if page.dsw %}
|
26
|
+
{%- assign actual_dsw = nil %}
|
27
|
+
{%- for question in page.dsw %}
|
28
|
+
{%- if question.name %}
|
29
|
+
{%- assign actual_dsw = 1 %}
|
30
|
+
{%- endif %}
|
31
|
+
{%- endfor %}
|
32
|
+
{%- endif %}
|
33
|
+
{%- if page.rdmkit %}
|
34
|
+
{%- assign actual_rdmkit = nil %}
|
35
|
+
{%- for rdmdoc in page.rdmkit %}
|
36
|
+
{%- if rdmdoc.name %}
|
37
|
+
{%- assign actual_rdmkit = 1 %}
|
38
|
+
{%- endif %}
|
39
|
+
{%- endfor %}
|
40
|
+
{%- endif %}
|
41
|
+
{%- if actual_training or actual_faircookbook or actual_fairsharing or actual_dsw or actual_rdmkit %}
|
2
42
|
<!-- More information -->
|
3
43
|
<h2>More information</h2>
|
4
44
|
|
5
45
|
<div class="row row-cols-1 row-cols-md-2 g-4 mt-2">
|
6
|
-
{%- if
|
46
|
+
{%- if actual_training %}
|
7
47
|
<!-- Training -->
|
8
48
|
<div class="col">
|
9
49
|
<div class="card h-100 info-card">
|
@@ -40,14 +80,14 @@
|
|
40
80
|
</div>
|
41
81
|
</div>
|
42
82
|
{%- endif %}
|
43
|
-
{%- if
|
83
|
+
{%- if actual_faircookbook or actual_fairsharing or actual_dsw or actual_rdmkit %}
|
44
84
|
<!-- FAIR Cookbook and FAIRsharing -->
|
45
85
|
<div class="col">
|
46
86
|
<div class="card h-100 info-card">
|
47
87
|
<div class="card-header fw-bold">Links to other ELIXIR resources</div>
|
48
88
|
<div class="card-body">
|
49
89
|
<ul class="list-unstyled">
|
50
|
-
{%- if
|
90
|
+
{%- if actual_faircookbook %}
|
51
91
|
{%- for recipe in page.faircookbook %}
|
52
92
|
<li class="d-grid">
|
53
93
|
<a class="btn bg-white hover-primary text-start" data-bs-toggle="tooltip" data-bs-placement="right" title="FAIRCookbook" href="{{ recipe.url }}">
|
@@ -63,7 +103,7 @@
|
|
63
103
|
</li>
|
64
104
|
{%- endfor %}
|
65
105
|
{%- endif %}
|
66
|
-
{%- if
|
106
|
+
{%- if actual_dsw %}
|
67
107
|
{%- for question in page.dsw %}
|
68
108
|
<li class="d-grid">
|
69
109
|
<a class="btn bg-white hover-primary text-start" data-bs-toggle="tooltip" data-bs-placement="right" title="DSW" href="{{ site.dsw_deep_link_prefix | append: question.uuid }}">
|
@@ -79,7 +119,7 @@
|
|
79
119
|
</li>
|
80
120
|
{%- endfor %}
|
81
121
|
{%- endif %}
|
82
|
-
{%- if
|
122
|
+
{%- if actual_fairsharing %}
|
83
123
|
{%- for standard in page.fairsharing %}
|
84
124
|
<li class="d-grid">
|
85
125
|
<a class="btn bg-white hover-primary text-start" data-bs-toggle="tooltip" data-bs-placement="right" title="FAIRsharing" href="{{ standard.url }}">
|
@@ -95,7 +135,7 @@
|
|
95
135
|
</li>
|
96
136
|
{%- endfor %}
|
97
137
|
{%- endif %}
|
98
|
-
{%- if
|
138
|
+
{%- if actual_rdmkit %}
|
99
139
|
{%- for rdmdoc in page.rdmkit %}
|
100
140
|
<li class="d-grid">
|
101
141
|
<a class="btn bg-white hover-primary text-start" data-bs-toggle="tooltip" data-bs-placement="right" title="RDMkit" href="{{ rdmdoc.url }}">
|
data/_includes/topnav.html
CHANGED
@@ -43,7 +43,13 @@
|
|
43
43
|
</li>
|
44
44
|
{%- endfor %}
|
45
45
|
{%- if topnav.subitems.size > 1 %}
|
46
|
-
|
46
|
+
{%- assign topnav_theme = site.theme_variables.topnav.theme | default: "light" %}
|
47
|
+
{%- if topnav_theme == "light" %}
|
48
|
+
{%- assign break_color = "dark" %}
|
49
|
+
{%- else %}
|
50
|
+
{%- assign break_color = "light" %}
|
51
|
+
{%- endif -%}
|
52
|
+
<li class="nav-item ms-0 ms-lg-3 mt-2 mt-lg-0 nav-break bg-{{break_color}} opacity-25"></li>
|
47
53
|
{%- endif %}
|
48
54
|
{%- if site.theme_variables.topnav.twitter %}
|
49
55
|
<li class="nav-item ms-0 ms-lg-3 mt-2 mt-lg-0">
|
data/assets/css/main.scss
CHANGED
@@ -6,6 +6,9 @@ permalink: assets/css/main.css
|
|
6
6
|
/*-----Default theme variables-----*/
|
7
7
|
$popover-max-width: 12em;
|
8
8
|
$enable-caret: false;
|
9
|
+
|
10
|
+
/*-----Include other SASS files-----*/
|
11
|
+
|
9
12
|
@import "bootstrap_variables";
|
10
13
|
@import "bootstrap/bootstrap";
|
11
14
|
@import "variables";
|
@@ -160,7 +163,7 @@ header .navbar {
|
|
160
163
|
transition: transform 0.2s ease-in-out;
|
161
164
|
}
|
162
165
|
|
163
|
-
.dropdown-toggle[aria-expanded=
|
166
|
+
.dropdown-toggle[aria-expanded=true]::after {
|
164
167
|
transform: rotate(-180deg);
|
165
168
|
}
|
166
169
|
|
@@ -174,8 +177,6 @@ header .navbar {
|
|
174
177
|
@media (max-width: 992px) {
|
175
178
|
height: 1px;
|
176
179
|
}
|
177
|
-
|
178
|
-
background-color: rgba($navbar-{{site.theme_variables.topnav.theme | default: "light"}}-color, 0.3);
|
179
180
|
}
|
180
181
|
|
181
182
|
/*-----Search box top navigation-----*/
|
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.20.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-10-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|