Deltacms/core/module/user/view/login/login.js.php

30 lines
922 B
PHP
Raw Normal View History

2022-11-05 09:31:32 +01:00
/**
* This file is part of DeltaCMS.
*/
/* Visibilité du mot de passe */
2023-11-04 10:30:31 +01:00
$(".delta-ico-eye").mouseenter(function() {
$("#userLoginPassword").attr("type","text");
});
2023-11-04 10:30:31 +01:00
$(".delta-ico-eye").mouseleave(function() {
$("#userLoginPassword").attr("type","password");
});
2022-11-05 09:31:32 +01:00
/* 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);
2023-01-22 18:13:24 +01:00
$(".userOuter").css("border","solid 1px");
$(".userOuter").css("border-color", borderColor);
2022-11-05 09:31:32 +01:00
/* Modifier la couleur au survol */
$( ".userOuter" ).mouseenter(function() {
2023-01-22 18:13:24 +01:00
$(".userOuter").css("border-radius","5px");
2022-11-05 09:31:32 +01:00
});
$( ".userOuter" ).mouseleave(function() {
2023-01-22 18:13:24 +01:00
$(".userOuter").css("border-radius","0px");
2022-11-05 09:31:32 +01:00
});
});