bulma-clean-theme 1.2.0 → 1.2.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.
Files changed (46) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/image-modal.html +7 -5
  3. data/_includes/post-card.html +3 -1
  4. data/_includes/skip-to-content.html +1 -0
  5. data/_layouts/default.html +3 -2
  6. data/_layouts/product-category.html +2 -2
  7. data/_sass/_category.scss +15 -0
  8. data/_sass/_layout.scss +12 -1
  9. data/_sass/_main.scss +2 -1
  10. data/node_modules/.package-lock.json +3 -3
  11. data/node_modules/bulma/bulma.scss +1 -1
  12. data/node_modules/bulma/css/bulma.css +6 -1
  13. data/node_modules/bulma/css/bulma.css.map +1 -1
  14. data/node_modules/bulma/css/bulma.min.css +2 -2
  15. data/node_modules/bulma/css/versions/bulma-no-dark-mode.css +6 -1
  16. data/node_modules/bulma/css/versions/bulma-no-dark-mode.css.map +1 -1
  17. data/node_modules/bulma/css/versions/bulma-no-dark-mode.min.css +2 -2
  18. data/node_modules/bulma/css/versions/bulma-no-helpers-prefixed.css +2 -1
  19. data/node_modules/bulma/css/versions/bulma-no-helpers-prefixed.css.map +1 -1
  20. data/node_modules/bulma/css/versions/bulma-no-helpers-prefixed.min.css +2 -2
  21. data/node_modules/bulma/css/versions/bulma-no-helpers.css +2 -1
  22. data/node_modules/bulma/css/versions/bulma-no-helpers.css.map +1 -1
  23. data/node_modules/bulma/css/versions/bulma-no-helpers.min.css +2 -2
  24. data/node_modules/bulma/css/versions/bulma-prefixed.css +6 -1
  25. data/node_modules/bulma/css/versions/bulma-prefixed.css.map +1 -1
  26. data/node_modules/bulma/css/versions/bulma-prefixed.min.css +2 -2
  27. data/node_modules/bulma/package.json +5 -5
  28. data/node_modules/bulma/sass/base/generic.scss +2 -1
  29. data/node_modules/bulma/sass/base/skeleton.scss +1 -1
  30. data/node_modules/bulma/sass/components/navbar.scss +1 -1
  31. data/node_modules/bulma/sass/elements/button.scss +6 -0
  32. data/node_modules/bulma/sass/form/tools.scss +1 -1
  33. data/node_modules/bulma/sass/grid/columns.scss +1 -1
  34. data/node_modules/bulma/sass/helpers/typography.scss +4 -0
  35. data/node_modules/bulma/sass/layout/hero.scss +6 -6
  36. data/node_modules/bulma/sass/themes/_index.scss +2 -1
  37. data/node_modules/bulma/sass/themes/light.scss +1 -1
  38. data/node_modules/bulma/sass/utilities/controls.scss +1 -1
  39. data/node_modules/bulma/sass/utilities/css-variables.scss +1 -1
  40. data/node_modules/bulma/sass/utilities/initial-variables.scss +2 -0
  41. data/node_modules/bulma/versions/bulma-no-dark-mode.scss +1 -1
  42. data/node_modules/bulma/versions/bulma-no-helpers-prefixed.scss +1 -1
  43. data/node_modules/bulma/versions/bulma-no-helpers.scss +1 -1
  44. data/node_modules/bulma/versions/bulma-prefixed.scss +1 -1
  45. data/package-lock.json +3 -3
  46. metadata +4 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bc5eebdc7090a827d0d9ff06db0f65827653d68a2790aec8e9fdd9e2dc6d8acb
4
- data.tar.gz: 20416a467a37ac2ab3af8499de3f64ef019bb5b353cff310a184df5d2ea31d54
3
+ metadata.gz: 46db08b91dcf6c4637afc4c7ab7a0c88b9855ae13b5963d62e6ca81a2a2cb3b9
4
+ data.tar.gz: 705af2e4a4b4a8cb30928a4e599f97e8b0ed0a62964746e41c95e87251585e9b
5
5
  SHA512:
6
- metadata.gz: '09f0765af250c24a8f66f2a9059454a5b566ff3a301a06ba6c5f34896ce52a34e034e9e843740ef12a52209327f9ea66aa31d3c6caa49ce50f2bbe952c734977'
7
- data.tar.gz: b7af70c6bd23cca476f5a13ff94363a7eb3cd445f0408337714d5024fe4391ad3ec75ad6b9b43e823487ca66fa6d7e7ec4db962b6db80f7ef802c5ba0b5be912
6
+ metadata.gz: 1e1eae524a65dc4f842223c1300ed3ba997bc55cddb986016e379bc6379117c94fae45c915c35e1fdc8339d0238657e9feddb3cce5618b5000e2b5e0b5c67af6
7
+ data.tar.gz: 1df098bc2c0450348d34940990e7fbd3247aa45be8326661ade6b6190f37b4c0a16fa9153e13f86a94a86b9b71269a862051b7af22cc944b108e7e36b30d42f7
@@ -7,11 +7,13 @@
7
7
  <div class="modal" x-bind:class="open ? 'is-active' : ''" x-cloak>
8
8
  <div class="modal-background" x-on:click="open = false"></div>
9
9
  <div class="modal-content">
10
- {% if include.large_link %}
11
- <img src="{{ include.large_link | absolute_url }}" alt="{{ include.alt }}">
12
- {% else %}
13
- <img src="{{ include.link | absolute_url }}" alt="{{ include.alt }}">
14
- {% endif %}
10
+ <p class="image {{ include.ratio | default: is-16by9 }}">
11
+ {% if include.large_link %}
12
+ <img src="{{ include.large_link | absolute_url }}" alt="{{ include.alt }}">
13
+ {% else %}
14
+ <img src="{{ include.link | absolute_url }}" alt="{{ include.alt }}">
15
+ {% endif %}
16
+ </p>
15
17
  </div>
16
18
  <button class="modal-close is-large" aria-label="close" x-on:click="open = false"></button>
17
19
  </div>
@@ -20,7 +20,9 @@
20
20
  {% endif %}
21
21
  </div>
22
22
  <div class="has-text-centered">
23
- <a href="{{ site.baseurl }}{{ post.url }}" class="button is-primary">Read more</a>
23
+ <a href="{{ site.baseurl }}{{ post.url }}" class="button is-primary"
24
+ >Read more <span class="is-sr-only"> about {{ post.title }}</span></a
25
+ >
24
26
  </div>
25
27
  </div>
26
28
  <footer class="card-footer">
@@ -0,0 +1 @@
1
+ <a href="#main-content" class="is-sr-only skip-link"> Skip to main content </a>
@@ -18,6 +18,7 @@
18
18
  >
19
19
  {% include head.html %}
20
20
  <body>
21
+ {% include skip-to-content.html %}
21
22
  {% if site.cookie_policy %}
22
23
  {% include cookie-banner.html %}
23
24
  {% endif %}
@@ -39,13 +40,13 @@
39
40
  {% include menubar.html %}
40
41
  </div>
41
42
  {% endif %}
42
- <div class="column {{ content_width }}">
43
+ <main class="column {{ content_width }}" id="main-content">
43
44
  {% include tabs.html %}
44
45
  {% include showcase.html %}
45
46
  {% include sponsors.html %}
46
47
  {% include gallery.html %}
47
48
  {{ content }}
48
- </div>
49
+ </main>
49
50
  {% if site.posts and page.show_sidebar %}
50
51
  <div class="column is-4-desktop is-4-tablet">
51
52
  {% include latest-posts.html %}
@@ -8,14 +8,14 @@ show_sidebar: false
8
8
  </div>
9
9
 
10
10
  {% if page.collection %}
11
- {% assign sorted_products = site.[page.collection] | sort: page.sort %}
11
+ {% assign sorted_products = site[page.collection] | sort: page.sort %}
12
12
  {% else %}
13
13
  {% assign sorted_products = site.products | sort: page.sort %}
14
14
  {% endif %}
15
15
 
16
16
  {% for product in sorted_products %}
17
17
  <div class="column is-4-desktop is-6-tablet">
18
- <a href="{{ product.url | relative_url }}">
18
+ <a href="{{ product.url | relative_url }}" class="category-product">
19
19
  <div class="card">
20
20
  {% if product.image %}
21
21
  <div class="card-image">
@@ -0,0 +1,15 @@
1
+ .category {
2
+ &-product {
3
+ display: block;
4
+ &:hover {
5
+ outline: solid 2px $link;
6
+ border-radius: 0.75rem;
7
+ }
8
+ &:focus,
9
+ &:active {
10
+ outline: solid 2px $link;
11
+ border-radius: 0.75rem;
12
+ box-shadow: $box-shadow;
13
+ }
14
+ }
15
+ }
data/_sass/_layout.scss CHANGED
@@ -37,4 +37,15 @@ div.highlight {
37
37
  }
38
38
 
39
39
  // Alpine.js hide on initial load
40
- [x-cloak] { display: none !important; }
40
+ [x-cloak] { display: none !important; }
41
+
42
+ .skip-link {
43
+ &:focus {
44
+ display: block !important;
45
+ width: 100% !important;
46
+ height: auto !important;
47
+ padding: 1rem !important;
48
+ position: relative !important;
49
+ text-decoration: underline;
50
+ }
51
+ }
data/_sass/_main.scss CHANGED
@@ -2,7 +2,7 @@
2
2
  @import url('https://fonts.googleapis.com/css?family=Montserrat');
3
3
 
4
4
  $family-sans-serif: 'Montserrat', sans-serif;
5
- $primary: #188eac !default;
5
+ $primary: #157c95 !default;
6
6
 
7
7
  $tabs-link-active-color: $primary;
8
8
  $tabs-link-active-border-bottom-color: $primary;
@@ -18,6 +18,7 @@ $hero-darken: $dark !default;
18
18
  @import "showcase";
19
19
  @import "block-list";
20
20
  @import "promo-page";
21
+ @import "category";
21
22
 
22
23
  .gh-sponsor {
23
24
  color: #ea4aaa;
@@ -5,9 +5,9 @@
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "node_modules/bulma": {
8
- "version": "1.0.3",
9
- "resolved": "https://registry.npmjs.org/bulma/-/bulma-1.0.3.tgz",
10
- "integrity": "sha512-9eVXBrXwlU337XUXBjIIq7i88A+tRbJYAjXQjT/21lwam+5tpvKF0R7dCesre9N+HV9c6pzCNEPKrtgvBBes2g=="
8
+ "version": "1.0.4",
9
+ "resolved": "https://registry.npmjs.org/bulma/-/bulma-1.0.4.tgz",
10
+ "integrity": "sha512-Ffb6YGXDiZYX3cqvSbHWqQ8+LkX6tVoTcZuVB3lm93sbAVXlO0D6QlOTMnV6g18gILpAXqkG2z9hf9z4hCjz2g=="
11
11
  }
12
12
  }
13
13
  }
@@ -1,4 +1,4 @@
1
1
  @charset "utf-8";
2
2
 
3
- /*! bulma.io v1.0.3 | MIT License | github.com/jgthms/bulma */
3
+ /*! bulma.io v1.0.4 | MIT License | github.com/jgthms/bulma */
4
4
  @use "sass";
@@ -1,5 +1,5 @@
1
1
  @charset "UTF-8";
2
- /*! bulma.io v1.0.3 | MIT License | github.com/jgthms/bulma */
2
+ /*! bulma.io v1.0.4 | MIT License | github.com/jgthms/bulma */
3
3
  /* Bulma Utilities */
4
4
  :root {
5
5
  --bulma-control-radius: var(--bulma-radius);
@@ -3776,6 +3776,7 @@ a.box:active {
3776
3776
  }
3777
3777
  .button.is-outlined {
3778
3778
  --bulma-button-border-width: max(1px, 0.0625em);
3779
+ --bulma-loading-color: hsl(var(--bulma-button-h), var(--bulma-button-s), var(--bulma-button-l));
3779
3780
  background-color: transparent;
3780
3781
  border-color: hsl(var(--bulma-button-h), var(--bulma-button-s), var(--bulma-button-l));
3781
3782
  color: hsl(var(--bulma-button-h), var(--bulma-button-s), var(--bulma-button-l));
@@ -21040,6 +21041,10 @@ has-background-danger.is-hoverable:active {
21040
21041
  font-weight: 700 !important;
21041
21042
  }
21042
21043
 
21044
+ .has-text-weight-extrabold {
21045
+ font-weight: 800 !important;
21046
+ }
21047
+
21043
21048
  .is-family-primary {
21044
21049
  font-family: "Inter", "SF Pro", "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Helvetica Neue", "Helvetica", "Arial", sans-serif !important;
21045
21050
  }