betterplace-content 0.7.74 → 0.7.80

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: 64a9bcf085d3bf7a0f70fd03cba8c5583b5fa331c0f0bc565e66c96244c1db2b
4
- data.tar.gz: 3b6dd9657714c459d304787b5d664d356e9419c50372a8d0e1504112bc37594d
3
+ metadata.gz: 7ee4ba6a8f61c94a108f0865e0e02a23f5a344203694ea2f96663328f444248a
4
+ data.tar.gz: 6fec854d55f0d6ad6c3ce2034243c55d630977ebdf2c337adbceddca6c9bd8ba
5
5
  SHA512:
6
- metadata.gz: 605353e8056a155a952246b13f879fc027a55a7cf12c69b2c59682b63f32d2939bc18e26bb4157b297895399d9f64a8a62db371b9ffd5d5935ed5ff97e1b0435
7
- data.tar.gz: 79037a41fe4fc1cfae1b07db15862e2a5ecda55a96af520aa186adc9396e83d882f3170416616a64b134e3ed9814d9a20b9541793d97be682be1119bec97e758
6
+ metadata.gz: 0ec597d2d17c5dd5701586dccf9e9a1970a3df65030fec88fdbac50733f81345869fb00ca589ad02e5476c2fa5d7e3dcbbb1bf6decbad92446f4d7727adafe5e
7
+ data.tar.gz: e4960864ae571ee72485dbeffe2f4d3c4610fd61928bfead770f84f389c8b432924577745c02928c03a494c7c69784f5e9d4c92e546b4da6130d0f24a96a7dd0
data/_layouts/help.html CHANGED
@@ -18,12 +18,12 @@ layout: default
18
18
  {% if page.author %}
19
19
  <div class="help-meta-information mb-4">
20
20
  <div class="help-author">
21
- <i class="fa fa-user-circle-o fa-fw"></i>
21
+ <i class="fas fa-user fa-fw"></i>
22
22
  {{ page.author }}
23
23
  </div>
24
24
 
25
25
  <div class="help-date">
26
- <i class="fa fa-clock-o fa-fw"></i>
26
+ <i class="fas fa-clock fa-fw"></i>
27
27
  {{ page.date | date:"%d.%m.%Y" }}
28
28
  </div>
29
29
  </div>
data/_layouts/news.html CHANGED
@@ -22,12 +22,12 @@ layout: default
22
22
  {% if page.author %}
23
23
  <div class="news-meta-information mb-4">
24
24
  <div class="news-author">
25
- <i class="fa fa-user-circle-o fa-fw"></i>
25
+ <i class="fas fa-user fa-fw"></i>
26
26
  {{ page.author }}
27
27
  </div>
28
28
 
29
29
  <div class="news-date">
30
- <i class="fa fa-clock-o fa-fw"></i>
30
+ <i class="fas fa-clock fa-fw"></i>
31
31
  {{ page.date | date:"%d.%m.%Y" }}
32
32
  </div>
33
33
  </div>
@@ -1,8 +1,8 @@
1
1
  .generic-team-list {
2
- font-size: 0;
3
2
  padding: 0;
4
3
  margin-left: 0;
5
4
  margin-right: 0;
5
+ list-style: none;
6
6
  display: flex;
7
7
  flex-wrap: wrap;
8
8
 
@@ -10,9 +10,7 @@
10
10
  position: relative;
11
11
  z-index: 10;
12
12
  display: block;
13
- vertical-align: top;
14
13
  font-size: 14px;
15
- font-size: 0;
16
14
 
17
15
  @include desktop {
18
16
  width: 20%;
@@ -23,21 +21,15 @@
23
21
 
24
22
  .user-image {
25
23
  display: block;
26
- vertical-align: top;
27
24
  cursor: pointer;
28
25
 
29
- .generic-admin-box {
30
- font-size: 12px;
31
- position: absolute;
32
- top: 0;
33
- left: 0;
34
- }
35
26
  img {
36
- image-rendering:-webkit-optimize-contrast;
37
27
  cursor: default;
38
28
  }
39
29
 
40
- &:hover +.name-and-meta { display: block; }
30
+ &:hover + .name-and-meta {
31
+ display: block;
32
+ }
41
33
  }
42
34
 
43
35
  .name-and-meta {
@@ -47,13 +39,17 @@
47
39
  width: 100%;
48
40
  text-align: center;
49
41
  background: white;
50
- background: rgba(255,255,255,0.9);
42
+ background: rgba(255, 255, 255, 0.9);
51
43
  display: none;
52
44
  padding: 10px;
53
- box-shadow: 0px 0px 10px rgba(0,0,0,0.5);
54
- -webkit-box-shadow: 0px 0px 10px rgba(0,0,0,0.5);
55
- & { display: none;}
56
- &:hover { display: block; }
45
+ box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
46
+ -webkit-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
47
+ & {
48
+ display: none;
49
+ }
50
+ &:hover {
51
+ display: block;
52
+ }
57
53
 
58
54
  p {
59
55
  color: $dark-grey;
@@ -73,8 +69,9 @@
73
69
  height: 0;
74
70
  border-style: solid;
75
71
  border-width: 0 10px 10px 10px;
76
- border-color: transparent transparent white transparent;
77
- border-color: transparent transparent rgba(255,255,255,0.9) transparent;
72
+ border-color: transparent transparent white transparent;
73
+ border-color: transparent transparent rgba(255, 255, 255, 0.9)
74
+ transparent;
78
75
  }
79
76
  }
80
77
 
@@ -93,12 +90,20 @@
93
90
  }
94
91
 
95
92
  &.has-speech-bubble {
96
- @include desktop { width: 40%; }
97
- @include phone { width: 100%; }
93
+ @include desktop {
94
+ width: 40%;
95
+ }
96
+ @include phone {
97
+ width: 100%;
98
+ }
98
99
  .user-image {
99
100
  float: left;
100
- @include desktop { width: 50%; }
101
- @include phone { width: 50%; }
101
+ @include desktop {
102
+ width: 50%;
103
+ }
104
+ @include phone {
105
+ width: 50%;
106
+ }
102
107
  }
103
108
  .name-and-meta {
104
109
  width: 50%;
@@ -111,7 +116,6 @@
111
116
  position: relative;
112
117
  display: block;
113
118
  width: 50%;
114
- vertical-align: top;
115
119
  font-weight: normal;
116
120
  font-size: 14px;
117
121
  float: left;
@@ -124,11 +128,6 @@
124
128
  padding: 10px 10px 0px 10px;
125
129
  }
126
130
 
127
- table {
128
- height: 100%;
129
- min-height: 135px;
130
- }
131
-
132
131
  &:before {
133
132
  content: '';
134
133
  position: absolute;
@@ -0,0 +1,280 @@
1
+ .generic-team-list-interlaced {
2
+ @mixin phone-ext {
3
+ @include phone {
4
+ @content(2, 2%);
5
+ }
6
+ }
7
+
8
+ @mixin desktop-ext {
9
+ @include desktop {
10
+ @content(5, 1%);
11
+ }
12
+ }
13
+
14
+ @include phone-ext using ($columns, $gutter) {
15
+ margin: 0 $gutter/-2;
16
+ }
17
+ @include desktop-ext using ($columns, $gutter) {
18
+ margin: 0 $gutter/-2;
19
+ }
20
+
21
+ padding: 0;
22
+ list-style: none;
23
+ display: flex;
24
+ flex-wrap: wrap;
25
+
26
+ @include phone {
27
+ font-size: 4.25vw;
28
+ }
29
+
30
+ li {
31
+ $tile-aspect-ratio: percentage(600/365);
32
+ position: relative;
33
+ display: block;
34
+ z-index: 10;
35
+
36
+ @include desktop-ext using ($columns, $gutter) {
37
+ $column-width: 100%/$columns;
38
+ $gutter-per-column: percentage($gutter/($column-width - $gutter));
39
+ width: $column-width;
40
+ padding: $gutter/2;
41
+
42
+ &:nth-child(5n+1) .tile,
43
+ &:nth-child(5n+3) .tile,
44
+ &:nth-child(5n) .tile {
45
+ margin-top: -0.5 * ($tile-aspect-ratio + $gutter-per-column);
46
+ .speech-bubble {
47
+ top: 50%;
48
+ bottom: auto;
49
+ }
50
+ }
51
+
52
+ &.halfling {
53
+ .tile {
54
+ padding-top: 0.5 * ($tile-aspect-ratio - $gutter-per-column);
55
+ }
56
+ }
57
+
58
+ .speech-bubble {
59
+ margin: $gutter-per-column/2 $gutter-per-column;
60
+ }
61
+ }
62
+
63
+ @include phone-ext using ($columns, $gutter) {
64
+ $column-width: 100%/$columns;
65
+ $gutter-per-column: percentage($gutter/($column-width - $gutter));
66
+ width: $column-width;
67
+ padding: $gutter/2;
68
+
69
+ &.spacer:nth-child(-n+5),
70
+ &.spacer:nth-last-child(-n+9) {
71
+ display: none;
72
+ }
73
+
74
+ &.spacer.halfling:nth-child(-n+2),
75
+ &.spacer.halfling:nth-last-child(-n+2) {
76
+ display: block;
77
+ }
78
+
79
+ &:nth-child(2n+1) .tile {
80
+ margin-top: -0.5 * ($tile-aspect-ratio + $gutter-per-column);
81
+ .speech-bubble {
82
+ top: 50%;
83
+ bottom: auto;
84
+ }
85
+ }
86
+
87
+ &:nth-child(n+14) {
88
+ display: none;
89
+ }
90
+
91
+ &:target, &:target ~ li {
92
+ display: block;
93
+ }
94
+
95
+ &.halfling {
96
+ article {
97
+ padding-top: 0.5 * ($tile-aspect-ratio - $gutter-per-column);
98
+ }
99
+ }
100
+
101
+ .speech-bubble {
102
+ margin: $gutter-per-column/2 $gutter-per-column;
103
+ }
104
+ }
105
+
106
+ &.spacer {
107
+ z-index: 0;
108
+ }
109
+
110
+ &:nth-child(30n+1) .tile,
111
+ &:nth-child(30n+7) .tile,
112
+ &:nth-child(30n+14) .tile,
113
+ &:nth-child(30n+16) .tile,
114
+ &:nth-child(30n+22) .tile,
115
+ &:nth-child(30n+29) .tile {
116
+ background: #60b2a4;
117
+ }
118
+ &:nth-child(30n+2) .tile,
119
+ &:nth-child(30n+9) .tile,
120
+ &:nth-child(30n+11) .tile,
121
+ &:nth-child(30n+17) .tile,
122
+ &:nth-child(30n+24) .tile,
123
+ &:nth-child(30n+26) .tile {
124
+ background: #ff6f6c;
125
+ }
126
+ &:nth-child(30n+3) .tile,
127
+ &:nth-child(30n+10) .tile,
128
+ &:nth-child(30n+13) .tile,
129
+ &:nth-child(30n+20) .tile,
130
+ &:nth-child(30n+23) .tile,
131
+ &:nth-child(30n+30) .tile {
132
+ background: #f5cd47;
133
+ }
134
+ &:nth-child(30n+4) .tile,
135
+ &:nth-child(30n+6) .tile,
136
+ &:nth-child(30n+12) .tile,
137
+ &:nth-child(30n+19) .tile,
138
+ &:nth-child(30n+21) .tile,
139
+ &:nth-child(30n+27) .tile {
140
+ background: #2B8475;
141
+ }
142
+ &:nth-child(30n+5) .tile,
143
+ &:nth-child(30n+8) .tile,
144
+ &:nth-child(30n+15) .tile,
145
+ &:nth-child(30n+18) .tile,
146
+ &:nth-child(30n+25) .tile,
147
+ &:nth-child(30n+28) .tile {
148
+ background: #6d2c64;
149
+ }
150
+
151
+ .tile {
152
+ position: relative;
153
+ width: 100%;
154
+ padding-top: $tile-aspect-ratio; // See https://www.w3schools.com/howto/tryit.asp?filename=tryhow_css_aspect_ratio_169
155
+ }
156
+
157
+ .filler {
158
+ position: absolute;
159
+ top: 0;
160
+ left: 0;
161
+ bottom: 0;
162
+ right: 0;
163
+ }
164
+
165
+ .user-image {
166
+ display: block;
167
+ cursor: pointer;
168
+
169
+ img {
170
+ cursor: default;
171
+ }
172
+
173
+ &:hover + .name-and-meta {
174
+ display: block;
175
+ }
176
+ }
177
+
178
+ .name-and-meta {
179
+ hyphens: auto;
180
+ -webkit-hyphens: auto;
181
+ position: absolute;
182
+ bottom: 0;
183
+ left: 0;
184
+ width: 100%;
185
+ text-align: center;
186
+ background: rgba(255, 255, 255, 0.9);
187
+ padding: .5em;
188
+ opacity: 0;
189
+ transition: opacity 0.3s;
190
+
191
+ .name {
192
+ margin: 0.5em 0 0.25em;
193
+ }
194
+
195
+ .description {
196
+ margin: 0.25em 0 0.5em;
197
+ }
198
+
199
+ .info {
200
+ margin: 1.25em 0 0.5em;
201
+
202
+ p {
203
+ margin: 0;
204
+ }
205
+ }
206
+
207
+ .description, .info {
208
+ color: $dark-grey;
209
+ font-weight: 300;
210
+ font-size: 0.875em;
211
+ line-height: 1.25;
212
+ }
213
+ }
214
+
215
+ &:hover .name-and-meta {
216
+ opacity: 1;
217
+ }
218
+
219
+ img {
220
+ width: 100%;
221
+ height: auto;
222
+ display: block;
223
+ }
224
+
225
+ .speech-bubble {
226
+ hyphens: auto;
227
+ -webkit-hyphens: auto;
228
+ position: absolute;
229
+ left: 100%;
230
+ top: auto;
231
+ bottom: 50%;
232
+ display: block;
233
+ width: 100%;
234
+ min-height: 50%;
235
+ font-weight: normal;
236
+ background-color: white;
237
+ padding: 0.5em;
238
+
239
+ &:before {
240
+ content: '';
241
+ position: absolute;
242
+ left: -2em;
243
+ width: 0;
244
+ height: 0;
245
+ border-style: solid;
246
+ border-width: 1em 2em 1em 0;
247
+ border-color: transparent white transparent transparent;
248
+ top: 50%;
249
+ margin-top: -1em;
250
+ }
251
+
252
+ h2 {
253
+ font-weight: 300;
254
+ margin-top: 0;
255
+ font-size: 1em;
256
+ line-height: 1.5;
257
+ }
258
+ p {
259
+ font-weight: 300;
260
+ margin-bottom: 0;
261
+ font-size: 0.66667em;
262
+ line-height: 1.25;
263
+ a {
264
+ font-weight: 300;
265
+ color: inherit;
266
+ }
267
+ }
268
+ }
269
+ }
270
+
271
+ // Additional text styles
272
+ .claim {
273
+ padding: .5em;
274
+ margin: 0;
275
+ color: rgba(255, 255, 255, 0.9);
276
+ font-weight: bold;
277
+ font-size: 1.5em;
278
+ text-align: center;
279
+ }
280
+ }
@@ -1,63 +1,15 @@
1
1
  body.team
2
- .generic-content-header
3
- +phone
4
- display: none
5
- +desktop
6
- height: 560px
7
- z-index: 0
8
- background: url('#{$site_baseurl}/assets/theme_images/team/generic-content-header_desktop.jpg') no-repeat 50% 50% $very-light-grey
9
- size: cover
10
-
11
- &:before
12
- display: none
13
-
14
- h1
15
- position: relative
16
- +desktop
17
- margin-bottom: 10px
18
- +phone
19
- margin-top: 30px
20
-
21
- h1,
22
- .unit-descriptions,
23
- .unit-descriptions p
24
- +desktop
25
- text-shadow: 1px 1px 0 #444
26
- text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.5)
27
- color: white
28
-
29
- .content-wrapper
30
- padding-bottom: 80px
31
- +desktop
32
- padding-top: 40px
33
-
34
- .content-wrapper > .container
35
- +desktop
36
- margin-top: -422px
37
-
38
- .tax-receipt-hint .container
39
- +desktop
40
- margin-top: 0
41
2
 
42
3
  .unit-select
43
- padding: 10px 20px 10px 0px
44
- +desktop
45
- color: white
4
+ padding: 0.5rem 0
5
+ display: flex
6
+ position: relative
7
+ z-index: 10 // Stay on top of targetable sheet’s padding.
46
8
 
47
9
  a
48
- padding: 4px 12px 4px 0
49
- display: inline-block
10
+ display: block
11
+ padding: 0.25rem 0.75rem
50
12
  border-right: 1px solid #4c4b4a
51
- color: $medium-green
52
- font-weight: normal
53
- font-size: 16px
54
- margin-right: 12px
55
- +desktop
56
- text-shadow: 1px 1px 0 #444
57
- text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.5)
58
-
59
- +phone
60
- margin-bottom: 5px
61
13
 
62
14
  &:first-child
63
15
  padding-left: 0
@@ -65,38 +17,21 @@ body.team
65
17
  &:last-child
66
18
  border-right-width: 0
67
19
 
68
- &.active
69
- +desktop
70
- color: white
71
-
72
- &:hover
73
- text-decoration: none
74
-
75
- +phone
76
- text-decoration: underline
77
-
78
20
  .unit-descriptions
79
- font-size: 14px
80
- line-height: 22px
81
- padding: 0 20px 17px 0px
21
+ font-size: 0.875rem
22
+ line-height: 1.5
82
23
  font-weight: 300
83
- p
84
- margin-bottom: 0
85
-
86
- a
87
- color: $medium-green
88
- white-space: nowrap
89
-
90
- .jobs-row
91
- text-align: center
92
- +desktop
93
- margin-top: 74px
94
- +phone
95
- margin-top: 50px
96
-
97
- h2
98
- margin-bottom: 25px
99
24
 
100
- p
101
- text-align: center
102
- margin-bottom: 20px
25
+ section.targetable
26
+ padding-top: 3rem // Have some space between target anchor an content.
27
+ margin-top: -3rem // Reset position.
28
+ // Hide not targeted section.
29
+ height: 0
30
+ overflow: hidden
31
+ opacity: 0
32
+ transition: opacity 0.3s ease
33
+
34
+ &:target
35
+ height: auto
36
+ overflow: initial
37
+ opacity: 1
@@ -16,6 +16,7 @@ $site_baseurl: "{{ site.baseurl }}"
16
16
  @import generics/search-form
17
17
  @import generics/sidebar-menu
18
18
  @import generics/team_list
19
+ @import generics/team_list_interlaced
19
20
  @import generics/topicblock
20
21
  @import generics/hero_image
21
22
  @import generics/hero_search
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.74
4
+ version: 0.7.80
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: 2021-01-29 00:00:00.000000000 Z
11
+ date: 2021-02-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -134,6 +134,7 @@ files:
134
134
  - _sass/generics/search-form.scss
135
135
  - _sass/generics/sidebar-menu.scss
136
136
  - _sass/generics/team_list.scss
137
+ - _sass/generics/team_list_interlaced.scss
137
138
  - _sass/generics/topicblock.sass
138
139
  - _sass/initialize/colors.sass
139
140
  - _sass/initialize/media_queries.sass
@@ -217,7 +218,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
217
218
  - !ruby/object:Gem::Version
218
219
  version: '0'
219
220
  requirements: []
220
- rubygems_version: 3.2.4
221
+ rubygems_version: 3.1.4
221
222
  signing_key:
222
223
  specification_version: 4
223
224
  summary: betterplace.org's Jekyll Content Theme