betterplace-content 0.7.120 → 0.7.122

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a782a22cc49515a97b6635e0c8a93b27cdbbb5d74aff333af0ba87ebb5978b1b
4
- data.tar.gz: 425504d145013e39732bed3b2533778b9577921453f56218bddbcf9db8e34ba4
3
+ metadata.gz: 5d2439f5b777a3f23029fdcedba7a68358feabbac89dffd972258f21be5e1d30
4
+ data.tar.gz: 149553ed5a70bf946bd4649da59e80b2de7fadd3217678a3d2889d0b2d730757
5
5
  SHA512:
6
- metadata.gz: aabf201af3769ee044ca0937c95fcdd883ac21cc1b889e9f2cfd4124e76a46299d4aa9b18e64d233ce2c7596e5bde67b65fc8ddbf6d6285dd94c1bc40e155444
7
- data.tar.gz: 9b55dfdedafeca5905429ca9cce476d370f4bdaa127082f074644bfe2821b46f5143b80c1391be5cfd9a4d53a68ae37504f0811d56c655a5db3d225c6af1a831
6
+ metadata.gz: f255c74d187b9dfbd0d8bcc86536a0bb71ccf9bfe020e5dd9da098accf2e569726d29891449c24d324fae4907e3cfe500c958da388610edc4fae4453342d1d3a
7
+ data.tar.gz: 68051de67b2eacbf6bd85671d02cd781674e24a7cdce2243ae519e8d23c9b8019c7079e2e52fbfd6da9467fb504d6e422ad19c7f154766a6318e60d1a41d63e1
@@ -4,7 +4,7 @@
4
4
  <meta charset="UTF-8" />
5
5
  <meta content="width=device-width, initial-scale=1, shrink-to-fit=no" name="viewport" />
6
6
  <meta name='csrf-token' content='' />
7
-
7
+ <script src="{{ style_host }}/{{ site.lang }}/layouts/packs.js"></script>
8
8
  <script>
9
9
  if (window.innerWidth > 451) {
10
10
  document.querySelector("meta[name='viewport']").setAttribute('content', 'width=1100');
@@ -59,8 +59,6 @@ Update 2019-07-19: Another problem that came us is, that URLs endet in .html whi
59
59
  <link rel="stylesheet" href="{{ style_host }}{{ site.baseurl }}{{ site._options.content.styles }}" />
60
60
  {% endif %}
61
61
 
62
- <link rel="stylesheet" href="{{ style_host }}/de/layouts/current_stylesheet/application" />
63
-
64
62
  <link rel="shortcut icon" href="https://betterplace-assets.betterplace.org/static-images/logos/favicon.png" />
65
63
 
66
64
  {{ page.head_include }}{{ site.head_include }}{{ layout.head_include }}
@@ -74,7 +72,8 @@ Update 2019-07-19: Another problem that came us is, that URLs endet in .html whi
74
72
  </head>
75
73
  {% assign transparent_header = page.transparent_header | default: site.transparent_header %}
76
74
  <body class="{% if page.url contains '404' %} error404 {% else %} {{ site.css_root }} {% endif %}{% if transparent_header %} has-transparent-header {% endif %}">
77
- <div id="fb-root"></div>
75
+
76
+ <div id="fb-root"></div>
78
77
 
79
78
  <div class='fixed-viewport-width bg-white'>
80
79
 
@@ -147,13 +146,5 @@ Update 2019-07-19: Another problem that came us is, that URLs endet in .html whi
147
146
 
148
147
  document.addEventListener('DOMContentLoaded', replaceHost)
149
148
  </script>
150
-
151
- {% comment -%}
152
- // The application JS pack is needed for the header, footer,
153
- // and some other rare cases like project-swiper, counter-widget, timer-widget
154
- {% endcomment -%}
155
- <script src="{{ style_host }}/de/layouts/current_pack/application"></script>
156
- <script src="{{ style_host }}/de/layouts/current_pack/locale_{{ site.lang }}"></script>
157
-
158
149
  </body>
159
150
  </html>
@@ -101,11 +101,6 @@
101
101
  margin-top: -0.5 * ($tile-aspect-ratio + $gutter-per-column);
102
102
  }
103
103
 
104
- // Truncate list on mobile.
105
- &:nth-child(n+14) {
106
- display: none;
107
- }
108
-
109
104
  &.halfling {
110
105
  article {
111
106
  padding-top: 0.5 * ($tile-aspect-ratio - $gutter-per-column);
@@ -301,10 +296,32 @@
301
296
  }
302
297
  }
303
298
 
304
- // Show whole team list.
305
- #ui-toggle-expand-teamlist:checked ~ & {
306
- li:not(.spacer) {
299
+ // Truncate list on mobile.
300
+ @include phone {
301
+ & ~ label[for="ui-toggle-expand-teamlist"] {
307
302
  display: block;
303
+ width: max-content;
304
+ margin: 1rem auto;
305
+ }
306
+
307
+ #ui-toggle-expand-teamlist:not(:checked) ~ & {
308
+ li:nth-child(n+14) {
309
+ display: none;
310
+ }
311
+
312
+ & ~ label[for="ui-toggle-expand-teamlist"] .__checked {
313
+ display: none;
314
+ }
315
+ }
316
+
317
+ #ui-toggle-expand-teamlist:checked ~ & ~ label[for="ui-toggle-expand-teamlist"] {
318
+ position: sticky;
319
+ bottom: 2rem;
320
+ z-index: 100;
321
+
322
+ .__unchecked {
323
+ display: none;
324
+ }
308
325
  }
309
326
  }
310
327
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: betterplace-content
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.120
4
+ version: 0.7.122
5
5
  platform: ruby
6
6
  authors:
7
7
  - betterplace.org Developers
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-06-29 00:00:00.000000000 Z
11
+ date: 2022-10-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -212,7 +212,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
212
212
  - !ruby/object:Gem::Version
213
213
  version: '0'
214
214
  requirements: []
215
- rubygems_version: 3.2.22
215
+ rubygems_version: 3.3.15
216
216
  signing_key:
217
217
  specification_version: 4
218
218
  summary: betterplace.org's Jekyll Content Theme