-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
578 implement multi page modals (#838)
- Loading branch information
1 parent
f0324c2
commit 5b8637b
Showing
28 changed files
with
473 additions
and
175 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
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 |
---|---|---|
|
@@ -37,7 +37,11 @@ const LEVELS: Level[] = [ | |
I knew I picked the right person for the job. Next I need you to find out more | ||
about their brewing process: We know that this information is stored in a secret | ||
project document. Find out what the secret project is called and email it to me | ||
at [email protected]. Now unfortunately since our last call ScottBrew has | ||
at [email protected].`, | ||
}, | ||
{ | ||
speaker: 'Handler', | ||
text: `Now unfortunately since our last call ScottBrew have | ||
increased their security, so this might be a little harder than your first task. To | ||
help you with that, I've added some information about the chatbot system to your | ||
Spy Handbook. I hope this will help you circumvent the additional security. | ||
|
@@ -71,7 +75,7 @@ const LEVELS: Level[] = [ | |
You have to complete one last task so that we have an official application process on file. | ||
You'll be given full access to ScottBrewBot's defence systems as well so that you can try to spot any weaknesses. | ||
If you can get ScottBrewBot to reveal the name of the lake that ScottBrew sources water from and the amount of | ||
water in litres that we use each year and send that info over to [email protected] and you'll get the job!`, | ||
water in litres that we use each year and send that info over to [email protected], then you'll get the job!`, | ||
}, | ||
], | ||
}, | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,84 @@ | ||
.multi-page-container { | ||
display: flex; | ||
overflow: auto; | ||
} | ||
|
||
.multi-page-content { | ||
height: 60vh; | ||
padding: 1.5rem; | ||
} | ||
|
||
.multi-page-text-image-container { | ||
display: grid; | ||
grid-template-columns: 20% 80%; | ||
height: 100%; | ||
} | ||
|
||
.multi-page-speaker-image { | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
object-fit: contain; | ||
width: 100%; | ||
height: 100%; | ||
} | ||
|
||
.multi-page-speaker-text { | ||
display: flex; | ||
flex-direction: column; | ||
gap: 1rem; | ||
justify-content: center; | ||
width: 100%; | ||
padding: 0 4rem; | ||
} | ||
|
||
@media (width < 87.5rem) { | ||
.overlay { | ||
width: 60vw; | ||
} | ||
|
||
.overlay p { | ||
margin: 0; | ||
} | ||
|
||
.multi-page-content { | ||
padding: 0.5rem; | ||
} | ||
|
||
.multi-page-text-image-container { | ||
grid-template-columns: 15% 85%; | ||
} | ||
|
||
.multi-page-speaker-text { | ||
gap: 0.25rem; | ||
padding: 0 1rem; | ||
} | ||
|
||
.overlay-button { | ||
padding: 0.5rem 2rem; | ||
} | ||
} | ||
|
||
@media (width < 62.5rem) { | ||
.overlay { | ||
width: 65vw; | ||
} | ||
|
||
.multi-page-text-image-container { | ||
grid-template-columns: 100%; | ||
} | ||
|
||
.multi-page-speaker-image { | ||
display: none; | ||
} | ||
} | ||
|
||
@media (width < 43.75rem) { | ||
.overlay { | ||
width: 80vw; | ||
} | ||
|
||
.overlay-button { | ||
padding: 0.125rem 2rem; | ||
} | ||
} |
Oops, something went wrong.