Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Fix global buttons styles

weronkabb5b608ee7bc
diff --git a/saleor/static/scss/storefront/components/_buttons.scss b/saleor/static/scss/storefront/components/_buttons.scss
index 78b07685ae..fd8f56ed07 100644
--- a/saleor/static/scss/storefront/components/_buttons.scss
+++ b/saleor/static/scss/storefront/components/_buttons.scss
@@ -1,6 +1,9 @@
.btn {
transition: 0.3s;
border-radius: $button-border-radius;
+ text-transform: uppercase;
+ font-weight: 300;
+ font-size: 1rem;
&.home__button {
text-transform: uppercase;
font-size: $font-size-h3;
@@ -17,7 +20,6 @@
background-color: $blue;
color: $white;
padding: $global-padding $global-padding * 4;
- font-size: $font-size-h5;
&:hover {
background-color: darken($blue, 10%);
}
@@ -25,7 +27,6 @@
&.secondary {
border: 1px solid $blue;
padding: $global-padding $global-padding * 2;
- font-size: $font-size-h5;
background-color: transparent;
color: $blue;
&:hover {
@@ -37,7 +38,6 @@
background-color: $red;
color: $white;
padding: $global-padding $global-padding * 4;
- font-size: $font-size-h5;
&:hover {
background-color: $darkred
}
diff --git a/saleor/static/scss/storefront/components/_product-page.scss b/saleor/static/scss/storefront/components/_product-page.scss
index fad3ac7b09..8d630871b9 100644
--- a/saleor/static/scss/storefront/components/_product-page.scss
+++ b/saleor/static/scss/storefront/components/_product-page.scss
@@ -24,7 +24,7 @@
width: 17%;
float: left;
input {
- height: 58px;
+ height: 54px;
}
}
&__button {
diff --git a/templates/checkout/login.html b/templates/checkout/login.html
index ae2f872bed..ce2e7b75ce 100644
--- a/templates/checkout/login.html
+++ b/templates/checkout/login.html
@@ -10,12 +10,12 @@
<div class="checkout__login__continue">
<h3>{% trans "New customer?" %}</h3>
<img class="checkout-pirate" src="{% static 'images/pirate_login.png' %}" srcset="{% static 'images/pirate-checkout.png' %} 1x, {% static 'images/pirate-checkout2x.png' %} 2x">
- <p><a href="{% url 'checkout:shipping-address' %}" class="btn secondary">{% trans "Continue" %}</a></p>
+ <p><a href="{% url 'checkout:index' %}" class="btn secondary">{% trans "Continue" %}</a></p>
<p>{% trans "Registration is not required!" %}</p>
</div>
</div>
<div class="col-12 col-md-6 checkout__login__form">
- {% url "checkout:shipping-address" as checkout_url %}
+ {% url "checkout:index" as checkout_url %}
<h3>{% trans "Existing customer? Log in." %}</h3>
{% include "account/partials/login_form.html" with redirect_field_value=checkout_url %}
</div>