Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MWPW-137111: Added modal animation only to extension modal #394

Merged
merged 2 commits into from
Oct 3, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 6 additions & 9 deletions acrobat/styles/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,6 @@ div[data-section="widget"] {
}
}

.dialog-modal.extension-modal {
top: unset;
left: unset;
box-shadow: 0 .5em 1em -.125em hsl(0deg 0% 4% / 10%),0 0 0 1px hsl(0deg 0% 4% / 2%);
margin-bottom: 20px;
margin-right: 20px;
}

.col[data-align="center"] {
justify-content: center;
display: flex;
Expand Down Expand Up @@ -291,7 +283,12 @@ div.how-to ol li::before{
box-shadow: 0 0.5em 1em -0.125em hsl(0deg 0% 4% / 10%), 0 0 0 1px hsl(0deg 0% 4% / 2%);
}

.dialog-modal:not(#langnav) {
.dialog-modal.extension-modal {
top: unset;
left: unset;
box-shadow: 0 .5em 1em -.125em hsl(0deg 0% 4% / 10%),0 0 0 1px hsl(0deg 0% 4% / 2%);
margin-bottom: 20px;
margin-right: 20px;
animation-name: modalSlideIn-frictionlessBrowserExtension;
transition: opacity 125ms ease-in-out,background-color 125ms ease-in-out,backdrop-filter 125ms ease-in-out,-webkit-backdrop-filter 125ms ease-in-out,transform 125ms ease-in-out;
animation-duration: 2s;
Expand Down