epfl-elements 5.5.0 → 5.6.0
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/bootstrap-variables.scss +2 -1
- package/dist/components/atoms/alert/alert-types.twig +3 -3
- package/dist/components/atoms/alert/alert-unclosable.twig +3 -0
- package/dist/components/atoms/alert/alert.yml +7 -0
- package/dist/components/atoms/nav-lang/nav-lang.twig +1 -1
- package/dist/css/elements.css +55 -13
- package/dist/css/elements.min.css +1 -1
- package/dist/css/elements.min.css.map +1 -1
- package/dist/css/reader.min.css.map +1 -1
- package/dist/js/reader.js +23 -13
- package/dist/js/reader.min.js +2 -2
- package/dist/js/reader.min.js.map +1 -1
- package/dist/package.json +1 -1
- package/package.json +1 -1
- package/dist/components/molecules/map/map-overlay.twig +0 -7
- package/dist/components/molecules/map copy/map-overlay.twig +0 -7
- package/dist/components/molecules/map copy/map.twig +0 -5
- package/dist/components/molecules/map copy/map.yml +0 -20
package/dist/package.json
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
<h4 class="sr-only">Access map</h4>
|
|
2
|
-
<figure class="media-map">
|
|
3
|
-
{% include '@atoms/picture/picture.twig' %}
|
|
4
|
-
<figcaption class="media-map-over">
|
|
5
|
-
<a href="#" class="btn btn-primary btn-block">Itinéraire vers le bureau BP (1er étage)</a>
|
|
6
|
-
</figcaption>
|
|
7
|
-
</figure>
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
<h4 class="sr-only">Access map</h4>
|
|
2
|
-
<figure class="media-map">
|
|
3
|
-
{% include '@atoms/picture/picture.twig' %}
|
|
4
|
-
<figcaption class="media-map-over">
|
|
5
|
-
<a href="#" class="btn btn-primary btn-block">Itinéraire vers le bureau BP (1er étage)</a>
|
|
6
|
-
</figcaption>
|
|
7
|
-
</figure>
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
title: Map
|
|
2
|
-
name: map
|
|
3
|
-
notes: |
|
|
4
|
-
The following is an example URL that loads the Plan Embed API:
|
|
5
|
-
`https://plan.epfl.ch/iframe/?room==ROOM&map_zoom=ZOOM`
|
|
6
|
-
|
|
7
|
-
Replace :
|
|
8
|
-
* ROOM (example → SV 1717)
|
|
9
|
-
* ZOOM (example → 10)
|
|
10
|
-
|
|
11
|
-
To use the Plan Embed API on your web page, set the URL you've built as the
|
|
12
|
-
value of an iframe's `src` attribute. Control the map's size with the iframe's
|
|
13
|
-
`height` and `width` attributes.
|
|
14
|
-
|
|
15
|
-
The iframe is only allowed on the epfl.ch domain.
|
|
16
|
-
wrapper: 'tlbx-hidden'
|
|
17
|
-
variants:
|
|
18
|
-
- name: overlay
|
|
19
|
-
title: Overlapping Figure Caption
|
|
20
|
-
wrapper: ' '
|