préparation code pour 19/02, essai js pour base de données
This commit is contained in:
Submodule web/profiles/d8-starterkit-profile updated: 6fb80278a2...6fe8986494
@@ -406,7 +406,7 @@ a {
|
|||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
max-height: 100%; }
|
max-height: 100%; }
|
||||||
.path-frontpage .block-region-content .block-views-blockhome-nodes-block-1 .node-type-static div:first-child .field--name-field-accroche {
|
.path-frontpage .block-region-content .block-views-blockhome-nodes-block-1 .node-type-static div:first-child .field--name-field-accroche {
|
||||||
grid-column: 2 /span 3;
|
grid-column: 2 /span 2;
|
||||||
grid-row: 2 / span 2;
|
grid-row: 2 / span 2;
|
||||||
font-size: 5rem;
|
font-size: 5rem;
|
||||||
font-weight: 900;
|
font-weight: 900;
|
||||||
@@ -1553,7 +1553,8 @@ a {
|
|||||||
background-color: #009ee3;
|
background-color: #009ee3;
|
||||||
height: fit-content;
|
height: fit-content;
|
||||||
width: 60%;
|
width: 60%;
|
||||||
margin-left: 2rem; }
|
margin-left: 2rem;
|
||||||
|
grid-row: 2; }
|
||||||
.path-ressources.basededonnees .layout-content .region-content #block-contenudelapageprincipale .layout--onecol .block-region-content .block-block-content82917d0c-5004-4bfb-af66-ce334782d82d .field--name-field-lien {
|
.path-ressources.basededonnees .layout-content .region-content #block-contenudelapageprincipale .layout--onecol .block-region-content .block-block-content82917d0c-5004-4bfb-af66-ce334782d82d .field--name-field-lien {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|||||||
@@ -132,6 +132,32 @@ jQuery(function($) {
|
|||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
/////////////////////////////////////////
|
||||||
|
// masquer bouton proposer une ressource pour collection 50 ans
|
||||||
|
|
||||||
|
// jQuery(function($) {
|
||||||
|
// var path = window.location.href; // because the 'href' property of the DOM element is the absolute path
|
||||||
|
// console.log(path);
|
||||||
|
|
||||||
|
// $ (function bouton() {
|
||||||
|
|
||||||
|
// if (path.indexOf("/ressources/bdd/29") > -1) {
|
||||||
|
// (".block-block-content82917d0c-5004-4bfb-af66-ce334782d82d").addClass('.notdisplaid');
|
||||||
|
// }
|
||||||
|
// });
|
||||||
|
// });
|
||||||
|
|
||||||
|
|
||||||
|
// jQuery(function($) {
|
||||||
|
// var path = window.location.href; // because the 'href' property of the DOM element is the absolute path
|
||||||
|
// console.log(path);
|
||||||
|
// $(".block-block-content82917d0c-5004-4bfb-af66-ce334782d82d").each(function() {
|
||||||
|
// if (this.href === path) {
|
||||||
|
// $(this).parent().closest('.field--name-field-lien').addClass('notdisplaid');
|
||||||
|
// }
|
||||||
|
// });
|
||||||
|
// });
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// /////////////////
|
// /////////////////
|
||||||
|
|||||||
@@ -36,6 +36,9 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
.block-entity-fieldnodefield-liens{
|
.block-entity-fieldnodefield-liens{
|
||||||
|
///////////////// à activer le 19 février /////////////////
|
||||||
|
// display: none;
|
||||||
|
//////////////////////////////////
|
||||||
.field--name-field-liens{
|
.field--name-field-liens{
|
||||||
.field__item{
|
.field__item{
|
||||||
|
|
||||||
|
|||||||
@@ -144,12 +144,15 @@
|
|||||||
|
|
||||||
//button proposer une ressource
|
//button proposer une ressource
|
||||||
.block-block-content82917d0c-5004-4bfb-af66-ce334782d82d{
|
.block-block-content82917d0c-5004-4bfb-af66-ce334782d82d{
|
||||||
|
// display: none;
|
||||||
grid-column: 8 / span 9;
|
grid-column: 8 / span 9;
|
||||||
margin-top: 4rem;
|
margin-top: 4rem;
|
||||||
background-color: $blue-light;
|
background-color: $blue-light;
|
||||||
height: fit-content;
|
height: fit-content;
|
||||||
width: 60%;
|
width: 60%;
|
||||||
margin-left: 2rem;
|
margin-left: 2rem;
|
||||||
|
grid-row: 2;
|
||||||
|
|
||||||
|
|
||||||
.field--name-field-lien{
|
.field--name-field-lien{
|
||||||
display: flex;
|
display: flex;
|
||||||
@@ -301,6 +304,7 @@
|
|||||||
margin-top: 2rem;
|
margin-top: 2rem;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
|
|
||||||
|
|
||||||
// &::after{
|
// &::after{
|
||||||
// content: url("../images/pictos/noun_Arrow_3771902.svg");
|
// content: url("../images/pictos/noun_Arrow_3771902.svg");
|
||||||
|
|||||||
@@ -38,10 +38,15 @@
|
|||||||
|
|
||||||
// bloc bleu déposer une question
|
// bloc bleu déposer une question
|
||||||
.block-block-content.block-block-content10aba627-5586-4529-b44e-c0b4551a4398{
|
.block-block-content.block-block-content10aba627-5586-4529-b44e-c0b4551a4398{
|
||||||
|
///////////////// à activer le 19 février /////////////////
|
||||||
|
// display: none;
|
||||||
|
//////////////////////////////////
|
||||||
grid-column: 5;
|
grid-column: 5;
|
||||||
grid-row: 1 /span 2;
|
grid-row: 1 /span 2;
|
||||||
height: fit-content;
|
height: fit-content;
|
||||||
|
///////////////// à désactiver le 19 février /////////////////
|
||||||
display: flex;
|
display: flex;
|
||||||
|
//////////////////////////////////
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
max-width: fit-content;
|
max-width: fit-content;
|
||||||
margin-left: 2rem;
|
margin-left: 2rem;
|
||||||
|
|||||||
@@ -39,7 +39,9 @@
|
|||||||
grid-template-columns: 1fr repeat(4, 2fr) 1fr;
|
grid-template-columns: 1fr repeat(4, 2fr) 1fr;
|
||||||
grid-template-rows: repeat(4, auto);
|
grid-template-rows: repeat(4, auto);
|
||||||
.field--name-field-images{
|
.field--name-field-images{
|
||||||
// display: none;
|
///////////////// à activer le 19 février /////////////////
|
||||||
|
// display: none;
|
||||||
|
//////////////////////////////////
|
||||||
grid-column: 4 / span 6;
|
grid-column: 4 / span 6;
|
||||||
grid-row: 2;
|
grid-row: 2;
|
||||||
.field__item{
|
.field__item{
|
||||||
@@ -58,7 +60,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
.field--name-field-accroche{
|
.field--name-field-accroche{
|
||||||
grid-column: 2 /span 3;
|
grid-column: 2 /span 2;
|
||||||
grid-row: 2 / span 2;
|
grid-row: 2 / span 2;
|
||||||
font-size: 5rem;
|
font-size: 5rem;
|
||||||
font-weight: 900;
|
font-weight: 900;
|
||||||
@@ -121,7 +123,12 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
.links.inline{
|
.links.inline{
|
||||||
|
///////////////// à désactiver le 19 février /////////////////
|
||||||
grid-column: 2;
|
grid-column: 2;
|
||||||
|
//////////////////////////////////
|
||||||
|
///////////////// à activer le 19 février /////////////////
|
||||||
|
// grid-column: 5;
|
||||||
|
//////////////////////////////////
|
||||||
grid-row: 4;
|
grid-row: 4;
|
||||||
max-width: 70%;
|
max-width: 70%;
|
||||||
min-width: fit-content;
|
min-width: fit-content;
|
||||||
@@ -165,6 +172,9 @@
|
|||||||
|
|
||||||
// bouton déposer candidature
|
// bouton déposer candidature
|
||||||
.block-block-content9448ca2a-90e3-488b-89cf-8ec6a986a9ca{
|
.block-block-content9448ca2a-90e3-488b-89cf-8ec6a986a9ca{
|
||||||
|
///////////////// à activer le 19 février /////////////////
|
||||||
|
// display: none;
|
||||||
|
//////////////////////////////////
|
||||||
grid-area: presentation;
|
grid-area: presentation;
|
||||||
grid-column: 3 /span 4;
|
grid-column: 3 /span 4;
|
||||||
grid-row: 4;
|
grid-row: 4;
|
||||||
@@ -219,6 +229,9 @@
|
|||||||
|
|
||||||
// bouton foire aux questions
|
// bouton foire aux questions
|
||||||
.block-block-content1bb9024b-d95f-4137-894c-362abf10a483{
|
.block-block-content1bb9024b-d95f-4137-894c-362abf10a483{
|
||||||
|
///////////////// à activer le 19 février /////////////////
|
||||||
|
// display: none;
|
||||||
|
//////////////////////////////////
|
||||||
grid-area: presentation;
|
grid-area: presentation;
|
||||||
grid-column: 5 ;
|
grid-column: 5 ;
|
||||||
grid-row: 4;
|
grid-row: 4;
|
||||||
@@ -280,10 +293,15 @@
|
|||||||
|
|
||||||
// date limite de candidature
|
// date limite de candidature
|
||||||
.block-block-content7db64d87-3e22-4fbd-9c11-2b95f5bef695{
|
.block-block-content7db64d87-3e22-4fbd-9c11-2b95f5bef695{
|
||||||
|
///////////////// à activer le 19 février /////////////////
|
||||||
|
// display: none;
|
||||||
|
//////////////////////////////////
|
||||||
grid-column: 5;
|
grid-column: 5;
|
||||||
grid-row: 1;
|
grid-row: 1;
|
||||||
height: fit-content;
|
height: fit-content;
|
||||||
|
///////////////// à désactiver le 19 février /////////////////
|
||||||
display: flex;
|
display: flex;
|
||||||
|
//////////////////////////////////
|
||||||
justify-self: flex-end;
|
justify-self: flex-end;
|
||||||
width: 50%;
|
width: 50%;
|
||||||
margin-top: 3rem;
|
margin-top: 3rem;
|
||||||
|
|||||||
Reference in New Issue
Block a user