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); +});