elixir-toolkit-theme 1.20.1 → 1.20.2

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: 6b2909f9d288cb7fddbb90ff05c04339e2fffa7eb94c290fa8c6baaec1badd92
4
- data.tar.gz: 22396fd3c9652c9d19285b6b548857128655be3570a09f28221d55455304c9ea
3
+ metadata.gz: d5fcc660dab4b50073fa05e71168645aa4e38bc6d510b9f9a0772b8d435ac067
4
+ data.tar.gz: b30e3f399b5e0166ce5ce1c9ea92cb9d83667c1e68c3d5b4cf59621a9f7472c3
5
5
  SHA512:
6
- metadata.gz: 7bdaf4ca8cfbdd068efffc25a999bca9f7c7d3a106873d2d500911c52dea81050cf19f95f50a8d068e0e0fad7672bc4cbf3385f9f5578147514227249811e915
7
- data.tar.gz: bb262a939975cb2804390a527d2c1dbb65a45f990a251cab104086cf2736643935a771832c468095659ac77c5b9e0e1c99129faeb31e765d524215c9b7a4be13
6
+ metadata.gz: f0c273de1499106f1d94372f426078658e0589cf50e32f0a11ef9470af638dd4d931963b26ca2458ab038ff8b46215a94cacf38971ae3ed281eb5448855d8aed
7
+ data.tar.gz: 8d12980b246dfbae841fc5506ed27e245d71258486ed6124b441d98f6bb1410684f68a1baf4a362c91d78871c221a4cb343bff063074d152db358d764e3181ac
data/README.md CHANGED
@@ -108,6 +108,7 @@ This will start the docker container and serve the website locally. Make sure th
108
108
  - [Applied Bioinformatics and Biostatistics intranet page](https://intranet.psb.ugent.be/abb/)
109
109
  - [FAIRDOM](https://fair-dom.org/)
110
110
  - [Australian BioCommons How-to-Guides](https://australianbiocommons.github.io/how-to-guides/)
111
+ - [Human 'Omics Data Sharing Field Guide](https://australianbiocommons.github.io/human-omics-data-sharing-field-guide/)
111
112
 
112
113
  ## Used packages
113
114
 
@@ -49,33 +49,31 @@
49
49
  <div class="card h-100 info-card">
50
50
  <div class="card-header fw-bold">Training</div>
51
51
  <div class="card-body">
52
- <ul class="list-unstyled">
52
+ <div class="d-grid gap-2">
53
53
  {%- for training in page.training %}
54
- <li class="d-grid">
55
- <a class="btn bg-white hover-primary text-start" href="{{ training.url }}">
56
- <div class="row g-1">
57
- <div class="col-2 d-flex align-items-center justify-content-center">
58
- {%- assign registry = training.registry | downcase %}
59
- {%- if registry == "tess" %}
60
- <img alt="TeSS logo" class="img-fluid" src="{{ 'assets/img/tess_logo.svg' | relative_url }}">
61
- {%- elsif registry == "zenodo" %}
62
- <img alt="Zenodo logo" class="img-fluid" src="{{ 'assets/img/zenodo_logo.svg' | relative_url }}">
63
- {%- elsif registry == "youtube" %}
64
- <img alt="Youtube logo" class="img-fluid" src="{{ 'assets/img/youtube_logo.svg' | relative_url }}">
65
- {%- elsif registry == "carpentries" %}
66
- <img alt="Carpentries" class="img-fluid" src="{{ 'assets/img/carpentries_logo.svg' | relative_url }}">
67
- {%- else %}
68
- <i class="fa-solid fa-external-link-alt text-primary fs-5"></i>
69
- {%- endif %}
70
- </div>
71
- <div class="col-10 d-flex align-items-center">
72
- <span class="text-start">{{training.name}}</span>
73
- </div>
54
+ <a class="btn bg-white hover-primary text-start d-block" href="{{ training.url }}">
55
+ <div class="row g-1">
56
+ <div class="col-2 d-flex align-items-center justify-content-center">
57
+ {%- assign registry = training.registry | downcase %}
58
+ {%- if registry == "tess" %}
59
+ <img alt="TeSS logo" class="img-fluid" src="{{ 'assets/img/tess_logo.svg' | relative_url }}">
60
+ {%- elsif registry == "zenodo" %}
61
+ <img alt="Zenodo logo" class="img-fluid" src="{{ 'assets/img/zenodo_logo.svg' | relative_url }}">
62
+ {%- elsif registry == "youtube" %}
63
+ <img alt="Youtube logo" class="img-fluid" src="{{ 'assets/img/youtube_logo.svg' | relative_url }}">
64
+ {%- elsif registry == "carpentries" %}
65
+ <img alt="Carpentries" class="img-fluid" src="{{ 'assets/img/carpentries_logo.svg' | relative_url }}">
66
+ {%- else %}
67
+ <i class="fa-solid fa-external-link-alt text-primary fs-5"></i>
68
+ {%- endif %}
74
69
  </div>
75
- </a>
76
- </li>
70
+ <div class="col-10 d-flex align-items-center">
71
+ <span class="text-start">{{training.name}}</span>
72
+ </div>
73
+ </div>
74
+ </a>
77
75
  {%- endfor %}
78
- </ul>
76
+ </div>
79
77
  </div>
80
78
  </div>
81
79
  </div>
@@ -86,72 +84,64 @@
86
84
  <div class="card h-100 info-card">
87
85
  <div class="card-header fw-bold">Links to other ELIXIR resources</div>
88
86
  <div class="card-body">
89
- <ul class="list-unstyled">
87
+ <div class="d-grid gap-2">
90
88
  {%- if actual_faircookbook %}
91
89
  {%- for recipe in page.faircookbook %}
92
- <li class="d-grid">
93
- <a class="btn bg-white hover-primary text-start" data-bs-toggle="tooltip" data-bs-placement="right" title="FAIRCookbook" href="{{ recipe.url }}">
94
- <div class="row g-1">
95
- <div class="col-2 d-flex align-items-center justify-content-center">
96
- <img alt="FAIRCookbook logo" class="img-fluid" src="{{ 'assets/img/fairplus_compact_logo.svg' | relative_url }}">
97
- </div>
98
- <div class="col-10 d-flex align-items-center">
99
- <span class="text-start">Step-by-step process for: {{recipe.name}}</span>
100
- </div>
90
+ <a class="btn bg-white hover-primary text-start d-block" data-bs-toggle="tooltip" data-bs-placement="right" title="FAIRCookbook" href="{{ recipe.url }}">
91
+ <div class="row g-1">
92
+ <div class="col-2 d-flex align-items-center justify-content-center">
93
+ <img alt="FAIRCookbook logo" class="img-fluid" src="{{ 'assets/img/fairplus_compact_logo.svg' | relative_url }}">
94
+ </div>
95
+ <div class="col-10 d-flex align-items-center">
96
+ <span class="text-start">Step-by-step process for: {{recipe.name}}</span>
101
97
  </div>
102
- </a>
103
- </li>
98
+ </div>
99
+ </a>
104
100
  {%- endfor %}
105
101
  {%- endif %}
106
102
  {%- if actual_dsw %}
107
103
  {%- for question in page.dsw %}
108
- <li class="d-grid">
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 }}">
110
- <div class="row g-1">
111
- <div class="col-2 d-flex align-items-center justify-content-center">
112
- <img alt="DSW logo" class="img-fluid" src="{{ 'assets/img/dsw_compact_logo.svg' | relative_url }}">
113
- </div>
114
- <div class="col-10 d-flex align-items-center">
115
- <span class="text-start">Support for DMP on: {{question.name}}</span>
116
- </div>
104
+ <a class="btn bg-white hover-primary text-start d-block" data-bs-toggle="tooltip" data-bs-placement="right" title="DSW" href="{{ site.dsw_deep_link_prefix | append: question.uuid }}">
105
+ <div class="row g-1">
106
+ <div class="col-2 d-flex align-items-center justify-content-center">
107
+ <img alt="DSW logo" class="img-fluid" src="{{ 'assets/img/dsw_compact_logo.svg' | relative_url }}">
108
+ </div>
109
+ <div class="col-10 d-flex align-items-center">
110
+ <span class="text-start">Support for DMP on: {{question.name}}</span>
117
111
  </div>
118
- </a>
119
- </li>
112
+ </div>
113
+ </a>
120
114
  {%- endfor %}
121
115
  {%- endif %}
122
116
  {%- if actual_fairsharing %}
123
117
  {%- for standard in page.fairsharing %}
124
- <li class="d-grid">
125
- <a class="btn bg-white hover-primary text-start" data-bs-toggle="tooltip" data-bs-placement="right" title="FAIRsharing" href="{{ standard.url }}">
126
- <div class="row g-1">
127
- <div class="col-2 d-flex align-items-center justify-content-center">
128
- <img alt="FAIRsharing logo" class="img-fluid" src="{{ 'assets/img/fairsharing_compact_logo.svg' | relative_url }}">
129
- </div>
130
- <div class="col-10 d-flex align-items-center">
131
- <span class="text-start">FAIRsharing collection about: {{standard.name}}</span>
132
- </div>
118
+ <a class="btn bg-white hover-primary text-start d-block" data-bs-toggle="tooltip" data-bs-placement="right" title="FAIRsharing" href="{{ standard.url }}">
119
+ <div class="row g-1">
120
+ <div class="col-2 d-flex align-items-center justify-content-center">
121
+ <img alt="FAIRsharing logo" class="img-fluid" src="{{ 'assets/img/fairsharing_compact_logo.svg' | relative_url }}">
133
122
  </div>
134
- </a>
135
- </li>
123
+ <div class="col-10 d-flex align-items-center">
124
+ <span class="text-start">FAIRsharing collection about: {{standard.name}}</span>
125
+ </div>
126
+ </div>
127
+ </a>
136
128
  {%- endfor %}
137
129
  {%- endif %}
138
130
  {%- if actual_rdmkit %}
139
131
  {%- for rdmdoc in page.rdmkit %}
140
- <li class="d-grid">
141
- <a class="btn bg-white hover-primary text-start" data-bs-toggle="tooltip" data-bs-placement="right" title="RDMkit" href="{{ rdmdoc.url }}">
142
- <div class="row g-1">
143
- <div class="col-2 d-flex align-items-center justify-content-center">
144
- <img alt="RDMkit logo" class="img-fluid" src="{{ 'assets/img/rdmkit_compact_logo.svg' | relative_url }}">
145
- </div>
146
- <div class="col-10 d-flex align-items-center">
147
- <span class="text-start">Data management guidelines on: {{rdmdoc.name}}</span>
148
- </div>
132
+ <a class="btn bg-white hover-primary text-start d-block" data-bs-toggle="tooltip" data-bs-placement="right" title="RDMkit" href="{{ rdmdoc.url }}">
133
+ <div class="row g-1">
134
+ <div class="col-2 d-flex align-items-center justify-content-center">
135
+ <img alt="RDMkit logo" class="img-fluid" src="{{ 'assets/img/rdmkit_compact_logo.svg' | relative_url }}">
136
+ </div>
137
+ <div class="col-10 d-flex align-items-center">
138
+ <span class="text-start">Data management guidelines on: {{rdmdoc.name}}</span>
149
139
  </div>
150
- </a>
151
- </li>
140
+ </div>
141
+ </a>
152
142
  {%- endfor %}
153
143
  {%- endif %}
154
- </ul>
144
+ </div>
155
145
  </div>
156
146
  </div>
157
147
  </div>
@@ -17,17 +17,17 @@
17
17
  <div class="card h-100 info-card">
18
18
  <div class="card-header fw-bold">{{ section[0] | replace: "_", " " | capitalize }}</div>
19
19
  <div class="card-body">
20
- <ul class="list-unstyled">
20
+ <div class="d-grid gap-2">
21
21
  {%- for page_id in section[1] %}
22
22
  {%- assign section_pages = site.pages | where:"type", section[0] %}
23
23
  {%- assign metadata = section_pages | where:"page_id", page_id %}
24
24
  {%- for page_hit in metadata %}
25
- <li class="d-grid">
26
- <a class="btn bg-white hover-primary text-start" href="{{ page_hit.url | relative_url }}"><span>{{page_hit.title}}{% if page_hit.description %}</span><br><small class="text-muted">{{ page_hit.description }}</small>{% endif %}</a>
27
- </li>
25
+ <a class="btn bg-white hover-primary text-start d-block" href="{{ page_hit.url | relative_url }}">
26
+ <span>{{page_hit.title}}{% if page_hit.description %}</span><br><small class="text-muted">{{ page_hit.description }}</small>{% endif %}
27
+ </a>
28
28
  {%- endfor %}
29
29
  {%- endfor %}
30
- </ul>
30
+ </div>
31
31
  </div>
32
32
  </div>
33
33
  </div>
@@ -140,7 +140,7 @@
140
140
  <div class="me-3">
141
141
  <span class="me-2"><b><small>Affiliations:</small></b></span>
142
142
  {%- for affiliation in current_page.affiliations %}
143
- {%- assign filter_affiliation = alllogos | where: "name", affiliation %}
143
+ {%- assign filter_affiliation = alllogos | where: "name", affiliation | first %}
144
144
  {%- assign country = affiliation | upcase %}
145
145
  {%- if affiliation.size == 2 %}
146
146
  {%- assign country_link = site.pages | where:"country_code",country | first %}
@@ -153,14 +153,16 @@
153
153
  <span class="flag-icon flag-icon-{{affiliation | downcase}} align-items-center"></span>
154
154
  </div>
155
155
  </a>
156
- {%- elsif filter_affiliation %}
157
- {%- for result in filter_affiliation %}
158
- <a role="button" href="{{result.url}}" data-bs-toggle="tooltip" data-bs-original-title="{{affiliation}}" class="btn btn-sm bg-white hover-primary">
159
- <img alt="logo of {{result.name}}" src="{{result.image_url | relative_url }}" class="d-inline h-24px">
160
- </a>
161
- {%- endfor %}
156
+ {%- elsif filter_affiliation %}
157
+ <a role="button" href="{{filter_affiliation.url}}" data-bs-toggle="tooltip" data-bs-original-title="{{affiliation}}" class="btn btn-sm bg-white hover-primary">
158
+ {%- if filter_affiliation.image_url %}
159
+ <img alt="logo of {{filter_affiliation.name}}" src="{{filter_affiliation.image_url | relative_url }}" class="d-inline h-24px">
160
+ {%- else %}
161
+ {{filter_affiliation.name}}
162
162
  {%- endif %}
163
- {%- endfor %}
163
+ </a>
164
+ {%- endif %}
165
+ {%- endfor %}
164
166
  </div>
165
167
  </div>
166
168
  {%- endif %}
data/assets/css/main.scss CHANGED
@@ -170,11 +170,11 @@ header .navbar {
170
170
  // Break line in top navigation
171
171
 
172
172
  .nav-break {
173
- @media (min-width: 992px) {
173
+ @include media-breakpoint-up(lg) {
174
174
  width: 1px;
175
175
  }
176
176
 
177
- @media (max-width: 992px) {
177
+ @include media-breakpoint-down(lg) {
178
178
  height: 1px;
179
179
  }
180
180
  }
@@ -210,7 +210,7 @@ header .navbar {
210
210
  }
211
211
  }
212
212
 
213
- @media (max-width: 992px) {
213
+ @include media-breakpoint-down(lg) {
214
214
  .search-results {
215
215
  width: 100%;
216
216
  }
@@ -282,7 +282,7 @@ header .navbar {
282
282
 
283
283
  /*-----Sidebar-----*/
284
284
 
285
- @media (min-width: 992px) {
285
+ @include media-breakpoint-up(lg) {
286
286
  #side-nav {
287
287
  display: block !important;
288
288
  }
@@ -522,7 +522,7 @@ footer {
522
522
  width: 3%;
523
523
  }
524
524
 
525
- @media (max-width: 768px) {
525
+ @include media-breakpoint-down(md) {
526
526
  #contributors-carousel .card-title {
527
527
  font-size: 0.5em;
528
528
  }
@@ -546,7 +546,7 @@ footer {
546
546
  text-align: center;
547
547
  }
548
548
 
549
- @media (max-width: 768px) {
549
+ @include media-breakpoint-down(md) {
550
550
  #contributors-carousel .social-icons {
551
551
  line-height: 1.2ex;
552
552
  width: 1.2ex;
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.20.1
4
+ version: 1.20.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - bedroesb
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-10-25 00:00:00.000000000 Z
11
+ date: 2022-11-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll