elixir-toolkit-theme 1.18.0 → 1.19.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: 702636aa170b2e75631a12f0d9be59517201ed939f85f05ad55995605eebfdd0
4
- data.tar.gz: 3b65284656f88bd3ef65100136314bf63b8b26673e6f0209a2fe03e021fb935b
3
+ metadata.gz: 8974445df1cfdf69a5a0bc624bebace7dc8dd1d3865d28001b6098be12dd4d48
4
+ data.tar.gz: 4aa16186b7890329f81bd5766e042e1b098c3f7c438061ffed2e49bd9278c568
5
5
  SHA512:
6
- metadata.gz: '007482963824a42c21fed1785de053c989aaf7d3a1c09f5524d29ff3a63051dbb6678765d743c8b707908a4eda36288f375743797b8926871d34fd2e80e377d0'
7
- data.tar.gz: c7e480e1f14b95d2be8f990fbc15bb79663049cfe46e95b69135fac6ab7a19471c83f70649ec184a7e4992d47246902efcaa87729bee9d8635a90107f9fef394
6
+ metadata.gz: fc9d21cbe26bf4978d51009ccb97b8ccc9701c2ed3adc6abd087d99c3600c792a109cbccc333dec8ae6ef75cd8f9946f2507e20421a1987d3c8d7c24ccd41b96
7
+ data.tar.gz: b9043913369071d3ec4eb0dbebec2ef01d07bae10dd0d78c9bd92c156e4b65b91a6104b4deb2ad1d01bcfbd03867a5a66cc9d113430381e5560688c675167f1d
data/_includes/head.html CHANGED
@@ -6,7 +6,7 @@
6
6
  {%- capture keywords %}
7
7
  {%- if page.related_pages %}
8
8
  {%- for section in page.related_pages %}
9
- {%- unless section[1] == nil %}
9
+ {%- unless section[1].size == 0 %}
10
10
  {%- for keywordstr in section[1] %}
11
11
  {%- assign keywordpage = site.pages | where: "page_id", keywordstr | first %}
12
12
  {%- if allkeywords %}
@@ -17,13 +17,13 @@
17
17
  <div class="col-2 d-flex align-items-center justify-content-center">
18
18
  {%- assign registry = training.registry | downcase %}
19
19
  {%- if registry == "tess" %}
20
- <img alt="TeSS logo" class="img-fluid" src="assets/img/tess_logo.svg">
20
+ <img alt="TeSS logo" class="img-fluid" src="{{ 'assets/img/tess_logo.svg' | relative_url }}">
21
21
  {%- elsif registry == "zenodo" %}
22
- <img alt="Zenodo logo" class="img-fluid" src="assets/img/zenodo_logo.svg">
22
+ <img alt="Zenodo logo" class="img-fluid" src="{{ 'assets/img/zenodo_logo.svg' | relative_url }}">
23
23
  {%- elsif registry == "youtube" %}
24
- <img alt="Youtube logo" class="img-fluid" src="assets/img/youtube_logo.svg">
24
+ <img alt="Youtube logo" class="img-fluid" src="{{ 'assets/img/youtube_logo.svg' | relative_url }}">
25
25
  {%- elsif registry == "carpentries" %}
26
- <img alt="Carpentries" class="img-fluid" src="assets/img/carpentries_logo.svg">
26
+ <img alt="Carpentries" class="img-fluid" src="{{ 'assets/img/carpentries_logo.svg' | relative_url }}">
27
27
  {%- else %}
28
28
  <i class="fa-solid fa-external-link-alt text-primary fs-5"></i>
29
29
  {%- endif %}
@@ -53,7 +53,7 @@
53
53
  <a class="btn bg-white hover-primary text-start" data-bs-toggle="tooltip" data-bs-placement="right" title="FAIRCookbook" href="{{ recipe.url }}">
54
54
  <div class="row g-1">
55
55
  <div class="col-2 d-flex align-items-center justify-content-center">
56
- <img alt="FAIRCookbook logo" class="img-fluid" src="assets/img/fairplus_compact_logo.svg">
56
+ <img alt="FAIRCookbook logo" class="img-fluid" src="{{ 'assets/img/fairplus_compact_logo.svg' | relative_url }}">
57
57
  </div>
58
58
  <div class="col-10 d-flex align-items-center">
59
59
  <span class="text-start">Step-by-step process for: {{recipe.name}}</span>
@@ -69,7 +69,7 @@
69
69
  <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 }}">
70
70
  <div class="row g-1">
71
71
  <div class="col-2 d-flex align-items-center justify-content-center">
72
- <img alt="DSW logo" class="img-fluid" src="assets/img/dsw_compact_logo.svg">
72
+ <img alt="DSW logo" class="img-fluid" src="{{ 'assets/img/dsw_compact_logo.svg' | relative_url }}">
73
73
  </div>
74
74
  <div class="col-10 d-flex align-items-center">
75
75
  <span class="text-start">Support for DMP on: {{question.name}}</span>
@@ -85,7 +85,7 @@
85
85
  <a class="btn bg-white hover-primary text-start" data-bs-toggle="tooltip" data-bs-placement="right" title="FAIRsharing" href="{{ standard.url }}">
86
86
  <div class="row g-1">
87
87
  <div class="col-2 d-flex align-items-center justify-content-center">
88
- <img alt="FAIRsharing logo" class="img-fluid" src="assets/img/fairsharing_compact_logo.svg">
88
+ <img alt="FAIRsharing logo" class="img-fluid" src="{{ 'assets/img/fairsharing_compact_logo.svg' | relative_url }}">
89
89
  </div>
90
90
  <div class="col-10 d-flex align-items-center">
91
91
  <span class="text-start">FAIRsharing collection about: {{standard.name}}</span>
@@ -101,7 +101,7 @@
101
101
  <a class="btn bg-white hover-primary text-start" data-bs-toggle="tooltip" data-bs-placement="right" title="RDMkit" href="{{ rdmdoc.url }}">
102
102
  <div class="row g-1">
103
103
  <div class="col-2 d-flex align-items-center justify-content-center">
104
- <img alt="RDMkit logo" class="img-fluid" src="assets/img/rdmkit_compact_logo.svg">
104
+ <img alt="RDMkit logo" class="img-fluid" src="{{ 'assets/img/rdmkit_compact_logo.svg' | relative_url }}">
105
105
  </div>
106
106
  <div class="col-10 d-flex align-items-center">
107
107
  <span class="text-start">Data management guidelines on: {{rdmdoc.name}}</span>
data/_includes/news.html CHANGED
@@ -1,6 +1,6 @@
1
1
  <div class="news">
2
2
  {%- if include.title == true %}
3
- <h2>Whats new?</h2>
3
+ <h2>What's new?</h2>
4
4
  {%- endif %}
5
5
  {%- assign news = site.data.news | sort: "date" %}
6
6
  {%- assign count = 0 %}
@@ -23,7 +23,7 @@
23
23
  {%- assign metadata = section_pages | where:"page_id", page_id %}
24
24
  {%- for page_hit in metadata %}
25
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 | capitalize }}</small>{% endif %}</a>
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
27
  </li>
28
28
  {%- endfor %}
29
29
  {%- endfor %}
@@ -120,7 +120,7 @@
120
120
  {%- if tool.related_pages %}
121
121
  {%- capture related_pages %}
122
122
  {%- for section in tool.related_pages %}
123
- {%- unless section.size == 0 %}
123
+ {%- unless section[1].size == 0 %}
124
124
  {%- for tag in section[1] %}
125
125
  {%- unless tag == page.page_id %}
126
126
  {%- assign related_page = site.pages | where:"page_id",tag | first %}
@@ -40,7 +40,7 @@
40
40
  {%- if tool.related_pages %}
41
41
  {%- capture related_pages %}
42
42
  {%- for section in tool.related_pages %}
43
- {%- unless section.size == 0 %}
43
+ {%- unless section[1].size == 0 %}
44
44
  {%- for tag in section[1] %}
45
45
  {%- unless tag == page.page_id %}
46
46
  {%- assign related_page = site.pages | where:"page_id",tag | first %}
@@ -37,7 +37,7 @@
37
37
  <div class="col">
38
38
  <div class="input-group">
39
39
  <span class="input-group-text" id="search-label">Search</span>
40
- <input type="text" id="title-search" class="form-control" onkeyup="buttonUp();" placeholder="Type here..." aria-label="{{page.type | replace: '_', ' ' |}}" aria-describedby="search-label">
40
+ <input type="text" id="title-search" class="form-control" onkeyup="StartSearch();" placeholder="Type here..." aria-label="{{page.type | replace: '_', ' ' |}}" aria-describedby="search-label">
41
41
  <button class="btn btn-primary" title="Button to clear search" type="button" id="clearsearch">
42
42
  <i class="fa-solid fa-backspace"></i>
43
43
  </button>
@@ -63,7 +63,7 @@
63
63
  <div class="col" data-affiliations="{{affiliations_classes}}" related-pages="{{related_pages_classes}}">
64
64
  <div class="card h-100">
65
65
  <div class="card-header">
66
- <a aria-label="Go to the {{current_page.title}} page" href="{{ current_page.url | relative_url }}">
66
+ <a class="stretched-link" aria-label="Go to the {{current_page.title}} page" href="{{ current_page.url | relative_url }}">
67
67
  <h3 class="card-title m-0">{{current_page.title}}</h3>
68
68
  </a>
69
69
  </div>
@@ -71,21 +71,64 @@
71
71
  {%- if current_page.description %}
72
72
  <p class="card-text">{{ current_page.description}}</p>
73
73
  {%- endif %}
74
+ </div>
75
+ <div class="px-3 pb-3 d-flex justify-content-between">
74
76
  {%- if current_page.related_pages %}
77
+ {%- assign nonempty = false %}
75
78
  {%- for section in current_page.related_pages %}
76
- {%- unless section[1] == nil %}
77
- <div>
78
- <span><b><small>{{ section[0] | replace: "_", " " | capitalize }}: </small></b></span>
79
- {%- for page_id in section[1] %}
80
- {%- assign section_pages = site.pages | where:"type", section[0] %}
81
- {%- assign metadata = section_pages | where:"page_id", page_id %}
82
- {%- for page_hit in metadata %}
83
- <a href="{{ page_hit.url | relative_url }}"><span class="badge">{{page_hit.title | truncate: 20 }}</span></a>
84
- {%- endfor %}
85
- {%- endfor %}
86
- </div>
79
+ {%- unless section[1].size == 0 %}
80
+ {%- assign nonempty = true %}
87
81
  {%- endunless %}
88
82
  {%- endfor %}
83
+ {%- if nonempty %}
84
+ <div class="dropdown">
85
+ <button class="btn btn-sm dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false">
86
+ Related pages
87
+ </button>
88
+ <ul class="dropdown-menu px-2 py-0 border-0 shadow">
89
+ {%- for section in current_page.related_pages %}
90
+ {%- unless section[1].size == 0 %}
91
+ <li><h6 class="dropdown-header">{{ section[0] | replace: "_", " " | capitalize }}</h6></li>
92
+ {%- for page_id in section[1] %}
93
+ {%- assign section_pages = site.pages | where:"type", section[0] %}
94
+ {%- assign metadata = section_pages | where:"page_id", page_id %}
95
+ {%- for page_hit in metadata %}
96
+ <li><a class="dropdown-item rounded" href="{{ page_hit.url | relative_url }}">{{page_hit.title }}</a></li>
97
+ {%- endfor %}
98
+ {%- endfor %}
99
+ {%- endunless %}
100
+ {%- endfor %}
101
+ </ul>
102
+ </div>
103
+ {%- endif %}
104
+ {%- endif %}
105
+ {%- if current_page.dsw or current_page.faircookbook %}
106
+ <div class="btn-group btn-group-sm" role="group">
107
+ {%- if current_page.faircookbook %}
108
+ <div class="btn-group btn-group-sm" role="group">
109
+ <button class="btn dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false">
110
+ <img alt="faircookbook logo" src="{{ 'assets/img/fairplus_compact_logo.svg' | relative_url }}">
111
+ </button>
112
+ <ul class="dropdown-menu px-2 py-0 border-0 shadow">
113
+ {%- for item in current_page.faircookbook %}
114
+ <li><a class="dropdown-item rounded" href="{{ item.url }}">{{item.name }}</a></li>
115
+ {%- endfor %}
116
+ </ul>
117
+ </div>
118
+ {%- endif %}
119
+ {%- if current_page.dsw %}
120
+ <div class="btn-group btn-group-sm" role="group">
121
+ <button class="btn dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false">
122
+ <img alt="DSW logo" src="{{ 'assets/img/dsw_compact_logo.svg' | relative_url }}">
123
+ </button>
124
+ <ul class="dropdown-menu px-2 py-0 border-0 shadow">
125
+ {%- for item in current_page.dsw %}
126
+ <li><a class="dropdown-item rounded" href="{{ site.dsw_deep_link_prefix | append: item.uuid }}">{{item.name }}</a></li>
127
+ {%- endfor %}
128
+ </ul>
129
+ </div>
130
+ {%- endif %}
131
+ </div>
89
132
  {%- endif %}
90
133
  </div>
91
134
  {%- if current_page.affiliations %}
@@ -100,7 +143,7 @@
100
143
  {%- if affiliation.size == 2 %}
101
144
  {%- assign country_link = site.pages | where:"country_code",country | first %}
102
145
  {%- if country_link %}
103
- <a role="button" href="{{country_link.url}}" data-bs-toggle="tooltip" title="{{allcountries[country]}}" class="btn btn-sm bg-white hover-primary">
146
+ <a role="button" href="{{'country_link.url' | relative_url}}" data-bs-toggle="tooltip" title="{{allcountries[country]}}" class="btn btn-sm bg-white hover-primary">
104
147
  {%- else %}
105
148
  <a role="button" data-bs-toggle="tooltip" title="{{allcountries[country]}}" class="btn btn-sm bg-white hover-primary disabled" aria-disabled="true">
106
149
  {%- endif %}
@@ -171,7 +214,7 @@
171
214
  * Search cards
172
215
  */
173
216
 
174
- var buttonUp = () => {
217
+ var StartSearch = () => {
175
218
  const input = document.getElementById("title-search");
176
219
  if (input) {
177
220
  const cols = document.querySelectorAll(".navigation-tiles .col");
@@ -2,7 +2,7 @@
2
2
  <header>
3
3
  <a class="visually-hidden-focusable" href='#main'>Skip to content</a>
4
4
  <a class="visually-hidden-focusable" href='#footer'>Skip to footer</a>
5
- <nav class="navbar navbar-expand-lg mb-3 mb-lg-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
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>
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">
@@ -55,6 +55,7 @@
55
55
  <a class="nav-link ps-2 d-flex align-items-center" href="{{site.github.repository_url}}"><i class="fa-brands fa-github me-2"></i>{{site.theme_variables.git_host | default: 'GitHub' }}</a>
56
56
  </li>
57
57
  {%- endif %}
58
+ {%- unless include.search == false %}
58
59
  <!--start search-->
59
60
  <li class="nav-item ms-0 ms-lg-3 my-2 my-lg-0">
60
61
  <div class="position-relative">
@@ -65,6 +66,7 @@
65
66
  </div>
66
67
  </li>
67
68
  <!--end search-->
69
+ {%- endunless %}
68
70
  </ul>
69
71
  </div>
70
72
  </div>
@@ -6,5 +6,3 @@ $dark: #212529;
6
6
 
7
7
  /*-----Custom values for Bootstrap variables-----*/
8
8
  $link-decoration: none;
9
- $nav-link-color: $dark;
10
- $nav-link-hover-color: $primary;
@@ -4,7 +4,6 @@
4
4
 
5
5
  .btn {
6
6
  display: inline-block;
7
- align-self: center;
8
7
  font-family: $btn-font-family;
9
8
  font-weight: $btn-font-weight;
10
9
  line-height: $btn-line-height;
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Bootstrap Grid v5.1.2 (https://getbootstrap.com/)
2
+ * Bootstrap Grid v5.1.3 (https://getbootstrap.com/)
3
3
  * Copyright 2011-2021 The Bootstrap Authors
4
4
  * Copyright 2011-2021 Twitter, Inc.
5
5
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Bootstrap Reboot v5.1.2 (https://getbootstrap.com/)
2
+ * Bootstrap Reboot v5.1.3 (https://getbootstrap.com/)
3
3
  * Copyright 2011-2021 The Bootstrap Authors
4
4
  * Copyright 2011-2021 Twitter, Inc.
5
5
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Bootstrap Utilities v5.1.2 (https://getbootstrap.com/)
2
+ * Bootstrap Utilities v5.1.3 (https://getbootstrap.com/)
3
3
  * Copyright 2011-2021 The Bootstrap Authors
4
4
  * Copyright 2011-2021 Twitter, Inc.
5
5
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Bootstrap v5.1.2 (https://getbootstrap.com/)
2
+ * Bootstrap v5.1.3 (https://getbootstrap.com/)
3
3
  * Copyright 2011-2021 The Bootstrap Authors
4
4
  * Copyright 2011-2021 Twitter, Inc.
5
5
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
data/assets/css/main.scss CHANGED
@@ -39,11 +39,11 @@ main {
39
39
  margin-top: $spacer * 1.5;
40
40
  }
41
41
 
42
- h3+h4 {
42
+ h3 + h4 {
43
43
  margin-top: $spacer * 0.25;
44
44
  }
45
45
 
46
- a:not(.btn) {
46
+ a:not(.btn):not(.dropdown-item) {
47
47
  overflow-wrap: break-word;
48
48
  word-wrap: break-word;
49
49
  -ms-word-break: break-all;
@@ -51,13 +51,12 @@ main {
51
51
 
52
52
  &:hover {
53
53
  text-decoration: underline;
54
-
55
54
  }
56
55
  }
57
56
 
58
57
  ol li,
59
58
  ul li {
60
- margin: 10px 0px;
59
+ margin: $spacer * .5 0;
61
60
 
62
61
  &::marker {
63
62
  color: $primary;
@@ -71,11 +70,11 @@ main {
71
70
  }
72
71
 
73
72
  .ff-body {
74
- font-family: $font-family-sans-serif !important;
73
+ font-family: $font-family-sans-serif !important;
75
74
  }
76
75
 
77
76
  .ff-theme {
78
- font-family: $font-family-theme !important;
77
+ font-family: $font-family-theme !important;
79
78
  }
80
79
 
81
80
  /*-----Blockquote-----*/
@@ -176,7 +175,7 @@ header .navbar {
176
175
  height: 1px;
177
176
  }
178
177
 
179
- background-color: rgba($nav-link-color, 0.3);
178
+ background-color: rgba($navbar-{{site.theme_variables.topnav.theme | default: "light"}}-color, 0.3);
180
179
  }
181
180
 
182
181
  /*-----Search box top navigation-----*/
@@ -264,7 +263,7 @@ header .navbar {
264
263
  vertical-align: top;
265
264
  }
266
265
 
267
- .search-result-preview+.search-result-preview {
266
+ .search-result-preview + .search-result-preview {
268
267
  margin-top: 0.25rem;
269
268
  }
270
269
 
@@ -303,21 +302,21 @@ header .navbar {
303
302
  background-color: $sidebar-bg-active;
304
303
  }
305
304
 
306
- #side-nav>ul {
307
- >li:not(.sidebar-title)>a {
305
+ #side-nav > ul {
306
+ > li:not(.sidebar-title) > a {
308
307
  background-color: $sidebar-bg;
309
308
  color: $sidebar-color;
310
309
  }
311
310
 
312
- li>a {
313
- >span {
311
+ li > a {
312
+ > span {
314
313
  float: right;
315
314
  width: 15px;
316
315
  margin-left: $btn-padding-x;
317
316
  text-align: center;
318
317
  }
319
318
 
320
- >span:after {
319
+ > span:after {
321
320
  display: inline-block;
322
321
  font-style: normal;
323
322
  font-variant: normal;
@@ -331,12 +330,12 @@ header .navbar {
331
330
  }
332
331
 
333
332
  li.active {
334
- &:not(.parent)>a {
333
+ &:not(.parent) > a {
335
334
  background-color: $sidebar-bg-active;
336
335
  color: $sidebar-color-active;
337
336
  }
338
337
 
339
- >a>span:after {
338
+ > a > span:after {
340
339
  transform: rotate(-180deg);
341
340
  }
342
341
  }
@@ -413,7 +412,7 @@ header .navbar {
413
412
 
414
413
  /*-----General table properties-----*/
415
414
 
416
- .table> :not(:first-child) {
415
+ .table > :not(:first-child) {
417
416
  border-color: inherit;
418
417
  }
419
418
 
@@ -459,12 +458,12 @@ footer {
459
458
  color: $footer-color;
460
459
 
461
460
  a {
462
- color: $footer-link-color !important;
461
+ color: $footer-link-color !important;
463
462
  font-weight: bold;
464
463
  }
465
464
 
466
465
  a:hover {
467
- color: $footer-link-color-hover !important;
466
+ color: $footer-link-color-hover !important;
468
467
  }
469
468
 
470
469
  h2 {
@@ -513,7 +512,6 @@ footer {
513
512
  color: $primary;
514
513
  font-size: 0.8em;
515
514
  }
516
-
517
515
  }
518
516
 
519
517
  /*-----Contributors carousel-----*/
@@ -569,7 +567,7 @@ footer {
569
567
  }
570
568
 
571
569
  .coordinator-crown {
572
- font-size: 0.60em;
570
+ font-size: 0.6em;
573
571
  width: 1.8em;
574
572
  height: 1.8em;
575
573
  line-height: 1.8;
@@ -609,11 +607,11 @@ footer {
609
607
  transition: all 500ms ease-out;
610
608
 
611
609
  a {
612
- color: $footer-link-color !important;
610
+ color: $footer-link-color !important;
613
611
  }
614
612
 
615
613
  a:hover {
616
- color: $footer-link-color-hover !important;
614
+ color: $footer-link-color-hover !important;
617
615
  }
618
616
  }
619
617
 
@@ -628,15 +626,15 @@ footer {
628
626
 
629
627
  .hover-primary:hover,
630
628
  .hover-primary:focus {
631
- background-color: $btn-primary-bg-hover !important;
629
+ background-color: $btn-primary-bg-hover !important;
632
630
  transition: $btn-transition;
633
- color: $btn-primary-color-hover !important;
631
+ color: $btn-primary-color-hover !important;
634
632
  }
635
633
 
636
634
  .text-hover-primary:hover,
637
635
  .text-hover-primary:focus {
638
636
  transition: $btn-transition;
639
- color: $primary !important;
637
+ color: $primary !important;
640
638
  }
641
639
 
642
640
  /*-----Size components-----*/
@@ -653,8 +651,8 @@ li.past_event,
653
651
  display: none;
654
652
  }
655
653
 
656
- .events>ul>li,
657
- .news>ul>li {
654
+ .events > ul > li,
655
+ .news > ul > li {
658
656
  border-left: $news-border-color 5px solid;
659
657
  border-radius: $border-radius;
660
658
  padding: 0px 11px;
@@ -674,7 +672,7 @@ li.past_event,
674
672
  display: inline-block;
675
673
  }
676
674
 
677
- .full-description>*:last-child {
675
+ .full-description > *:last-child {
678
676
  margin-bottom: 0;
679
677
 
680
678
  li {
@@ -696,12 +694,12 @@ li.past_event,
696
694
  a:hover {
697
695
  .text-muted {
698
696
  transition: $btn-transition;
699
- color: $white !important;
697
+ color: $white !important;
700
698
  }
701
699
 
702
700
  i {
703
701
  transition: $btn-transition;
704
- color: $white !important;
702
+ color: $white !important;
705
703
  }
706
704
  }
707
705
 
@@ -718,15 +716,15 @@ li.past_event,
718
716
  background-size: cover;
719
717
  }
720
718
 
721
-
722
719
  /*-----Section navigation tiles-----*/
723
720
 
724
721
  .navigation-tiles {
725
722
  .card {
726
723
  background-color: $nav-card-bg;
727
724
 
728
- .card-text {
729
- min-height: 4.5em;
725
+ a:not(.stretched-link), button:not(.stretched-link) {
726
+ z-index: 2;
727
+ position: relative;
730
728
  }
731
729
 
732
730
  .card-header {
@@ -737,15 +735,16 @@ li.past_event,
737
735
  }
738
736
  }
739
737
 
740
- .badge {
741
- font-weight: inherit;
738
+ button {
742
739
  background-color: $nav-card-badge-bg;
743
740
  color: $nav-card-badge-color;
744
- }
745
-
746
- .badge:hover {
747
- color: $nav-card-badge-color-hover;
748
- background-color: $nav-card-badge-bg-hover;
741
+ &:hover {
742
+ color: $nav-card-badge-color-hover;
743
+ background-color: $nav-card-badge-bg-hover;
744
+ }
745
+ img {
746
+ height: 1.2em;
747
+ }
749
748
  }
750
749
  }
751
750
  }
@@ -759,4 +758,3 @@ iframe.scale {
759
758
  }
760
759
 
761
760
  @import "custom_classes";
762
-