elixir-toolkit-theme 1.22.0 → 1.24.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/_includes/contributor-minitiles-page.html +1 -1
- data/_includes/footer.html +25 -2
- data/_includes/github-buttons.html +6 -2
- data/_includes/head.html +16 -0
- data/_includes/resource-table-all.html +2 -2
- data/_includes/resource-table-page.html +2 -2
- data/_includes/section-navigation-tiles-simple.html +3 -0
- data/_includes/section-navigation-tiles.html +2 -2
- data/_includes/sidebar.html +1 -1
- data/_includes/topnav.html +9 -1
- data/_layouts/default.html +2 -2
- 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/main.scss +22 -3
- data/assets/img/ett_compact_logo_bw.svg +22 -0
- data/assets/js/bootstrap.bundle.min.js +3 -3
- data/assets/js/bootstrap.bundle.min.js.map +1 -1
- data/assets/js/search-data.json +1 -1
- data/assets/js/search.js +2 -7
- metadata +6 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a23efc58692538db35c4e6a665a6c9eb81bdcedd62761605c50c3135c999ea48
|
4
|
+
data.tar.gz: 6369c07353e52e09bf3bbb61eb0ea66344a7f2360e873ca068510f03f1f6b988
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 25476b4f5245d68ff2b13fe77f6bb477ce8073d956f93a56fea525639f62b81f3b87ce40d9877205ff324c20767026e9fe5760be98aa65a02f42c04900c662f4
|
7
|
+
data.tar.gz: eb5944680a590f2aaffe7ab4de48d2280684af541b68cf868744d91631ac06727e60cc43479abf24359a2b2299934f3dd4617818e1a27e378c078634e0150684
|
@@ -6,7 +6,7 @@
|
|
6
6
|
{%- for contributor in page_contributors %}
|
7
7
|
{%- assign id = contributors[contributor].git | default: 'no_github' %}
|
8
8
|
<div class="dropup-center dropup d-inline-block">
|
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">
|
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" data-bs-auto-close="outside" data-bs-offset="0,10">
|
10
10
|
<div class="d-flex align-items-center">
|
11
11
|
<div class="flex-shrink-0">
|
12
12
|
{%- if contributors[contributor].image_url %}
|
data/_includes/footer.html
CHANGED
@@ -41,9 +41,32 @@
|
|
41
41
|
<div class="copyright p-4">
|
42
42
|
<div class="container d-flex justify-content-between flex-column flex-lg-row">
|
43
43
|
{%- unless site.data.footer.copyright == nil %}
|
44
|
-
<div class="d-flex align-items-center mb-3 mb-lg-0">{{ site.data.footer.copyright | markdownify }}</div>
|
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
45
|
{%- endunless %}
|
46
|
-
<div class="d-flex align-items-center
|
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>
|
47
70
|
</div>
|
48
71
|
</div>
|
49
72
|
</footer>
|
@@ -1,8 +1,8 @@
|
|
1
1
|
{%- if site.theme_variables.github_buttons.edit_me or site.theme_variables.github_buttons.open_issue or site.theme_variables.github_buttons.history or site.theme_variables.github_buttons.edit_me == nil or site.theme_variables.github_buttons.open_issue == nil or site.theme_variables.github_buttons.history == nil %}
|
2
2
|
<div id="edit-me" class="btn-group">
|
3
3
|
{%- if site.theme_variables.github_buttons.edit_me or site.theme_variables.github_buttons.edit_me == nil %}
|
4
|
-
{%- if page.
|
5
|
-
<a role="button" data-bs-toggle="tooltip" title="Propose changes to the content of this page on {{site.theme_variables.git_host | default: 'GitHub' }}" href="{{site.github.repository_url}}/blob/{{site.github.source.branch}}/{{page.
|
4
|
+
{%- if page.custom_editme %}
|
5
|
+
<a role="button" data-bs-toggle="tooltip" title="Propose changes to the content of this page on {{site.theme_variables.git_host | default: 'GitHub' }}" href="{{site.github.repository_url}}/blob/{{site.github.source.branch}}/{{page.custom_editme}}" class="btn btn-sm hover-primary text-primary"><i class="fa-solid fa-pencil-alt"></i></a>
|
6
6
|
{%- else %}
|
7
7
|
<a role="button" data-bs-toggle="tooltip" title="Propose changes to this page on {{site.theme_variables.git_host | default: 'GitHub' }}" href="{{site.github.repository_url}}/blob/{{site.github.source.branch}}/{{page.path}}" class="btn btn-sm hover-primary text-primary"><i class="fa-solid fa-pencil-alt"></i></a>
|
8
8
|
{%- endif %}
|
@@ -11,7 +11,11 @@
|
|
11
11
|
<a role="button" data-bs-toggle="tooltip" title="Report an issue" href="{{site.github.repository_url}}/issues/new?title={{'Issue on page: ' | url_encode }}{{page.title | url_encode }}&body={{'I would like to report an issue on the ' | url_encode }}{{page.title | url_encode }}{{' page at `'| url_encode }}{{page.url | url_encode }}{{'`. Description of the issue:' | url_encode }}" class="btn btn-sm hover-primary text-primary"><i class="fa-solid fa-exclamation"></i></a>
|
12
12
|
{%- endif %}
|
13
13
|
{%- if site.theme_variables.github_buttons.history or site.theme_variables.github_buttons.history == nil %}
|
14
|
+
{%- if page.custom_editme %}
|
15
|
+
<a role="button" data-bs-toggle="tooltip" title="Check out the history of this page" href="{{site.github.repository_url}}/commits/{{site.github.source.branch}}/{{page.custom_editme}}" class="btn btn-sm hover-primary text-primary"><i class="fa-solid fa-history"></i></a>
|
16
|
+
{%- else %}
|
14
17
|
<a role="button" data-bs-toggle="tooltip" title="Check out the history of this page" href="{{site.github.repository_url}}/commits/{{site.github.source.branch}}/{{page.path}}" class="btn btn-sm hover-primary text-primary"><i class="fa-solid fa-history"></i></a>
|
15
18
|
{%- endif %}
|
19
|
+
{%- endif %}
|
16
20
|
</div>
|
17
21
|
{%- endif %}
|
data/_includes/head.html
CHANGED
@@ -94,4 +94,20 @@
|
|
94
94
|
<!-- Plausible -->
|
95
95
|
<script defer data-domain="{{site.plausible}}" src="{{site.plausible_src | default: 'https://plausible.io/js/plausible.js'}}"></script>
|
96
96
|
{%- endif %}
|
97
|
+
{%- if site.matomo and jekyll.environment == "production"%}
|
98
|
+
<!-- Matomo -->
|
99
|
+
<script>
|
100
|
+
var _paq = window._paq = window._paq || [];
|
101
|
+
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
102
|
+
_paq.push(['trackPageView']);
|
103
|
+
_paq.push(['enableLinkTracking']);
|
104
|
+
(function() {
|
105
|
+
var u="{{site.matomo}}";
|
106
|
+
_paq.push(['setTrackerUrl', u+'piwik.php']);
|
107
|
+
_paq.push(['setSiteId', '2']);
|
108
|
+
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
|
109
|
+
g.async=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
|
110
|
+
})();
|
111
|
+
</script>
|
112
|
+
{%- endif %}
|
97
113
|
</head>
|
@@ -65,7 +65,7 @@
|
|
65
65
|
{%- for tag in tool.related_pages %}
|
66
66
|
{%- unless tag == page.page_id %}
|
67
67
|
{%- assign related_page = site.pages | where:"page_id",tag | first %}
|
68
|
-
<a href="{{related_page.url | relative_url }}"><span class="badge default-badge">{{related_page.title}}</span></a>
|
68
|
+
<a href="{{related_page.url | relative_url }}" data-bs-toggle="tooltip" title="{{related_page.type | replace: '_', ' ' | capitalize}}"><span class="badge default-badge">{{related_page.title}}</span></a>
|
69
69
|
{%- endunless %}
|
70
70
|
{%- endfor %}
|
71
71
|
{%- endcapture %}
|
@@ -124,7 +124,7 @@
|
|
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 %}
|
127
|
-
<a class="nohover" href="{{related_page.url | relative_url }}"><span class="badge default-badge">{{related_page.title}}</span></a>
|
127
|
+
<a class="nohover" href="{{related_page.url | relative_url }}" data-bs-toggle="tooltip" title="{{related_page.type | replace: '_', ' ' | capitalize}}"><span class="badge default-badge">{{related_page.title}}</span></a>
|
128
128
|
{%- endunless %}
|
129
129
|
{%- endfor %}
|
130
130
|
{%- endunless %}
|
@@ -44,7 +44,7 @@
|
|
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 %}
|
47
|
-
<a class="nohover" href="{{related_page.url | relative_url }}"><span class="badge default-badge">{{related_page.title}}</span></a>
|
47
|
+
<a class="nohover" href="{{related_page.url | relative_url }}" data-bs-toggle="tooltip" title="{{related_page.type | replace: '_', ' ' | capitalize}}"><span class="badge default-badge">{{related_page.title}}</span></a>
|
48
48
|
{%- endunless %}
|
49
49
|
{%- endfor %}
|
50
50
|
{%- endunless %}
|
@@ -118,7 +118,7 @@
|
|
118
118
|
{%- for tag in tool.related_pages %}
|
119
119
|
{%- unless tag == page.page_id %}
|
120
120
|
{%- assign related_page = site.pages | where:"page_id",tag | first %}
|
121
|
-
<a href="{{related_page.url | relative_url }}"><span class="badge default-badge">{{related_page.title}}</span></a>
|
121
|
+
<a href="{{related_page.url | relative_url }}" data-bs-toggle="tooltip" title="{{related_page.type | replace: '_', ' ' | capitalize}}"><span class="badge default-badge">{{related_page.title}}</span></a>
|
122
122
|
{%- endunless %}
|
123
123
|
{%- endfor %}
|
124
124
|
{%- endcapture %}
|
@@ -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/sidebar.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
{%- capture planning -%}{%- if page.url == "/planning" -%}st5{%- else -%}st15{%- endif -%}{%- endcapture -%}
|
7
7
|
{%- capture collecting -%}{%- if page.url == "/collecting" -%}st6{%- else -%}st16{%- endif -%}{%- endcapture -%}
|
8
8
|
{%- capture sharing -%}{%- if page.url == "/sharing" -%}st7{%- else -%}st17{%- endif -%}{%- endcapture -%}
|
9
|
-
<button class="btn text-start d-lg-none collapsed sidebar-collapse w-100 mb-3" type="button" data-bs-toggle="collapse" data-bs-target="#side-nav" aria-controls="side-nav" aria-expanded="true" aria-label="Toggle navigation">
|
9
|
+
<button class="btn text-start d-lg-none hover-primary collapsed sidebar-collapse w-100 mb-3" type="button" data-bs-toggle="collapse" data-bs-target="#side-nav" aria-controls="side-nav" aria-expanded="true" aria-label="Toggle navigation">
|
10
10
|
{{ page.sidebar | capitalize | replace: "_", " " }} menu <i title="navbar-toggler" class="fa-solid fa-bars ms-2"></i>
|
11
11
|
</button>
|
12
12
|
<nav class="collapse" id="side-nav" aria-label="Side navigation">
|
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 %}
|
data/_layouts/default.html
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
<!doctype html>
|
2
2
|
<html lang="en">
|
3
3
|
{% include head.html %}
|
4
|
-
<body>
|
4
|
+
<body class="d-flex flex-column min-vh-100">
|
5
5
|
{% if jekyll.environment == "development" %}{% include dev-info.html %}{% endif %}
|
6
6
|
{% include topnav.html %}
|
7
7
|
<!-- Page Content -->
|
8
|
-
<div class="container
|
8
|
+
<div class="container flex-grow-1">
|
9
9
|
<!-- Content Row -->
|
10
10
|
<div class="row gx-0 gx-lg-5">
|
11
11
|
{%- assign content_col_size = "col-lg-12" %}{% unless page.hide_sidebar %}
|
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
|
}
|