Skip to content

Commit bc68c59

Browse files
authored
style: update AuthModal animations and add backdrop blur (#22)
- Renamed animation keyframes for modal fade-in and zoom-in effects to prevent inheriting from inline CSS. - Added a backdrop blur effect to enhance the visual appearance of the modal.
1 parent 1040794 commit bc68c59

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/frontend/src/styles/AuthModal.scss

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
display: flex;
77
align-items: center;
88
justify-content: center;
9-
animation: fadeIn 0.3s ease-out forwards;
9+
animation: modalFadeIn 0.3s ease-out forwards;
1010
}
1111

1212
/* Wrapper for modal and logo */
@@ -22,6 +22,7 @@
2222
position: absolute;
2323
inset: 0;
2424
background-color: rgba(0, 0, 0, 0.2);
25+
backdrop-filter: blur(0.6px);
2526
z-index: -1;
2627
}
2728

@@ -35,7 +36,7 @@
3536
border-radius: 12px;
3637
background-color: #232329;
3738
box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3), 0 8px 10px -6px rgba(0, 0, 0, 0.2);
38-
animation: zoomIn 0.3s ease-out forwards;
39+
animation: modalZoomIn 0.3s ease-out forwards;
3940
font-family: 'Roboto', sans-serif;
4041
}
4142

@@ -195,7 +196,7 @@
195196
}
196197

197198
/* Animation keyframes */
198-
@keyframes fadeIn {
199+
@keyframes modalFadeIn {
199200
from {
200201
opacity: 0;
201202
}
@@ -204,7 +205,7 @@
204205
}
205206
}
206207

207-
@keyframes zoomIn {
208+
@keyframes modalZoomIn {
208209
from {
209210
transform: scale(0.95);
210211
opacity: 0;

0 commit comments

Comments
 (0)