Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Revert waves effect on primary buttons
dominik-zeglend8be77a14435
diff --git a/templates/dashboard/category/form.html b/templates/dashboard/category/form.htmlindex b1a49f316e..a5164ddd47 100644--- a/templates/dashboard/category/form.html+++ b/templates/dashboard/category/form.html@@ -119,11 +119,11 @@</a>{% endif %}{% if category.pk %}- <button type="submit" class="btn waves-effect waves-light">+ <button type="submit" class="btn waves-effect">{% trans "Update" context "Dashboard update action" %}</button>{% else %}- <button type="submit" class="btn waves-effect waves-light">+ <button type="submit" class="btn waves-effect">{% trans "Create" context "Dashboard create action" %}</button>{% endif %}diff --git a/templates/dashboard/discount/sale/form.html b/templates/dashboard/discount/sale/form.htmlindex ea9db659e2..9072f59d3e 100644--- a/templates/dashboard/discount/sale/form.html+++ b/templates/dashboard/discount/sale/form.html@@ -97,14 +97,14 @@<a href="{% url 'dashboard:sale-list' %}" class="btn-flat waves-effect">{% trans "Cancel" context "Dashboard cancel action" %}</a>- <button type="submit" class="btn">+ <button type="submit" class="btn waves-effect">{% trans "Update" context "Dashboard update action" %}</button>{% else %}<a href="{% url 'dashboard:sale-list' %}" class="btn-flat waves-effect">{% trans "Cancel" context "Dashboard cancel action" %}</a>- <button type="submit" class="btn">+ <button type="submit" class="btn waves-effect">{% trans "Create" context "Dashboard create action" %}</button>{% endif %}diff --git a/templates/dashboard/discount/voucher/form.html b/templates/dashboard/discount/voucher/form.htmlindex 06dba29653..e958bbfd32 100644--- a/templates/dashboard/discount/voucher/form.html+++ b/templates/dashboard/discount/voucher/form.html@@ -126,14 +126,14 @@<a href="{% url 'dashboard:voucher-list' %}" class="btn-flat waves-effect">{% trans "Cancel" context "Dashboard cancel action" %}</a>- <button type="submit" class="btn">+ <button type="submit" class="btn waves-effect">{% trans "Update" context "Dashboard update action" %}</button>{% else %}<a href="{% url 'dashboard:voucher-list' %}" class="btn-flat waves-effect">{% trans "Cancel" context "Dashboard cancel action" %}</a>- <button type="submit" class="btn">+ <button type="submit" class="btn waves-effect">{% trans "Create" context "Dashboard create action" %}</button>{% endif %}diff --git a/templates/dashboard/group/detail.html b/templates/dashboard/group/detail.htmlindex 552d7eb66b..574aef56ef 100644--- a/templates/dashboard/group/detail.html+++ b/templates/dashboard/group/detail.html@@ -84,7 +84,7 @@<a href="{% url 'dashboard:group-list' %}" class="btn-flat waves-effect">{% trans "Cancel" context "Dashboard cancel action" %}</a>- <button type="submit" class="btn">+ <button type="submit" class="btn waves-effect">{% if group.name %}{% trans 'Update' context 'Dashboard update action' %}{% else %}diff --git a/templates/dashboard/order/address_form.html b/templates/dashboard/order/address_form.htmlindex a2cdb4aeab..96be12a14d 100644--- a/templates/dashboard/order/address_form.html+++ b/templates/dashboard/order/address_form.html@@ -60,7 +60,7 @@<a href="{% url "dashboard:order-details" order_pk=order.pk %}" class="btn-flat waves-effect">{% trans "Cancel" context "Dashboard cancel action" %}</a>- <button type="submit" class="btn">+ <button type="submit" class="btn waves-effect">{% trans "Update" context "Dashboard update action" %}</button></div>diff --git a/templates/dashboard/product/form.html b/templates/dashboard/product/form.htmlindex f069216241..ee387a2484 100644--- a/templates/dashboard/product/form.html+++ b/templates/dashboard/product/form.html@@ -111,14 +111,14 @@<a href="{% url 'dashboard:product-detail' product.pk %}" class="btn-flat waves-effect">{% trans "Cancel" context "Dashboard cancel action" %}</a>- <button type="submit" class="btn">+ <button type="submit" class="btn waves-effect">{% trans "Save" context "Dashboard update action" %}</button>{% else %}<a href="{% url 'dashboard:product-list' %}" class="btn-flat waves-effect">{% trans "Cancel" context "Dashboard cancel action" %}</a>- <button type="submit" class="btn">+ <button type="submit" class="btn waves-effect">{% trans "Create" context "Dashboard create action" %}</button>{% endif %}diff --git a/templates/dashboard/product/product_attribute/form.html b/templates/dashboard/product/product_attribute/form.htmlindex 9fcdef869d..e8b0e6d964 100644--- a/templates/dashboard/product/product_attribute/form.html+++ b/templates/dashboard/product/product_attribute/form.html@@ -76,14 +76,14 @@<a href="{% url 'dashboard:product-attribute-detail' attribute.pk %}" class="btn-flat waves-effect">{% trans "Cancel" context "Dashboard cancel action" %}</a>- <button type="submit" class="btn">+ <button type="submit" class="btn waves-effect">{% trans "Save" context "Dashboard update action" %}</button>{% else %}<a href="{% url 'dashboard:product-attributes' %}" class="btn-flat waves-effect">{% trans "Cancel" context "Dashboard cancel action" %}</a>- <button type="submit" class="btn">+ <button type="submit" class="btn waves-effect">{% trans "Create" context "Dashboard create action" %}</button>{% endif %}diff --git a/templates/dashboard/product/product_attribute/values/form.html b/templates/dashboard/product/product_attribute/values/form.htmlindex db6fc81e1f..b1b023de5f 100644--- a/templates/dashboard/product/product_attribute/values/form.html+++ b/templates/dashboard/product/product_attribute/values/form.html@@ -78,14 +78,14 @@<a href="{% url 'dashboard:product-attribute-detail' pk=attribute.pk %}" class="btn-flat waves-effect">{% trans "Cancel" context "Dashboard cancel action" %}</a>- <button type="submit" class="btn">+ <button type="submit" class="btn waves-effect">{% trans "Save" context "Dashboard update action" %}</button>{% else %}<a href="{% url 'dashboard:product-attribute-detail' pk=attribute.pk%}" class="btn-flat waves-effect">{% trans "Cancel" context "Dashboard cancel action" %}</a>- <button type="submit" class="btn">+ <button type="submit" class="btn waves-effect">{% trans "Create" context "Dashboard create action" %}</button>{% endif %}diff --git a/templates/dashboard/product/product_class/form.html b/templates/dashboard/product/product_class/form.htmlindex b300d5348e..53884c6973 100644--- a/templates/dashboard/product/product_class/form.html+++ b/templates/dashboard/product/product_class/form.html@@ -100,14 +100,14 @@<a href="{% url 'dashboard:product-class-list' %}" class="btn-flat waves-effect">{% trans "Cancel" context "Dashboard cancel action" %}</a>- <button type="submit" class="btn">+ <button type="submit" class="btn waves-effect">{% trans "Update" context "Dashboard update action" %}</button>{% else %}<a href="{% url 'dashboard:product-class-list' %}" class="btn-flat waves-effect">{% trans "Cancel" context "Dashboard cancel action" %}</a>- <button type="submit" class="btn">+ <button type="submit" class="btn waves-effect">{% trans "Create" context "Dashboard create action" %}</button>{% endif %}diff --git a/templates/dashboard/product/product_class/list.html b/templates/dashboard/product/product_class/list.htmlindex e7f3a808e2..7ed5e0fdd7 100644--- a/templates/dashboard/product/product_class/list.html+++ b/templates/dashboard/product/product_class/list.html@@ -106,7 +106,7 @@</div><div class="row"><div class="col s12">- <button class="btn" type="submit">+ <button class="btn waves-effect" type="submit">{% trans "Create new" context "Dashboard create new action" %}</button></div>diff --git a/templates/dashboard/product/product_image/form.html b/templates/dashboard/product/product_image/form.htmlindex c7539a8cba..8fbe312f16 100644--- a/templates/dashboard/product/product_image/form.html+++ b/templates/dashboard/product/product_image/form.html@@ -79,14 +79,14 @@<a href="{% url "dashboard:product-image-list" product.pk %}" class="btn-flat waves-effect">{% trans "Cancel" context "Dashboard cancel action" %}</a>- <button type="submit" class="btn">+ <button type="submit" class="btn waves-effect">{% trans "Save" context "Dashboard update action" %}</button>{% else %}<a href="{% url "dashboard:product-image-list" product.pk %}" class="btn-flat waves-effect">{% trans "Cancel" context "Dashboard cancel action" %}</a>- <button type="submit" class="btn">+ <button type="submit" class="btn waves-effect">{% trans "Create" context "Dashboard create action" %}</button>{% endif %}diff --git a/templates/dashboard/product/product_variant/form.html b/templates/dashboard/product/product_variant/form.htmlindex 7c960bb11d..1ae9492e81 100644--- a/templates/dashboard/product/product_variant/form.html+++ b/templates/dashboard/product/product_variant/form.html@@ -103,14 +103,14 @@<a href="{% url "dashboard:variant-details" product_pk=product.pk variant_pk=variant.pk %}" class="btn-flat waves-effect">{% trans "Cancel" context "Dashboard cancel action" %}</a>- <button type="submit" class="btn">+ <button type="submit" class="btn waves-effect">{% trans "Save" context "Dashboard update action" %}</button>{% else %}<a href="{% url "dashboard:product-detail" pk=product.pk %}" class="btn-flat waves-effect">{% trans "Cancel" context "Dashboard cancel action" %}</a>- <button type="submit" class="btn">+ <button type="submit" class="btn waves-effect">{% trans "Create" context "Dashboard create action" %}</button>{% endif %}diff --git a/templates/dashboard/product/stock/form.html b/templates/dashboard/product/stock/form.htmlindex 1996690a1a..50d5837946 100644--- a/templates/dashboard/product/stock/form.html+++ b/templates/dashboard/product/stock/form.html@@ -98,14 +98,14 @@<a href="{% url "dashboard:variant-stock-details" product_pk=product.pk variant_pk=variant.pk stock_pk=stock.pk %}" class="btn-flat waves-effect">{% trans "Cancel" context "Dashboard cancel action" %}</a>- <button type="submit" class="btn">+ <button type="submit" class="btn waves-effect">{% trans "Save" context "Dashboard update action" %}</button>{% else %}<a href="{% url "dashboard:variant-details" product_pk=product.pk variant_pk=variant.pk %}" class="btn-flat waves-effect">{% trans "Cancel" context "Dashboard cancel action" %}</a>- <button type="submit" class="btn">+ <button type="submit" class="btn waves-effect">{% trans "Create" context "Dashboard create action" %}</button>{% endif %}diff --git a/templates/dashboard/product/stock_location/form.html b/templates/dashboard/product/stock_location/form.htmlindex 68e7437c69..2821da2acf 100644--- a/templates/dashboard/product/stock_location/form.html+++ b/templates/dashboard/product/stock_location/form.html@@ -73,14 +73,14 @@<a href="{% url 'dashboard:product-stock-location-list' %}" class="btn-flat waves-effect">{% trans "Cancel" context "Dashboard cancel action" %}</a>- <button type="submit" class="btn">+ <button type="submit" class="btn waves-effect">{% trans "Update" context "Dashboard update action" %}</button>{% else %}<a href="{% url 'dashboard:product-stock-location-list' %}" class="btn-flat waves-effect">{% trans "Cancel" context "Dashboard cancel action" %}</a>- <button type="submit" class="btn">+ <button type="submit" class="btn waves-effect">{% trans "Create" context "Dashboard create action" %}</button>{% endif %}diff --git a/templates/dashboard/shipping/country/form.html b/templates/dashboard/shipping/country/form.htmlindex 50f68e1166..a61a4feda2 100644--- a/templates/dashboard/shipping/country/form.html+++ b/templates/dashboard/shipping/country/form.html@@ -80,14 +80,14 @@<a href="{% url 'dashboard:shipping-method-detail' pk=shipping_method.pk %}" class="btn-flat waves-effect">{% trans "Cancel" context "Dashboard cancel action" %}</a>- <button type="submit" class="btn">+ <button type="submit" class="btn waves-effect">{% trans "Save" context "Dashboard update action" %}</button>{% else %}<a href="{% url 'dashboard:shipping-method-detail' pk=shipping_method.pk %}" class="btn-flat waves-effect">{% trans "Cancel" context "Dashboard cancel action" %}</a>- <button type="submit" class="btn">+ <button type="submit" class="btn waves-effect">{% trans "Create" context "Dashboard create action" %}</button>{% endif %}diff --git a/templates/dashboard/shipping/form.html b/templates/dashboard/shipping/form.htmlindex 8b611bc3c9..fe5dafce01 100644--- a/templates/dashboard/shipping/form.html+++ b/templates/dashboard/shipping/form.html@@ -77,14 +77,14 @@<a href="{% url 'dashboard:shipping-method-detail' shipping_method.pk %}" class="btn-flat waves-effect">{% trans "Cancel" context "Dashboard cancel action" %}</a>- <button type="submit" class="btn">+ <button type="submit" class="btn waves-effect">{% trans "Save" context "Dashboard update action" %}</button>{% else %}<a href="{% url 'dashboard:shipping-methods' %}" class="btn-flat waves-effect">{% trans "Cancel" context "Dashboard cancel action" %}</a>- <button type="submit" class="btn">+ <button type="submit" class="btn waves-effect">{% trans "Create" context "Dashboard create action" %}</button>{% endif %}diff --git a/templates/dashboard/sites/authorization_keys/form.html b/templates/dashboard/sites/authorization_keys/form.htmlindex ebfe191e6e..dbd112c691 100644--- a/templates/dashboard/sites/authorization_keys/form.html+++ b/templates/dashboard/sites/authorization_keys/form.html@@ -71,14 +71,14 @@<a href="{% url 'dashboard:site-detail' pk=site_settings_pk %}" class="btn-flat waves-effect">{% trans "Cancel" context "Dashboard cancel action" %}</a>- <button type="submit" class="btn">+ <button type="submit" class="btn waves-effect">{% trans "Save" context "Dashboard update action" %}</button>{% else %}<a href="{% url 'dashboard:site-detail' pk=site_settings_pk %}" class="btn-flat waves-effect">{% trans "Cancel" context "Dashboard cancel action" %}</a>- <button type="submit" class="btn">+ <button type="submit" class="btn waves-effect">{% trans "Create" context "Dashboard create action" %}</button>{% endif %}diff --git a/templates/dashboard/sites/form.html b/templates/dashboard/sites/form.htmlindex 3d4a04ed40..cc45119887 100644--- a/templates/dashboard/sites/form.html+++ b/templates/dashboard/sites/form.html@@ -54,7 +54,7 @@<a class="btn-flat waves-effect" href="{% url 'dashboard:site-detail' pk=site.pk %}" target="_blank">{% trans "Cancel" context "Dashboard cancel action" %}</a>- <button type="submit" class="btn">+ <button type="submit" class="btn waves-effect">{% trans "Update" context "Dashboard update action" %}</button></div>diff --git a/templates/dashboard/staff/detail.html b/templates/dashboard/staff/detail.htmlindex 16de026d13..798888fb49 100644--- a/templates/dashboard/staff/detail.html+++ b/templates/dashboard/staff/detail.html@@ -76,7 +76,7 @@<a href="{% url 'dashboard:staff-list' %}" class="btn-flat waves-effect">{% trans "Cancel" context "Dashboard cancel action" %}</a>- <button type="submit" class="btn">+ <button type="submit" class="btn waves-effect">{% if staff_member %}{% trans 'Update' context 'Dashboard update action' %}{% else %}diff --git a/templates/dashboard/styleguide/index.html b/templates/dashboard/styleguide/index.htmlindex 2624d0cd83..219aad59ad 100644--- a/templates/dashboard/styleguide/index.html+++ b/templates/dashboard/styleguide/index.html@@ -405,7 +405,7 @@<div class="card-content"><div class="row section"><div class="col m4 s12">- <a class="btn" contenteditable="true">+ <a class="btn waves-effect" contenteditable="true">Primary</a></div>@@ -785,7 +785,7 @@</h4><form><div class="file-field input-field">- <div class="btn">+ <div class="btn waves-effect"><span contenteditable="true">File</span><input type="file"></div>@@ -1566,7 +1566,7 @@</h3><div class="card"><div class="card-content">- <a class="btn" onclick="Materialize.toast('Example toast text', 4000)"> Toast</a>+ <a class="btn waves-effect" onclick="Materialize.toast('Example toast text', 4000)"> Toast</a></div></div></div>