elixir-toolkit-theme 3.0.0 → 3.0.1

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: 4df02358a1652000ceb9b7a533633a3a8e8d13adf360cf24ac16b8449656c065
4
- data.tar.gz: c40220fd4df7b25b67dae45c4929dd0a60307b9c201bbebefa02667c4a88d9fe
3
+ metadata.gz: 18f2b7802a31a673f5d0d4232c4235bc86d7ff4169db5c0270e5017bd80b535f
4
+ data.tar.gz: c990255758736b6476e3cfb667338213f9a4daca9117f3714cd5e9c4d95d1b8c
5
5
  SHA512:
6
- metadata.gz: a80a7bfde86d9da466a492da92426c5d6ad0e80def5c62bfcfcad9e1e43654b1997e7a845ca42b0ffaec0e4d3f6b047a264b23f36f77a9b6ccb0ad1db919edf5
7
- data.tar.gz: c8006541b91f6921a7251376e07ee51c52ab731b4fe6672e986648dcc433bdf9cab1a2cc1667fb9a85a0867f4158c7d0b5879c3c663b00a568e7e49b820e27eb
6
+ metadata.gz: 60960c7909ca35d8d2498c38b90eba958433c689c2a5447d8a9fca51c2d4e98be319719fd0d47ba9a4c593da8eaa72757f0fbc8cc79219d7a518be1d18d8eb05
7
+ data.tar.gz: e52479e152364cf1fb9645c4906feb1e41c5c5a36da8794023657f9b8b234401575ca373408703d4da7000b10573bb57b354b728115b198a06d39fe8ffca8913
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 pages
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
- - Support for Google Analytics, Matomo and Plausible
27
+ - Web analytics through Matomo, Google Analytics or Plausible
28
28
 
29
29
  ## Enabling the theme on your Jekyll project
30
30
 
@@ -34,7 +34,7 @@ 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 like using:
37
+ You can lock it onto a specific version using:
38
38
 
39
39
  ```yaml
40
40
  remote_theme: ELIXIR-Belgium/elixir-toolkit-theme@2.5.0
@@ -9,7 +9,7 @@
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/assets/css/main.scss CHANGED
@@ -891,31 +891,35 @@ li.past_event,
891
891
  }
892
892
 
893
893
  /*-----More information tiles-----*/
894
-
895
- .info-collapse {
896
- transition: border-color 0.2s ease-in-out;
897
-
894
+ // Main accordion style
895
+ a.info-collapse {
898
896
  i {
899
- transition-property: margin-right, transform;
900
- transition-duration: 0.2s;
901
- transition-timing-function: ease-in-out;
897
+ transition: transform .2s ease-in-out;
902
898
  margin-right: $spacer;
903
899
  }
904
-
900
+ h3 {
901
+ transition: color .2s ease-in-out;
902
+ }
905
903
  &[aria-expanded="true"] {
906
- border-color: color.scale($border-color, $lightness: -30%) !important;
907
904
  i {
908
905
  transform: rotate(180deg);
909
906
  }
910
907
  }
911
908
  &:hover {
912
- border-color: color.scale($border-color, $lightness: -30%) !important;
913
- i {
914
- color: color.scale($link-color, $lightness: -20%) !important;
909
+ i,
910
+ h3 {
911
+ color: rgba($link-color, .8)!important;
915
912
  }
916
913
  }
917
914
  }
918
915
 
916
+ // Add a bottom border to the last accordion.
917
+ a.info-collapse[aria-expanded="false"]:last-of-type,
918
+ a.info-collapse[aria-expanded="true"]:last-of-type + .show {
919
+ border-bottom: 1px solid $border-color;
920
+ }
921
+
922
+ // Collapsed content styling
919
923
  .info-card {
920
924
  .info-logo {
921
925
  max-width: 250px;
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.0.0
4
+ version: 3.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - bedroesb
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-03-21 00:00:00.000000000 Z
11
+ date: 2024-06-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -535,7 +535,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
535
535
  - !ruby/object:Gem::Version
536
536
  version: '0'
537
537
  requirements: []
538
- rubygems_version: 3.3.26
538
+ rubygems_version: 3.3.27
539
539
  signing_key:
540
540
  specification_version: 4
541
541
  summary: Flexible Jekyll theme using bootstrap 5 as CSS framework.