mirror of
https://github.com/bigchaindb/site.git
synced 2024-12-24 02:16:10 +01:00
partner tweaks, switch countries source
This commit is contained in:
parent
364978ae82
commit
f1cb2e26f5
@ -76,4 +76,4 @@ gems:
|
||||
|
||||
jekyll_get:
|
||||
data: countries
|
||||
json: 'https://restcountries.eu/rest/v2/all?fields=name;alpha2Code'
|
||||
json: 'https://raw.githubusercontent.com/mledoze/countries/master/dist/countries.json'
|
||||
|
@ -57,10 +57,10 @@ var FormEnterprise = (function(w, d, $) {
|
||||
|
||||
app = {
|
||||
init: function() {
|
||||
_private.formSubmit();
|
||||
_private.formSubmit()
|
||||
}
|
||||
};
|
||||
|
||||
return app;
|
||||
|
||||
})(window, document, jQuery);
|
||||
})(window, document, jQuery)
|
||||
|
@ -1,14 +1,8 @@
|
||||
.section--partners {
|
||||
.grid__col {
|
||||
padding-right: $gutter-space;
|
||||
}
|
||||
}
|
||||
|
||||
.partner {
|
||||
text-align: center;
|
||||
display: block;
|
||||
box-shadow: none;
|
||||
max-width: 150px;
|
||||
max-width: 120px;
|
||||
margin: auto;
|
||||
|
||||
&:hover,
|
||||
@ -31,7 +25,11 @@
|
||||
fill: $brand-main-blue-light;
|
||||
fill-opacity: .6;
|
||||
max-width: 100%;
|
||||
height: 40px; // need to hardcode some size to overwrite browser's default 150px height for SVGs
|
||||
height: 20px; // need to hardcode some size to overwrite browser's default 150px height for SVGs
|
||||
|
||||
@media ($screen-sm) {
|
||||
height: 30px;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -68,8 +66,10 @@
|
||||
}
|
||||
|
||||
.partner__logo--porsche {
|
||||
transform: scale(1.3);
|
||||
transform-origin: top center;
|
||||
@media ($screen-sm) {
|
||||
transform: scale(1.3);
|
||||
transform-origin: top center;
|
||||
}
|
||||
}
|
||||
|
||||
.partner__logo--volkswagen {
|
||||
|
@ -38,7 +38,7 @@
|
||||
<select class="form-control" id="country" name="country" required data-required="true">
|
||||
<option value=""> </option>
|
||||
{% for country in site.data.countries %}
|
||||
<option value="{{ country.alpha2Code }}">{{ country.name }}</option>
|
||||
<option value="{{ country.cca2 }}">{{ country.name.common }}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
<label class="form-label" for="country">Country</label>
|
||||
|
@ -37,7 +37,7 @@ partners:
|
||||
</div>
|
||||
|
||||
<div class="row row--wide">
|
||||
<article class="grid grid--full grid-small--half grid-medium--fit grid-medium--columns grid--justifycenter grid--gutters">
|
||||
<article class="grid grid--half grid-medium--fit grid-medium--columns grid--justifycenter grid--gutters">
|
||||
|
||||
{% if page.partners.logos %}
|
||||
{% assign partners_sorted = page.partners.logos %}
|
||||
|
Loading…
Reference in New Issue
Block a user