From 6de81123b48a95b83ec821c101c1592c10673920 Mon Sep 17 00:00:00 2001 From: LC Date: Mon, 30 Oct 2023 11:17:08 +0100 Subject: [PATCH] styles dans index.js.php --- module/album/view/index/index.js.php | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 module/album/view/index/index.js.php diff --git a/module/album/view/index/index.js.php b/module/album/view/index/index.js.php new file mode 100644 index 0000000..59acb37 --- /dev/null +++ b/module/album/view/index/index.js.php @@ -0,0 +1,11 @@ +/* Affecte la bordure des blocs à la class galleryPicture */ +$(document).ready(function(){ + borderColor = "getData(['theme', 'block', 'borderColor'])?>"; + borderRadius = "getdata(['theme', 'block', 'blockBorderRadius'])?>"; + textColor = "getData(['theme', 'text', 'textColor'])?>"; + + $(".galleryPicture").css("border","solid 1px"); + $(".galleryPicture").css("border-color", borderColor); + $(".galleryPicture").css("border-radius", borderRadius); + $(".galleryName").css("color", textColor); +});