This repository has been archived by the owner on Apr 22, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
VDS-841: Improve login page UI (#187)
* VDS-841: Improve login page UI * Add aria-hidden="true" to icons * Remove font weight class
- Loading branch information
Showing
10 changed files
with
68 additions
and
44 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,21 @@ | ||
@import "custom/backgrounds"; | ||
@import "custom/popover"; | ||
@import "custom/navbar"; | ||
@import "custom/sizing"; | ||
@import "custom/buttons"; | ||
@import "custom/type"; | ||
@import "custom/modals"; | ||
@import 'custom/backgrounds'; | ||
@import 'custom/popover'; | ||
@import 'custom/navbar'; | ||
@import 'custom/sizing'; | ||
@import 'custom/buttons'; | ||
@import 'custom/type'; | ||
@import 'custom/modals'; | ||
@import 'custom/lists'; | ||
|
||
.add-cart-item-total { | ||
height: 40px; | ||
} | ||
|
||
.login-card { | ||
background: center / cover no-repeat url('../../images/login-card-bg.png'); | ||
.login-card-title { | ||
text-shadow: 1px 1px 0px $dark; | ||
text-transform: none; | ||
font-size: 1.75rem; | ||
} | ||
} |
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,8 @@ | ||
.dashed-list { | ||
list-style-type: none; | ||
li:before { | ||
content: '\2014'; | ||
position: absolute; | ||
margin-left: -1.25rem; | ||
} | ||
} |
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 |
---|---|---|
@@ -1,5 +1 @@ | ||
@include text-emphasis-variant('.text-dark-green', $dark-green); | ||
|
||
.add-cart-item-total { | ||
height: 40px; | ||
} |
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
17 changes: 17 additions & 0 deletions
17
snippets/bootstrap-migration/customers/sign-in-content.liquid
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,17 @@ | ||
<div class="col-sm-6 card-body d-flex flex-column justify-content-center p-4"> | ||
{% capture loginUrl %} {{ requestUrl }} {% endcapture %} | ||
{% include 'bootstrap-migration/customers/login-form' %} | ||
</div> | ||
<div class="col-sm-6 login-card card-body d-flex flex-column justify-content-center p-4"> | ||
<h2 class="text-white login-card-title mb-3">{{ 'customer.sign_in.registration_title' | t: shop.name }}</h2> | ||
<ul class="pl-4 dashed-list"> | ||
{% assign advantages_size = 'customer.sign_in.registration_advantages' | t | size | minus: 2 %} | ||
{% assign registration_advantage = 'customer.sign_in.registration_advantages' | t | slice: 1, advantages_size %} | ||
{% assign advantages = registration_advantage | split: ',' %} | ||
{% for phrase in advantages %} | ||
{% assign phrase_size = phrase | strip | size | minus: 2 %} | ||
<li>{{ phrase | strip | slice: 1, phrase_size }}</li> | ||
{% endfor %} | ||
</ul> | ||
{{ 'layout.customer.register' | t | customer_register_link | replace: 'a href', 'a class="btn btn-white w-50" href' }} | ||
</div> |
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