Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Add homepage button example, fix styles
weronka1244ff68def9
diff --git a/saleor/static/scss/storefront/components/_cards.scss b/saleor/static/scss/storefront/components/_cards.scssindex 42edb526b7..d5afd4951e 100644--- a/saleor/static/scss/storefront/components/_cards.scss+++ b/saleor/static/scss/storefront/components/_cards.scss@@ -26,9 +26,9 @@width: 49%;display: inline-block;a {- line-height: 18px;+ line-height: 1.15rem;img {- max-width: 18px;+ max-width: 1.15rem;cursor: pointer;}}diff --git a/saleor/static/scss/storefront/components/_filters.scss b/saleor/static/scss/storefront/components/_filters.scssindex 1e517501a8..dc362752b2 100644--- a/saleor/static/scss/storefront/components/_filters.scss+++ b/saleor/static/scss/storefront/components/_filters.scss@@ -14,7 +14,7 @@}}ul {- padding: $global-padding/2 0;+ padding: $global-padding / 2 0;list-style: none;margin-bottom: 0;li {diff --git a/templates/styleguide.html b/templates/styleguide.htmlindex e65db0ae02..485132f0ef 100644--- a/templates/styleguide.html+++ b/templates/styleguide.html@@ -171,35 +171,48 @@<div class="row"><div class="container"><button class="btn primary">- {% trans "Primary" context "Primary button example in styleguide" %}+ {% trans "Primary" context "Primary button example in style guide" %}</button><button class="btn secondary">- {% trans "Secondary" context "Secondary button example in styleguide" %}+ {% trans "Secondary" context "Secondary button example in style guide" %}</button><button class="btn danger">- {% trans "Danger" context "Danger button example in styleguide" %}+ {% trans "Danger" context "Danger button example in style guide" %}</button><button class="btn gray">- {% trans "Gray" context "Gray button example in styleguide" %}+ {% trans "Gray" context "Gray button example in style guide" %}</button></div></div><div class="row"><div class="container"><button class="btn primary narrow">- {% trans "Primary narrow" context "Primary narrow button example in styleguide" %}+ {% trans "Primary narrow" context "Primary narrow button example in style guide" %}</button><button class="btn secondary narrow">- {% trans "Secondary narrow" context "Secondary narow button example in styleguide" %}+ {% trans "Secondary narrow" context "Secondary narow button example in style guide" %}</button><button class="btn danger narrow">- {% trans "Danger narrow" context "Danger narow button example in styleguide" %}+ {% trans "Danger narrow" context "Danger narow button example in style guide" %}</button></div></div><button class="btn primary disabled">- {% trans "Disabled" context "Disabled button example in styleguide" %}+ {% trans "Disabled" context "Disabled button example in style guide" %}</button>+ <div class="col-sm-12 home__block1">+ <div class="home--square">+ <div class="home--content">+ <div class="home--content-wrapper">+ <div class="home--content-inner">+ <a class="btn btn-secondary home__button" href="#">+ {% trans "Home page button" context "Home page button example in style guide" %}+ </a>+ </div>+ </div>+ </div>+ </div>+ </div></div><div id="forms" class="styleguide__content__block"><h3 class="styleguide__content__block__title">{% trans "Forms" context "Forms title in style guide" %}</h3>diff --git a/templates/userprofile/address-edit.html b/templates/userprofile/address-edit.htmlindex e2bc995ecc..f5151e8dc2 100644--- a/templates/userprofile/address-edit.html+++ b/templates/userprofile/address-edit.html@@ -34,7 +34,7 @@<div class="col-sm-8 col-lg-6 offset-sm-2 offset-lg-3"><form method="post" novalidate>{% csrf_token %}- <h2 class="text-xs-center">+ <h2 class="text-center">{% if address_form.instance.pk %}{% trans "Edit address" context "Edit address title" %}{% else %}