29 lines
921 B
PHP
29 lines
921 B
PHP
/**
|
|
* This file is part of DeltaCMS.
|
|
*/
|
|
|
|
/* Visibilité du mot de passe */
|
|
$(".delta-ico-eye").mouseenter(function() {
|
|
$("#userLoginPassword").attr("type","text");
|
|
});
|
|
$(".delta-ico-eye").mouseleave(function() {
|
|
$("#userLoginPassword").attr("type","password");
|
|
});
|
|
|
|
|
|
/* Affecter la couleur de bordure des blocs ou du fond à la class formOuter */
|
|
$(document).ready(function(){
|
|
borderColor = "<?php echo $this->getData(['theme', 'block', 'borderColor']); ?>";
|
|
bgColor = "<?php echo $this->getData(['theme', 'site', 'backgroundColor']); ?>";
|
|
$(".userOuter").css("background-color", bgColor);
|
|
$(".userOuter").css("border","solid 1px");
|
|
$(".userOuter").css("border-color", borderColor);
|
|
/* Modifier la couleur au survol */
|
|
$( ".userOuter" ).mouseenter(function() {
|
|
$(".userOuter").css("border-radius","5px");
|
|
});
|
|
$( ".userOuter" ).mouseleave(function() {
|
|
$(".userOuter").css("border-radius","0px");
|
|
});
|
|
});
|