-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
76 changed files
with
2,533 additions
and
304 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
1.1.2 | ||
1.2.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
@charset 'utf-8'; | ||
|
||
@keyframes rotation { | ||
from { transform: rotate(0deg); } | ||
to { transform: rotate(360deg); } | ||
} | ||
|
||
.loader { | ||
display: inline-block; | ||
width: 0.9rem; | ||
height: 0.9rem; | ||
border: 3px solid gray('200'); | ||
border-right-color: gray('600'); | ||
border-radius: 100%; | ||
animation: rotation 1s linear infinite; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<span class="loader"></span> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
title: Loader | ||
name: loader |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<button id="nav-toggle" class="nav-toggle nav-toggle-async btn btn-secondary"> | ||
{% include '@atoms/loader/loader.twig' %} | ||
{% include '@atoms/icon/icon.twig' with { icon: 'icon-browse' } %} | ||
{% include '@atoms/icon/icon.twig' with { icon: 'icon-close' } %} | ||
Browse | ||
</button> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,10 @@ | ||
title: Nav toggle | ||
name: nav-toggle | ||
name: nav-toggle | ||
variants: | ||
- name: async | ||
title: Async | ||
notes: > | ||
If you want an asynchronous transition, you can apply `nav-toggle-async` class on | ||
the component. **It will start the loading** state `onClick` instead of opening the navigation. | ||
<br /><br /> | ||
When your content is ready, **you need to trigger the end of the loading** state using `$('#nav-toggle').trigger('loadend');` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
assets/components/atoms/social-icon/social-icon-round-discrete-link.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
{% include "@atoms/social-icon/social-icon-link.twig" with { | ||
discrete: true | ||
discrete: true, | ||
round: true | ||
} %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 6 additions & 6 deletions
12
assets/components/content-types/news/news-basic-teaser.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
<a href="#" class="card link-trapeze-horizontal"> | ||
<a href="#" class="card link-trapeze-horizontal" itemscope itemtype="https://schema.org/NewsArticle"> | ||
{% block img %} | ||
<picture class="card-img-top"> | ||
<img src="./images/event_teaser.png" class="img-fluid" title="professor Xile Hu" alt="a portrait of professor Xile Hu" /> | ||
</picture> | ||
{% endblock %} | ||
<div class="card-body"> | ||
<h3 class="card-title">News title</h3> | ||
<h3 class="card-title" itemprop="name">News title</h3> | ||
<div class="card-info"> | ||
<span class="card-info-date">11.09.17</span> | ||
<span>Recherche</span> | ||
<span>Prix et récompenses</span> | ||
<span class="card-info-date" itemprop="datePublished" content="2017-09-11T12:00">11.09.17</span> | ||
<span itemprop="about">Recherche</span> | ||
<span itemprop="about">Prix et récompenses</span> | ||
</div> | ||
<p>The EPFL favors closer ties to industry leading research in order to best meet the scientific, technological and societal</p> | ||
<p itemprop="description">The EPFL favors closer ties to industry leading research in order to best meet the scientific, technological and societal</p> | ||
</div> | ||
</a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.