fix(consentsoftware-cookieconsent): Adjusted shake animation duration and box-shadow for modalBox in consent cookie component.
This commit is contained in:
@ -3,6 +3,6 @@
|
||||
*/
|
||||
export const commitinfo = {
|
||||
name: '@consent.software/catalog',
|
||||
version: '1.5.0',
|
||||
version: '1.5.1',
|
||||
description: 'A library of web components designed to integrate robust consent management capabilities into web applications, ensuring compliance with privacy regulations.'
|
||||
}
|
||||
|
@ -104,7 +104,7 @@ export class ConsentsoftwareCookieconsent extends LitElement {
|
||||
|
||||
.modalBox.shake {
|
||||
animation: shake 150ms 2 linear;
|
||||
box-shadow: 0px 0px 15px rgba(255, 255, 255, 0.6);
|
||||
box-shadow: 0px 0px 8px rgba(255, 255, 255, 0.6);
|
||||
}
|
||||
|
||||
@keyframes shake {
|
||||
@ -350,7 +350,7 @@ export class ConsentsoftwareCookieconsent extends LitElement {
|
||||
if (pageOverlay && modalBox) {
|
||||
pageOverlay.classList.add('shake');
|
||||
modalBox.classList.add('shake');
|
||||
await delayFor(300);
|
||||
await delayFor(2000);
|
||||
pageOverlay.classList.remove('shake');
|
||||
modalBox.classList.remove('shake');
|
||||
}
|
||||
|
Reference in New Issue
Block a user