From a8dea9472f606fec13ff0a4458871d73f0d220b8 Mon Sep 17 00:00:00 2001 From: LC Date: Mon, 30 Oct 2023 11:21:36 +0100 Subject: [PATCH] Version 4.3.2 --- module/album/view/gallery/gallery.js.php | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/module/album/view/gallery/gallery.js.php b/module/album/view/gallery/gallery.js.php index d937609..7c089c7 100644 --- a/module/album/view/gallery/gallery.js.php +++ b/module/album/view/gallery/gallery.js.php @@ -9,3 +9,17 @@ captionsData: "caption", closeText: "×" }); + +/* Affecte la bordure des blocs à la class galleryGalleryPicture */ +$(document).ready(function(){ + borderColor = "getData(['theme', 'block', 'borderColor'])?>"; + borderRadius = "getdata(['theme', 'block', 'blockBorderRadius'])?>"; + textColor = "getData(['theme', 'text', 'textColor'])?>"; + linkColor = "getData(['theme', 'text', 'linkColor'])?>"; + + $(".galleryGalleryPicture").css("border","solid 1px"); + $(".galleryGalleryPicture").css("border-color", borderColor); + $(".galleryGalleryPicture").css("border-radius", borderRadius); + $(".galleryGalleryName").css("color", textColor); + $(".picResized").css("color", linkColor); +});