Skip to content

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

Revert waves effect on primary buttons

dominik-zeglend8be77a14435
diff --git a/templates/dashboard/category/form.html b/templates/dashboard/category/form.html
index 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.html
index 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.html
index 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.html
index 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.html
index 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.html
index 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.html
index 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.html
index 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.html
index 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.html
index 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.html
index 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.html
index 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.html
index 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.html
index 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.html
index 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.html
index 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.html
index 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.html
index 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.html
index 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.html
index 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>