Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Unify flat button style - waves effect with lightgray ripples
dominik-zeglenbe86723f57e1
diff --git a/saleor/static/dashboard/scss/components/_buttons.scss b/saleor/static/dashboard/scss/components/_buttons.scssindex 8a72fbdba9..520dc2bfe1 100644--- a/saleor/static/dashboard/scss/components/_buttons.scss+++ b/saleor/static/dashboard/scss/components/_buttons.scss@@ -1,15 +1,24 @@+.card .card-action {+ a:not(.btn):not(.btn-large):not(.btn-large):not(.btn-floating) {+ @extend .btn-flat;+ &:hover {+ color: $secondary-color;+ }+ }+}+.btn {&:not(.btn-floating) {box-shadow: none;}&-flat {- @extend .btn;+ @extend .waves-lightgray;color: $secondary-color;&:hover {- background: transparentize(#cccccc, .6);+ background: unset;}&:focus, &:active {- background: transparentize(#000000, .88);+ background: unset;}}&-fab {diff --git a/saleor/static/dashboard/scss/components/_global.scss b/saleor/static/dashboard/scss/components/_global.scssindex ada5788e0b..c73e1c2559 100644--- a/saleor/static/dashboard/scss/components/_global.scss+++ b/saleor/static/dashboard/scss/components/_global.scss@@ -164,3 +164,7 @@ svg {color: #999;}}++.waves-effect.waves-lightgray .waves-ripple {+ background-color: rgba(0, 0, 0, 0.05);+}diff --git a/templates/dashboard/base_modal_confirm_delete.html b/templates/dashboard/base_modal_confirm_delete.htmlindex 596836eecd..cff891b99b 100644--- a/templates/dashboard/base_modal_confirm_delete.html+++ b/templates/dashboard/base_modal_confirm_delete.html@@ -18,10 +18,10 @@</div><div class="modal-footer">{% block footer %}- <a href="#!" class="modal-action modal-close btn-flat">+ <a href="#!" class="modal-action modal-close btn-flat waves-effect">{% trans "Cancel" context "Dashboard cancel action" %}</a>- <button type="submit" class="modal-action btn-flat">+ <button type="submit" class="modal-action btn-flat waves-effect">{% trans "Remove" context "Dashboard delete action" %}</button>{% endblock footer %}diff --git a/templates/dashboard/customer/modal/confirm_promote.html b/templates/dashboard/customer/modal/confirm_promote.htmlindex 3c7d9f481b..347e5c0059 100644--- a/templates/dashboard/customer/modal/confirm_promote.html+++ b/templates/dashboard/customer/modal/confirm_promote.html@@ -13,10 +13,10 @@{% trans "Are you sure?" context "Dashboard confirmation modal" %}</div><div class="modal-footer">- <a href="#!" class="modal-action modal-close btn-flat">+ <a href="#!" class="modal-action modal-close btn-flat waves-effect">{% trans "Cancel" context "Dashboard cancel action" %}</a>- <button type="submit" class="modal-action btn-flat">+ <button type="submit" class="modal-action btn-flat waves-effect">{% trans "Promote" context "Dashboard promote action" %}</button></div>diff --git a/templates/dashboard/discount/sale/form.html b/templates/dashboard/discount/sale/form.htmlindex 6ed5c83e87..ea9db659e2 100644--- a/templates/dashboard/discount/sale/form.html+++ b/templates/dashboard/discount/sale/form.html@@ -94,14 +94,14 @@<div class="card-action right-align">{% if sale.pk %}- <a href="{% url 'dashboard:sale-list' %}" class="btn-flat">+ <a href="{% url 'dashboard:sale-list' %}" class="btn-flat waves-effect">{% trans "Cancel" context "Dashboard cancel action" %}</a><button type="submit" class="btn">{% trans "Update" context "Dashboard update action" %}</button>{% else %}- <a href="{% url 'dashboard:sale-list' %}" class="btn-flat">+ <a href="{% url 'dashboard:sale-list' %}" class="btn-flat waves-effect">{% trans "Cancel" context "Dashboard cancel action" %}</a><button type="submit" class="btn">diff --git a/templates/dashboard/discount/voucher/form.html b/templates/dashboard/discount/voucher/form.htmlindex e843da0cff..06dba29653 100644--- a/templates/dashboard/discount/voucher/form.html+++ b/templates/dashboard/discount/voucher/form.html@@ -123,14 +123,14 @@</div><div class="card-action right-align">{% if voucher.pk %}- <a href="{% url 'dashboard:voucher-list' %}" class="btn-flat">+ <a href="{% url 'dashboard:voucher-list' %}" class="btn-flat waves-effect">{% trans "Cancel" context "Dashboard cancel action" %}</a><button type="submit" class="btn">{% trans "Update" context "Dashboard update action" %}</button>{% else %}- <a href="{% url 'dashboard:voucher-list' %}" class="btn-flat">+ <a href="{% url 'dashboard:voucher-list' %}" class="btn-flat waves-effect">{% trans "Cancel" context "Dashboard cancel action" %}</a><button type="submit" class="btn">diff --git a/templates/dashboard/group/detail.html b/templates/dashboard/group/detail.htmlindex 69beecffe9..552d7eb66b 100644--- a/templates/dashboard/group/detail.html+++ b/templates/dashboard/group/detail.html@@ -81,7 +81,7 @@</div>{% if perms.userprofile.edit_group %}<div class="card-action right-align">- <a href="{% url 'dashboard:group-list' %}" class="btn-flat">+ <a href="{% url 'dashboard:group-list' %}" class="btn-flat waves-effect">{% trans "Cancel" context "Dashboard cancel action" %}</a><button type="submit" class="btn">diff --git a/templates/dashboard/includes/_filters.html b/templates/dashboard/includes/_filters.htmlindex f1f771ae2a..ac71c3be79 100644--- a/templates/dashboard/includes/_filters.html+++ b/templates/dashboard/includes/_filters.html@@ -40,11 +40,11 @@<div class="right-align"><div class="col s12">{% if filter.is_bound_unsorted %}- <a href="." class="clear-filters btn-flat">+ <a href="." class="clear-filters btn-flat waves-effect">{% trans 'Clear' context 'Category page filters' %}</a>{% endif %}- <button class="btn-flat" type="submit">+ <button class="btn-flat waves-effect" type="submit">{% trans 'Filter' context 'Category price filter' %}</button></div>diff --git a/templates/dashboard/order/address_form.html b/templates/dashboard/order/address_form.htmlindex d2d4b4526a..a2cdb4aeab 100644--- a/templates/dashboard/order/address_form.html+++ b/templates/dashboard/order/address_form.html@@ -57,7 +57,7 @@</div></div><div class="card-action right-align">- <a href="{% url "dashboard:order-details" order_pk=order.pk %}" class="btn-flat">+ <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">diff --git a/templates/dashboard/order/modal/add_note.html b/templates/dashboard/order/modal/add_note.htmlindex 1169b9e8a1..caa685ce20 100644--- a/templates/dashboard/order/modal/add_note.html+++ b/templates/dashboard/order/modal/add_note.html@@ -16,10 +16,10 @@</div></div><div class="modal-footer">- <a href="#!" class="modal-action modal-close btn-flat">+ <a href="#!" class="modal-action modal-close btn-flat waves-effect">{% trans "Cancel" context "Dashboard cancel action" %}</a>- <button type="submit" class="modal-action btn-flat">+ <button type="submit" class="modal-action btn-flat waves-effect">{% trans "Save note" context "Modal add note primary action" %}</button></div>diff --git a/templates/dashboard/order/modal/add_variant_to_group.html b/templates/dashboard/order/modal/add_variant_to_group.htmlindex 1834014cc4..68b4fc0e7c 100644--- a/templates/dashboard/order/modal/add_variant_to_group.html+++ b/templates/dashboard/order/modal/add_variant_to_group.html@@ -21,10 +21,10 @@</div></div><div class="modal-footer">- <a href="#!" aria-hidden="true" class="modal-action modal-close btn-flat">+ <a href="#!" aria-hidden="true" class="modal-action modal-close btn-flat waves-effect">{% trans "Cancel" context "Dashboard cancel action" %}</a>- <button type="submit" class="modal-action btn-flat">+ <button type="submit" class="modal-action btn-flat waves-effect">{% trans "Add" context "Modal group add variant primary action" %}</button></div>diff --git a/templates/dashboard/order/modal/cancel_line.html b/templates/dashboard/order/modal/cancel_line.htmlindex 4399be32a3..f9139a8e18 100644--- a/templates/dashboard/order/modal/cancel_line.html+++ b/templates/dashboard/order/modal/cancel_line.html@@ -56,10 +56,10 @@</table></div><div class="modal-footer">- <a href="#!" aria-hidden="true" class="modal-action modal-close btn-flat">+ <a href="#!" aria-hidden="true" class="modal-action modal-close btn-flat waves-effect">{% trans "Cancel" context "Dashboard cancel action" %}</a>- <button type="submit" class="modal-action btn-flat">+ <button type="submit" class="modal-action btn-flat waves-effect">{% trans "Remove" context "Dashboard remove action" %}</button></div>diff --git a/templates/dashboard/order/modal/cancel_order.html b/templates/dashboard/order/modal/cancel_order.htmlindex 176f00004d..aa837b8028 100644--- a/templates/dashboard/order/modal/cancel_order.html+++ b/templates/dashboard/order/modal/cancel_order.html@@ -16,10 +16,10 @@<form id="release-form" method="post" role="form" class="form-async"action="{% url 'dashboard:order-cancel' order_pk=order.pk %}" novalidate>{% csrf_token %}- <a href="#!" aria-hidden="true" class="modal-action modal-close btn-flat">+ <a href="#!" aria-hidden="true" class="modal-action modal-close btn-flat waves-effect">{% trans "Abort" context "Dashboard abort action" %}</a>- <button type="submit" class="modal-action btn-flat">+ <button type="submit" class="modal-action btn-flat waves-effect">{% trans "Cancel Order" context "Modal cancel order primary action" %}</button></form>diff --git a/templates/dashboard/order/modal/capture.html b/templates/dashboard/order/modal/capture.htmlindex 74a7fd785f..f6764cf560 100644--- a/templates/dashboard/order/modal/capture.html+++ b/templates/dashboard/order/modal/capture.html@@ -25,10 +25,10 @@</ul></div><div class="modal-footer">- <a href="#!" aria-hidden="true" class="modal-action modal-close btn-flat">+ <a href="#!" aria-hidden="true" class="modal-action modal-close btn-flat waves-effect">{% trans "Cancel" context "Dashboard cancel action" %}</a>- <button type="submit" class="modal-action btn-flat">+ <button type="submit" class="modal-action btn-flat waves-effect">{% trans "Capture" context "Modal capture payment primary action" %}</button></div>diff --git a/templates/dashboard/order/modal/change_quantity.html b/templates/dashboard/order/modal/change_quantity.htmlindex 1bf1057e37..3fbca07416 100644--- a/templates/dashboard/order/modal/change_quantity.html+++ b/templates/dashboard/order/modal/change_quantity.html@@ -12,10 +12,10 @@</div></div><div class="modal-footer">- <a href="#!" aria-hidden="true" class="modal-action modal-close btn-flat">+ <a href="#!" aria-hidden="true" class="modal-action modal-close btn-flat waves-effect">{% trans "Cancel" context "Dashboard cancel action" %}</a>- <button type="submit" class="modal-action btn-flat">+ <button type="submit" class="modal-action btn-flat waves-effect">{% trans "Update" context "Dashboard update action" %}</button></div>diff --git a/templates/dashboard/order/modal/order_remove_voucher.html b/templates/dashboard/order/modal/order_remove_voucher.htmlindex aa41a94742..1a373ff591 100644--- a/templates/dashboard/order/modal/order_remove_voucher.html+++ b/templates/dashboard/order/modal/order_remove_voucher.html@@ -15,10 +15,10 @@<form id="release-form" method="post" role="form" class="form-async"action="{% url 'dashboard:order-remove-voucher' order_pk=order.pk %}" novalidate>{% csrf_token %}- <a href="#!" aria-hidden="true" class="modal-action modal-close btn-flat">+ <a href="#!" aria-hidden="true" class="modal-action modal-close btn-flat waves-effect">{% trans "Abort" context "Dashboard abort action" %}</a>- <button type="submit" class="modal-action btn-flat">+ <button type="submit" class="modal-action btn-flat waves-effect">{% trans "Remove voucher" context "Modal remove voucher from order primary action" %}</button></form>diff --git a/templates/dashboard/order/modal/refund.html b/templates/dashboard/order/modal/refund.htmlindex 25101a3803..21de993d62 100644--- a/templates/dashboard/order/modal/refund.html+++ b/templates/dashboard/order/modal/refund.html@@ -25,10 +25,10 @@</ul></div><div class="modal-footer">- <a href="#!" aria-hidden="true" class="modal-action modal-close btn-flat">+ <a href="#!" aria-hidden="true" class="modal-action modal-close btn-flat waves-effect">{% trans "Cancel" context "Dashboard cancel action" %}</a>- <button type="submit" class="modal-action btn-flat">+ <button type="submit" class="modal-action btn-flat waves-effect">{% trans "Refund" context "Modal refund payment primary action" %}</button></div>diff --git a/templates/dashboard/order/modal/release.html b/templates/dashboard/order/modal/release.htmlindex 4f4a6c2783..4e7a857e02 100644--- a/templates/dashboard/order/modal/release.html+++ b/templates/dashboard/order/modal/release.html@@ -12,10 +12,10 @@<div class="modal-footer"><form id="release-form" method="post" role="form" class="form-async" action="{% url 'dashboard:release-payment' order_pk=order.pk payment_pk=payment.pk %}" novalidate>{% csrf_token %}- <a href="#!" aria-hidden="true" class="modal-action modal-close btn-flat">+ <a href="#!" aria-hidden="true" class="modal-action modal-close btn-flat waves-effect">{% trans "Cancel" context "Dashboard cancel action" %}</a>- <button type="submit" class="modal-action btn-flat">+ <button type="submit" class="modal-action btn-flat waves-effect">{% trans "Release" context "Modal release payment primary action" %}</button></form>diff --git a/templates/dashboard/order/modal/ship_shipment_group.html b/templates/dashboard/order/modal/ship_shipment_group.htmlindex 59d4680f0e..a5030a519a 100644--- a/templates/dashboard/order/modal/ship_shipment_group.html+++ b/templates/dashboard/order/modal/ship_shipment_group.html@@ -16,10 +16,10 @@</div></div><div class="modal-footer">- <a href="#!" aria-hidden="true" class="modal-action modal-close btn-flat">+ <a href="#!" aria-hidden="true" class="modal-action modal-close btn-flat waves-effect">{% trans "Cancel" context "Dashboard cancel action" %}</a>- <button type="submit" class="modal-action btn-flat">+ <button type="submit" class="modal-action btn-flat waves-effect">{% trans "Ship" context "Modal ship shipment group primary action" %}</button></div>diff --git a/templates/dashboard/order/modal/shipment_group_stock.html b/templates/dashboard/order/modal/shipment_group_stock.htmlindex cd0ddfcc11..53e5fab4c3 100644--- a/templates/dashboard/order/modal/shipment_group_stock.html+++ b/templates/dashboard/order/modal/shipment_group_stock.html@@ -16,10 +16,10 @@</div></div><div class="modal-footer">- <a href="#!" aria-hidden="true" class="modal-action modal-close btn-flat">+ <a href="#!" aria-hidden="true" class="modal-action modal-close btn-flat waves-effect">{% trans "Cancel" context "Dashboard cancel action" %}</a>- <button type="submit" class="modal-action btn-flat">+ <button type="submit" class="modal-action btn-flat waves-effect">{% trans "Save" context "Dashboard update action" %}</button></div>diff --git a/templates/dashboard/order/modal/split_order_line.html b/templates/dashboard/order/modal/split_order_line.htmlindex 247daece5d..dfd5ff4f66 100644--- a/templates/dashboard/order/modal/split_order_line.html+++ b/templates/dashboard/order/modal/split_order_line.html@@ -12,10 +12,10 @@</div></div><div class="modal-footer">- <a href="#!" aria-hidden="true" class="modal-action modal-close btn-flat">+ <a href="#!" aria-hidden="true" class="modal-action modal-close btn-flat waves-effect">{% trans "Cancel" context "Dashboard cancel action" %}</a>- <button type="submit" class="modal-action btn-flat">+ <button type="submit" class="modal-action btn-flat waves-effect">{% trans "Split" context "Modal split order line primary action" %}</button></div>diff --git a/templates/dashboard/product/detail.html b/templates/dashboard/product/detail.htmlindex aedaed988c..479aff574a 100644--- a/templates/dashboard/product/detail.html+++ b/templates/dashboard/product/detail.html@@ -72,14 +72,14 @@</div><div class="card-action">{% if perms.product.edit_product %}- <a href="{% url "dashboard:product-update" product.pk %}" class="btn-flat">+ <a href="{% url "dashboard:product-update" product.pk %}" class="btn-flat waves-effect">{% trans "Edit product" context "Product action" %}</a>- <a href="#base-modal" data-href="{% url 'dashboard:product-delete' pk=product.pk %}" class="modal-trigger-custom btn-flat">+ <a href="#base-modal" data-href="{% url 'dashboard:product-delete' pk=product.pk %}" class="modal-trigger-custom btn-flat waves-effect">{% trans "Remove product" context "Product action" %}</a>{% endif %}- <a href="{{ product.get_absolute_url }}" target="_blank" class="btn-flat">+ <a href="{{ product.get_absolute_url }}" target="_blank" class="btn-flat waves-effect">{% trans "View on site" context "Product action" %}</a></div>@@ -91,7 +91,7 @@</div>{% if perms.product.edit_product %}<div class="data-table-header-action">- <a href="{% url 'dashboard:variant-add' product_pk=product.pk %}" class="btn-flat">{% trans "Add" %}</a>+ <a href="{% url 'dashboard:variant-add' product_pk=product.pk %}" class="btn-flat waves-effect">{% trans "Add" %}</a></div>{% endif %}<div class="data-table-container">@@ -126,7 +126,7 @@{% endif %}</td>{% if perms.product.edit_product %}- <td><a href="{% url 'dashboard:variant-update' product_pk=product.pk variant_pk=variant.pk %}" class="btn-flat">{% trans "Edit" %}</a></td>+ <td><a href="{% url 'dashboard:variant-update' product_pk=product.pk variant_pk=variant.pk %}" class="btn-flat waves-effect">{% trans "Edit" %}</a></td>{% endif %}</tr>{% empty %}@@ -145,7 +145,7 @@<span class="card-title">{% trans "Stock" context "Dashboard variant details view" %}</span></div><div class="data-table-header-action">- <a class="btn-flat" href="{% url "dashboard:variant-stock-add" product_pk=product.pk variant_pk=only_variant.pk %}">+ <a class="btn-flat waves-effect" href="{% url "dashboard:variant-stock-add" product_pk=product.pk variant_pk=only_variant.pk %}">{% trans "Add" context "Dashboard action" %}</a></div>@@ -203,7 +203,7 @@</div>{% if perms.product.edit_product %}<div class="card-action">- <a href="{% url 'dashboard:product-image-list' product.pk %}" class="btn-flat">{% trans "Edit images" %}</a>+ <a href="{% url 'dashboard:product-image-list' product.pk %}" class="btn-flat waves-effect">{% trans "Edit images" %}</a></div>{% endif %}</div>diff --git a/templates/dashboard/product/form.html b/templates/dashboard/product/form.htmlindex f714e4a2f2..f069216241 100644--- a/templates/dashboard/product/form.html+++ b/templates/dashboard/product/form.html@@ -108,14 +108,14 @@</div><div class="card-action right-align">{% if product.pk %}- <a href="{% url 'dashboard:product-detail' product.pk %}" class="btn-flat">+ <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">{% trans "Save" context "Dashboard update action" %}</button>{% else %}- <a href="{% url 'dashboard:product-list' %}" class="btn-flat">+ <a href="{% url 'dashboard:product-list' %}" class="btn-flat waves-effect">{% trans "Cancel" context "Dashboard cancel action" %}</a><button type="submit" class="btn">diff --git a/templates/dashboard/product/list.html b/templates/dashboard/product/list.htmlindex 20e48d4bab..9235953a89 100644--- a/templates/dashboard/product/list.html+++ b/templates/dashboard/product/list.html@@ -59,7 +59,7 @@<ul class="right">{% for action, label in bulk_action_form.action.field.widget.choices %}<li>- <a href="" data-action="{{ action }}" class="btn-flat">{{ label|upper }}</a>+ <a href="" data-action="{{ action }}" class="btn-flat waves-effect">{{ label|upper }}</a></li>{% endfor %}</ul>@@ -144,10 +144,10 @@</div></div><div class="modal-footer">- <a href="#!" class="modal-action modal-close btn-flat">+ <a href="#!" class="modal-action modal-close btn-flat waves-effect">{% trans "Cancel" context "Dashboard cancel action" %}</a>- <button type="submit" class="modal-action btn-flat">+ <button type="submit" class="modal-action btn-flat waves-effect">{% trans "Create new" context "Dashboard add action" %}</button></div>diff --git a/templates/dashboard/product/product_attribute/detail.html b/templates/dashboard/product/product_attribute/detail.htmlindex 57de8e83e1..64c30d5655 100644--- a/templates/dashboard/product/product_attribute/detail.html+++ b/templates/dashboard/product/product_attribute/detail.html@@ -45,10 +45,10 @@</div>{% if perms.product.edit_properties %}<div class="card-action">- <a class="btn-flat" href="{% url "dashboard:product-attribute-update" attribute.pk %}">+ <a class="btn-flat waves-effect" href="{% url "dashboard:product-attribute-update" attribute.pk %}">{% trans "Edit attribute" context "Attribute detail action" %}</a>- <a class="btn-flat modal-trigger-custom" href="#base-modal"+ <a class="btn-flat waves-effect modal-trigger-custom" href="#base-modal"data-href="{% url 'dashboard:product-attribute-delete' pk=attribute.pk %}">{% trans "Remove attribute" context "Attribute detail action" %}</a>@@ -63,7 +63,7 @@</div>{% if perms.product.edit_product %}<div class="data-table-header-action">- <a href="{% url 'dashboard:product-attribute-value-add' attribute_pk=attribute.pk %}" class="btn-flat">+ <a href="{% url 'dashboard:product-attribute-value-add' attribute_pk=attribute.pk %}" class="btn-flat waves-effect">{% trans "Add" %}</a></div>@@ -94,10 +94,10 @@</td>{% if perms.product.edit_product %}<td class="right-align">- <a href="{% url 'dashboard:product-attribute-value-update' attribute_pk=attribute.pk value_pk=value.pk %}" class="btn-flat">+ <a href="{% url 'dashboard:product-attribute-value-update' attribute_pk=attribute.pk value_pk=value.pk %}" class="btn-flat waves-effect">{% trans 'Edit' context 'Attribute choice value edit action' %}</a>- <a class="btn-flat modal-trigger-custom" href="#base-modal" data-href="{% url 'dashboard:product-attribute-value-delete' attribute_pk=attribute.pk value_pk=value.pk %}">+ <a class="btn-flat waves-effect modal-trigger-custom" href="#base-modal" data-href="{% url 'dashboard:product-attribute-value-delete' attribute_pk=attribute.pk value_pk=value.pk %}">{% trans 'Remove' context 'Attribute choice value edit action' %}</a></td>diff --git a/templates/dashboard/product/product_attribute/form.html b/templates/dashboard/product/product_attribute/form.htmlindex b88600579d..9fcdef869d 100644--- a/templates/dashboard/product/product_attribute/form.html+++ b/templates/dashboard/product/product_attribute/form.html@@ -73,14 +73,14 @@</div><div class="card-action right-align">{% if attribute.pk %}- <a href="{% url 'dashboard:product-attribute-detail' attribute.pk %}" class="btn-flat">+ <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">{% trans "Save" context "Dashboard update action" %}</button>{% else %}- <a href="{% url 'dashboard:product-attributes' %}" class="btn-flat">+ <a href="{% url 'dashboard:product-attributes' %}" class="btn-flat waves-effect">{% trans "Cancel" context "Dashboard cancel action" %}</a><button type="submit" class="btn">diff --git a/templates/dashboard/product/product_attribute/values/form.html b/templates/dashboard/product/product_attribute/values/form.htmlindex c727324aef..db6fc81e1f 100644--- a/templates/dashboard/product/product_attribute/values/form.html+++ b/templates/dashboard/product/product_attribute/values/form.html@@ -75,14 +75,14 @@</div><div class="card-action right-align">{% if value.pk %}- <a href="{% url 'dashboard:product-attribute-detail' pk=attribute.pk %}" class="btn-flat">+ <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">{% trans "Save" context "Dashboard update action" %}</button>{% else %}- <a href="{% url 'dashboard:product-attribute-detail' pk=attribute.pk%}" class="btn-flat">+ <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">diff --git a/templates/dashboard/product/product_class/form.html b/templates/dashboard/product/product_class/form.htmlindex e477b54574..b300d5348e 100644--- a/templates/dashboard/product/product_class/form.html+++ b/templates/dashboard/product/product_class/form.html@@ -97,14 +97,14 @@{% if perms.product.edit_properties %}<div class="card-action right-align">{% if product_class.pk %}- <a href="{% url 'dashboard:product-class-list' %}" class="btn-flat">+ <a href="{% url 'dashboard:product-class-list' %}" class="btn-flat waves-effect">{% trans "Cancel" context "Dashboard cancel action" %}</a><button type="submit" class="btn">{% trans "Update" context "Dashboard update action" %}</button>{% else %}- <a href="{% url 'dashboard:product-class-list' %}" class="btn-flat">+ <a href="{% url 'dashboard:product-class-list' %}" class="btn-flat waves-effect">{% trans "Cancel" context "Dashboard cancel action" %}</a><button type="submit" class="btn">diff --git a/templates/dashboard/product/product_image/form.html b/templates/dashboard/product/product_image/form.htmlindex 866d7f7357..c7539a8cba 100644--- a/templates/dashboard/product/product_image/form.html+++ b/templates/dashboard/product/product_image/form.html@@ -76,14 +76,14 @@</div><div class="card-action right-align">{% if product_image.pk %}- <a href="{% url "dashboard:product-image-list" product.pk %}" class="btn-flat">+ <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">{% trans "Save" context "Dashboard update action" %}</button>{% else %}- <a href="{% url "dashboard:product-image-list" product.pk %}" class="btn-flat">+ <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">diff --git a/templates/dashboard/product/product_image/list.html b/templates/dashboard/product/product_image/list.htmlindex 373aabe72f..c7d33a00f6 100644--- a/templates/dashboard/product/product_image/list.html+++ b/templates/dashboard/product/product_image/list.html@@ -65,10 +65,10 @@</div><div class="sortable__drag-area"></div><div class="card-action">- <a class="btn-flat" href="{% url 'dashboard:product-image-update' product_pk=product.pk img_pk=image.pk %}">+ <a class="btn-flat waves-effect" href="{% url 'dashboard:product-image-update' product_pk=product.pk img_pk=image.pk %}">{% trans "Edit" context "Dashboard edit action" %}</a>- <a href="#base-modal" class="btn-flat modal-trigger-custom" data-href="{% url 'dashboard:product-image-delete' product_pk=product.pk img_pk=image.pk %}">+ <a href="#base-modal" class="btn-flat waves-effect modal-trigger-custom" data-href="{% url 'dashboard:product-image-delete' product_pk=product.pk img_pk=image.pk %}">{% trans "Remove" context "Dashboard remove action" %}</a></div>@@ -110,10 +110,10 @@</div><div class="sortable__drag-area"></div><div class="card-action">- <a class="btn-flat card-action-edit" href="{% url 'dashboard:product-image-update' product_pk=product.pk img_pk=0 %}">+ <a class="btn-flat waves-effect card-action-edit" href="{% url 'dashboard:product-image-update' product_pk=product.pk img_pk=0 %}">{% trans "Edit" context "Dashboard edit action" %}</a>- <a href="#base-modal" class="btn-flat card-action-delete modal-trigger-custom"+ <a href="#base-modal" class="btn-flat waves-effect card-action-delete modal-trigger-custom"data-href="{% url 'dashboard:product-image-delete' product_pk=product.pk img_pk=0 %}">{% trans "Remove" context "Dashboard remove action" %}</a>diff --git a/templates/dashboard/product/product_variant/detail.html b/templates/dashboard/product/product_variant/detail.htmlindex d23eeb6497..737e348009 100644--- a/templates/dashboard/product/product_variant/detail.html+++ b/templates/dashboard/product/product_variant/detail.html@@ -89,10 +89,10 @@</div>{% if perms.product.edit_product %}<div class="card-action">- <a class="btn-flat" href="{% url 'dashboard:variant-update' product_pk=product.pk variant_pk=variant.pk %}">+ <a class="btn-flat waves-effect" href="{% url 'dashboard:variant-update' product_pk=product.pk variant_pk=variant.pk %}">{% trans "Edit variant" context "Dashboard action" %}</a>- <a href="#base-modal" class="btn-flat modal-trigger-custom" data-href="{% url 'dashboard:variant-delete' product_pk=product.pk variant_pk=variant.pk %}">+ <a href="#base-modal" class="btn-flat waves-effect modal-trigger-custom" data-href="{% url 'dashboard:variant-delete' product_pk=product.pk variant_pk=variant.pk %}">{% trans "Remove variant" context "Dashboard action" %}</a></div>@@ -105,7 +105,7 @@</div>{% if perms.product.edit_stock_location %}<div class="data-table-header-action">- <a class="btn-flat" href="{% url "dashboard:variant-stock-add" product_pk=product.pk variant_pk=variant.pk %}">+ <a class="btn-flat waves-effect" href="{% url "dashboard:variant-stock-add" product_pk=product.pk variant_pk=variant.pk %}">{% trans "Add" context "Dashboard action" %}</a></div>@@ -135,7 +135,7 @@</div>{% if perms.product.edit_product %}<div class="card-action">- <a class="btn-flat modal-trigger-custom" href="#base-modal" data-href="{% url 'dashboard:variant-images' product_pk=product.pk variant_pk=variant.pk %}">+ <a class="btn-flat waves-effect modal-trigger-custom" href="#base-modal" data-href="{% url 'dashboard:variant-images' product_pk=product.pk variant_pk=variant.pk %}">{% trans "Select images" context "Dashboard action" %}</a></div>diff --git a/templates/dashboard/product/product_variant/form.html b/templates/dashboard/product/product_variant/form.htmlindex 616a8910de..7c960bb11d 100644--- a/templates/dashboard/product/product_variant/form.html+++ b/templates/dashboard/product/product_variant/form.html@@ -100,14 +100,14 @@</div><div class="card-action right-align">{% if variant.pk %}- <a href="{% url "dashboard:variant-details" product_pk=product.pk variant_pk=variant.pk %}" class="btn-flat">+ <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">{% trans "Save" context "Dashboard update action" %}</button>{% else %}- <a href="{% url "dashboard:product-detail" pk=product.pk %}" class="btn-flat">+ <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">diff --git a/templates/dashboard/product/product_variant/modal/select_images.html b/templates/dashboard/product/product_variant/modal/select_images.htmlindex 2103075da7..0fd15bd9ef 100644--- a/templates/dashboard/product/product_variant/modal/select_images.html+++ b/templates/dashboard/product/product_variant/modal/select_images.html@@ -13,10 +13,10 @@</div></div><div class="modal-footer">- <a href="#!" class="modal-action modal-close btn-flat">+ <a href="#!" class="modal-action modal-close btn-flat waves-effect">{% trans "Cancel" context "Dashboard cancel action" %}</a>- <button type="submit" class="modal-action btn-flat">+ <button type="submit" class="modal-action btn-flat waves-effect">{% trans "Save" context "Dashboard modal action" %}</button></div>diff --git a/templates/dashboard/product/stock/detail.html b/templates/dashboard/product/stock/detail.htmlindex 8b1f8dff80..aaaa910603 100644--- a/templates/dashboard/product/stock/detail.html+++ b/templates/dashboard/product/stock/detail.html@@ -62,10 +62,10 @@</div>{% if perms.product.edit_stock_location %}<div class="card-action">- <a class="btn-flat" href="{% url "dashboard:variant-stock-update" product_pk=product.pk variant_pk=variant.pk stock_pk=stock.pk %}">+ <a class="btn-flat waves-effect" href="{% url "dashboard:variant-stock-update" product_pk=product.pk variant_pk=variant.pk stock_pk=stock.pk %}">{% trans "Edit stock" context "Dashboard action" %}</a>- <a href="#base-modal" class="btn-flat modal-trigger-custom" data-href="{% url 'dashboard:variant-stock-delete' product_pk=product.pk variant_pk=variant.pk stock_pk=stock.pk %}">+ <a href="#base-modal" class="btn-flat waves-effect modal-trigger-custom" data-href="{% url 'dashboard:variant-stock-delete' product_pk=product.pk variant_pk=variant.pk stock_pk=stock.pk %}">{% trans "Remove stock" context "Dashboard action" %}</a></div>diff --git a/templates/dashboard/product/stock/form.html b/templates/dashboard/product/stock/form.htmlindex 9ebef96748..1996690a1a 100644--- a/templates/dashboard/product/stock/form.html+++ b/templates/dashboard/product/stock/form.html@@ -95,14 +95,14 @@</div><div class="card-action right-align">{% if stock.pk %}- <a href="{% url "dashboard:variant-stock-details" product_pk=product.pk variant_pk=variant.pk stock_pk=stock.pk %}" class="btn-flat">+ <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">{% 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">+ <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">diff --git a/templates/dashboard/product/stock_location/form.html b/templates/dashboard/product/stock_location/form.htmlindex 29ecb94579..68e7437c69 100644--- a/templates/dashboard/product/stock_location/form.html+++ b/templates/dashboard/product/stock_location/form.html@@ -70,14 +70,14 @@</div><div class="card-action right-align">{% if location.pk %}- <a href="{% url 'dashboard:product-stock-location-list' %}" class="btn-flat">+ <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">{% trans "Update" context "Dashboard update action" %}</button>{% else %}- <a href="{% url 'dashboard:product-stock-location-list' %}" class="btn-flat">+ <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">diff --git a/templates/dashboard/search/results.html b/templates/dashboard/search/results.htmlindex ce5ab8886f..1277a71068 100644--- a/templates/dashboard/search/results.html+++ b/templates/dashboard/search/results.html@@ -26,7 +26,7 @@<input id="icon_prefix" type="text" class="validate left"placeholder="{% trans "Search" context "Dashboard search" %}"name="q" value="{% if query %}{{ query }}{% endif %}">- <button class="btn-flat" type="submit">+ <button class="btn-flat waves-effect" type="submit"><svg data-src="{% static "dashboard/images/search.svg" %}"width="20" height="20" fill="#E57373"/></button>diff --git a/templates/dashboard/shipping/country/form.html b/templates/dashboard/shipping/country/form.htmlindex d6b0f89c59..50f68e1166 100644--- a/templates/dashboard/shipping/country/form.html+++ b/templates/dashboard/shipping/country/form.html@@ -77,14 +77,14 @@</div><div class="card-action right-align">{% if country.pk %}- <a href="{% url 'dashboard:shipping-method-detail' pk=shipping_method.pk %}" class="btn-flat">+ <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">{% trans "Save" context "Dashboard update action" %}</button>{% else %}- <a href="{% url 'dashboard:shipping-method-detail' pk=shipping_method.pk %}" class="btn-flat">+ <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">diff --git a/templates/dashboard/shipping/form.html b/templates/dashboard/shipping/form.htmlindex 20e6a9074e..8b611bc3c9 100644--- a/templates/dashboard/shipping/form.html+++ b/templates/dashboard/shipping/form.html@@ -74,14 +74,14 @@</div><div class="card-action right-align">{% if shipping_method.pk %}- <a href="{% url 'dashboard:shipping-method-detail' shipping_method.pk %}" class="btn-flat">+ <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">{% trans "Save" context "Dashboard update action" %}</button>{% else %}- <a href="{% url 'dashboard:shipping-methods' %}" class="btn-flat">+ <a href="{% url 'dashboard:shipping-methods' %}" class="btn-flat waves-effect">{% trans "Cancel" context "Dashboard cancel action" %}</a><button type="submit" class="btn">diff --git a/templates/dashboard/sites/authorization_keys/form.html b/templates/dashboard/sites/authorization_keys/form.htmlindex 9505cbdd59..ebfe191e6e 100644--- a/templates/dashboard/sites/authorization_keys/form.html+++ b/templates/dashboard/sites/authorization_keys/form.html@@ -68,14 +68,14 @@</div><div class="card-action right-align">{% if value.pk %}- <a href="{% url 'dashboard:site-detail' pk=site_settings_pk %}" class="btn-flat">+ <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">{% trans "Save" context "Dashboard update action" %}</button>{% else %}- <a href="{% url 'dashboard:site-detail' pk=site_settings_pk %}" class="btn-flat">+ <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">diff --git a/templates/dashboard/sites/detail.html b/templates/dashboard/sites/detail.htmlindex 40d8bc6db9..f230437b3c 100644--- a/templates/dashboard/sites/detail.html+++ b/templates/dashboard/sites/detail.html@@ -64,7 +64,7 @@</div></div><div class="card-action">- <a class="btn-flat" href="{% url 'dashboard:site-update' pk=site.pk %}">+ <a class="btn-flat waves-effect" href="{% url 'dashboard:site-update' pk=site.pk %}">{% trans "Edit site settings" context "Shipping method action" %}</a></div>@@ -78,7 +78,7 @@</span></div><div class="data-table-header-action">- <a href="{% url 'dashboard:authorization-key-add' site_settings_pk=site.pk %}" class="btn-flat">+ <a href="{% url 'dashboard:authorization-key-add' site_settings_pk=site.pk %}" class="btn-flat waves-effect">{% trans "Add" %}</a></div>@@ -100,10 +100,10 @@<td>{{ key.name }}</td><td>{{ key.key }}</td><td class="right-align">- <a href="{% url 'dashboard:authorization-key-edit' site_settings_pk=site.pk key_pk=key.pk %}" class="btn-flat">+ <a href="{% url 'dashboard:authorization-key-edit' site_settings_pk=site.pk key_pk=key.pk %}" class="btn-flat waves-effect">{% trans 'Edit' context 'Authorization key edit action' %}</a>- <a class="btn-flat modal-trigger-custom" href="#base-modal" data-href="{% url 'dashboard:authorization-key-delete' site_settings_pk=site.pk key_pk=key.pk %}">+ <a class="btn-flat waves-effect modal-trigger-custom" href="#base-modal" data-href="{% url 'dashboard:authorization-key-delete' site_settings_pk=site.pk key_pk=key.pk %}">{% trans 'Remove' context 'Authorization key remove action' %}</a></td>diff --git a/templates/dashboard/sites/form.html b/templates/dashboard/sites/form.htmlindex 5c8192d47a..3d4a04ed40 100644--- a/templates/dashboard/sites/form.html+++ b/templates/dashboard/sites/form.html@@ -51,7 +51,7 @@</div></div><div class="card-action right-align">- <a class="btn-flat" href="{% url 'dashboard:site-detail' pk=site.pk %}" target="_blank">+ <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">diff --git a/templates/dashboard/staff/detail.html b/templates/dashboard/staff/detail.htmlindex d7e8195218..16de026d13 100644--- a/templates/dashboard/staff/detail.html+++ b/templates/dashboard/staff/detail.html@@ -73,7 +73,7 @@</div>{% if perms.userprofile.edit_staff %}<div class="card-action right-align">- <a href="{% url 'dashboard:staff-list' %}" class="btn-flat">+ <a href="{% url 'dashboard:staff-list' %}" class="btn-flat waves-effect">{% trans "Cancel" context "Dashboard cancel action" %}</a><button type="submit" class="btn">diff --git a/templates/dashboard/styleguide/index.html b/templates/dashboard/styleguide/index.htmlindex aa84293e99..2624d0cd83 100644--- a/templates/dashboard/styleguide/index.html+++ b/templates/dashboard/styleguide/index.html@@ -410,7 +410,7 @@</a></div><div class="col m4 s12">- <a class="btn-flat" contenteditable="true">+ <a class="btn-flat waves-effect" contenteditable="true">Secondary</a></div>@@ -427,7 +427,7 @@</a></div><div class="col m4 s12">- <a class="btn-flat disabled" contenteditable="true">+ <a class="btn-flat waves-effect disabled" contenteditable="true">Secondary disabled</a></div>@@ -1029,7 +1029,7 @@</h4><div class="card"><div class="data-table-header-action">- <a href="" class="btn btn-data-table btn-flat" contenteditable="true">+ <a href="" class="btn btn-data-table btn-flat waves-effect" contenteditable="true">Add</a></div>@@ -1120,10 +1120,10 @@<div class="card"><form><div class="data-table-header-action">- <a href="" class="btn btn-data-table btn-show-when-unchecked btn-flat" contenteditable="true">+ <a href="" class="btn btn-data-table btn-show-when-unchecked btn-flat waves-effect" contenteditable="true">Add</a>- <a href="" class="btn btn-data-table btn-show-when-checked btn-flat" style="display:none" hidden contenteditable="true">+ <a href="" class="btn btn-data-table btn-show-when-checked btn-flat waves-effect" style="display:none" hidden contenteditable="true">Remove</a></div>@@ -1461,7 +1461,7 @@</p></div><div class="card-action">- <a href="#" class="btn-flat" contenteditable="true">+ <a href="#" class="btn-flat waves-effect" contenteditable="true">This is a link</a></div>@@ -1549,10 +1549,10 @@</p></div><div class="modal-footer">- <a href="#!" class=" modal-action modal-close waves-effect waves-green btn-flat" contenteditable="true">+ <a href="#!" class=" modal-action modal-close waves-effect waves-green btn-flat waves-effect" contenteditable="true">Agree</a>- <a href="#!" class=" modal-action modal-close btn-flat" contenteditable="true">+ <a href="#!" class=" modal-action modal-close btn-flat waves-effect" contenteditable="true">Cancel</a></div>