Skip to content

Commit

Permalink
implementation feature blur in window
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasferreiralimax committed Oct 15, 2024
1 parent 4aa46b7 commit e19d6c6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#modal
class="overlay"
[class.active]="isOpen()"
[class.blur]="blur"
role="dialog"
aria-labelledby="dialog-title"
aria-describedby="dialog-description"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@
display: flex;
opacity: 1;
}

&.blur {
backdrop-filter: blur(6px);
}
}

.up-window {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export class UpWindowAngularComponent implements OnInit, OnDestroy {
@Input() animation: string = 'fade';
@Input() restrictMode: boolean = false;
@Input() fullScreen: boolean = false;
@Input() blur: boolean = false;
@Input() confirmText: string = 'Confirm';
@Input() cancelText: string = 'Cancel';
@Input() confirmType: string = 'primary';
Expand Down Expand Up @@ -147,6 +148,7 @@ export class UpWindowAngularComponent implements OnInit, OnDestroy {
[`${this.animation}-out`]: this.closingAnimation,
shake: this.shakeAnimation,
fullscreen: this.fullScreen,
blur: this.blur,
};
}

Expand Down

0 comments on commit e19d6c6

Please sign in to comment.