styles dans index.js.php

This commit is contained in:
LC 2023-10-30 11:17:08 +01:00
parent d605cb2694
commit 6de81123b4
1 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,11 @@
/* Affecte la bordure des blocs à la class galleryPicture */
$(document).ready(function(){
borderColor = "<?=$this->getData(['theme', 'block', 'borderColor'])?>";
borderRadius = "<?=$this->getdata(['theme', 'block', 'blockBorderRadius'])?>";
textColor = "<?=$this->getData(['theme', 'text', 'textColor'])?>";
$(".galleryPicture").css("border","solid 1px");
$(".galleryPicture").css("border-color", borderColor);
$(".galleryPicture").css("border-radius", borderRadius);
$(".galleryName").css("color", textColor);
});