generated from adobe/aem-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Disclaimer modal block * updated based on feedback * fixed linting issues * fixed lint issues * fixing lint issues * fixing lint issues * fixing css linting issues * fixing css lint issues * moved logic to scripts.js * fixing lint issues * fixing lint issues * fixed error with modal * fixed linting issues * removed test cookie * Add some adjustments to the logic. * load css and wrapped modal * Disclaimer modal block * updated based on feedback * fixed linting issues * fixed lint issues * fixing lint issues * fixing lint issues * fixing css linting issues * fixing css lint issues * moved logic to scripts.js * fixing lint issues * fixing lint issues * fixed error with modal * fixed linting issues * removed test cookie * Add some adjustments to the logic. * load css and wrapped modal * Some fixes for CSS and DOM * fix lint. * Do not display modal on lighthouse checks * Update PR Template. * Add space * Space is optional. * look through search string. --------- Co-authored-by: Bryan Stopp <[email protected]> Co-authored-by: Bryan Stopp <[email protected]>
- Loading branch information
1 parent
90d68ef
commit 2a07da6
Showing
4 changed files
with
132 additions
and
10 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 |
---|---|---|
@@ -0,0 +1,80 @@ | ||
.disclaimer-modal-container { | ||
background-color: var(--black); | ||
width: 100vw; | ||
height: 100vh; | ||
position: fixed; | ||
top: 0; | ||
left: 0; | ||
z-index: 1000; | ||
font-family: var(--body-font-family); | ||
padding: 0; | ||
} | ||
|
||
.disclaimer-modal-container .disclaimer-modal-wrapper { | ||
position: relative; | ||
display: flex; | ||
background-color: var(--black); | ||
width: 100%; | ||
height: 100%; | ||
align-items: center; | ||
justify-content: center; | ||
} | ||
|
||
.disclaimer-modal-container .disclaimer-modal-wrapper .disclaimer-modal { | ||
width: 90%; | ||
max-width: 600px; | ||
background-color: var(--white); | ||
} | ||
|
||
.disclaimer-modal-container .disclaimer-modal-wrapper .disclaimer-modal .title h2 { | ||
color: var(--white); | ||
padding: 30px 38px; | ||
margin: 0; | ||
background-color: #898989; | ||
} | ||
|
||
.disclaimer-modal-container .disclaimer-modal-wrapper .disclaimer-modal .content p { | ||
padding: 30px 38px 40px; | ||
margin: 0; | ||
} | ||
|
||
.disclaimer-modal-container .disclaimer-modal-wrapper .disclaimer-modal .button-section { | ||
background-color: var(--white); | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
gap: 18px; | ||
padding: 0 38px 40px; | ||
} | ||
|
||
.disclaimer-modal-container .disclaimer-modal-wrapper .disclaimer-modal .button-section p { | ||
margin-bottom: 0; | ||
} | ||
|
||
.disclaimer-modal-container .disclaimer-modal-wrapper .disclaimer-modal .button-section .agree p { | ||
cursor: pointer; | ||
font-weight: var(--font-weight-semibold); | ||
text-align: center; | ||
background-color: var(--red); | ||
color: var(--white); | ||
padding: 12px 18px; | ||
border-radius: 4px; | ||
box-shadow: 3px 3px 7px 1px #0003; | ||
} | ||
|
||
.disclaimer-modal-container .disclaimer-modal-wrapper .disclaimer-modal .button-section .leave a p { | ||
text-decoration: underline; | ||
color: var(--black); | ||
font-weight: var(--font-weight-semibold); | ||
} | ||
|
||
.disclaimer-modal-container .disclaimer-modal-wrapper .disclaimer-modal .button-section .agree p:hover { | ||
background-color: #c00; | ||
} | ||
|
||
@media screen and (min-width: 600px) { | ||
.disclaimer-modal-container .disclaimer-modal-wrapper .disclaimer-modal .button-section { | ||
flex-direction: row; | ||
justify-content: space-evenly; | ||
} | ||
} |
Empty file.
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