betterplace-content 0.7.89 → 0.7.94

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: 5d89bdb892cf8750046c4dc818e2393d1a8ca8b5673e1b0c7eca4575a2dee2ee
4
- data.tar.gz: c8ecf4eade2f89cd40f0913d057bbe60c9e6e457a0725d04a6d2b0ff690011b3
3
+ metadata.gz: 5ada2a033b97d7c0d460b697c1b13d33b9511c7e96166b0bd1ee90d219f7d112
4
+ data.tar.gz: 3449c1698af4e209e9ab7e7c4aa69436df4609a987e3f1a03d83662a5abc604c
5
5
  SHA512:
6
- metadata.gz: 5362c6e28a671c5bc7212583fc66786dd7fdc262ef3fae6fb9804b7f26e49df7bd85f65ce991fe7c5a154979019e2ad174ece87a473e511d9de302dd1e5e9aa5
7
- data.tar.gz: 5ab3ad2cc5092866543b2453911c954ed32b92af1947b93b358bd088c757e2f29e5aa09e72170913d8c185ac85f122c3250da5314ca9af40d846c3845c01d8e1
6
+ metadata.gz: a1f2736c64eb69ca164376d01928045acdb1e70e5b1f3b5d1bfb54c7200c5d8513f43c7893d0eec17462d2d8e5a6971dd6ef7f7d6d14f787cd454dfa8ad5c01e
7
+ data.tar.gz: c3ccc3e1f37f827452ab841f7397ee7d25429806bca6e1f2ba26a920b6f387fd534ec41c14bfe844a5a9bd9604101bc30e7bfbd843f2601bede65949b4b6237e
@@ -1 +1 @@
1
- <header><div class="header-logo"><a onclick="gaEvent(&#39;navigation header&#39;, &#39;click /de&#39;)" class="logo" href="https://www.betterplace.org/de"><img class="logo-full" alt="betterplace.org (Logo)" src="https://betterplace-assets.betterplace.org/assets/logos/layout-logo-d467733fb66cce20fecaf168956b759058116995fd5cc76f82e679acc0a0d54c.svg" /><img class="logo-compact" alt="betterplace.org (Logo)" src="https://betterplace-assets.betterplace.org/assets/logos/layout-logo-compact-c31a5daedfb45394a9fe63e271dc27ef75248a67aae3dece9eca21afc4082a22.svg" /></a></div><div class="header-claim">Deutschlands größte Spendenplattform</div><div class="header-search"><div data-search-url="https://www.betterplace.org/de/homepage/search" id="header-search-mountpoint"><i class="fa fa-search header-search-icon"></i></div></div><div class="header-login generic-header-login"><div data-login-check-url="https://www.betterplace.org/de/layouts/login_check" data-login-url="https://www.betterplace.org/de/users/sign_in?return_to={{site.baseurl}}" id="header-login-mountpoint"><span class="header-login-icon"><i class="fas fa-user fa-fw"></i></span><span class="header-login-label"><a href="https://www.betterplace.org/de/users/sign_in?return_to={{site.baseurl}}">Anmelden</a></span></div></div><div class="header-links"><ul class="header-list list-unstyled"><li class="header-item"><a onclick="gaEvent(&#39;navigation header&#39;, &#39;click /de/discover&#39;)" class="header-link" href="https://www.betterplace.org/de/discover">Entdecken</a></li><li class="header-item"><a onclick="gaEvent(&#39;navigation header&#39;, &#39;click /c/spenden-sammeln&#39;)" class="header-link" href="https://www.betterplace.org/c/spenden-sammeln">Spenden sammeln</a></li><li class="header-item"><a onclick="gaEvent(&#39;navigation header&#39;, &#39;click /c/ueber-uns&#39;)" class="header-link" href="/c/ueber-uns">Über uns</a></li></ul></div></header>
1
+ <header><div class="header-logo"><a onclick="gaEvent(&#39;navigation header&#39;, &#39;click /de&#39;)" class="logo" href="https://www.betterplace.org/de"><img class="logo-full" alt="betterplace.org (Logo)" height="30" src="https://betterplace-assets.betterplace.org/assets/logos/layout-logo-d467733fb66cce20fecaf168956b759058116995fd5cc76f82e679acc0a0d54c.svg" /><img class="logo-compact" alt="betterplace.org (Logo)" height="30" src="https://betterplace-assets.betterplace.org/assets/logos/layout-logo-compact-c31a5daedfb45394a9fe63e271dc27ef75248a67aae3dece9eca21afc4082a22.svg" /></a></div><div class="header-claim">Deutschlands größte Spendenplattform</div><div class="header-search"><div data-search-url="https://www.betterplace.org/de/homepage/search" id="header-search-mountpoint"><i class="fa fa-search header-search-icon"></i></div></div><div class="header-login generic-header-login"><div data-login-check-url="https://www.betterplace.org/de/layouts/login_check" data-login-url="https://www.betterplace.org/de/users/sign_in?return_to={{site.baseurl}}" id="header-login-mountpoint"><span class="header-login-icon"><i class="fas fa-user fa-fw"></i></span><span class="header-login-label"><a href="https://www.betterplace.org/de/users/sign_in?return_to={{site.baseurl}}">Anmelden</a></span></div></div><div class="header-links"><ul class="header-list list-unstyled"><li class="header-item"><a onclick="gaEvent(&#39;navigation header&#39;, &#39;click /de/discover&#39;)" class="header-link" href="https://www.betterplace.org/de/discover">Entdecken</a></li><li class="header-item"><a onclick="gaEvent(&#39;navigation header&#39;, &#39;click /de/collect_donations&#39;)" class="header-link" href="https://www.betterplace.org/de/collect_donations">Spenden sammeln</a></li><li class="header-item"><a onclick="gaEvent(&#39;navigation header&#39;, &#39;click /c/ueber-uns&#39;)" class="header-link" href="/c/ueber-uns">Über uns</a></li></ul></div></header>
@@ -1 +1 @@
1
- <header><div class="header-logo"><a onclick="gaEvent(&#39;navigation header&#39;, &#39;click /en&#39;)" class="logo" href="https://www.betterplace.org/en"><img class="logo-full" alt="betterplace.org (Logo)" src="https://betterplace-assets.betterplace.org/assets/logos/layout-logo-d467733fb66cce20fecaf168956b759058116995fd5cc76f82e679acc0a0d54c.svg" /><img class="logo-compact" alt="betterplace.org (Logo)" src="https://betterplace-assets.betterplace.org/assets/logos/layout-logo-compact-c31a5daedfb45394a9fe63e271dc27ef75248a67aae3dece9eca21afc4082a22.svg" /></a></div><div class="header-claim">Change the world with your donation</div><div class="header-search"><div data-search-url="https://www.betterplace.org/en/homepage/search" id="header-search-mountpoint"><i class="fa fa-search header-search-icon"></i></div></div><div class="header-login generic-header-login"><div data-login-check-url="https://www.betterplace.org/en/layouts/login_check" data-login-url="https://www.betterplace.org/en/users/sign_in?return_to={{site.baseurl}}" id="header-login-mountpoint"><span class="header-login-icon"><i class="fas fa-user fa-fw"></i></span><span class="header-login-label"><a href="https://www.betterplace.org/en/users/sign_in?return_to={{site.baseurl}}">Login</a></span></div></div><div class="header-links"><ul class="header-list list-unstyled"><li class="header-item"><a onclick="gaEvent(&#39;navigation header&#39;, &#39;click /en/discover&#39;)" class="header-link" href="https://www.betterplace.org/en/discover">Discover</a></li><li class="header-item"><a onclick="gaEvent(&#39;navigation header&#39;, &#39;click /c/collect-donations&#39;)" class="header-link" href="https://www.betterplace.org/c/collect-donations">Collect donations</a></li><li class="header-item"><a onclick="gaEvent(&#39;navigation header&#39;, &#39;click /c/about-us&#39;)" class="header-link" href="/c/about-us">About Us</a></li></ul></div></header>
1
+ <header><div class="header-logo"><a onclick="gaEvent(&#39;navigation header&#39;, &#39;click /en&#39;)" class="logo" href="https://www.betterplace.org/en"><img class="logo-full" alt="betterplace.org (Logo)" height="30" src="https://betterplace-assets.betterplace.org/assets/logos/layout-logo-d467733fb66cce20fecaf168956b759058116995fd5cc76f82e679acc0a0d54c.svg" /><img class="logo-compact" alt="betterplace.org (Logo)" height="30" src="https://betterplace-assets.betterplace.org/assets/logos/layout-logo-compact-c31a5daedfb45394a9fe63e271dc27ef75248a67aae3dece9eca21afc4082a22.svg" /></a></div><div class="header-claim">Change the world with your donation</div><div class="header-search"><div data-search-url="https://www.betterplace.org/en/homepage/search" id="header-search-mountpoint"><i class="fa fa-search header-search-icon"></i></div></div><div class="header-login generic-header-login"><div data-login-check-url="https://www.betterplace.org/en/layouts/login_check" data-login-url="https://www.betterplace.org/en/users/sign_in?return_to={{site.baseurl}}" id="header-login-mountpoint"><span class="header-login-icon"><i class="fas fa-user fa-fw"></i></span><span class="header-login-label"><a href="https://www.betterplace.org/en/users/sign_in?return_to={{site.baseurl}}">Login</a></span></div></div><div class="header-links"><ul class="header-list list-unstyled"><li class="header-item"><a onclick="gaEvent(&#39;navigation header&#39;, &#39;click /en/discover&#39;)" class="header-link" href="https://www.betterplace.org/en/discover">Discover</a></li><li class="header-item"><a onclick="gaEvent(&#39;navigation header&#39;, &#39;click /en/collect_donations&#39;)" class="header-link" href="https://www.betterplace.org/en/collect_donations">Collect donations</a></li><li class="header-item"><a onclick="gaEvent(&#39;navigation header&#39;, &#39;click /c/about-us&#39;)" class="header-link" href="/c/about-us">About Us</a></li></ul></div></header>
@@ -121,8 +121,15 @@ Update 2019-07-19: Another problem that came us is, that URLs endet in .html whi
121
121
  // This will also replace URLs like the navbar logo URL which is a nice extra.
122
122
  // The attribute data-host-replaced=true is meant as a heads up when using the inspector that something was change here.
123
123
  // We cannot use the same logic for JS – more at https://github.com/betterplace/content--theme/commit/cff6293.
124
+ // We work around checking for bp42 here to not expose the staging domain.
125
+ // www.betterplace.org, .dev: do nothing
126
+ // app.cloudcannon.com, proxy.cloudcannon.com: do nothing
127
+ // www.bp42.com: replace
124
128
  {% endcomment -%}
125
- if (window.location.hostname !== 'www.betterplace.org') {
129
+ const prd = window.location.hostname.indexOf('.org') !== -1
130
+ const dev = window.location.hostname.indexOf('.dev') !== -1
131
+ const edit = window.location.hostname.indexOf('.cloud') !== -1
132
+ if (!prd && !dev && !edit) {
126
133
  document.querySelectorAll("[href]").forEach(element => {
127
134
  if (element.href.includes('www.betterplace.org')) {
128
135
  element.href = element.href.replace('www.betterplace.org', window.location.hostname)
@@ -35,7 +35,7 @@
35
35
  height: 0;
36
36
  border-style: solid;
37
37
  border-width: 5px 5px 0 5px;
38
- border-color: $very-light_grey transparent transparent transparent;
38
+ border-color: $gray-200 transparent transparent transparent;
39
39
  }
40
40
  }
41
41
 
@@ -1,3 +1,4 @@
1
+ // Used for counsil and shareholders.
1
2
  .generic-team-list {
2
3
  padding: 0;
3
4
  margin-left: 0;
@@ -79,101 +80,10 @@
79
80
  z-index: 20;
80
81
  }
81
82
 
82
- &.is-alumni {
83
- display: none;
84
- }
85
-
86
83
  img {
87
84
  width: 100%;
88
85
  height: auto;
89
86
  display: block;
90
87
  }
91
-
92
- &.has-speech-bubble {
93
- @include desktop {
94
- width: 40%;
95
- }
96
- @include phone {
97
- width: 100%;
98
- }
99
- .user-image {
100
- float: left;
101
- @include desktop {
102
- width: 50%;
103
- }
104
- @include phone {
105
- width: 50%;
106
- }
107
- }
108
- .name-and-meta {
109
- width: 50%;
110
- }
111
- }
112
-
113
- .speech-bubble {
114
- hyphens: auto;
115
- -webkit-hyphens: auto;
116
- position: relative;
117
- display: block;
118
- width: 50%;
119
- font-weight: normal;
120
- font-size: 14px;
121
- float: left;
122
- background-color: #eeeeee;
123
- @include desktop {
124
- height: 188px;
125
- padding: 15px;
126
- }
127
- @include phone {
128
- padding: 10px 10px 0px 10px;
129
- }
130
-
131
- &:before {
132
- content: '';
133
- position: absolute;
134
- left: -20px;
135
- width: 0;
136
- height: 0;
137
- border-style: solid;
138
- border-width: 20px 20px 20px 0;
139
- border-color: transparent $very-light_grey transparent transparent;
140
- @include desktop {
141
- top: 50%;
142
- margin-top: -15px;
143
- }
144
- @include phone {
145
- top: 20px;
146
- }
147
- }
148
-
149
- h2 {
150
- font-weight: 300;
151
- margin-top: 0;
152
- @include desktop {
153
- font-size: 18px;
154
- line-height: 24px;
155
- }
156
- @include phone {
157
- font-size: 5vw;
158
- line-height: 6vw;
159
- }
160
- }
161
- p {
162
- font-weight: 300;
163
- margin-bottom: 0;
164
- @include desktop {
165
- font-size: 13px;
166
- line-height: 18px;
167
- }
168
- @include phone {
169
- font-size: 3vw;
170
- line-height: 4vw;
171
- }
172
- a {
173
- font-weight: 300;
174
- color: inherit;
175
- }
176
- }
177
- }
178
88
  }
179
89
  }
@@ -6,7 +6,6 @@ $gray-500: #919191
6
6
  $gray-700: #636363
7
7
  $gray-800: #3f3f3f
8
8
 
9
- $green-100: #f5fccc
10
9
  $green-300: #d6ef66
11
10
  $green-500: #9ecb09
12
11
  $green-500: #9ecb0a
@@ -15,8 +14,7 @@ $purple-600: #6d2c64
15
14
 
16
15
  $red-500: #ff6f6c
17
16
 
18
- $teal-500: #4597a2
19
- $teal-500: #4597a2
17
+ $teal-500: #60B2A4
20
18
 
21
19
  $yellow-400: #f6ce46
22
20
 
@@ -11,7 +11,6 @@
11
11
  +generate-backgrounds($red-500, red-500)
12
12
  +generate-backgrounds($legacy-gray-blue-200, legacy-gray-blue-200)
13
13
  +generate-backgrounds($teal-500, teal-500)
14
- +generate-backgrounds($green-100, green-100)
15
14
  +generate-backgrounds($purple-600, purple-600)
16
15
  +generate-backgrounds($yellow-400, yellow-400)
17
16
  +generate-backgrounds($gray-800, gray-800)
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.89
4
+ version: 0.7.94
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-04-13 00:00:00.000000000 Z
11
+ date: 2021-05-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll