change class mission photo
This commit is contained in:
@@ -804,7 +804,7 @@ $(document).ready(function () {
|
||||
let typeName = typeClass ? typeClass.replace("type-", "").replace(/-/g, " ") : "contenu"; // Nettoyer le nom
|
||||
|
||||
// >>> Exception : tout afficher pour type-Galerie-photos (pas de bouton)
|
||||
if (typeClass && typeClass.toLowerCase() === "type-galerie-photos") {
|
||||
if (typeClass && typeClass.toLowerCase() === "type-mission-photo") {
|
||||
items.show(); // aucun masquage
|
||||
return; // on sort : pas de "voir plus"
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -5682,45 +5682,45 @@ main {
|
||||
width: 100%;
|
||||
background-color: rgb(7, 50, 194);
|
||||
}
|
||||
#ressources .layout-content .content_container .views-element-container .view-rows-wrapper.type-Galerie-photos {
|
||||
#ressources .layout-content .content_container .views-element-container .view-rows-wrapper.type-Mission-photo {
|
||||
justify-content: space-between;
|
||||
}
|
||||
#ressources .layout-content .content_container .views-element-container .view-rows-wrapper.type-Galerie-photos .views-row {
|
||||
#ressources .layout-content .content_container .views-element-container .view-rows-wrapper.type-Mission-photo .views-row {
|
||||
width: 18%;
|
||||
justify-content: space-between;
|
||||
}
|
||||
@media (max-width: 810px) {
|
||||
#ressources .layout-content .content_container .views-element-container .view-rows-wrapper.type-Galerie-photos .views-row {
|
||||
#ressources .layout-content .content_container .views-element-container .view-rows-wrapper.type-Mission-photo .views-row {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
#ressources .layout-content .content_container .views-element-container .view-rows-wrapper.type-Galerie-photos .views-row img {
|
||||
#ressources .layout-content .content_container .views-element-container .view-rows-wrapper.type-Mission-photo .views-row img {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
object-fit: cover;
|
||||
border-radius: 9px;
|
||||
}
|
||||
#ressources .layout-content .content_container .views-element-container .view-rows-wrapper.type-Galerie-photos .views-row iframe {
|
||||
#ressources .layout-content .content_container .views-element-container .view-rows-wrapper.type-Mission-photo .views-row iframe {
|
||||
border-radius: 9px;
|
||||
}
|
||||
#ressources .layout-content .content_container .views-element-container .view-rows-wrapper.type-Galerie-photos .views-row .views-field-title-1 {
|
||||
#ressources .layout-content .content_container .views-element-container .view-rows-wrapper.type-Mission-photo .views-row .views-field-title-1 {
|
||||
margin-top: 1rem;
|
||||
}
|
||||
#ressources .layout-content .content_container .views-element-container .view-rows-wrapper.type-Galerie-photos .views-row .views-field-body-1,
|
||||
#ressources .layout-content .content_container .views-element-container .view-rows-wrapper.type-Galerie-photos .views-row .views-field-field-liens,
|
||||
#ressources .layout-content .content_container .views-element-container .view-rows-wrapper.type-Galerie-photos .views-row .views-field-field-sous-titre-1,
|
||||
#ressources .layout-content .content_container .views-element-container .view-rows-wrapper.type-Galerie-photos .views-row .views-field-field-documents,
|
||||
#ressources .layout-content .content_container .views-element-container .view-rows-wrapper.type-Galerie-photos .views-row .views-field-views-conditional-field {
|
||||
#ressources .layout-content .content_container .views-element-container .view-rows-wrapper.type-Mission-photo .views-row .views-field-body-1,
|
||||
#ressources .layout-content .content_container .views-element-container .view-rows-wrapper.type-Mission-photo .views-row .views-field-field-liens,
|
||||
#ressources .layout-content .content_container .views-element-container .view-rows-wrapper.type-Mission-photo .views-row .views-field-field-sous-titre-1,
|
||||
#ressources .layout-content .content_container .views-element-container .view-rows-wrapper.type-Mission-photo .views-row .views-field-field-documents,
|
||||
#ressources .layout-content .content_container .views-element-container .view-rows-wrapper.type-Mission-photo .views-row .views-field-views-conditional-field {
|
||||
display: none;
|
||||
}
|
||||
#ressources .layout-content .content_container .views-element-container .view-rows-wrapper.type-Galerie-photos .views-row .views-field-views-conditional-field-1 h2 {
|
||||
#ressources .layout-content .content_container .views-element-container .view-rows-wrapper.type-Mission-photo .views-row .views-field-views-conditional-field-1 h2 {
|
||||
font-family: "gilroy-medium";
|
||||
color: rgb(7, 50, 194);
|
||||
font-size: 0.6rem;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
@media (max-width: 810px) {
|
||||
#ressources .layout-content .content_container .views-element-container .view-rows-wrapper.type-Galerie-photos .views-row .views-field-views-conditional-field-1 h2 {
|
||||
#ressources .layout-content .content_container .views-element-container .view-rows-wrapper.type-Mission-photo .views-row .views-field-views-conditional-field-1 h2 {
|
||||
font-size: 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -746,7 +746,7 @@ $(document).ready(function () {
|
||||
let typeName = typeClass ? typeClass.replace("type-", "").replace(/-/g, " ") : "contenu"; // Nettoyer le nom
|
||||
|
||||
// >>> Exception : tout afficher pour type-Galerie-photos (pas de bouton)
|
||||
if (typeClass && typeClass.toLowerCase() === "type-galerie-photos") {
|
||||
if (typeClass && typeClass.toLowerCase() === "type-mission-photo") {
|
||||
items.show(); // aucun masquage
|
||||
return; // on sort : pas de "voir plus"
|
||||
}
|
||||
|
||||
@@ -311,7 +311,7 @@
|
||||
width: 100%;
|
||||
background-color: $blue_QDD;
|
||||
}
|
||||
&.type-Galerie-photos{
|
||||
&.type-Mission-photo{
|
||||
justify-content: space-between;
|
||||
.views-row{
|
||||
width: 18%;
|
||||
|
||||
Reference in New Issue
Block a user