epfl-elements 4.1.0 → 4.2.1
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.
- package/assets/config/variables.scss +3 -2
- package/dist/components/molecules/card/card-event.twig +7 -0
- package/dist/components/pages/event-list/event-list.twig +2 -2
- package/dist/css/elements.css +76 -55
- package/dist/css/elements.min.css +1 -1
- package/dist/css/elements.min.css.map +1 -1
- package/dist/css/reader.css +50 -59
- package/dist/css/reader.min.css +1 -1
- package/dist/css/reader.min.css.map +1 -1
- package/dist/images/email/epfl-logo.png +0 -0
- package/dist/images/email/square.png +0 -0
- package/dist/js/elements.js +28 -93
- package/dist/js/elements.min.js +1 -1
- package/dist/js/elements.min.js.map +1 -1
- package/dist/js/reader.js +57742 -57749
- package/dist/js/reader.min.js +1 -1
- package/dist/js/reader.min.js.map +1 -1
- package/dist/package.json +33 -16
- package/package.json +33 -16
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
@charset 'utf-8';
|
|
2
2
|
|
|
3
|
-
@
|
|
3
|
+
@use 'sass:map';
|
|
4
|
+
@import "./social-color";
|
|
4
5
|
|
|
5
6
|
/*
|
|
6
7
|
Variables for trapezes card
|
|
@@ -17,7 +18,7 @@ $mm-lang-height: 3rem;
|
|
|
17
18
|
$mm-lang-width: 5.8rem;
|
|
18
19
|
|
|
19
20
|
$opacities: () !default;
|
|
20
|
-
$opacities: map
|
|
21
|
+
$opacities: map.merge((
|
|
21
22
|
"0": 0,
|
|
22
23
|
"10": .1,
|
|
23
24
|
"20": .2,
|
|
@@ -11,9 +11,16 @@
|
|
|
11
11
|
{% block date %}
|
|
12
12
|
<p class="event-info-date">
|
|
13
13
|
{% include '@atoms/icon/icon.twig' with { icon: 'calendar', icon_classes:'feather' } %}
|
|
14
|
+
<span class="sr-only">Dates: du</span>
|
|
14
15
|
<span class="card-info-date event-date" itemprop="startDate" content="2018-01-10T12:00">10.01.2018</span>
|
|
16
|
+
<span class="sep" aria-hidden="true">›</span>
|
|
17
|
+
<span class="sr-only">au</span>
|
|
18
|
+
<span class="card-info-date event-date" itemprop="endDate" content="2018-01-12T12:00">12.01.2018</span>
|
|
15
19
|
{% include '@atoms/icon/icon.twig' with { icon: 'clock', icon_classes:'feather' } %}
|
|
20
|
+
<span class="sr-only">Heures: de</span>
|
|
16
21
|
<span class="event-time">13:00</span>
|
|
22
|
+
<span class="sep" aria-hidden="true">›</span>
|
|
23
|
+
<span class="sr-only">à</span>
|
|
17
24
|
<span class="event-time">17:30</span>
|
|
18
25
|
{% endblock %}
|
|
19
26
|
</p>
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
|
|
62
62
|
{% include '@molecules/form-group/form-group-search.twig' %}
|
|
63
63
|
|
|
64
|
-
<div class="form-group form-group-select">
|
|
64
|
+
<div class="form-group form-group-select form-group-categories">
|
|
65
65
|
<label class="sr-only">Catégories</label>
|
|
66
66
|
<select class="select-multiple" multiple="multiple" data-placeholder="Catégories">
|
|
67
67
|
<option value="activites-scientifiques-jeunes">Activités scientifiques pour les jeunes</option>
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
</select>
|
|
111
111
|
</div>
|
|
112
112
|
|
|
113
|
-
<div class="dropdown">
|
|
113
|
+
<div class="dropdown dropdown-date">
|
|
114
114
|
<button class="btn btn-secondary dropdown-toggle" type="button" id="dropdownMenuButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Date</button>
|
|
115
115
|
<div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
|
|
116
116
|
{% include '@molecules/datepicker/datepicker.twig' %}
|
package/dist/css/elements.css
CHANGED
|
@@ -12073,11 +12073,11 @@ a.tag:hover {
|
|
|
12073
12073
|
}
|
|
12074
12074
|
|
|
12075
12075
|
.collapse-title {
|
|
12076
|
-
color: #212121;
|
|
12077
12076
|
position: relative;
|
|
12078
12077
|
padding: 0;
|
|
12079
12078
|
background: none;
|
|
12080
12079
|
border: none;
|
|
12080
|
+
color: #212121;
|
|
12081
12081
|
-webkit-transition: color 0.15s, -webkit-box-shadow 0.25s;
|
|
12082
12082
|
transition: color 0.15s, -webkit-box-shadow 0.25s;
|
|
12083
12083
|
transition: box-shadow 0.25s, color 0.15s;
|
|
@@ -12171,7 +12171,7 @@ a.tag:hover {
|
|
|
12171
12171
|
margin-bottom: 0;
|
|
12172
12172
|
}
|
|
12173
12173
|
|
|
12174
|
-
.collapse-item
|
|
12174
|
+
.collapse-item:after {
|
|
12175
12175
|
content: "";
|
|
12176
12176
|
display: block;
|
|
12177
12177
|
padding-top: 2rem;
|
|
@@ -12207,7 +12207,7 @@ header.collapse-title p {
|
|
|
12207
12207
|
}
|
|
12208
12208
|
}
|
|
12209
12209
|
|
|
12210
|
-
header.collapse-title + .collapse-item
|
|
12210
|
+
header.collapse-title + .collapse-item:before {
|
|
12211
12211
|
content: "";
|
|
12212
12212
|
display: block;
|
|
12213
12213
|
padding-top: 0.5rem;
|
|
@@ -13090,9 +13090,9 @@ ol ol ol > li:before {
|
|
|
13090
13090
|
counter-increment: third-item;
|
|
13091
13091
|
}
|
|
13092
13092
|
ol ul > li:before {
|
|
13093
|
+
top: 0.7rem;
|
|
13093
13094
|
background: transparent;
|
|
13094
13095
|
border: 1px solid #ff0000;
|
|
13095
|
-
top: 0.7rem;
|
|
13096
13096
|
}
|
|
13097
13097
|
|
|
13098
13098
|
.list-unstyled li,
|
|
@@ -13205,8 +13205,8 @@ picture .img-fluid {
|
|
|
13205
13205
|
text-overflow: ellipsis;
|
|
13206
13206
|
}
|
|
13207
13207
|
.ms-choice > span.placeholder {
|
|
13208
|
-
color: #707070;
|
|
13209
13208
|
font-size: 1rem;
|
|
13209
|
+
color: #707070;
|
|
13210
13210
|
}
|
|
13211
13211
|
.ms-choice > div {
|
|
13212
13212
|
position: absolute;
|
|
@@ -14201,9 +14201,27 @@ a.card-gray:hover .card-body {
|
|
|
14201
14201
|
content: " –";
|
|
14202
14202
|
}
|
|
14203
14203
|
.card-info .event-info:after,
|
|
14204
|
-
.card-info .event-info-date:after
|
|
14204
|
+
.card-info .event-info-date:after,
|
|
14205
|
+
.card-info .card-info-date.event-date:after {
|
|
14205
14206
|
content: none;
|
|
14206
14207
|
}
|
|
14208
|
+
.card-info .event-info-date .event-date,
|
|
14209
|
+
.card-info .event-info-date .event-time,
|
|
14210
|
+
.card-info .event-info-date .icon {
|
|
14211
|
+
display: inline-block;
|
|
14212
|
+
vertical-align: middle;
|
|
14213
|
+
}
|
|
14214
|
+
.card-info .event-info-date .icon {
|
|
14215
|
+
width: 18px;
|
|
14216
|
+
height: 18px;
|
|
14217
|
+
color: #707070;
|
|
14218
|
+
}
|
|
14219
|
+
.card-info .event-info-date .icon:not(:first-child) {
|
|
14220
|
+
margin-left: 0.5em;
|
|
14221
|
+
}
|
|
14222
|
+
.card-info .event-info > span {
|
|
14223
|
+
display: block;
|
|
14224
|
+
}
|
|
14207
14225
|
.card-info a {
|
|
14208
14226
|
display: inline-block;
|
|
14209
14227
|
color: #ff0000;
|
|
@@ -14332,28 +14350,6 @@ p + .card-info {
|
|
|
14332
14350
|
padding: 0.25rem 0;
|
|
14333
14351
|
}
|
|
14334
14352
|
|
|
14335
|
-
.card-info .event-date:not(:last-child):after {
|
|
14336
|
-
content: " –";
|
|
14337
|
-
}
|
|
14338
|
-
.card-info .event-time:not(:last-of-type):after {
|
|
14339
|
-
content: " ›";
|
|
14340
|
-
margin: 0 0.25em 0 0.15em;
|
|
14341
|
-
}
|
|
14342
|
-
.card-info .event-info-date .event-date,
|
|
14343
|
-
.card-info .event-info-date .event-time,
|
|
14344
|
-
.card-info .event-info-date .icon {
|
|
14345
|
-
display: inline-block;
|
|
14346
|
-
vertical-align: middle;
|
|
14347
|
-
}
|
|
14348
|
-
.card-info .event-info-date .icon {
|
|
14349
|
-
color: #707070;
|
|
14350
|
-
height: 18px;
|
|
14351
|
-
width: 18px;
|
|
14352
|
-
}
|
|
14353
|
-
.card-info .event-info > span {
|
|
14354
|
-
display: block;
|
|
14355
|
-
}
|
|
14356
|
-
|
|
14357
14353
|
a.card-img-top {
|
|
14358
14354
|
position: relative;
|
|
14359
14355
|
}
|
|
@@ -15232,10 +15228,10 @@ article aside {
|
|
|
15232
15228
|
padding-right: 40px;
|
|
15233
15229
|
}
|
|
15234
15230
|
.search-container .icon {
|
|
15235
|
-
color: #c1c1c1;
|
|
15236
15231
|
position: absolute;
|
|
15237
15232
|
top: 50%;
|
|
15238
15233
|
right: 0.75rem;
|
|
15234
|
+
color: #c1c1c1;
|
|
15239
15235
|
-webkit-transform: translateY(-50%);
|
|
15240
15236
|
transform: translateY(-50%);
|
|
15241
15237
|
-webkit-transition: color 0.3s;
|
|
@@ -18503,8 +18499,8 @@ a.nav-arrow:hover .icon-container {
|
|
|
18503
18499
|
text-decoration: none;
|
|
18504
18500
|
}
|
|
18505
18501
|
.header-light p.site-title {
|
|
18506
|
-
font-weight: 700;
|
|
18507
18502
|
line-height: 1.1em;
|
|
18503
|
+
font-weight: 700;
|
|
18508
18504
|
}
|
|
18509
18505
|
.header-light .drawer {
|
|
18510
18506
|
margin-left: -0.9rem;
|
|
@@ -18969,6 +18965,10 @@ a.cc-btn {
|
|
|
18969
18965
|
text-decoration: none;
|
|
18970
18966
|
}
|
|
18971
18967
|
|
|
18968
|
+
a.cc-link {
|
|
18969
|
+
padding: 0.2em 0;
|
|
18970
|
+
}
|
|
18971
|
+
|
|
18972
18972
|
.epfl-faq-header {
|
|
18973
18973
|
margin-bottom: 2rem;
|
|
18974
18974
|
}
|
|
@@ -19269,6 +19269,11 @@ a.cc-btn {
|
|
|
19269
19269
|
}
|
|
19270
19270
|
|
|
19271
19271
|
.list-group.list-events-featured .list-group-teaser {
|
|
19272
|
+
-webkit-box-flex: 1;
|
|
19273
|
+
-ms-flex-positive: 1;
|
|
19274
|
+
flex-grow: 1;
|
|
19275
|
+
-ms-flex-preferred-size: 0;
|
|
19276
|
+
flex-basis: 0;
|
|
19272
19277
|
background: transparent;
|
|
19273
19278
|
margin-bottom: 1rem;
|
|
19274
19279
|
}
|
|
@@ -19276,12 +19281,12 @@ a.cc-btn {
|
|
|
19276
19281
|
margin-bottom: 0;
|
|
19277
19282
|
}
|
|
19278
19283
|
.list-group.list-events-featured .list-group-teaser-container {
|
|
19284
|
+
height: 100%;
|
|
19279
19285
|
background: #fff;
|
|
19280
19286
|
-webkit-box-orient: vertical;
|
|
19281
19287
|
-webkit-box-direction: normal;
|
|
19282
19288
|
-ms-flex-direction: column;
|
|
19283
19289
|
flex-direction: column;
|
|
19284
|
-
height: 100%;
|
|
19285
19290
|
}
|
|
19286
19291
|
.list-group.list-events-featured .list-group-teaser-container .btn-secondary:hover, .list-group.list-events-featured .list-group-teaser-container .btn-secondary:active, .list-group.list-events-featured .list-group-teaser-container .btn-secondary:focus {
|
|
19287
19292
|
background: #fff;
|
|
@@ -20080,8 +20085,8 @@ article.blog-post footer {
|
|
|
20080
20085
|
}
|
|
20081
20086
|
|
|
20082
20087
|
.error-title {
|
|
20083
|
-
color: #ff0000;
|
|
20084
20088
|
font-size: 12vw;
|
|
20089
|
+
color: #ff0000;
|
|
20085
20090
|
margin-bottom: 0.75rem;
|
|
20086
20091
|
text-align: center;
|
|
20087
20092
|
}
|
|
@@ -20103,55 +20108,71 @@ article.blog-post footer {
|
|
|
20103
20108
|
margin-left: -10px;
|
|
20104
20109
|
margin-right: -10px;
|
|
20105
20110
|
}
|
|
20106
|
-
.events-filters form .form-group-search {
|
|
20107
|
-
-ms-flex-preferred-size: 100%;
|
|
20108
|
-
flex-basis: 100%;
|
|
20109
|
-
}
|
|
20110
|
-
.events-filters form .form-group-search .search-container {
|
|
20111
|
-
margin: 0;
|
|
20112
|
-
}
|
|
20113
20111
|
.events-filters form > * {
|
|
20114
20112
|
-webkit-box-flex: 1;
|
|
20115
20113
|
-ms-flex-positive: 1;
|
|
20116
20114
|
flex-grow: 1;
|
|
20115
|
+
max-width: 100%;
|
|
20117
20116
|
padding-left: 10px;
|
|
20118
20117
|
padding-right: 10px;
|
|
20119
20118
|
}
|
|
20120
|
-
.events-filters .
|
|
20121
|
-
|
|
20122
|
-
.events-filters .dropdown .picker__table {
|
|
20123
|
-
width: auto;
|
|
20119
|
+
.events-filters form .form-group {
|
|
20120
|
+
width: 100%;
|
|
20124
20121
|
}
|
|
20125
|
-
.events-filters .dropdown {
|
|
20122
|
+
.events-filters form .dropdown {
|
|
20123
|
+
width: 100%;
|
|
20126
20124
|
margin-bottom: 1rem;
|
|
20127
20125
|
}
|
|
20128
|
-
.events-filters .dropdown button {
|
|
20126
|
+
.events-filters form .dropdown button {
|
|
20129
20127
|
display: -webkit-box;
|
|
20130
20128
|
display: -ms-flexbox;
|
|
20131
20129
|
display: flex;
|
|
20130
|
+
width: 100%;
|
|
20131
|
+
padding: 0.375rem 0.75rem;
|
|
20132
20132
|
-webkit-box-pack: justify;
|
|
20133
20133
|
-ms-flex-pack: justify;
|
|
20134
20134
|
justify-content: space-between;
|
|
20135
20135
|
-webkit-box-align: center;
|
|
20136
20136
|
-ms-flex-align: center;
|
|
20137
20137
|
align-items: center;
|
|
20138
|
-
padding: 0.375rem 0.75rem;
|
|
20139
20138
|
text-align: left;
|
|
20140
|
-
width: 100%;
|
|
20141
20139
|
}
|
|
20142
|
-
.events-filters .dropdown .dropdown-menu.show {
|
|
20143
|
-
|
|
20140
|
+
.events-filters form .dropdown .dropdown-menu.show {
|
|
20141
|
+
top: 38px !important;
|
|
20144
20142
|
right: 0;
|
|
20143
|
+
left: auto !important;
|
|
20145
20144
|
-webkit-transform: none !important;
|
|
20146
20145
|
transform: none !important;
|
|
20147
|
-
top: 38px !important;
|
|
20148
20146
|
}
|
|
20149
|
-
.events-filters .dropdown .picker__holder {
|
|
20147
|
+
.events-filters form .dropdown .picker__holder {
|
|
20150
20148
|
border: 0;
|
|
20151
20149
|
}
|
|
20152
|
-
@media (
|
|
20153
|
-
.events-filters .
|
|
20154
|
-
|
|
20155
|
-
|
|
20150
|
+
@media (min-width: 768px) {
|
|
20151
|
+
.events-filters form .form-group,
|
|
20152
|
+
.events-filters form .dropdown {
|
|
20153
|
+
width: 25%;
|
|
20154
|
+
}
|
|
20155
|
+
.events-filters form .form-group-categories {
|
|
20156
|
+
width: 100%;
|
|
20157
|
+
}
|
|
20158
|
+
}
|
|
20159
|
+
@media (min-width: 992px) {
|
|
20160
|
+
.events-filters form .form-group,
|
|
20161
|
+
.events-filters form .dropdown {
|
|
20162
|
+
width: 15%;
|
|
20163
|
+
}
|
|
20164
|
+
.events-filters form .form-group-categories {
|
|
20165
|
+
width: 30%;
|
|
20156
20166
|
}
|
|
20157
20167
|
}
|
|
20168
|
+
.events-filters form .form-group-search {
|
|
20169
|
+
width: 100%;
|
|
20170
|
+
}
|
|
20171
|
+
.events-filters form .form-group-search .search-container {
|
|
20172
|
+
margin: 0;
|
|
20173
|
+
}
|
|
20174
|
+
.events-filters .select-multiple .ms-drop,
|
|
20175
|
+
.events-filters .select-multiple .ms-drop ul,
|
|
20176
|
+
.events-filters .dropdown .picker__table {
|
|
20177
|
+
width: auto;
|
|
20178
|
+
}
|