Skip to content

Commit

Permalink
added delete confirmation background color
Browse files Browse the repository at this point in the history
  • Loading branch information
Andcool-Systems committed Jan 11, 2025
1 parent 7435e3a commit 94120d2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/modules/components/EditConfirmation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const EditConfirmation = ({ action, confirm_code, children, onInput }: EditConfi
exitActive: style_base['background-exit-active'],
}}
>
<div className={style_base.background} />
<div className={`${style_base.background} ${action === 'delete' && style.delete_background}`} />
</ReactCSSTransition>

<ReactCSSTransition
Expand Down
4 changes: 4 additions & 0 deletions src/app/styles/EditConfirmation.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,8 @@

.available:hover {
background-color: #ED4245;
}

.delete_background {
background: linear-gradient(180deg, #fd2d3114 0%, #b51e20b3 100%);
}
2 changes: 2 additions & 0 deletions src/app/styles/minecraftConnect.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
z-index: 9000;
background-color: rgba(0, 0, 0, 0.6);
transition: opacity 150ms, transform 150ms;

backdrop-filter: blur(2px);
}

.container {
Expand Down

0 comments on commit 94120d2

Please sign in to comment.