Skip to content
Merged
Show file tree
Hide file tree
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
25 changes: 15 additions & 10 deletions src/components/modal/v2/styles/components/_header.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@use "../globals/colors";
@use "../globals/mixins";
@use "../globals/variables";
@use '../globals/colors';
@use '../globals/mixins';
@use '../globals/variables';

.header {
&__container {
Expand Down Expand Up @@ -91,7 +91,12 @@
black variables.$sticky-header-height-mobile,
transparent 100px
);
mask-image: linear-gradient(to bottom, black, black variables.$sticky-header-height-mobile, transparent 100px);
mask-image: linear-gradient(
to bottom,
black,
black variables.$sticky-header-height-mobile,
transparent 100px
);
}
}

Expand Down Expand Up @@ -328,7 +333,7 @@

&.headline-gb-preapproved {
max-width: 70%;
@include @include mixins.mobile {
@include mixins.mobile {
max-width: 75%;
}
}
Expand Down Expand Up @@ -420,23 +425,23 @@
@include mixins.mobile {
margin: 3px 0px -50px -130px;
}
@include smallMobile {
@include mixins.smallMobile {
margin: 3px 0px -50px -60px;
}

@include lander {
@include mixins.lander {
margin: 30px 0px -50px -70px;

@include mobile {
@include mixins.mobile {
margin: 5px 0px -50px -130px;
}

@include smallMobile {
@include mixins.smallMobile {
margin: 5px 0px -50px -60px;
}
}
}
}
}

&.checkout {
background-color: colors.$white;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@use "../globals/colors";
@use "../globals/mixins";
@use '../globals/colors';
@use '../globals/mixins';

.preapproval-disclaimer {
text-align: left;
Expand Down Expand Up @@ -144,19 +144,19 @@
border-radius: 12px;
margin-bottom: 1rem;
padding: 6px 16px 6px 16px;
@include lander {
@include mixins.lander {
width: 430px;
margin-bottom: 0;

@include mobile {
@include mixins.mobile {
width: auto;
}
}
}
&__privacy {
font-size: 14px;
line-height: 16px;
color: $black;
color: colors.$black;
margin-top: 12px;
margin-bottom: 20px;

Expand Down
2 changes: 1 addition & 1 deletion src/components/modal/v2/styles/globals/_mixins.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@use "variables";
@use 'variables';

// TODO: until PPUI has images for the universal modals, we will be using the tablet view for desktops.
@mixin desktop {
Expand Down
Loading