betterplace-content 0.7.89 → 0.7.94
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/header-de.html +1 -1
- data/_includes/header-en.html +1 -1
- data/_layouts/default.html +8 -1
- data/_sass/generics/desktop-navigation.scss +1 -1
- data/_sass/generics/team_list.scss +1 -91
- data/_sass/initialize/colors.sass +1 -3
- data/_sass/lpm/_background_colors.sass +0 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5ada2a033b97d7c0d460b697c1b13d33b9511c7e96166b0bd1ee90d219f7d112
|
4
|
+
data.tar.gz: 3449c1698af4e209e9ab7e7c4aa69436df4609a987e3f1a03d83662a5abc604c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a1f2736c64eb69ca164376d01928045acdb1e70e5b1f3b5d1bfb54c7200c5d8513f43c7893d0eec17462d2d8e5a6971dd6ef7f7d6d14f787cd454dfa8ad5c01e
|
7
|
+
data.tar.gz: c3ccc3e1f37f827452ab841f7397ee7d25429806bca6e1f2ba26a920b6f387fd534ec41c14bfe844a5a9bd9604101bc30e7bfbd843f2601bede65949b4b6237e
|
data/_includes/header-de.html
CHANGED
@@ -1 +1 @@
|
|
1
|
-
<header><div class="header-logo"><a onclick="gaEvent('navigation header', 'click /de')" 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('navigation header', 'click /de/discover')" class="header-link" href="https://www.betterplace.org/de/discover">Entdecken</a></li><li class="header-item"><a onclick="gaEvent('navigation header', 'click /
|
1
|
+
<header><div class="header-logo"><a onclick="gaEvent('navigation header', 'click /de')" 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('navigation header', 'click /de/discover')" class="header-link" href="https://www.betterplace.org/de/discover">Entdecken</a></li><li class="header-item"><a onclick="gaEvent('navigation header', 'click /de/collect_donations')" class="header-link" href="https://www.betterplace.org/de/collect_donations">Spenden sammeln</a></li><li class="header-item"><a onclick="gaEvent('navigation header', 'click /c/ueber-uns')" class="header-link" href="/c/ueber-uns">Über uns</a></li></ul></div></header>
|
data/_includes/header-en.html
CHANGED
@@ -1 +1 @@
|
|
1
|
-
<header><div class="header-logo"><a onclick="gaEvent('navigation header', 'click /en')" 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('navigation header', 'click /en/discover')" class="header-link" href="https://www.betterplace.org/en/discover">Discover</a></li><li class="header-item"><a onclick="gaEvent('navigation header', 'click /
|
1
|
+
<header><div class="header-logo"><a onclick="gaEvent('navigation header', 'click /en')" 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('navigation header', 'click /en/discover')" class="header-link" href="https://www.betterplace.org/en/discover">Discover</a></li><li class="header-item"><a onclick="gaEvent('navigation header', 'click /en/collect_donations')" class="header-link" href="https://www.betterplace.org/en/collect_donations">Collect donations</a></li><li class="header-item"><a onclick="gaEvent('navigation header', 'click /c/about-us')" class="header-link" href="/c/about-us">About Us</a></li></ul></div></header>
|
data/_layouts/default.html
CHANGED
@@ -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
|
-
|
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)
|
@@ -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: #
|
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.
|
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-
|
11
|
+
date: 2021-05-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|