elixir-toolkit-theme 1.21.0 → 1.23.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 +4 -4
- data/_includes/contributor-minitiles-page.html +1 -1
- data/_includes/dev-info.html +3 -0
- data/_includes/footer.html +30 -4
- data/_includes/section-navigation-tiles-simple.html +3 -0
- data/_includes/section-navigation-tiles.html +2 -2
- data/_includes/topnav.html +9 -1
- data/_includes/training-table-all.html +11 -1
- data/_layouts/default.html +2 -1
- data/_sass/_variables.scss +1 -0
- data/_sass/bootstrap/_accordion.scss +56 -25
- data/_sass/bootstrap/_alert.scss +18 -4
- data/_sass/bootstrap/_badge.scss +14 -5
- data/_sass/bootstrap/_breadcrumb.scss +22 -10
- data/_sass/bootstrap/_button-group.scss +4 -1
- data/_sass/bootstrap/_buttons.scss +125 -29
- data/_sass/bootstrap/_card.scss +55 -37
- data/_sass/bootstrap/_carousel.scss +0 -3
- data/_sass/bootstrap/_close.scss +1 -1
- data/_sass/bootstrap/_containers.scss +1 -1
- data/_sass/bootstrap/_dropdown.scss +85 -76
- data/_sass/bootstrap/_functions.scss +9 -9
- data/_sass/bootstrap/_grid.scss +3 -3
- data/_sass/bootstrap/_helpers.scss +1 -0
- data/_sass/bootstrap/_list-group.scss +48 -30
- data/_sass/bootstrap/_maps.scss +54 -0
- data/_sass/bootstrap/_modal.scss +71 -43
- data/_sass/bootstrap/_nav.scss +53 -20
- data/_sass/bootstrap/_navbar.scss +93 -150
- data/_sass/bootstrap/_offcanvas.scss +120 -59
- data/_sass/bootstrap/_pagination.scss +66 -21
- data/_sass/bootstrap/_placeholders.scss +1 -1
- data/_sass/bootstrap/_popover.scss +90 -52
- data/_sass/bootstrap/_progress.scss +20 -9
- data/_sass/bootstrap/_reboot.scss +25 -40
- data/_sass/bootstrap/_root.scss +40 -21
- data/_sass/bootstrap/_spinners.scss +38 -22
- data/_sass/bootstrap/_tables.scss +32 -23
- data/_sass/bootstrap/_toasts.scss +38 -16
- data/_sass/bootstrap/_tooltip.scss +61 -56
- data/_sass/bootstrap/_type.scss +2 -0
- data/_sass/bootstrap/_utilities.scss +43 -26
- data/_sass/bootstrap/_variables.scss +128 -135
- data/_sass/bootstrap/bootstrap-grid.scss +3 -6
- data/_sass/bootstrap/bootstrap-reboot.scss +3 -7
- data/_sass/bootstrap/bootstrap-utilities.scss +6 -6
- data/_sass/bootstrap/bootstrap.scss +4 -6
- data/_sass/bootstrap/forms/_floating-labels.scss +15 -3
- data/_sass/bootstrap/forms/_form-check.scss +28 -5
- data/_sass/bootstrap/forms/_form-control.scss +12 -37
- data/_sass/bootstrap/forms/_form-select.scss +0 -1
- data/_sass/bootstrap/forms/_input-group.scss +19 -8
- data/_sass/bootstrap/helpers/_color-bg.scss +10 -0
- data/_sass/bootstrap/helpers/_colored-links.scss +2 -2
- data/_sass/bootstrap/helpers/_position.scss +7 -1
- data/_sass/bootstrap/helpers/_ratio.scss +2 -2
- data/_sass/bootstrap/helpers/_vr.scss +1 -1
- data/_sass/bootstrap/mixins/_alert.scss +7 -3
- data/_sass/bootstrap/mixins/_banner.scss +9 -0
- data/_sass/bootstrap/mixins/_breakpoints.scss +8 -8
- data/_sass/bootstrap/mixins/_buttons.scss +32 -95
- data/_sass/bootstrap/mixins/_container.scss +4 -2
- data/_sass/bootstrap/mixins/_forms.scss +18 -10
- data/_sass/bootstrap/mixins/_gradients.scss +1 -1
- data/_sass/bootstrap/mixins/_grid.scss +12 -12
- data/_sass/bootstrap/mixins/_pagination.scss +4 -25
- data/_sass/bootstrap/mixins/_reset-text.scss +1 -1
- data/_sass/bootstrap/mixins/_table-variants.scss +12 -9
- data/_sass/bootstrap/mixins/_utilities.scss +13 -5
- data/assets/css/all.min.css +2 -2
- data/assets/css/main.scss +22 -3
- data/assets/img/android-chrome-192x192.png +0 -0
- data/assets/img/android-chrome-512x512.png +0 -0
- data/assets/img/apple-touch-icon.png +0 -0
- data/assets/img/ett_compact_logo.svg +22 -0
- data/assets/img/ett_compact_logo_bw.svg +22 -0
- data/assets/img/favicon-16x16.png +0 -0
- data/assets/img/favicon-32x32.png +0 -0
- data/assets/img/favicon.ico +0 -0
- data/assets/img/main_logo.svg +46 -57
- data/assets/img/safari-pinned-tab.svg +16 -12
- data/assets/js/bootstrap.bundle.min.js +3 -3
- data/assets/js/bootstrap.bundle.min.js.map +1 -1
- data/assets/webfonts/fa-brands-400.ttf +0 -0
- data/assets/webfonts/fa-brands-400.woff2 +0 -0
- data/assets/webfonts/fa-regular-400.ttf +0 -0
- data/assets/webfonts/fa-regular-400.woff2 +0 -0
- data/assets/webfonts/fa-solid-900.ttf +0 -0
- data/assets/webfonts/fa-solid-900.woff2 +0 -0
- data/assets/webfonts/fa-v4compatibility.ttf +0 -0
- data/assets/webfonts/fa-v4compatibility.woff2 +0 -0
- metadata +9 -6
- data/assets/img/jekyll_theme_question.svg +0 -1
- data/assets/img/jekyll_theme_question_inverted.svg +0 -1
- data/assets/img/main_logo_condesed.svg +0 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e7c7dba8eaa7c94e093f9e33e43b1b6cec0e2bd4475beef5daa659e56a612bca
|
|
4
|
+
data.tar.gz: 699e822493ae2c7e496d8ecaeb53960d738203926047545a0ddeaf7576dede28
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6ebb5fa836f5e3d74070188ab12555131975af0a235b77e8d4a896b2d69cc5d3a3b7097cc87c3a1b27fbdaba90e4328aaf2b96346b1696f9022fc6de260a9a25
|
|
7
|
+
data.tar.gz: d79865c2e207841211f4cac88a823aab578f22163a2368b196c813e3d441818e6694b9205478d1f0e4760829a2831165cb220a5aa60c29d614b215347fd3bcb5
|
data/README.md
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
<p align="center">
|
|
5
|
-
<img src="assets/img/
|
|
5
|
+
<img src="assets/img/ett_compact_logo.svg" width="100" float="center"/>
|
|
6
6
|
<h1 align="center">ELIXIR toolkit theme </h1>
|
|
7
7
|
</p>
|
|
8
8
|
|
|
9
|
-
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
|
|
9
|
+
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.
|
|
10
10
|
|
|
11
11
|
Its key features:
|
|
12
12
|
- Easy deployment using GitHub pages
|
|
@@ -15,7 +15,7 @@ Its key features:
|
|
|
15
15
|
- Change style using custom classes
|
|
16
16
|
- Support for a central tools table
|
|
17
17
|
- Page tagging and listing of those tagged pages
|
|
18
|
-
- Linking to ELIXIR resources including Bio.tools,
|
|
18
|
+
- Linking to ELIXIR resources including Bio.tools, FAIRsharing, FAIR Cookbook, TeSS and DSW
|
|
19
19
|
- Easy side navigation, top navigation and footer management
|
|
20
20
|
- Mobile friendly
|
|
21
21
|
- Create website sections with each section having its own sidebar
|
|
@@ -104,7 +104,7 @@ This will start the docker container and serve the website locally. Make sure th
|
|
|
104
104
|
|
|
105
105
|
- [RDMkit](https://rdmkit.elixir-europe.org/)
|
|
106
106
|
- [WorkflowHub project](https://about.workflowhub.eu/)
|
|
107
|
-
- [
|
|
107
|
+
- [RDM Guide](https://rdm.elixir-belgium.org/)
|
|
108
108
|
- [Infectious Diseases Toolkit](https://www.infectious-diseases-toolkit.org/)
|
|
109
109
|
- [Applied Bioinformatics and Biostatistics intranet page](https://intranet.psb.ugent.be/abb/)
|
|
110
110
|
- [FAIRDOM](https://fair-dom.org/)
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
{%- assign page_contributors = page.contributors | sort %}
|
|
6
6
|
{%- for contributor in page_contributors %}
|
|
7
7
|
{%- assign id = contributors[contributor].git | default: 'no_github' %}
|
|
8
|
-
<div class="
|
|
8
|
+
<div class="dropup-center dropup d-inline-block">
|
|
9
9
|
<button class="btn btn-sm dropdown-toggle contributor-link d-flex hover-primary m-1 position-relative" type="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
10
10
|
<div class="d-flex align-items-center">
|
|
11
11
|
<div class="flex-shrink-0">
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<div class="p-2 text-center text-break bg-warning">
|
|
2
|
+
<small>Development build for <a href="{{ site.github.repository_url }}/commit/{{ site.github.build_revision }}" target="_blank"><b>{{ site.github.repository_nwo }}@{{ site.github.build_revision | slice: 0, 7 }}</b></a> (branch: <a href="{{ site.github.repository_url }}/tree/{{ site.github.source.branch }}" target="_blank"><b>{{ site.github.source.branch }}</b></a>)</small>
|
|
3
|
+
</div>
|
data/_includes/footer.html
CHANGED
|
@@ -38,9 +38,35 @@
|
|
|
38
38
|
</div>
|
|
39
39
|
{%- endunless %}
|
|
40
40
|
</div>
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
41
|
+
<div class="copyright p-4">
|
|
42
|
+
<div class="container d-flex justify-content-between flex-column flex-lg-row">
|
|
43
|
+
{%- unless site.data.footer.copyright == nil %}
|
|
44
|
+
<div class="d-flex align-items-center mb-3 mb-lg-0 mx-auto mx-lg-0 text-center">{{ site.data.footer.copyright | markdownify }}</div>
|
|
45
|
+
{%- endunless %}
|
|
46
|
+
<div class="d-flex align-items-center mx-auto ms-lg-4 me-lg-0">
|
|
47
|
+
<a id="ett-logo" class="text-nowrap" href="https://elixir-belgium.github.io/elixir-toolkit-theme">Built with
|
|
48
|
+
<svg data-name="ETT logo" xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 77.2 77.12">
|
|
49
|
+
<defs>
|
|
50
|
+
<style>
|
|
51
|
+
.cls-2,
|
|
52
|
+
.cls-3 {
|
|
53
|
+
fill: #fff;
|
|
54
|
+
pointer-events: none;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.cls-2 {
|
|
58
|
+
opacity: 0.18;
|
|
59
|
+
}
|
|
60
|
+
</style>
|
|
61
|
+
</defs>
|
|
62
|
+
<g>
|
|
63
|
+
<circle class="cls-1" cx="38.56" cy="38.56" r="38.56" />
|
|
64
|
+
<path class="cls-2" d="M9,48.08a44.19,44.19,0,0,0,4.68,19.84A38.56,38.56,0,1,0,55.16,3.72c-.59,0-1.19-.05-1.79-.05A44.4,44.4,0,0,0,9,48.08Z" />
|
|
65
|
+
<path class="cls-3" d="M54,20.52H13.64a.85.85,0,0,0-.84.85v34a.84.84,0,0,0,.84.84H30a.84.84,0,0,0,.85-.84V51.16a.85.85,0,0,0-.85-.85H20.07a.85.85,0,0,1-.85-.85V42a.85.85,0,0,1,.85-.84h8.66a.85.85,0,0,0,.85-.85V36.06a.85.85,0,0,0-.85-.85H20.07a.85.85,0,0,1-.85-.84V27.29a.85.85,0,0,1,.85-.85H38.26a.85.85,0,0,1,.85.85V55.38a.84.84,0,0,0,.85.84h4.73a.84.84,0,0,0,.85-.84V27.29a.85.85,0,0,1,.84-.85H61.27a.85.85,0,0,1,.84.85V55.38a.84.84,0,0,0,.85.84h4.73a.84.84,0,0,0,.85-.84V27.29a.85.85,0,0,1,.85-.85h6.77a.84.84,0,0,0,.84-.85V21.37a.84.84,0,0,0-.84-.85Z" />
|
|
66
|
+
</g>
|
|
67
|
+
</svg>
|
|
68
|
+
</a>
|
|
69
|
+
</div>
|
|
70
|
+
</div>
|
|
44
71
|
</div>
|
|
45
|
-
{%- endunless %}
|
|
46
72
|
</footer>
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
{%- assign allcountries = site.data.countries %}
|
|
2
|
+
{%- assign except = include.except | split: ", " %}
|
|
2
3
|
<div class="row row-cols-1 row-cols-md-2 g-3 mb-5 navigation-tiles">
|
|
3
4
|
{%- for current_page in site.pages | sorted %}
|
|
4
5
|
{%- if current_page.title and current_page.search_exclude != true and current_page.type == include.type %}
|
|
6
|
+
{%- unless except contains current_page.name %}
|
|
5
7
|
<div class="col d-grid">
|
|
6
8
|
<a role="button" class="btn bg-light py-4 fs-3 hover-primary" href="{{ current_page.url | relative_url }}">{{current_page.title}}<span class="flag-icon ms-3 flag-icon-{{current_page.country_code | downcase }}"></span></a>
|
|
7
9
|
</div>
|
|
10
|
+
{% endunless %}
|
|
8
11
|
{%- endif %}
|
|
9
12
|
{%- endfor %}
|
|
10
13
|
</div>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
{%- unless include.affiliations == nil and include.search == nil
|
|
1
|
+
{%- unless include.affiliations == nil and include.search == nil %}
|
|
2
2
|
{%- assign allcountries = site.data.countries %}
|
|
3
3
|
{%- for current_page in site.pages | sorted %}
|
|
4
4
|
{%- if current_page.affiliations and current_page.search_exclude != true and current_page.type == include.type %}
|
|
@@ -147,7 +147,7 @@
|
|
|
147
147
|
{%- if country_link %}
|
|
148
148
|
<a role="button" href="{{country_link.url | relative_url}}" data-bs-toggle="tooltip" title="{{allcountries[country]}}" class="btn btn-sm bg-white hover-primary">
|
|
149
149
|
{%- else %}
|
|
150
|
-
<a role="button" data-bs-toggle="tooltip" title="{{allcountries[country]}}" class="btn btn-sm bg-white hover-primary disabled" aria-disabled="true">
|
|
150
|
+
<a role="button" data-bs-toggle="tooltip" title="{{allcountries[country]}}" class="btn btn-sm bg-white hover-primary disabled border-white" aria-disabled="true">
|
|
151
151
|
{%- endif %}
|
|
152
152
|
<div class="d-block h-24px">
|
|
153
153
|
<span class="flag-icon flag-icon-{{affiliation | downcase}} align-items-center"></span>
|
data/_includes/topnav.html
CHANGED
|
@@ -58,7 +58,15 @@
|
|
|
58
58
|
{%- endif %}
|
|
59
59
|
{%- if site.theme_variables.topnav.github or site.theme_variables.topnav.github == nil %}
|
|
60
60
|
<li class="nav-item ms-0 ms-lg-3 mt-2 mt-lg-0">
|
|
61
|
-
<a class="nav-link ps-2 d-flex align-items-center" href="{{site.github.repository_url}}"
|
|
61
|
+
<a class="nav-link ps-2 d-flex align-items-center" href="{{site.github.repository_url}}">
|
|
62
|
+
{%- assign git_host = site.theme_variables.git_host | downcase %}
|
|
63
|
+
{%- if git_host == 'gitlab' %}
|
|
64
|
+
<i class="fa-brands fa-gitlab me-2"></i>
|
|
65
|
+
{%- else %}
|
|
66
|
+
<i class="fa-brands fa-github me-2"></i>
|
|
67
|
+
{%- endif %}
|
|
68
|
+
{{site.theme_variables.git_host | default: 'GitHub' }}
|
|
69
|
+
</a>
|
|
62
70
|
</li>
|
|
63
71
|
{%- endif %}
|
|
64
72
|
{%- unless include.search == false %}
|
|
@@ -15,13 +15,23 @@
|
|
|
15
15
|
<tbody>
|
|
16
16
|
{%- for page in site.pages %}
|
|
17
17
|
{%- unless page.search_exclude == true %}
|
|
18
|
-
{%-
|
|
18
|
+
{%- if page.training %}
|
|
19
|
+
{%- assign actual_training = nil %}
|
|
20
|
+
{%- for training in page.training %}
|
|
21
|
+
{%- if training.name %}
|
|
22
|
+
{%- assign actual_training = 1 %}
|
|
23
|
+
{%- endif %}
|
|
24
|
+
{%- endfor %}
|
|
25
|
+
{%- endif %}
|
|
26
|
+
{%- if actual_training %}
|
|
27
|
+
{%- for training in page.training %}
|
|
19
28
|
<tr>
|
|
20
29
|
<td><a href="{{training.url | relative_url }}">{{training.name}}{%- if training.name == 'Training in TeSS'%} about {{page.title}}{%- endif %}</a></td>
|
|
21
30
|
<td><a href="{{page.url | relative_url }}"><span class="badge default-badge">{{page.title}}</span></a></td>
|
|
22
31
|
<td>{%- if training.registry %}<span class="badge bg-dark text-white hover-primary">{{training.registry}}</span>{%- endif %}</td>
|
|
23
32
|
</tr>
|
|
24
33
|
{%- endfor %}
|
|
34
|
+
{%- endif %}
|
|
25
35
|
{%- endunless %}
|
|
26
36
|
{%- endfor %}
|
|
27
37
|
</tbody>
|
data/_layouts/default.html
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
<html lang="en">
|
|
3
3
|
{% include head.html %}
|
|
4
4
|
<body>
|
|
5
|
+
{% if jekyll.environment == "development" %}{% include dev-info.html %}{% endif %}
|
|
5
6
|
{% include topnav.html %}
|
|
6
7
|
<!-- Page Content -->
|
|
7
8
|
<div class="container min-vh-100">
|
|
@@ -21,7 +22,7 @@
|
|
|
21
22
|
</div>
|
|
22
23
|
{%- if site.theme_variables.back_to_top or site.theme_variables.back_to_top == nil %}
|
|
23
24
|
<button id="back-to-top" class="btn btn-primary" type="button" aria-hidden="true" onclick="topFunction()">
|
|
24
|
-
<i class="fa-solid fa-arrow-up"></i
|
|
25
|
+
<i class="fa-solid fa-arrow-up"></i>
|
|
25
26
|
</button>
|
|
26
27
|
{%- endif %}
|
|
27
28
|
{% include footer.html %}
|
data/_sass/_variables.scss
CHANGED
|
@@ -2,43 +2,70 @@
|
|
|
2
2
|
// Base styles
|
|
3
3
|
//
|
|
4
4
|
|
|
5
|
+
.accordion {
|
|
6
|
+
// scss-docs-start accordion-css-vars
|
|
7
|
+
--#{$prefix}accordion-color: #{$accordion-color};
|
|
8
|
+
--#{$prefix}accordion-bg: #{$accordion-bg};
|
|
9
|
+
--#{$prefix}accordion-transition: #{$accordion-transition};
|
|
10
|
+
--#{$prefix}accordion-border-color: #{$accordion-border-color};
|
|
11
|
+
--#{$prefix}accordion-border-width: #{$accordion-border-width};
|
|
12
|
+
--#{$prefix}accordion-border-radius: #{$accordion-border-radius};
|
|
13
|
+
--#{$prefix}accordion-inner-border-radius: #{$accordion-inner-border-radius};
|
|
14
|
+
--#{$prefix}accordion-btn-padding-x: #{$accordion-button-padding-x};
|
|
15
|
+
--#{$prefix}accordion-btn-padding-y: #{$accordion-button-padding-y};
|
|
16
|
+
--#{$prefix}accordion-btn-color: #{$accordion-button-color};
|
|
17
|
+
--#{$prefix}accordion-btn-bg: #{$accordion-button-bg};
|
|
18
|
+
--#{$prefix}accordion-btn-icon: #{escape-svg($accordion-button-icon)};
|
|
19
|
+
--#{$prefix}accordion-btn-icon-width: #{$accordion-icon-width};
|
|
20
|
+
--#{$prefix}accordion-btn-icon-transform: #{$accordion-icon-transform};
|
|
21
|
+
--#{$prefix}accordion-btn-icon-transition: #{$accordion-icon-transition};
|
|
22
|
+
--#{$prefix}accordion-btn-active-icon: #{escape-svg($accordion-button-active-icon)};
|
|
23
|
+
--#{$prefix}accordion-btn-focus-border-color: #{$accordion-button-focus-border-color};
|
|
24
|
+
--#{$prefix}accordion-btn-focus-box-shadow: #{$accordion-button-focus-box-shadow};
|
|
25
|
+
--#{$prefix}accordion-body-padding-x: #{$accordion-body-padding-x};
|
|
26
|
+
--#{$prefix}accordion-body-padding-y: #{$accordion-body-padding-y};
|
|
27
|
+
--#{$prefix}accordion-active-color: #{$accordion-button-active-color};
|
|
28
|
+
--#{$prefix}accordion-active-bg: #{$accordion-button-active-bg};
|
|
29
|
+
// scss-docs-end accordion-css-vars
|
|
30
|
+
}
|
|
31
|
+
|
|
5
32
|
.accordion-button {
|
|
6
33
|
position: relative;
|
|
7
34
|
display: flex;
|
|
8
35
|
align-items: center;
|
|
9
36
|
width: 100%;
|
|
10
|
-
padding: $accordion-
|
|
37
|
+
padding: var(--#{$prefix}accordion-btn-padding-y) var(--#{$prefix}accordion-btn-padding-x);
|
|
11
38
|
@include font-size($font-size-base);
|
|
12
|
-
color: $accordion-
|
|
39
|
+
color: var(--#{$prefix}accordion-btn-color);
|
|
13
40
|
text-align: left; // Reset button style
|
|
14
|
-
background-color: $accordion-
|
|
41
|
+
background-color: var(--#{$prefix}accordion-btn-bg);
|
|
15
42
|
border: 0;
|
|
16
43
|
@include border-radius(0);
|
|
17
44
|
overflow-anchor: none;
|
|
18
|
-
@include transition($accordion-transition);
|
|
45
|
+
@include transition(var(--#{$prefix}accordion-transition));
|
|
19
46
|
|
|
20
47
|
&:not(.collapsed) {
|
|
21
|
-
color: $accordion-
|
|
22
|
-
background-color: $accordion-
|
|
23
|
-
box-shadow: inset 0 ($accordion-border-width
|
|
48
|
+
color: var(--#{$prefix}accordion-active-color);
|
|
49
|
+
background-color: var(--#{$prefix}accordion-active-bg);
|
|
50
|
+
box-shadow: inset 0 calc(-1 * var(--#{$prefix}accordion-border-width)) 0 var(--#{$prefix}accordion-border-color); // stylelint-disable-line function-disallowed-list
|
|
24
51
|
|
|
25
52
|
&::after {
|
|
26
|
-
background-image:
|
|
27
|
-
transform: $accordion-icon-transform;
|
|
53
|
+
background-image: var(--#{$prefix}accordion-btn-active-icon);
|
|
54
|
+
transform: var(--#{$prefix}accordion-btn-icon-transform);
|
|
28
55
|
}
|
|
29
56
|
}
|
|
30
57
|
|
|
31
58
|
// Accordion icon
|
|
32
59
|
&::after {
|
|
33
60
|
flex-shrink: 0;
|
|
34
|
-
width: $accordion-icon-width;
|
|
35
|
-
height: $accordion-icon-width;
|
|
61
|
+
width: var(--#{$prefix}accordion-btn-icon-width);
|
|
62
|
+
height: var(--#{$prefix}accordion-btn-icon-width);
|
|
36
63
|
margin-left: auto;
|
|
37
64
|
content: "";
|
|
38
|
-
background-image:
|
|
65
|
+
background-image: var(--#{$prefix}accordion-btn-icon);
|
|
39
66
|
background-repeat: no-repeat;
|
|
40
|
-
background-size: $accordion-icon-width;
|
|
41
|
-
@include transition($accordion-icon-transition);
|
|
67
|
+
background-size: var(--#{$prefix}accordion-btn-icon-width);
|
|
68
|
+
@include transition(var(--#{$prefix}accordion-btn-icon-transition));
|
|
42
69
|
}
|
|
43
70
|
|
|
44
71
|
&:hover {
|
|
@@ -47,9 +74,9 @@
|
|
|
47
74
|
|
|
48
75
|
&:focus {
|
|
49
76
|
z-index: 3;
|
|
50
|
-
border-color: $accordion-
|
|
77
|
+
border-color: var(--#{$prefix}accordion-btn-focus-border-color);
|
|
51
78
|
outline: 0;
|
|
52
|
-
box-shadow: $accordion-
|
|
79
|
+
box-shadow: var(--#{$prefix}accordion-btn-focus-box-shadow);
|
|
53
80
|
}
|
|
54
81
|
}
|
|
55
82
|
|
|
@@ -58,14 +85,15 @@
|
|
|
58
85
|
}
|
|
59
86
|
|
|
60
87
|
.accordion-item {
|
|
61
|
-
|
|
62
|
-
|
|
88
|
+
color: var(--#{$prefix}accordion-color);
|
|
89
|
+
background-color: var(--#{$prefix}accordion-bg);
|
|
90
|
+
border: var(--#{$prefix}accordion-border-width) solid var(--#{$prefix}accordion-border-color);
|
|
63
91
|
|
|
64
92
|
&:first-of-type {
|
|
65
|
-
@include border-top-radius($accordion-border-radius);
|
|
93
|
+
@include border-top-radius(var(--#{$prefix}accordion-border-radius));
|
|
66
94
|
|
|
67
95
|
.accordion-button {
|
|
68
|
-
@include border-top-radius($accordion-inner-border-radius);
|
|
96
|
+
@include border-top-radius(var(--#{$prefix}accordion-inner-border-radius));
|
|
69
97
|
}
|
|
70
98
|
}
|
|
71
99
|
|
|
@@ -75,22 +103,22 @@
|
|
|
75
103
|
|
|
76
104
|
// Only set a border-radius on the last item if the accordion is collapsed
|
|
77
105
|
&:last-of-type {
|
|
78
|
-
@include border-bottom-radius($accordion-border-radius);
|
|
106
|
+
@include border-bottom-radius(var(--#{$prefix}accordion-border-radius));
|
|
79
107
|
|
|
80
108
|
.accordion-button {
|
|
81
109
|
&.collapsed {
|
|
82
|
-
@include border-bottom-radius($accordion-inner-border-radius);
|
|
110
|
+
@include border-bottom-radius(var(--#{$prefix}accordion-inner-border-radius));
|
|
83
111
|
}
|
|
84
112
|
}
|
|
85
113
|
|
|
86
114
|
.accordion-collapse {
|
|
87
|
-
@include border-bottom-radius($accordion-border-radius);
|
|
115
|
+
@include border-bottom-radius(var(--#{$prefix}accordion-border-radius));
|
|
88
116
|
}
|
|
89
117
|
}
|
|
90
118
|
}
|
|
91
119
|
|
|
92
120
|
.accordion-body {
|
|
93
|
-
padding: $accordion-body-padding-y $accordion-body-padding-x;
|
|
121
|
+
padding: var(--#{$prefix}accordion-body-padding-y) var(--#{$prefix}accordion-body-padding-x);
|
|
94
122
|
}
|
|
95
123
|
|
|
96
124
|
|
|
@@ -112,7 +140,10 @@
|
|
|
112
140
|
&:last-child { border-bottom: 0; }
|
|
113
141
|
|
|
114
142
|
.accordion-button {
|
|
115
|
-
|
|
143
|
+
&,
|
|
144
|
+
&.collapsed {
|
|
145
|
+
@include border-radius(0);
|
|
146
|
+
}
|
|
116
147
|
}
|
|
117
148
|
}
|
|
118
149
|
}
|
data/_sass/bootstrap/_alert.scss
CHANGED
|
@@ -3,11 +3,24 @@
|
|
|
3
3
|
//
|
|
4
4
|
|
|
5
5
|
.alert {
|
|
6
|
+
// scss-docs-start alert-css-vars
|
|
7
|
+
--#{$prefix}alert-bg: transparent;
|
|
8
|
+
--#{$prefix}alert-padding-x: #{$alert-padding-x};
|
|
9
|
+
--#{$prefix}alert-padding-y: #{$alert-padding-y};
|
|
10
|
+
--#{$prefix}alert-margin-bottom: #{$alert-margin-bottom};
|
|
11
|
+
--#{$prefix}alert-color: inherit;
|
|
12
|
+
--#{$prefix}alert-border-color: transparent;
|
|
13
|
+
--#{$prefix}alert-border: #{$alert-border-width} solid var(--#{$prefix}alert-border-color);
|
|
14
|
+
--#{$prefix}alert-border-radius: #{$alert-border-radius};
|
|
15
|
+
// scss-docs-end alert-css-vars
|
|
16
|
+
|
|
6
17
|
position: relative;
|
|
7
|
-
padding: $alert-padding-y $alert-padding-x;
|
|
8
|
-
margin-bottom: $alert-margin-bottom;
|
|
9
|
-
|
|
10
|
-
|
|
18
|
+
padding: var(--#{$prefix}alert-padding-y) var(--#{$prefix}alert-padding-x);
|
|
19
|
+
margin-bottom: var(--#{$prefix}alert-margin-bottom);
|
|
20
|
+
color: var(--#{$prefix}alert-color);
|
|
21
|
+
background-color: var(--#{$prefix}alert-bg);
|
|
22
|
+
border: var(--#{$prefix}alert-border);
|
|
23
|
+
@include border-radius(var(--#{$prefix}alert-border-radius));
|
|
11
24
|
}
|
|
12
25
|
|
|
13
26
|
// Headings for larger alerts
|
|
@@ -47,6 +60,7 @@
|
|
|
47
60
|
$alert-background: shift-color($value, $alert-bg-scale);
|
|
48
61
|
$alert-border: shift-color($value, $alert-border-scale);
|
|
49
62
|
$alert-color: shift-color($value, $alert-color-scale);
|
|
63
|
+
|
|
50
64
|
@if (contrast-ratio($alert-background, $alert-color) < $min-contrast-ratio) {
|
|
51
65
|
$alert-color: mix($value, color-contrast($alert-background), abs($alert-color-scale));
|
|
52
66
|
}
|
data/_sass/bootstrap/_badge.scss
CHANGED
|
@@ -4,16 +4,25 @@
|
|
|
4
4
|
// `background-color`.
|
|
5
5
|
|
|
6
6
|
.badge {
|
|
7
|
+
// scss-docs-start badge-css-vars
|
|
8
|
+
--#{$prefix}badge-padding-x: #{$badge-padding-x};
|
|
9
|
+
--#{$prefix}badge-padding-y: #{$badge-padding-y};
|
|
10
|
+
@include rfs($badge-font-size, --#{$prefix}badge-font-size);
|
|
11
|
+
--#{$prefix}badge-font-weight: #{$badge-font-weight};
|
|
12
|
+
--#{$prefix}badge-color: #{$badge-color};
|
|
13
|
+
--#{$prefix}badge-border-radius: #{$badge-border-radius};
|
|
14
|
+
// scss-docs-end badge-css-vars
|
|
15
|
+
|
|
7
16
|
display: inline-block;
|
|
8
|
-
padding: $badge-padding-y $badge-padding-x;
|
|
9
|
-
@include font-size($badge-font-size);
|
|
10
|
-
font-weight: $badge-font-weight;
|
|
17
|
+
padding: var(--#{$prefix}badge-padding-y) var(--#{$prefix}badge-padding-x);
|
|
18
|
+
@include font-size(var(--#{$prefix}badge-font-size));
|
|
19
|
+
font-weight: var(--#{$prefix}badge-font-weight);
|
|
11
20
|
line-height: 1;
|
|
12
|
-
color: $badge-color;
|
|
21
|
+
color: var(--#{$prefix}badge-color);
|
|
13
22
|
text-align: center;
|
|
14
23
|
white-space: nowrap;
|
|
15
24
|
vertical-align: baseline;
|
|
16
|
-
@include border-radius($badge-border-radius);
|
|
25
|
+
@include border-radius(var(--#{$prefix}badge-border-radius));
|
|
17
26
|
@include gradient-bg();
|
|
18
27
|
|
|
19
28
|
// Empty badges collapse automatically
|
|
@@ -1,28 +1,40 @@
|
|
|
1
1
|
.breadcrumb {
|
|
2
|
+
// scss-docs-start breadcrumb-css-vars
|
|
3
|
+
--#{$prefix}breadcrumb-padding-x: #{$breadcrumb-padding-x};
|
|
4
|
+
--#{$prefix}breadcrumb-padding-y: #{$breadcrumb-padding-y};
|
|
5
|
+
--#{$prefix}breadcrumb-margin-bottom: #{$breadcrumb-margin-bottom};
|
|
6
|
+
@include rfs($breadcrumb-font-size, --#{$prefix}breadcrumb-font-size);
|
|
7
|
+
--#{$prefix}breadcrumb-bg: #{$breadcrumb-bg};
|
|
8
|
+
--#{$prefix}breadcrumb-border-radius: #{$breadcrumb-border-radius};
|
|
9
|
+
--#{$prefix}breadcrumb-divider-color: #{$breadcrumb-divider-color};
|
|
10
|
+
--#{$prefix}breadcrumb-item-padding-x: #{$breadcrumb-item-padding-x};
|
|
11
|
+
--#{$prefix}breadcrumb-item-active-color: #{$breadcrumb-active-color};
|
|
12
|
+
// scss-docs-end breadcrumb-css-vars
|
|
13
|
+
|
|
2
14
|
display: flex;
|
|
3
15
|
flex-wrap: wrap;
|
|
4
|
-
padding: $breadcrumb-padding-y $breadcrumb-padding-x;
|
|
5
|
-
margin-bottom: $breadcrumb-margin-bottom;
|
|
6
|
-
@include font-size($breadcrumb-font-size);
|
|
16
|
+
padding: var(--#{$prefix}breadcrumb-padding-y) var(--#{$prefix}breadcrumb-padding-x);
|
|
17
|
+
margin-bottom: var(--#{$prefix}breadcrumb-margin-bottom);
|
|
18
|
+
@include font-size(var(--#{$prefix}breadcrumb-font-size));
|
|
7
19
|
list-style: none;
|
|
8
|
-
background-color: $breadcrumb-bg;
|
|
9
|
-
@include border-radius($breadcrumb-border-radius);
|
|
20
|
+
background-color: var(--#{$prefix}breadcrumb-bg);
|
|
21
|
+
@include border-radius(var(--#{$prefix}breadcrumb-border-radius));
|
|
10
22
|
}
|
|
11
23
|
|
|
12
24
|
.breadcrumb-item {
|
|
13
25
|
// The separator between breadcrumbs (by default, a forward-slash: "/")
|
|
14
26
|
+ .breadcrumb-item {
|
|
15
|
-
padding-left: $breadcrumb-item-padding-x;
|
|
27
|
+
padding-left: var(--#{$prefix}breadcrumb-item-padding-x);
|
|
16
28
|
|
|
17
29
|
&::before {
|
|
18
30
|
float: left; // Suppress inline spacings and underlining of the separator
|
|
19
|
-
padding-right: $breadcrumb-item-padding-x;
|
|
20
|
-
color: $breadcrumb-divider-color;
|
|
21
|
-
content: var(--#{$
|
|
31
|
+
padding-right: var(--#{$prefix}breadcrumb-item-padding-x);
|
|
32
|
+
color: var(--#{$prefix}breadcrumb-divider-color);
|
|
33
|
+
content: var(--#{$prefix}breadcrumb-divider, escape-svg($breadcrumb-divider)) #{"/* rtl:"} var(--#{$prefix}breadcrumb-divider, escape-svg($breadcrumb-divider-flipped)) #{"*/"};
|
|
22
34
|
}
|
|
23
35
|
}
|
|
24
36
|
|
|
25
37
|
&.active {
|
|
26
|
-
color: $breadcrumb-active-color;
|
|
38
|
+
color: var(--#{$prefix}breadcrumb-item-active-color);
|
|
27
39
|
}
|
|
28
40
|
}
|
|
@@ -34,14 +34,17 @@
|
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
.btn-group {
|
|
37
|
+
@include border-radius($btn-border-radius);
|
|
38
|
+
|
|
37
39
|
// Prevent double borders when buttons are next to each other
|
|
38
|
-
>
|
|
40
|
+
> :not(.btn-check:first-child) + .btn,
|
|
39
41
|
> .btn-group:not(:first-child) {
|
|
40
42
|
margin-left: -$btn-border-width;
|
|
41
43
|
}
|
|
42
44
|
|
|
43
45
|
// Reset rounded corners
|
|
44
46
|
> .btn:not(:last-child):not(.dropdown-toggle),
|
|
47
|
+
> .btn.dropdown-toggle-split:first-child,
|
|
45
48
|
> .btn-group:not(:last-child) > .btn {
|
|
46
49
|
@include border-end-radius(0);
|
|
47
50
|
}
|