Compare commits
7 Commits
1304257fe6
...
master
Author | SHA1 | Date | |
---|---|---|---|
310ff06463 | |||
249b139495 | |||
27a59c7174 | |||
80d1284484 | |||
b944bc0690 | |||
c8a186a34d | |||
e97074c0e7 |
@ -12,7 +12,7 @@ type: link
|
|||||||
settings: { }
|
settings: { }
|
||||||
module: link
|
module: link
|
||||||
locked: false
|
locked: false
|
||||||
cardinality: 1
|
cardinality: -1
|
||||||
translatable: true
|
translatable: true
|
||||||
indexes: { }
|
indexes: { }
|
||||||
persist_with_no_fields: false
|
persist_with_no_fields: false
|
||||||
|
@ -74,24 +74,9 @@ display:
|
|||||||
separator: ', '
|
separator: ', '
|
||||||
field_api_classes: false
|
field_api_classes: false
|
||||||
pager:
|
pager:
|
||||||
type: mini
|
type: none
|
||||||
options:
|
options:
|
||||||
offset: 0
|
offset: 0
|
||||||
pagination_heading_level: h4
|
|
||||||
items_per_page: 10
|
|
||||||
total_pages: null
|
|
||||||
id: 0
|
|
||||||
tags:
|
|
||||||
next: ››
|
|
||||||
previous: ‹‹
|
|
||||||
expose:
|
|
||||||
items_per_page: false
|
|
||||||
items_per_page_label: 'Éléments par page'
|
|
||||||
items_per_page_options: '5, 10, 25, 50'
|
|
||||||
items_per_page_options_all: false
|
|
||||||
items_per_page_options_all_label: '- Tout -'
|
|
||||||
offset: false
|
|
||||||
offset_label: Décalage
|
|
||||||
exposed_form:
|
exposed_form:
|
||||||
type: basic
|
type: basic
|
||||||
options:
|
options:
|
||||||
@ -187,7 +172,6 @@ display:
|
|||||||
contexts:
|
contexts:
|
||||||
- 'languages:language_content'
|
- 'languages:language_content'
|
||||||
- 'languages:language_interface'
|
- 'languages:language_interface'
|
||||||
- url.query_args
|
|
||||||
- 'user.node_grants:view'
|
- 'user.node_grants:view'
|
||||||
- user.permissions
|
- user.permissions
|
||||||
tags: { }
|
tags: { }
|
||||||
@ -304,7 +288,18 @@ display:
|
|||||||
display_plugin: page
|
display_plugin: page
|
||||||
position: 1
|
position: 1
|
||||||
display_options:
|
display_options:
|
||||||
display_extenders: { }
|
display_extenders:
|
||||||
|
matomo:
|
||||||
|
enabled: false
|
||||||
|
keyword_gets: ''
|
||||||
|
keyword_behavior: first
|
||||||
|
keyword_concat_separator: ' '
|
||||||
|
category_behavior: none
|
||||||
|
category_gets: ''
|
||||||
|
category_concat_separator: ' '
|
||||||
|
category_fallback: ''
|
||||||
|
category_facets: { }
|
||||||
|
category_facets_concat_separator: ', '
|
||||||
path: actualites
|
path: actualites
|
||||||
menu:
|
menu:
|
||||||
type: normal
|
type: normal
|
||||||
@ -321,7 +316,6 @@ display:
|
|||||||
contexts:
|
contexts:
|
||||||
- 'languages:language_content'
|
- 'languages:language_content'
|
||||||
- 'languages:language_interface'
|
- 'languages:language_interface'
|
||||||
- url.query_args
|
|
||||||
- 'user.node_grants:view'
|
- 'user.node_grants:view'
|
||||||
- user.permissions
|
- user.permissions
|
||||||
tags: { }
|
tags: { }
|
||||||
|
@ -3625,12 +3625,12 @@ aside.layout-sidebar-first:has(#block-erabletheme-views-block-projets-block-1) >
|
|||||||
font-size: 1.2rem;
|
font-size: 1.2rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.actu_full .liens_fixed > div > div:nth-of-type(2), .actu_full .file_fixed > div > div > div {
|
.actu_full .liens_fixed > div > div:nth-of-type(2) > div, .actu_full .file_fixed > div > div > div {
|
||||||
padding: 0 1.5vw;
|
padding: 0 1.5vw;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
margin: 2rem 0;
|
margin: 2rem 0;
|
||||||
}
|
}
|
||||||
.actu_full .liens_fixed > div > div:nth-of-type(2) a, .actu_full .file_fixed > div > div > div a {
|
.actu_full .liens_fixed > div > div:nth-of-type(2) > div a, .actu_full .file_fixed > div > div > div a {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
color: black;
|
color: black;
|
||||||
font-family: "Marianne", sans-serif;
|
font-family: "Marianne", sans-serif;
|
||||||
@ -3642,27 +3642,27 @@ aside.layout-sidebar-first:has(#block-erabletheme-views-block-projets-block-1) >
|
|||||||
transition: background-color 0.3s ease;
|
transition: background-color 0.3s ease;
|
||||||
text-wrap: nowrap !important;
|
text-wrap: nowrap !important;
|
||||||
}
|
}
|
||||||
.actu_full .liens_fixed > div > div:nth-of-type(2) a svg, .actu_full .file_fixed > div > div > div a svg {
|
.actu_full .liens_fixed > div > div:nth-of-type(2) > div a svg, .actu_full .file_fixed > div > div > div a svg {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
.actu_full .liens_fixed > div > div:nth-of-type(2) a:hover, .actu_full .file_fixed > div > div > div a:hover {
|
.actu_full .liens_fixed > div > div:nth-of-type(2) > div a:hover, .actu_full .file_fixed > div > div > div a:hover {
|
||||||
background-color: #00ff80;
|
background-color: #00ff80;
|
||||||
}
|
}
|
||||||
.actu_full .liens_fixed > div > div:nth-of-type(2) a, .actu_full .file_fixed > div > div > div a {
|
.actu_full .liens_fixed > div > div:nth-of-type(2) > div a, .actu_full .file_fixed > div > div > div a {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
@media (min-width: 1080px) {
|
@media (min-width: 1080px) {
|
||||||
.actu_full .liens_fixed > div > div:nth-of-type(2), .actu_full .file_fixed > div > div > div {
|
.actu_full .liens_fixed > div > div:nth-of-type(2) > div, .actu_full .file_fixed > div > div > div {
|
||||||
margin-bottom: 0 !important;
|
margin-bottom: 0 !important;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
left: 75vw;
|
left: 75vw;
|
||||||
bottom: 10vh;
|
bottom: 10vh;
|
||||||
}
|
}
|
||||||
.actu_full .liens_fixed > div > div:nth-of-type(2) > div, .actu_full .file_fixed > div > div > div > div {
|
.actu_full .liens_fixed > div > div:nth-of-type(2) > div > div, .actu_full .file_fixed > div > div > div > div {
|
||||||
height: 3vh;
|
height: 3vh;
|
||||||
}
|
}
|
||||||
.actu_full .liens_fixed > div > div:nth-of-type(2) a, .actu_full .file_fixed > div > div > div a {
|
.actu_full .liens_fixed > div > div:nth-of-type(2) > div a, .actu_full .file_fixed > div > div > div a {
|
||||||
max-width: 19vw;
|
max-width: 19vw;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -138,7 +138,7 @@
|
|||||||
//
|
//
|
||||||
let fluoButtons;
|
let fluoButtons;
|
||||||
if (document.querySelector('.actu_full')) {
|
if (document.querySelector('.actu_full')) {
|
||||||
fluoButtons = document.querySelectorAll('.liens_fixed > div > div:nth-of-type(2):not(.visually-hidden), .file_fixed > div > .visually-hidden + div > div');
|
fluoButtons = document.querySelectorAll('.liens_fixed > div > div:nth-of-type(2):not(.visually-hidden) > div, .file_fixed > div > .visually-hidden + div > div');
|
||||||
} else if (document.querySelector('.offre-content')) {
|
} else if (document.querySelector('.offre-content')) {
|
||||||
fluoButtons = document.querySelectorAll('.liens_fixed > div, .file_fixed > div > div');
|
fluoButtons = document.querySelectorAll('.liens_fixed > div, .file_fixed > div > div');
|
||||||
} else if (document.querySelector('.projets')) {
|
} else if (document.querySelector('.projets')) {
|
||||||
@ -199,6 +199,8 @@
|
|||||||
let liens = document.querySelectorAll('.file a');
|
let liens = document.querySelectorAll('.file a');
|
||||||
for (let lien of liens) {
|
for (let lien of liens) {
|
||||||
lien.innerHTML = 'Télécharger le document';
|
lien.innerHTML = 'Télécharger le document';
|
||||||
|
lien.setAttribute('href', lien.getAttribute('href').replace('/index.php', ''));
|
||||||
|
lien.setAttribute('target', '_blank');
|
||||||
}
|
}
|
||||||
// si la ressource n'a pas de date afficher le lien plus haute
|
// si la ressource n'a pas de date afficher le lien plus haute
|
||||||
// et la ressource en premier
|
// et la ressource en premier
|
||||||
@ -245,8 +247,8 @@
|
|||||||
socialsClone.id = 'socials-in-menu-wrapper';
|
socialsClone.id = 'socials-in-menu-wrapper';
|
||||||
let menuContainer = document.querySelector('#hamburger + ul');
|
let menuContainer = document.querySelector('#hamburger + ul');
|
||||||
let socialsContainer = document.createElement('li');
|
let socialsContainer = document.createElement('li');
|
||||||
socialsContainer.append(socialsClone);
|
socialsContainer?.append(socialsClone);
|
||||||
menuContainer.append(socialsContainer);
|
menuContainer?.append(socialsContainer);
|
||||||
|
|
||||||
//
|
//
|
||||||
// Retirer paragraphes vides fullpage
|
// Retirer paragraphes vides fullpage
|
||||||
@ -365,7 +367,7 @@
|
|||||||
for (let item of asideProjectMenu.children) {
|
for (let item of asideProjectMenu.children) {
|
||||||
const itemTitle = item.innerText;
|
const itemTitle = item.innerText;
|
||||||
const contentPage = document.querySelector('.projet_full');
|
const contentPage = document.querySelector('.projet_full');
|
||||||
const contentPageTitle = contentPage.querySelector('h2').innerText;
|
const contentPageTitle = contentPage.querySelector('h2')?.innerText;
|
||||||
|
|
||||||
if (itemTitle.toLowerCase() === contentPageTitle.toLowerCase()) {
|
if (itemTitle.toLowerCase() === contentPageTitle.toLowerCase()) {
|
||||||
item.querySelector('a').classList.add('is-active');
|
item.querySelector('a').classList.add('is-active');
|
||||||
@ -453,8 +455,10 @@
|
|||||||
});
|
});
|
||||||
|
|
||||||
let initiatedMap = document.querySelector(`#${mapid}`);
|
let initiatedMap = document.querySelector(`#${mapid}`);
|
||||||
const currentLibelle = initiatedMap.parentElement.nextElementSibling.innerText;
|
const currentLibelle = initiatedMap.parentElement.nextElementSibling?.innerText;
|
||||||
initiatedMap.parentElement.nextElementSibling.remove();
|
if (currentLibelle) {
|
||||||
|
initiatedMap.parentElement.nextElementSibling.remove();
|
||||||
|
}
|
||||||
|
|
||||||
if (document.querySelectorAll('.leaflet-container').length <= 1) {
|
if (document.querySelectorAll('.leaflet-container').length <= 1) {
|
||||||
firstMap = map;
|
firstMap = map;
|
||||||
|
@ -61,7 +61,7 @@
|
|||||||
@include sous_titre();
|
@include sous_titre();
|
||||||
}
|
}
|
||||||
|
|
||||||
.liens_fixed > div > div:nth-of-type(2), .file_fixed > div > div > div {
|
.liens_fixed > div > div:nth-of-type(2) > div, .file_fixed > div > div > div {
|
||||||
padding: 0 calc($x_margin / 2);
|
padding: 0 calc($x_margin / 2);
|
||||||
text-align: right;
|
text-align: right;
|
||||||
margin: 2rem 0;
|
margin: 2rem 0;
|
||||||
|
@ -13,4 +13,4 @@
|
|||||||
*/
|
*/
|
||||||
#}
|
#}
|
||||||
<img{{ attributes }} />
|
<img{{ attributes }} />
|
||||||
<div class="legende" style="display: none;">{{ attributes.title }}</div>
|
<div class="legende" style="display: none;">{{ attributes.title|raw }}</div>
|
Reference in New Issue
Block a user