betterplace-content 0.7.120 → 0.7.121

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: a782a22cc49515a97b6635e0c8a93b27cdbbb5d74aff333af0ba87ebb5978b1b
4
- data.tar.gz: 425504d145013e39732bed3b2533778b9577921453f56218bddbcf9db8e34ba4
3
+ metadata.gz: 31532ef440adbb7ccfa6051ee021bf5859ff209aaa0b68cbca1a07142525eb29
4
+ data.tar.gz: 78ebfef0eba2347511b15adc507379fff03ff16d89d185d9b497f1096ea06ff9
5
5
  SHA512:
6
- metadata.gz: aabf201af3769ee044ca0937c95fcdd883ac21cc1b889e9f2cfd4124e76a46299d4aa9b18e64d233ce2c7596e5bde67b65fc8ddbf6d6285dd94c1bc40e155444
7
- data.tar.gz: 9b55dfdedafeca5905429ca9cce476d370f4bdaa127082f074644bfe2821b46f5143b80c1391be5cfd9a4d53a68ae37504f0811d56c655a5db3d225c6af1a831
6
+ metadata.gz: d84f379ee9f527ee2bb1c6c1d3dbd0bf2605a1b2f692f0f25baa109726549e84f039279a2622183b5344d55aa25f0343b2b3e5538afc5650d006245db885e589
7
+ data.tar.gz: 85927494474c52398ca0bdb14671fb3bb22ee37076fbe00067a448ec86629f8a605300469def900e1c0a4d54c207edb3c3de70f849ec440074d4badab73ec953
@@ -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,7 +1,7 @@
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.121
5
5
  platform: ruby
6
6
  authors:
7
7
  - betterplace.org Developers