diapo actus
This commit is contained in:
+1
-1
@@ -15,7 +15,7 @@
|
||||
\********************/
|
||||
/***/ (() => {
|
||||
|
||||
eval("/**\n * @file\n * reha behaviors.\n */\n(function (Drupal) {\n\n 'use strict';\n\n Drupal.behaviors.reha = {\n attach: function (context, settings) {\n\n console.log('It works!');\n\n }\n };\n\n \n} (Drupal));\n\njQuery(document).ready(function($){\n\n // menu déroulant\n\n ////////////// contacts ///////\n\n $(\".bouton-contact\").click(function(event) {\n // Fermer .connexion-full s'il est déroulé\n if ($(\".connexion-full\").is(\":visible\")) {\n $(\".connexion-full\").slideUp();\n }\n if ($(\".connected-full\").is(\":visible\")) {\n $(\".connected-full\").slideUp();\n }\n // Ouvrir .contacts-full\n $(\".contacts-full\").slideToggle();\n\n });\n\n////////////// connexion ///////\n\n $(\".bouton-connexion\").click(function(event) {\n // Fermer .contacts-full s'il est déroulé\n if ($(\".contacts-full\").is(\":visible\")) {\n $(\".contacts-full\").slideUp();\n }\n // Ouvrir .connexion-full\n $(\".connexion-full\").slideToggle();\n });\n \n $(\".bouton-connected\").click(function(event) {\n // Fermer .contacts-full s'il est déroulé\n if ($(\".contacts-full\").is(\":visible\")) {\n $(\".contacts-full\").slideUp();\n }\n // Ouvrir .connected-full\n $(\".connected-full\").slideToggle();\n });\n \n $(\".titre\").click(function(event) {\n if ($(\".connected-full\").is(\":visible\")) {\n $(\".connected-full\").slideUp();\n }\n if ($(\".contacts-full\").is(\":visible\")) {\n $(\".contacts-full\").slideUp();\n }\n if ($(\".connexion-full\").is(\":visible\")) {\n $(\".connexion-full\").slideUp();\n }\n // // Ouvrir .connexion-full\n // $(\".connected-full\").slideToggle();\n });\n \n $(\"#edit-field-dossier-de-candidature-0--label\").click(function(event) {\n event.preventDefault();\n // Ouvrir .connexion-full\n $(\"#edit-field-dossier-de-candidature-0--description>ul.main\").slideToggle();\n });\n\n});\n\n\n// slideshow home \n\n(function($, window) {\n console.log('hello slick')\n $(document).ready(function(){\n $('.view-id-sites.view-display-id-block_1').slick({\n slidesToShow: 1,\n // slidesToScroll: 1,\n dots: false,\n arrows: true,\n centerMode: true,\n // centerPadding: '100px',\n responsive: [\n {\n breakpoint: 810,\n settings: {\n slidesToShow: 1,\n adaptiveHeight: true,\n arrows: false,\n draggable: true,\n centerMode: true,\n }\n }]\n });\n console.log('salut slick home');\n\n });\n})(jQuery, window);\n\n\n// document.addEventListener('DOMContentLoaded', function() {\n// var nav = document.querySelectorAll('main-nav');\n// var links = nav.querySelectorAll('li > a');\n// console.log(links);\n\n\n// links.forEach(function(link) {\n// if (link.classList.contains('is-active')) {\n// nav.classList.add('has-active');\n// }\n// });\n// });\n\n\n\n// /////////////////\n//// ancre dans texte au click parragraphe correspondant arrive en dessous du header \n\n\n// (function($, window) {\n// var adjustAnchor = function() {\n// var $anchor = $('.block-views-blockhome-block-1'),\n// fixedElementHeight = 350;\n// if ($anchor.length > 0) {\n// $('html, body').stop().animate({scrollTop: $anchor.offset().top - fixedElementHeight }, 0);\n// }\n// };\n\n// $(window).on('hashchange', function() {\n// adjustAnchor();\n// });\n\n// })(jQuery, window);\n\n//# sourceURL=webpack://dev.reha.fr/./js/reha.js?");
|
||||
eval("/**\n * @file\n * reha behaviors.\n */\n(function (Drupal) {\n\n 'use strict';\n\n Drupal.behaviors.reha = {\n attach: function (context, settings) {\n\n console.log('It works!');\n\n }\n };\n\n \n} (Drupal));\n\njQuery(document).ready(function($){\n\n // menu déroulant\n\n ////////////// contacts ///////\n\n $(\".bouton-contact\").click(function(event) {\n // Fermer .connexion-full s'il est déroulé\n if ($(\".connexion-full\").is(\":visible\")) {\n $(\".connexion-full\").slideUp();\n }\n if ($(\".connected-full\").is(\":visible\")) {\n $(\".connected-full\").slideUp();\n }\n // Ouvrir .contacts-full\n $(\".contacts-full\").slideToggle();\n\n });\n\n////////////// connexion ///////\n\n $(\".bouton-connexion\").click(function(event) {\n // Fermer .contacts-full s'il est déroulé\n if ($(\".contacts-full\").is(\":visible\")) {\n $(\".contacts-full\").slideUp();\n }\n // Ouvrir .connexion-full\n $(\".connexion-full\").slideToggle();\n });\n \n $(\".bouton-connected\").click(function(event) {\n // Fermer .contacts-full s'il est déroulé\n if ($(\".contacts-full\").is(\":visible\")) {\n $(\".contacts-full\").slideUp();\n }\n // Ouvrir .connected-full\n $(\".connected-full\").slideToggle();\n });\n \n $(\".titre\").click(function(event) {\n if ($(\".connected-full\").is(\":visible\")) {\n $(\".connected-full\").slideUp();\n }\n if ($(\".contacts-full\").is(\":visible\")) {\n $(\".contacts-full\").slideUp();\n }\n if ($(\".connexion-full\").is(\":visible\")) {\n $(\".connexion-full\").slideUp();\n }\n // // Ouvrir .connexion-full\n // $(\".connected-full\").slideToggle();\n });\n \n $(\"#edit-field-dossier-de-candidature-0--label\").click(function(event) {\n event.preventDefault();\n // Ouvrir .connexion-full\n $(\"#edit-field-dossier-de-candidature-0--description>ul.main\").slideToggle();\n });\n\n});\n\n\n// slideshow home \n\n(function($, window) {\n console.log('hello slick')\n $(document).ready(function(){\n $('.view-id-sites.view-display-id-block_1').slick({\n slidesToShow: 1,\n // slidesToScroll: 1,\n dots: false,\n arrows: true,\n centerMode: true,\n // centerPadding: '100px',\n responsive: [\n {\n breakpoint: 810,\n settings: {\n slidesToShow: 1,\n adaptiveHeight: true,\n arrows: false,\n draggable: true,\n centerMode: true,\n }\n }]\n });\n console.log('salut slick home');\n\n });\n\n $(document).ready(function(){\n $('.view-id-actus.view-display-id-block_1').slick({\n slidesToShow: 3,\n // slidesToScroll: 1,\n dots: false,\n arrows: true,\n centerMode: true,\n // centerPadding: '100px',\n responsive: [\n {\n breakpoint: 810,\n settings: {\n slidesToShow: 1,\n adaptiveHeight: true,\n arrows: false,\n draggable: true,\n centerMode: true,\n }\n }]\n });\n console.log('salut slick home');\n\n});\n\n})(jQuery, window);\n\n\n// document.addEventListener('DOMContentLoaded', function() {\n// var nav = document.querySelectorAll('main-nav');\n// var links = nav.querySelectorAll('li > a');\n// console.log(links);\n\n\n// links.forEach(function(link) {\n// if (link.classList.contains('is-active')) {\n// nav.classList.add('has-active');\n// }\n// });\n// });\n\n\n\n// /////////////////\n//// ancre dans texte au click parragraphe correspondant arrive en dessous du header \n\n\n// (function($, window) {\n// var adjustAnchor = function() {\n// var $anchor = $('.block-views-blockhome-block-1'),\n// fixedElementHeight = 350;\n// if ($anchor.length > 0) {\n// $('html, body').stop().animate({scrollTop: $anchor.offset().top - fixedElementHeight }, 0);\n// }\n// };\n\n// $(window).on('hashchange', function() {\n// adjustAnchor();\n// });\n\n// })(jQuery, window);\n\n//# sourceURL=webpack://dev.reha.fr/./js/reha.js?");
|
||||
|
||||
/***/ }),
|
||||
|
||||
|
||||
+107
-14
@@ -1797,7 +1797,6 @@ html.js body.node-type-operation.node-id-7 div.dialog-off-canvas-main-canvas div
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.view-display-id-page_1 .views-row {
|
||||
width: 30%;
|
||||
@@ -1888,13 +1887,12 @@ html.js body.node-type-operation.node-id-7 div.dialog-off-canvas-main-canvas div
|
||||
padding-bottom: 2rem;
|
||||
}
|
||||
.block-views-blockactus-block-1 .view-id-actus {
|
||||
width: 80%;
|
||||
width: 100%;
|
||||
margin: auto;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.block-views-blockactus-block-1 .view-id-actus .views-row {
|
||||
width: 45%;
|
||||
width: 30%;
|
||||
padding-right: 2rem;
|
||||
}
|
||||
.block-views-blockactus-block-1 .view-id-actus .views-row .node-type-actualite {
|
||||
width: 100%;
|
||||
@@ -1904,36 +1902,63 @@ html.js body.node-type-operation.node-id-7 div.dialog-off-canvas-main-canvas div
|
||||
.block-views-blockactus-block-1 .view-id-actus .views-row .node-type-actualite p.field__item {
|
||||
display: none;
|
||||
}
|
||||
.block-views-blockactus-block-1 .view-id-actus .views-row .node-type-actualite .field--name-field-image {
|
||||
order: 1;
|
||||
max-width: 100%;
|
||||
padding-bottom: 1rem;
|
||||
.block-views-blockactus-block-1 .view-id-actus .views-row .node-type-actualite .image-actualite {
|
||||
width: 90%;
|
||||
margin: auto;
|
||||
}
|
||||
.block-views-blockactus-block-1 .view-id-actus .views-row .node-type-actualite .field--name-field-image img {
|
||||
width: 80%;
|
||||
.block-views-blockactus-block-1 .view-id-actus .views-row .node-type-actualite .image-actualite img {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
.block-views-blockactus-block-1 .view-id-actus .views-row .node-type-actualite .infos-content {
|
||||
position: relative;
|
||||
top: -10px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
border: solid #fdc300 1px;
|
||||
background-color: rgb(255, 255, 255);
|
||||
padding: 1rem;
|
||||
}
|
||||
.block-views-blockactus-block-1 .view-id-actus .views-row .node-type-actualite .infos-content h2 {
|
||||
order: 2;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-size: 1.5rem;
|
||||
font-weight: 600;
|
||||
}
|
||||
.block-views-blockactus-block-1 .view-id-actus .views-row .node-type-actualite .infos-content .field--name-field-sous-titre {
|
||||
order: 3;
|
||||
font-size: 1.3rem;
|
||||
}
|
||||
.block-views-blockactus-block-1 .view-id-actus .views-row .node-type-actualite .infos-content .field--name-field-date {
|
||||
order: 4;
|
||||
font-weight: 900;
|
||||
padding-bottom: 1rem;
|
||||
}
|
||||
.block-views-blockactus-block-1 .view-id-actus .views-row .node-type-actualite .infos-content .field--name-field-type-d-actualite {
|
||||
order: 1;
|
||||
text-transform: uppercase;
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
.block-views-blockactus-block-1 .view-id-actus .views-row .node-type-actualite .infos-content .field--name-field-site {
|
||||
order: 5;
|
||||
background-color: rgb(153, 147, 174);
|
||||
color: white;
|
||||
border-radius: 50px;
|
||||
width: fit-content;
|
||||
padding: 0.2rem 0.9rem;
|
||||
}
|
||||
.block-views-blockactus-block-1 .view-id-actus .views-row .node-type-actualite .infos-content .field--name-field-date {
|
||||
order: 4;
|
||||
.block-views-blockactus-block-1 .view-id-actus .views-row .node-type-actualite .infos-content .field--name-field-site .field__item {
|
||||
display: inline;
|
||||
}
|
||||
.block-views-blockactus-block-1 .view-id-actus .views-row .node-type-actualite .infos-content .field--name-field-site a {
|
||||
color: white;
|
||||
font-weight: 900;
|
||||
font-size: 0.8rem;
|
||||
vertical-align: top;
|
||||
}
|
||||
.block-views-blockactus-block-1 .view-id-actus .views-row .node-type-actualite .infos-content ul.links {
|
||||
order: 6;
|
||||
display: none;
|
||||
}
|
||||
.block-views-blockactus-block-1 .view-id-actus .views-row .node-type-actualite .body-content {
|
||||
display: none;
|
||||
@@ -2103,6 +2128,9 @@ html.js body.node-type-operation.node-id-7 div.dialog-off-canvas-main-canvas div
|
||||
.page-ressources .view-ressources .views-row .node-type-ressource .filtered-content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
border: solid #fdc300 1px;
|
||||
background-color: rgb(255, 255, 255);
|
||||
padding: 1rem;
|
||||
}
|
||||
.page-ressources .view-ressources .views-row .node-type-ressource .filtered-content h2 {
|
||||
order: 2;
|
||||
@@ -2172,4 +2200,69 @@ html.js body.node-type-operation.node-id-7 div.dialog-off-canvas-main-canvas div
|
||||
}
|
||||
.page-node-site .node-type-ressource .body-content .field--name-field-fichiers {
|
||||
width: fit-content;
|
||||
}
|
||||
|
||||
.page-actualites .view-actus {
|
||||
padding-top: 3rem;
|
||||
padding-bottom: 6rem;
|
||||
width: 80%;
|
||||
margin: auto;
|
||||
}
|
||||
.page-actualites .view-actus .views-row .node-type-actualite .image-actualite {
|
||||
width: 90%;
|
||||
margin: auto;
|
||||
}
|
||||
.page-actualites .view-actus .views-row .node-type-actualite .image-actualite img {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
.page-actualites .view-actus .views-row .node-type-actualite .infos-content {
|
||||
position: relative;
|
||||
top: -10px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
border: solid #fdc300 1px;
|
||||
background-color: rgb(255, 255, 255);
|
||||
padding: 1rem;
|
||||
}
|
||||
.page-actualites .view-actus .views-row .node-type-actualite .infos-content h2 {
|
||||
order: 2;
|
||||
margin: 0;
|
||||
font-size: 1.5rem;
|
||||
font-weight: 600;
|
||||
}
|
||||
.page-actualites .view-actus .views-row .node-type-actualite .infos-content .field--name-field-sous-titre {
|
||||
order: 3;
|
||||
font-size: 1.3rem;
|
||||
}
|
||||
.page-actualites .view-actus .views-row .node-type-actualite .infos-content .field--name-field-date {
|
||||
order: 4;
|
||||
font-weight: 900;
|
||||
padding-bottom: 1rem;
|
||||
}
|
||||
.page-actualites .view-actus .views-row .node-type-actualite .infos-content .field--name-field-type-d-actualite {
|
||||
order: 1;
|
||||
text-transform: uppercase;
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
.page-actualites .view-actus .views-row .node-type-actualite .infos-content .field--name-field-site {
|
||||
order: 5;
|
||||
background-color: rgb(153, 147, 174);
|
||||
color: white;
|
||||
border-radius: 50px;
|
||||
width: fit-content;
|
||||
padding: 0.2rem 0.9rem;
|
||||
}
|
||||
.page-actualites .view-actus .views-row .node-type-actualite .infos-content .field--name-field-site .field__item {
|
||||
display: inline;
|
||||
}
|
||||
.page-actualites .view-actus .views-row .node-type-actualite .infos-content .field--name-field-site a {
|
||||
color: white;
|
||||
font-weight: 900;
|
||||
font-size: 0.8rem;
|
||||
vertical-align: top;
|
||||
}
|
||||
.page-actualites .view-actus .views-row .node-type-actualite .infos-content ul.links {
|
||||
order: 6;
|
||||
display: none;
|
||||
}
|
||||
Reference in New Issue
Block a user