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

Fix styles issues related to card #948

Merged
merged 1 commit into from
Feb 9, 2023
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
2 changes: 1 addition & 1 deletion src/components/SoraCard/steps/Phone.vue
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ export default class Phone extends Mixins(TranslationMixin, mixins.LoadingMixin)
}

get phoneInputDescription(): string {
if (this.smsSent) return 'We’ve sent you an SMS code. Check your inbox!';
if (this.smsSent) return 'We’ve sent you an SMS code. Check your messages!';
return 'We’ll send you an SMS code.';
}

Expand Down
17 changes: 12 additions & 5 deletions src/components/SoraCard/steps/RoadMap.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<div class="map__text-info">
<div class="map__section">
<email-icon class="map__icon"></email-icon>
<div>
<div class="text">
<h4 class="map__point">Verify contact info</h4>
<span class="map__point-desc">Email and phone number</span>
<div class="line"></div>
Expand All @@ -17,7 +17,7 @@
</div>
<div class="map__section">
<user-icon class="map__icon"></user-icon>
<div>
<div class="text">
<h4 class="map__point">Verify documents</h4>
<span class="map__point-desc">Selfie with a document</span>
<div class="line"></div>
Expand All @@ -30,7 +30,7 @@
</div>
<div class="map__section">
<card-icon class="map__icon"></card-icon>
<div>
<div class="text">
<h4 class="map__point">Submit personal data</h4>
<span class="map__point-desc">Full name & proof of address</span>
<div class="line line--last"></div>
Expand Down Expand Up @@ -140,10 +140,17 @@ export default class RoadMap extends Mixins(

&__section {
display: flex;
align-items: flex-start;
margin-top: $basic-spacing;
align-items: center;
width: 100%;

.text {
padding-top: $basic-spacing;
}

&:last-child .text {
margin-bottom: $basic-spacing;
}

.line {
height: 1px;
width: 270px;
Expand Down
10 changes: 5 additions & 5 deletions src/components/SoraCard/steps/TermsAndConditions.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
To get an IBAN account needed for the SORA Card, users are required to undergo a KYC process with the card
issuer. This is required compliance. The SORA community does not and will not collect any of your personal data.
</p>
<div class="tos__disclaimer-warning-icon">
<div class="tos__disclaimer-warning icon">
<s-icon name="notifications-alert-triangle-24" size="28px" />
</div>
</div>
Expand Down Expand Up @@ -110,16 +110,16 @@ export default class TermsAndConditions extends Mixins(TranslationMixin, mixins.
margin-bottom: calc(var(--s-basic-spacing) / 2);
}

&-warning-icon {
&-warning.icon {
position: absolute;
background-color: #479aef;
border: 2.25257px solid #f7f3f4 !important;
box-shadow: -4px -3px 30px rgba(255, 255, 255, 0.9), 20px 20px 60px rgba(0, 0, 0, 0.1), inset 1px 1px 10px #ffffff;
border: 2.25257px solid #f7f3f4;
box-shadow: var(--s-shadow-element-pressed);
top: 20px;
right: 20px;
border-radius: 50%;
color: #fff;
width: 46px !important;
width: 46px;
height: 46px;

.s-icon-notifications-alert-triangle-24 {
Expand Down
17 changes: 9 additions & 8 deletions src/components/SoraCard/steps/ToSDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
</div>
<div v-else class="tos__section">
<ul class="sora-card__unsupported-countries">
<li v-for="(country, index) in Object.values(unsupportedCountries)" :key="country">
<span class="flags">{{ Object.keys(unsupportedCountries).map(countryCodeEmoji)[index] }} </span> {{ country }}
<li v-for="[key, value] in Object.entries(unsupportedCountries)" :key="key">
<span class="flags">{{ countryCodeEmoji(key) }} </span> {{ value }}
</li>
</ul>
</div>
Expand Down Expand Up @@ -77,12 +77,13 @@ export default class TermsAndConditionsDialog extends Mixins(TranslationMixin, m
.tos__section {
width: 100%;
height: 600px;
// background-color: var(--s-color-base-background);
background-color: transparent;
box-shadow: var(--s-shadow-element);
border-radius: 10px;
padding: 0;
padding-left: 20px;
padding-right: 4px;
padding-left: $basic-spacing;
padding-right: $inner-spacing-tiny;
padding-top: $inner-spacing-mini;
overflow: hidden;
}

Expand All @@ -94,18 +95,18 @@ export default class TermsAndConditionsDialog extends Mixins(TranslationMixin, m

li {
list-style: none;
margin: 10px;
margin: $basic-spacing-small;
font-weight: 600;
font-size: 18px;

.flags {
margin-right: 4px;
margin-right: $inner-spacing-tiny;
}
}
}

&__excuse {
margin-bottom: 16px;
margin-bottom: $basic-spacing;
font-size: 18px;
}
}
Expand Down