From 51ced003f8f2752d83397dea3169f9c90f693053 Mon Sep 17 00:00:00 2001 From: Fabrizio Balliano Date: Thu, 12 Dec 2024 00:34:16 +0000 Subject: [PATCH 1/2] RWD: Removed double span element from HTML buttons --- .../rwd/default/template/catalog/msrp/popup.phtml | 2 +- .../template/catalog/product/compare/list.phtml | 6 +++--- .../catalog/product/compare/sidebar.phtml | 2 +- .../default/template/catalog/product/list.phtml | 4 ++-- .../template/catalog/product/view/addtocart.phtml | 2 +- .../product/widget/new/content/new_grid.phtml | 2 +- .../product/widget/new/content/new_list.phtml | 2 +- .../template/catalogsearch/advanced/form.phtml | 2 +- .../template/catalogsearch/form.mini.phtml | 2 +- .../rwd/default/template/checkout/cart.phtml | 8 ++++---- .../default/template/checkout/cart/coupon.phtml | 4 ++-- .../template/checkout/cart/crosssell.phtml | 2 +- .../checkout/cart/item/configure/updatecart.phtml | 2 +- .../template/checkout/cart/item/default.phtml | 2 +- .../default/template/checkout/cart/shipping.phtml | 4 ++-- .../default/template/checkout/cart/sidebar.phtml | 2 +- .../checkout/multishipping/addresses.phtml | 6 +++--- .../template/checkout/multishipping/billing.phtml | 2 +- .../checkout/multishipping/overview.phtml | 2 +- .../template/checkout/onepage/payment.phtml | 2 +- .../template/checkout/onepage/shipping.phtml | 2 +- .../rwd/default/template/contacts/form.phtml | 2 +- .../default/template/customer/address/edit.phtml | 2 +- .../default/template/customer/form/address.phtml | 2 +- .../template/customer/form/changepassword.phtml | 2 +- .../template/customer/form/confirmation.phtml | 2 +- .../rwd/default/template/customer/form/edit.phtml | 2 +- .../template/customer/form/forgotpassword.phtml | 2 +- .../template/customer/form/mini.login.phtml | 2 +- .../customer/form/resetforgottenpassword.phtml | 2 +- .../downloadable/checkout/cart/item/default.phtml | 2 +- .../template/email/catalog/product/list.phtml | 4 ++-- .../default/template/newsletter/subscribe.phtml | 2 +- .../rwd/default/template/page/print.phtml | 2 +- .../default/template/paypal/express/review.phtml | 6 +++--- .../widget/compared/content/compared_grid.phtml | 2 +- .../widget/compared/content/compared_list.phtml | 2 +- .../widget/viewed/content/viewed_grid.phtml | 2 +- .../widget/viewed/content/viewed_list.phtml | 2 +- .../rwd/default/template/review/form.phtml | 2 +- .../template/sales/billing/agreement/view.phtml | 2 +- .../template/sales/billing/agreements.phtml | 2 +- .../template/sales/recurring/profile/view.phtml | 8 ++++---- .../template/sales/widget/guest/form.phtml | 2 +- .../default/template/wishlist/button/update.phtml | 2 +- .../template/wishlist/item/column/cart.phtml | 2 +- .../rwd/default/template/wishlist/shared.phtml | 4 ++-- public/skin/frontend/rwd/default/css/styles.css | 15 --------------- 48 files changed, 64 insertions(+), 79 deletions(-) diff --git a/app/design/frontend/rwd/default/template/catalog/msrp/popup.phtml b/app/design/frontend/rwd/default/template/catalog/msrp/popup.phtml index f6a1a0e07..81250445e 100644 --- a/app/design/frontend/rwd/default/template/catalog/msrp/popup.phtml +++ b/app/design/frontend/rwd/default/template/catalog/msrp/popup.phtml @@ -31,7 +31,7 @@
getChildHtml() ?>
- + -getButtonHtml() ?>Synchronize +getButtonHtml() ?>Synchronize diff --git a/app/design/adminhtml/default/default/template/tax/toolbar/class/add.phtml b/app/design/adminhtml/default/default/template/tax/toolbar/class/add.phtml index 2edfbc2f0..c25bd2ef9 100644 --- a/app/design/adminhtml/default/default/template/tax/toolbar/class/add.phtml +++ b/app/design/adminhtml/default/default/template/tax/toolbar/class/add.phtml @@ -15,7 +15,7 @@

- + diff --git a/app/design/adminhtml/default/default/template/tax/toolbar/rule/add.phtml b/app/design/adminhtml/default/default/template/tax/toolbar/rule/add.phtml index 38a77b6bf..2fc33bd37 100644 --- a/app/design/adminhtml/default/default/template/tax/toolbar/rule/add.phtml +++ b/app/design/adminhtml/default/default/template/tax/toolbar/rule/add.phtml @@ -15,7 +15,7 @@

- + diff --git a/app/design/adminhtml/default/default/template/weee/renderer/tax.phtml b/app/design/adminhtml/default/default/template/weee/renderer/tax.phtml index fc3b56468..d65bf143e 100644 --- a/app/design/adminhtml/default/default/template/weee/renderer/tax.phtml +++ b/app/design/adminhtml/default/default/template/weee/renderer/tax.phtml @@ -55,7 +55,7 @@ - + diff --git a/public/skin/adminhtml/default/default/boxes.css b/public/skin/adminhtml/default/default/boxes.css index be8ef89e1..44d8eedd3 100644 --- a/public/skin/adminhtml/default/default/boxes.css +++ b/public/skin/adminhtml/default/default/boxes.css @@ -431,8 +431,6 @@ button, .form-button { border-width:1px; border-style:solid; border-color:#ed6502 #a04300 #a04300 #ed6502; padding:1px 7px 2px 7px; background:#ffac47 url(images/btn_bg.gif) repeat-x 0 100%; color:#fff; font-size: 12px; font-weight: bold; cursor:pointer; text-align:center !important; white-space:nowrap; } button:hover { background:#f77c16 url(images/btn_over_bg.gif) repeat-x 0 0; } button:active { background:#f77c16 url(images/btn_on_bg.gif) repeat-x 0 0; } -button span { line-height:1.35em; background-repeat:no-repeat; background-position:0 50%; } -button span span { background:none !important; padding:0 !important; margin:0 !important; display:inline !important; } button.delete, button.save, button.add { padding-left:6px; } diff --git a/public/skin/adminhtml/default/default/oauth-simple.css b/public/skin/adminhtml/default/default/oauth-simple.css index 823983511..18ef9cad4 100644 --- a/public/skin/adminhtml/default/default/oauth-simple.css +++ b/public/skin/adminhtml/default/default/oauth-simple.css @@ -149,17 +149,6 @@ button:hover, .form-button:hover { button:active, .form-button:active { background: url("./images/btn_on_bg.gif") repeat-x scroll 0 0 #F77C16; } -button span { - background-position: 0 50%; - background-repeat: no-repeat; - line-height: 1.35em; -} -button span span { - background: none repeat scroll 0 0 transparent !important; - display: inline !important; - margin: 0 !important; - padding: 0 !important; -} input.input-text, textarea, select {