}
+ &--small {
+
+ @include margin-bottom(4);
+ @include mq($until: xs) {
+ @include margin-bottom(4);
+ }
+
+ &:after {
+ display: none;
+ }
+
+ #{$module}__logo {
+
+ @include margin-top(15);
+ text-align: center;
+ @include mq($until: xs) {
+ @include margin-top(8);
+ img {
+ width: 159px;
+ }
+ }
+
+ }
+
+ }
+
}
#{$module} {
min-height: 500px;
- @include margin-top(3);
@include mq($until: sm) {
min-height: 0;
}
+ &__block-title {
+ text-align: left;
+ }
+
&__block {
@include padding-bottom(1);
+ h2:first-child {
+ @include font-size(l);
+ @include line-height(1);
+ @include typeface(serif);
+ font-weight: weight(bold);
+ }
+
&--yellow {
+ #{$module}__block-title {
+ text-align: center;
+ }
+
background-color: $color-main;
@include padding-top(2);
@include padding-bottom(2);
@include margin(2 0 0 0);
+ color: $color-background;
h2:first-child {
- margin-top: 0;
+
}
& + hr {
position: relative;
z-index: 1;
text-decoration: none;
- border-color: $color-black;
- border-bottom: 1px solid $color-black;
+ border-color: $color-background;
+ border-bottom: 1px solid $color-background;
+ color: $color-background;
@include transition(all 0.15s ease-in-out);
&:hover {
- box-shadow: inset 0 -30px $color-black;
+ box-shadow: inset 0 -30px $color-background;
color: $color-main;
}
}
+ &--white {
+
+ background-color: white;
+ color: $color-background;
+ @include padding-top(2);
+ @include padding-bottom(2);
+ @include margin(2 0 0 0);
+
+ #{$module}__block-title {
+ text-align: center;
+ }
+
+ a:not(.button) {
+
+ color: $color-background;
+ position: relative;
+ z-index: 1;
+ text-decoration: none;
+ border-color: $color-background;
+
+ &:hover {
+ box-shadow: none;
+ color: $color-background;
+ }
+
+ }
+
+ h2:first-child {
+
+ }
+
+ & + hr {
+ margin-top: 1px;
+ }
+
+ & + .page__block {
+ @include margin-top(2);
+ }
+
+ }
+
&--black {
background-color: $color-black;
@include padding-bottom(2);
@include margin(2 0 0 0);
+ #{$module}__block-title {
+ text-align: center;
+ }
+
a:not(.button) {
color: white;
}
h2:first-child {
- margin-top: 0;
+
}
& + hr {
@include padding-bottom(2);
@include margin(2 0);
+ #{$module}__block-title {
+ text-align: center;
+ }
+
+ a:not(.button) {
+
+ color: white;
+ position: relative;
+ z-index: 1;
+ text-decoration: none;
+ border-color: white;
+
+ &:hover {
+ box-shadow: none;
+ color: white;
+ }
+
+ }
+
h2:first-child {
- margin-top: 0;
+
+ }
+
+ & + hr {
+ margin-top: 1px;
+ }
+
+ & + .page__block {
+ @include margin-top(2);
}
}
height: auto;
}
- /*&:after {
-
- @include mq($until: xs) {
- display: none;
- }
-
- content: "";
- display: block;
- position: absolute;
- bottom: 0;
- left: 0;
- right: 0;
- height: 100px;
- background-color: rgba(255,255,255,0);
- @include filter-gradient(#ffffff, #ffffff, vertical);
- @include background-image(linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 50%));
- }*/
-
.slider-home & {
@include padding(0);
}
@include margin-top(2);
position: relative;
-
-
+ border: 0;
+ @include padding(0);
&:after {
display: block;
height: 1px;
width: 100%;
- background: #979797;
+ background: $color-main;
position: absolute;
bottom: -24px;
left: 0;
left: 0;
right: 0;
height: 100px;
- background-color: rgba(255,255,255,0);
- @include filter-gradient(#ffffff, #ffffff, vertical);
- @include background-image(linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 50%));
+ background-color: rgba($color-background, 0);
+ @include filter-gradient(rgba($color-background, 1), rgba($color-background, 1), vertical);
+ @include background-image(linear-gradient(top, rgba($color-background, 0) 0%, rgba($color-background, 1) 50%));
}
}
+ &:hover {
+ border: 0;
+ background-color: $color-background;
+ #{$module}__title {
+ color: $color-main;
+ }
+ #{$module}__desc {
+ color: white;
+ }
+ }
+
}
}
position: relative;
display: block;
- @include margin-bottom(2);
- @include padding-bottom(.5);
- @include transition(all 0.25s ease-in-out);
+ @include margin-bottom(1);
+ @include transition(all 0.5s ease-in-out);
+
+ border: 1px solid rgba($color-main, 0.35);
+ @include padding(1);
&:hover {
- box-shadow: 0px 0px 14px 0px rgba(0,0,0,0.17);
+
+ border: 1px solid rgba($color-main, 1);
+ background: $color-main;
+
+ .media-box__image-container {
+ background: black;
+ }
+
.media-box__image {
img {
- @include transform(scale(1.1));
+ -webkit-filter: grayscale(0);
+ filter: grayscale(0);
}
- &:after {
- background: $color-black;
- color: white;
- }
+ }
+
+ .media-box__title {
+ color: $color-background;
+ }
+ .media-box__type {
+ color: $color-background;
+ }
+ .media-box__subtitle {
+ color: $color-background;
+ }
+ .media-box__desc {
+ color: $color-background;
}
}
- &__image {
+ &__image-container {
+ background: $color-background;
+ @include transition(all 0.5s ease-in-out);
+ }
+
+ &__placeholder {
+
+ background: $color-main;
+
+ }
- @include fluid-aspect(320 190);
+ &__content {
+ @include padding(.25 .25 .25 .25);
+
+ position: relative;
overflow: hidden;
- img {
- @include transition(all 0.3s ease-in-out);
+ @include mq($until: xs) {
+ height: auto;
}
- &:after {
- @include transition(all 0.5s ease-in-out);
+ .slider-home & {
+ @include padding(0);
+ }
+ }
- font-family: FontAwesome;
+ &__image {
+ margin: 0;
+ padding: 0;
+ width: 100%;
+ position: relative;
+ overflow: hidden;
+
+ @include fluid-aspect(427 286);
+
+ img {
display: block;
- content: "\f04b";
- background: white;
- width: 50px;
- height: 50px;
- border-radius: 50px;
+ width: 100%;
+ max-width: 100%;
+ height: auto;
- font-size: 25px;
+ @include transition(all 0.5s ease-in-out);
+
+ -webkit-filter: grayscale(1);
+ filter: grayscale(1);
+ mix-blend-mode: screen;
+ }
+ &:after {
+ content: "\f04b";
+ text-indent: 0px;
+ color: white;
+ font-family: FontAwesome;
+ font-size: 50px;
position: absolute;
top: 50%;
left: 50%;
- margin-top: -25px;
- margin-left: -25px;
-
- line-height: 50px;
- text-align: center;
- text-indent: 3px;
- }
-
- &--audio {
- &:after {
- content: "\f028";
- text-indent: 0px;
- }
+ @include transform(translateX(-50%) translateY(-50%));
}
}
&__type {
- @include font-size(m);
+ text-transform: uppercase;
+ @include font-size(s);
@include line-height(1.25);
@include typeface(sans-serif);
- @include margin(.25 0 0 0);
-
- @include padding(0 .25);
+ @include margin(0 0 0 0);
+ font-weight: weight(regular);
+ color: $color-main;
+ @include transition(color 0.5s ease-in-out);
}
@include font-size(xl);
@include line-height(1.25);
@include typeface(sans-serif);
- @include margin(0 0 .25 0);
-
- @include padding(0 .25);
+ @include margin(.5 0 0 0);
+ font-weight: weight(bold);
+ color: $color-main;
+ @include transition(color 0.5s ease-in-out);
}
@include typeface(serif);
@include margin(1 0 .25 0);
font-weight: weight(light);
-
- @include padding(0 .25);
+ color: white;
+ @include transition(color 0.5s ease-in-out);
}
{% endmetablock %}
{% endblock %}
-{% block breadcrumb_menu %}
- {{ block.super }}
-{% endblock %}
-
{% block main %}
<div class="page page--{% spaceless %}{% block page_class %}{% endblock %}{% endspaceless %}">
<div class="container">
{% load i18n mezzanine_tags keyword_tags pages_tags organization_tags %}
{% if blocks %}
<div class="pb2">
- {% if blocks.first %}
- <hr class="mt0" />
- {% endif %}
{% for block in blocks %}
{% if block.content %}
{% if not forloop.first and block.with_separator %}
<div class="row" data-summary-content>
<div class="col-sm-16 col-md-10 col-md-push-3">
{% editable block.title %}
- <h2 class="dotted">{{ block.title }}</h2>
+ <div class="page__block-title">
+ <h2 class="">{{ block.title }}</h2>
+ </div>
{% endeditable %}
{% if block.description %}
<div class="chapo">
{% load i18n mezzanine_tags keyword_tags organization_tags pages_tags %}
{% if dynamic_content.first.content_object %}
- <hr class="mt0 mb0" />
<div class="pb2">
<div class="container">
<div class="row tac">
<div class="col-xs-16">
- <h2 class="dashed dashed--center mt2">{% if object.related_title.title %}{{ object.related_title.title }}{% else %}{% trans "Also discover" %}{% endif %}</h2>
+ <h2 class="section-title section-title--underline section-title--uppercase section-title--main">{% if object.related_title.title %}{{ object.related_title.title }}{% else %}{% trans "Also discover" %}{% endif %}</h2>
</div>
</div>
- <div class="row tac">
- {% for content in dynamic_content %}
- <div class="col-lg-3 col-md-4 col-sm-4 col-xs-6">
- {% if content.content_type.model == "article" %}
- {% include "magazine/article/includes/article_card.html" with object=content.content_object %}
- {% elif content.content_type.model == "event" %}
- {% include "agenda/event/includes/event_card.html" with object=content.content_object %}
- {% elif content.content_type.model == "custompage" %}
- {% include "pages/page/includes/page_card.html" with object=content.content_object %}
- {% endif %}
+ <div class="row">
+ <div class="col-md-10 col-md-push-3 col-xxs-16">
+ <div class="row">
+ {% for content in dynamic_content %}
+ <div class="col-xs-8">
+ {% if content.content_type.model == "article" %}
+ {% include "magazine/article/includes/article_card.html" with object=content.content_object %}
+ {% elif content.content_type.model == "event" %}
+ {% include "agenda/event/includes/event_card.html" with object=content.content_object %}
+ {% elif content.content_type.model == "custompage" %}
+ {% include "pages/page/includes/page_card.html" with object=content.content_object %}
+ {% endif %}
+ </div>
+ {% endfor %}
</div>
- {% endfor %}
+ </div>
</div>
</div>
</div>
--- /dev/null
+{% load i18n pages_tags mezzanine_tags staticfiles keyword_tags event_tags organization_tags %}
+
+<div class="hero hero--small">
+
+ <div class="Background">
+ <canvas class="Background-canvas"></canvas>
+ </div>
+
+ <div class="container">
+
+ <div class="row">
+
+ <div class="col-xs-16">
+
+ <div class="hero__logo">
+ <img src="{% static "img/vertigo/hero-logo.png" %}" />
+ </div>
+
+ </div>
+
+ </div>
+
+ </div>
+
+</div>
-{% extends "base.html" %}
-{% load mezzanine_tags organization_tags %}
+{% extends "pages/page.html" %}
+{% load i18n future mezzanine_tags event_tags keyword_tags disqus_tags organization_tags staticfiles pages_tags %}
+
+{% block meta_title %}
+ {% if page %}
+ {{ page.title }}
+ {% else %}
+ {% trans "News" %}
+ {% endif %}
+{% endblock %}
+
+{% block meta_keywords %}
+ {% metablock %}
+ {% keywords_for page as keywords %}
+ {% for keyword in keywords %}
+ {% if not forloop.first %}, {% endif %}
+ {{ keyword }}
+ {% endfor %}
+ {% endmetablock %}
+{% endblock %}
+
+{% block meta_description %}
+ {% metablock %}
+ {{ page.description }}
+ {% endmetablock %}
+{% endblock %}
{% block main %}
+<div class="page page--{% spaceless %}{% block page_class %}{% endblock %}{% endspaceless %}">
+ <div class="container">
+ <div class="row">
+ <div class="col-sm-16 col-md-10 col-md-push-3 tac">
+ <h1 class="section-title section-title--uppercase section-title--main section-title--underline">{% trans "News" %}</h1>
+ </div>
+ </div>
+
+ <div class="row">
-{% for object in objects %}
- <div class="col-lg-3 col-md-4 col-sm-4 col-xs-6">
- {% with app_label=object|app_label_short classname=object|classname|lower %}
- {% with app_label|add:"/"|add:classname|add:"/includes/"|add:classname|add:"_card.html" as template %}
- {% include template %}
- {% endwith %}
- {% endwith %}
+ <div class="mb2 col-md-12 col-md-push-2 page__content" data-summary-content>
+ <div class="page__content">
+ <div class="container">
+ <div class="row">
+ {% for object in objects %}
+ <div class="col-xs-8">
+ {% with app_label=object|app_label_short classname=object|classname|lower %}
+ {% with app_label|add:"/"|add:classname|add:"/includes/"|add:classname|add:"_card.html" as template %}
+ {% include template %}
+ {% endwith %}
+ {% endwith %}
+ </div>
+ {% endfor %}
+ </div>
+ <div class="row">
+ <div class="col-xxs-16">
+ {% pagination_for objects %}
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
</div>
-{% endfor %}
-{% pagination_for objects %}
+</div>
{% endblock %}
<div class="row">
<div class="col-sm-16 col-md-10 col-md-push-3">
{% if playlist.title %}
- <h3 class="mt0">{{playlist.title}}</h3>
+ <div class="tac">
+ <h3 class="section-title section-title--uppercase section-title--main section-title--underline">{{playlist.title}}</h3>
+ </div>
{% endif %}
{% if playlist.description %}
<p>
{% load mezzanine_tags keyword_tags i18n organization_tags staticfiles %}
<div class="">
- <a class="media-box" href="{% url 'organization-media-detail' object|get_media_type|lower object.slug %}">
- <figure class="media-box__image media-box__image--video">
- {% if object.poster_url %}
- <img src="{{ object.poster_url }}">
- {% else %}
- <img src="{% static "img/placeholder-media.png" %}">
+ <a class="media-box media-box--{{object|get_media_type|lower}}" href="{% url 'organization-media-detail' object|get_media_type|lower object.slug %}">
+ <div class="media-box__image-container">
+ <figure class="media-box__image media-box__image--video">
+ {% if object.poster_url %}
+ <img src="{{ object.poster_url }}">
+ {% else %}
+ <div class="media-box__placeholder"></div>
+ {% endif %}
+ </figure>
+ </div>
+ <div class="media-box__content">
+ <h2 class="media-box__title">{{ object.title }}</h2>
+ <div class="media-box__type">
+ {{ object|get_media_type }}
+ </div>
+ {% if object.description %}
+ <div class="media-box__desc">
+ {{ object.description|richtext_filters|safe|truncatechars_html:200 }}
+ </div>
{% endif %}
- </figure>
-
- {{ object|get_media_type }}
-
- <h2 class="media-box__title">{{ object.title }}</h2>
- <div class="media-box__desc">
- {{ object.description|richtext_filters|safe|truncatechars_html:200 }}
</div>
</a>
</div>
{% load organization_tags mezzanine_tags i18n %}
{% if person_list_block.title %}
- <div class="white-bg pb2">
+ <div class="pb2">
- <hr class="mt0" />
<div class="container">
<div class="row">
- <div class="col-sm-9 col-sm-push-3 col-lg-8 col-lg-push-2" data-summary-content>
+ <div class="col-xxs-16 col-md-10 col-md-push-3" data-summary-content>
+
+ <div class="tac">
+ <h2 class="section-title section-title--uppercase section-title--main section-title--underline">{{ person_list_block.title }}</h2>
+ </div>
- <h2 class="dotted">{{ person_list_block.title }}</h2>
{% if person_list_block.description %}
<p>{{ person_list_block.description }}</p>
{% endif %}
<div class="row">
- <div class="col-sm-9 col-sm-push-3 col-lg-8 col-lg-push-2">
+ <div class="col-xxs-16 col-md-10 col-md-push-3" data-summary-content>
{% for person_list_block_inline in person_list_block.person_list_block_inlines.all %}
{% with person_list_block_inline.person as person %}
{% load organization_tags mezzanine_tags %}
{% if person_list_block.title %}
- <div class="white-bg pb2">
+ <div class="pb2">
- <hr class="mt0" />
<div class="container">
<div class="row">
- <div class="col-sm-9 col-sm-push-3 col-lg-8 col-lg-push-2" data-summary-content>
+ <div class="col-xxs-16 col-md-10 col-md-push-3" data-summary-content>
+
+ <div class="tac">
+ <h2 class="section-title section-title--uppercase section-title--main section-title--underline">{{ person_list_block.title }}</h2>
+ </div>
- <h2 class="dotted">{{ person_list_block.title }}</h2>
{% if person_list_block.description %}
<p>{{ person_list_block.description }}</p>
{% endif %}
<div class="container">
<div class="row">
- <div class="col-sm-9 col-sm-push-3 col-lg-8 col-lg-push-2">
+ <div class="col-md-8 col-md-push-4">
- <div class="row tal">
+ <div class="row">
{% for person_list_block_inline in person_list_block.person_list_block_inlines.all %}
- <div class="col-lg-4 col-md-4 col-sm-4 col-xs-6">
+ <div class="col-md-8">
{% with person_list_block_inline.person as person %}
<div class="row">
<div class="person-list-box">
- <div class="col-lg-3 col-md-3 col-sm-3 col-xs-3 tac">
+ <div class="col-xxs-3 tac">
<a href="{{ person.get_absolute_url }}" title="{{ person.first_name }} {{ person.last_name }}">
<figure class="person-list-box__image">
</div>
- <div class="col-lg-9 col-md-9 col-sm-9 col-xs-9">
+ <div class="col-xxs-13">
<h3 class="mt0 fsxl">{{ person.first_name }} {{ person.last_name }}</h3>
--- /dev/null
+{% extends "pages/page.html" %}
+{% load i18n mezzanine_tags keyword_tags pages_tags organization_tags %}
+
+ {% with page.custompage as object %}
+ {% block page_class %}
+ custompage
+ {% endblock %}
+
+ {% block body_class %}
+ {% with page.get_ascendants|last as top_level_parent %}
+ {% if top_level_parent.get_content_model.weaving_css_class %}
+ pattern pattern-bg {{ top_level_parent.get_content_model.weaving_css_class }}
+ {% endif %}
+ {% endwith %}
+ {% endblock %}
+
+ {% block hero %}
+ {% include "home/inc/hero-small.html" %}
+ {% endblock %}
+
+ {% block page_title %}
+ {% editable page.custompage.title %}
+ <h1 class="hide">{{ page.custompage.title }}</h1>
+ {% endeditable %}
+ {% endblock %}
+
+ {% block page_content %}
+
+ {% with page.get_ascendants|last as top_level_parent %}
+ {% if linked_organization_content and research_slug == top_level_parent.slug %}
+ {% include 'pages/page/includes/linked_organization_content.html' %}
+ {% endif %}
+ {% endwith %}
+
+ {% if page.custompage.sub_title %}
+ {% editable page.custompage.sub_title %}
+ <div class="chapo">
+ {{ page.custompage.sub_title }}
+ </div>
+ {% endeditable %}
+ {% endif %}
+
+ {% if page.custompage.content %}
+ {% editable page.custompage.content %}
+ {{ page.custompage.content|richtext_filters|safe }}
+ {% endeditable %}
+ {% endif %}
+
+ {% if page.get_ascendants|length == 1 %}
+ {% children_pages page.id as childrens %}
+ {% if childrens %}
+ <div class="page__childrens">
+ {% for child in childrens %}
+ {% if child.in_menus.0 %}
+ {% with child as object %}
+ {% include "pages/page/includes/page_box.html" %}
+ {% endwith %}
+ {% endif %}
+ {% endfor %}
+ </div>
+ {% endif %}
+ {% endif %}
+
+ {% endblock %}
+
+ {% block page_audio %}
+ {% with page.custompage as object %}
+ {{ block.super }}
+ {% endwith %}
+ {% endblock %}
+
+ {% block page_slider %}
+ {% with page.custompage as object %}
+ {{ block.super }}
+ {% endwith %}
+ {% endblock %}
+
+ {% block page_video %}
+ {% with page.custompage as object %}
+ {{ block.super }}
+ {% endwith %}
+ {% endblock %}
+
+ {% block page_person_list %}
+ {% for page_custom_person_list_block_inline in page.custompage.page_custom_person_list_block_inlines.all %}
+ {% with page_custom_person_list_block_inline.person_list_block as person_list_block %}
+ {% with "network/inc/person/list_"|add:person_list_block.style|add:"_style.html" as template %}
+ {% include template %}
+ {% endwith %}
+ {% endwith %}
+ {% endfor %}
+ {% endblock %}
+
+ {% block page_sub_content %}
+ {% with page.custompage.blocks.all as blocks %}
+ {% include "core/inc/block.html" %}
+ {% endwith %}
+ {% endblock %}
+
+{% endwith %}
{% block main %}
+ {% block hero %}
+ {% endblock %}
+
<div class="page page--{% spaceless %}{% block page_class %}{% endblock %}{% endspaceless %}">
<div class="container">