-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
react/kiezradar: add modal and save filters on login redirect
- Loading branch information
1 parent
774a8b3
commit 45f2f76
Showing
8 changed files
with
125 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
## Added | ||
|
||
- Added `Modal` component for when logging in on project overview. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
.modal { | ||
border: none; | ||
max-width: 43rem; | ||
padding: 2rem 1.125rem; | ||
margin: auto 3px 0; | ||
|
||
@media screen and (min-width: $breakpoint-palm) { | ||
margin: auto; | ||
} | ||
} | ||
|
||
.modal::backdrop { | ||
background: rgba(0, 0, 0, 0.5); | ||
} | ||
|
||
.modal__title { | ||
font-size: 1.375rem; | ||
margin: 0; | ||
margin-bottom: 0.625rem; | ||
} | ||
|
||
.modal__text { | ||
margin-bottom: 2.5rem; | ||
} | ||
|
||
.modal__content { | ||
margin-bottom: 40px; | ||
} | ||
|
||
.modal__content > div { | ||
margin: 0; | ||
} | ||
|
||
.modal__buttons { | ||
display: flex; | ||
|
||
@media screen and (min-width: $breakpoint-palm) { | ||
justify-content: flex-end; | ||
gap: 2rem; | ||
} | ||
} | ||
|
||
.modal__confirm-button { | ||
margin-left: auto; | ||
|
||
@media screen and (min-width: $breakpoint-palm) { | ||
margin-left: 0; | ||
} | ||
} | ||
|
||
.modal__close { | ||
position: absolute; | ||
top: 0.5rem; | ||
right: 0.5rem; | ||
padding: 0.25rem; | ||
border: 0; | ||
color: inherit; | ||
cursor: pointer; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters