Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Fix styles
weronka73653baa93ae
diff --git a/saleor/static/scss/storefront/components/_header.scss b/saleor/static/scss/storefront/components/_header.scssindex 3c33e0f21a..eb3d8198b8 100644--- a/saleor/static/scss/storefront/components/_header.scss+++ b/saleor/static/scss/storefront/components/_header.scss@@ -85,7 +85,7 @@}}svg path {- fill: #000;+ fill: $body-color;}}&__search {diff --git a/saleor/static/scss/storefront/layouts/_checkout.scss b/saleor/static/scss/storefront/layouts/_checkout.scssindex 3d0baf6b83..9ae6ade257 100644--- a/saleor/static/scss/storefront/layouts/_checkout.scss+++ b/saleor/static/scss/storefront/layouts/_checkout.scss@@ -36,7 +36,7 @@margin-right: 0;}path {- fill: #000;+ fill: $body-color;}}h1 {diff --git a/saleor/static/scss/storefront/layouts/_styleguide.scss b/saleor/static/scss/storefront/layouts/_styleguide.scssindex 4d1f5e1f1c..0fdb2499e6 100644--- a/saleor/static/scss/storefront/layouts/_styleguide.scss+++ b/saleor/static/scss/storefront/layouts/_styleguide.scss@@ -99,8 +99,9 @@}}&#icons {- img {- max-width: 35px;+ svg {+ width: 35px;+ height: 35px;display: inline-block;margin-right: $global-margin;}diff --git a/templates/base.html b/templates/base.htmlindex b38143b0e7..f004fcb102 100644--- a/templates/base.html+++ b/templates/base.html@@ -72,25 +72,25 @@<div class="row no-gutters"><div class="col-8 col-md-4 navbar__logo"><div class="menu-icon-mobile hidden-md-up navbar__brand__menu-toggle closed open">- <svg data-src="{% static "images/mobile-bar.svg" %}" />+ <svg data-src="{% static "images/mobile-bar.svg" %}" width="28px" height="20px" /><span>{% trans "menu" context "Hamburger button text" %}</span></div><a href="/">- <svg data-src="{% static "images/saleor-logo.svg" %}" />+ <svg data-src="{% static "images/saleor-logo.svg" %}" height="38px" width="176px" /></a></div><div class="col-2 col-md-4 navbar__search static">{% if SEARCH_IS_ENABLED %}<div class="hidden-md-up mobile-search-icon">- <svg data-src="{% static "images/search-icon.svg" %}" />+ <svg data-src="{% static "images/search-icon.svg" %}" width="30" height="30" /></div><form class="form-inline search-form" action="{% url "search:search" %}"><div class="mobile-close-search hidden-md-up">- <svg data-src="{% static "images/close-icon.svg" %}" />+ <svg data-src="{% static "images/close-icon.svg" %}" width="30" height="30" /></div><input class="form-control" type="text" name="q" value="{% if query %}{{ query }}{% endif %}" placeholder="{% trans "Search for product" %}"><button class="btn btn-link" type="submit">- <svg data-src="{% static "images/search-icon.svg" %}" />+ <svg data-src="{% static "images/search-icon.svg" %}" width="30" height="30" /></button></form>{% endif %}@@ -102,7 +102,7 @@{% trans "Your Cart" context "Main navigation item" %}</span><div class="navbar__brand__cart__icon">- <svg data-src="{% static "images/cart.svg" %}" />+ <svg data-src="{% static "images/cart.svg" %}" width="35" height="30" /></div><span class="badge {% if not cart_counter %}empty{% endif %}">{% if cart_counter %}@@ -158,7 +158,7 @@<div class="row"><div class="col-md-3"><a href="/" class="footer__logo">- <svg data-src="{% static "images/saleor-logo.svg" %}" />+ <svg data-src="{% static "images/saleor-logo.svg" %}" height="38px" width="176px" /></a></div><div class="col-md-3 col-sm-6">@@ -217,10 +217,10 @@</div><div class="col-md-3 col-sm-12"><a target="_blank" rel="noopener" class="github-footer" href="https://github.com/mirumee/saleor">- <svg data-src="{% static "images/github_logo.svg" %}" />+ <svg data-src="{% static "images/github_logo.svg" %}" width="45px" height="45px"/></a><a target="_blank" rel="noopener" href="https://twitter.com/getsaleor">- <svg data-src="{% static "images/twitter_logo.svg" %}" />+ <svg data-src="{% static "images/twitter_logo.svg" %}" width="45px" height="45px" /></a></div></div>diff --git a/templates/cart/index.html b/templates/cart/index.htmlindex f95475f2ff..371a59acd9 100644--- a/templates/cart/index.html+++ b/templates/cart/index.html@@ -56,7 +56,7 @@{% csrf_token %}</form><span class="cart-item-delete">- <svg data-src="{% static "images/icon_delete.svg" %}" />+ <svg data-src="{% static "images/icon_delete.svg" %}" height="20px" width="20px" /></span><small class="cart__line__quantity-error text-danger"></small></div>diff --git a/templates/checkout/details.html b/templates/checkout/details.htmlindex 9a4061c764..8fbed15823 100644--- a/templates/checkout/details.html+++ b/templates/checkout/details.html@@ -13,7 +13,7 @@<header class="checkout__header"><div class="container"><a href="/">- <svg data-src="{% static "images/saleor-logo.svg" %}" />+ <svg data-src="{% static "images/saleor-logo.svg" %}" height="38px" width="176px" /></a><h1>{% trans "Checkout" context "Checkout title" %}</h1></div>diff --git a/templates/dashboard/base.html b/templates/dashboard/base.htmlindex 605f8632fd..24d98f4166 100644--- a/templates/dashboard/base.html+++ b/templates/dashboard/base.html@@ -64,7 +64,7 @@</li><li><a href="{% url 'dashboard:index' %}" class="logo">- <svg data-src="{% static "images/saleor-logo.svg" %}" />+ <svg data-src="{% static "images/saleor-logo.svg" %}" height="38px" width="176px"/></a></li><li class="search">diff --git a/templates/dashboard/styleguide/index.html b/templates/dashboard/styleguide/index.htmlindex b32eb072c9..91f608447a 100644--- a/templates/dashboard/styleguide/index.html+++ b/templates/dashboard/styleguide/index.html@@ -29,7 +29,7 @@<div class="nav-wrapper"><ul class="left"><li class="logo">- <svg data-src="{% static "images/saleor-logo.svg" %}" />+ <svg data-src="{% static "images/saleor-logo.svg" %}" height="38px" width="176px" /></li><li><span>Style Guide</span>diff --git a/templates/styleguide.html b/templates/styleguide.htmlindex a700f819ab..c37071c845 100644--- a/templates/styleguide.html+++ b/templates/styleguide.html@@ -11,7 +11,7 @@<header class="checkout__header"><div class="container"><a href="/">- <svg data-src="{% static "images/saleor-logo.svg" %}" />+ <svg data-src="{% static "images/saleor-logo.svg" %}" height="38px" width="176px" /></a><h1>Style guide</h1></div>@@ -429,7 +429,7 @@<form class="form-inline search-form" action="{% url "search:search" %}"><input class="form-control" type="text" name="q" value="{% if query %}{{ query }}{% endif %}" placeholder="Search for product"><button class="btn btn-link" type="submit">- <svg data-src="{% static "images/search-icon.svg" %}" />+ <svg data-src="{% static "images/search-icon.svg" %}" width="19" height="19" /></button></form></div>@@ -665,7 +665,7 @@</div><ul class="icons"><li><a href="#" contenteditable="true">Edit</a></li>- <li><a class="delete-icon"><svg data-src="{% static "images/icon_delete.svg" %}" /></a></li>+ <li><a class="delete-icon"><svg data-src="{% static "images/icon_delete.svg" %}" height="20px" width="20px" /></a></li></ul><div class="address-delete none"><form>diff --git a/templates/userprofile/details.html b/templates/userprofile/details.htmlindex a467de9dea..b2c567d6ab 100644--- a/templates/userprofile/details.html+++ b/templates/userprofile/details.html@@ -115,7 +115,7 @@<li><a href="{% url "profile:address-edit" pk=address.pk %}">{% trans "Edit" context "User address action" %}</a></li>- <li><a class="delete-icon"><svg data-src="{% static "images/icon_delete.svg" %}" /></a></li>+ <li><a class="delete-icon"><svg data-src="{% static "images/icon_delete.svg" %}" height="20px" width="20px" /></a></li></ul>{% include "userprofile/address-delete.html" with pk=address.pk %}</div>