Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save amelekesov/a54b15b1b3285661f2b9 to your computer and use it in GitHub Desktop.
Save amelekesov/a54b15b1b3285661f2b9 to your computer and use it in GitHub Desktop.
diff --git a/design/themes/responsive/css/styles.less b/design/themes/responsive/css/styles.less
index ddfb677..beb6220 100644
--- a/design/themes/responsive/css/styles.less
+++ b/design/themes/responsive/css/styles.less
@@ -182,8 +182,8 @@ Buttons
position: absolute;
top: 1px;
right: 1px;
- padding: 0 10px;
- min-width: 32px;
+ padding: 0;
+ width: 32px;
height: 30px;
border: 0px;
border-left: 1px solid #cdcdcd;
@@ -4820,7 +4820,7 @@ Cart contents
.ty-coupons__container {
float: left;
padding-right: 25px;
- width: 260px;
+ width: 235px;
}
.ty-coupons__item {
padding: 0 0 5px;
diff --git a/design/themes/responsive/templates/addons/gift_certificates/hooks/checkout/discount_coupons.override.tpl b/design/themes/responsive/templates/addons/gift_certificates/hooks/checkout/discount_coupons.override.tpl
index 77e4cbc..0e55986 100644
--- a/design/themes/responsive/templates/addons/gift_certificates/hooks/checkout/discount_coupons.override.tpl
+++ b/design/themes/responsive/templates/addons/gift_certificates/hooks/checkout/discount_coupons.override.tpl
@@ -1,5 +1,5 @@
<div class="ty-gift-certificate-coupon ty-discount-coupon__control-group ty-input-append">
<label for="coupon_field{$position}" class="hidden cm-required">{__("promo_code")}</label>
<input type="text" class="ty-input-text cm-hint" id="coupon_field{$position}" name="coupon_code" size="40" value="{__("promo_code_or_certificate")}" />
- {include file="buttons/go.tpl" but_name="checkout.apply_coupon" alt=__("apply") but_text=__("apply")}
+ {include file="buttons/go.tpl" but_name="checkout.apply_coupon" alt=__("apply")}
</div>
\ No newline at end of file
diff --git a/design/themes/responsive/templates/addons/gift_certificates/views/gift_certificates/components/gift_certificates_verify.tpl b/design/themes/responsive/templates/addons/gift_certificates/views/gift_certificates/components/gift_certificates_verify.tpl
index ec3ef1b..dbaf236 100644
--- a/design/themes/responsive/templates/addons/gift_certificates/views/gift_certificates/components/gift_certificates_verify.tpl
+++ b/design/themes/responsive/templates/addons/gift_certificates/views/gift_certificates/components/gift_certificates_verify.tpl
@@ -7,7 +7,7 @@
<i class="ty-gift-certificate__icon ty-icon-gift"></i>
<label for="id_verify_code" class="hidden cm-required">{__("gift_cert_code")}</label>
<input type="text" name="verify_code" id="id_verify_code" value="{__("enter_code")}" class="ty-input-text cm-hint" />
- {include file="buttons/go.tpl" but_name="gift_certificates.verify" alt=__("apply") but_text=__("apply")}
+ {include file="buttons/go.tpl" but_name="gift_certificates.verify" alt=__("go")}
{/strip}
</div>
</form>
diff --git a/design/themes/responsive/templates/addons/reward_points/hooks/checkout/applied_discount_coupons.post.tpl b/design/themes/responsive/templates/addons/reward_points/hooks/checkout/applied_discount_coupons.post.tpl
index d152536..63034b5 100644
--- a/design/themes/responsive/templates/addons/reward_points/hooks/checkout/applied_discount_coupons.post.tpl
+++ b/design/themes/responsive/templates/addons/reward_points/hooks/checkout/applied_discount_coupons.post.tpl
@@ -12,7 +12,7 @@
<div class="ty-discount-coupon__control-group ty-reward-points__coupon ty-input-append ty-inline-block">
<input type="text" class="ty-input-text ty-valign cm-hint" name="points_to_use" size="40" value="{__("points_to_use")}" />
- {include file="buttons/go.tpl" but_name="checkout.point_payment" alt=__("apply") but_text=__("apply")}
+ {include file="buttons/go.tpl" but_name="checkout.point_payment" alt=__("apply")}
<input type="submit" class="hidden" name="dispatch[checkout.point_payment]" value="" />
</div>
</form>
diff --git a/design/themes/responsive/templates/addons/reward_points/hooks/checkout/payment_options.post.tpl b/design/themes/responsive/templates/addons/reward_points/hooks/checkout/payment_options.post.tpl
index 171f0fc..cf06323 100644
--- a/design/themes/responsive/templates/addons/reward_points/hooks/checkout/payment_options.post.tpl
+++ b/design/themes/responsive/templates/addons/reward_points/hooks/checkout/payment_options.post.tpl
@@ -7,7 +7,7 @@
<div class="ty-discount-coupon__control-group ty-input-append ty-inline-block">
<input type="text" class="ty-input-text ty-valign cm-hint" name="points_to_use" size="40" value="{__("points_to_use")}" />
- {include file="buttons/go.tpl" but_name="checkout.point_payment" alt=__("apply") but_text=__("apply")}
+ {include file="buttons/go.tpl" but_name="checkout.point_payment" alt=__("apply")}
<input type="submit" class="hidden" name="dispatch[checkout.point_payment]" value="" />
</div>
</form>
diff --git a/design/themes/responsive/templates/buttons/go.tpl b/design/themes/responsive/templates/buttons/go.tpl
index e2b4ac5..bf28752 100644
--- a/design/themes/responsive/templates/buttons/go.tpl
+++ b/design/themes/responsive/templates/buttons/go.tpl
@@ -1,2 +1,2 @@
-<button title="{$alt}" class="ty-btn-go" type="submit">{if $but_text}{$but_text}{else}<i class="ty-btn-go__icon ty-icon-right-dir"></i>{/if}</button>
+<button title="{$alt}" class="ty-btn-go" type="submit"><i class="ty-btn-go__icon ty-icon-right-dir"></i>{if $but_text}{$but_text}{/if}</button>
<input type="hidden" name="dispatch" value="{$but_name}" />
\ No newline at end of file
diff --git a/design/themes/responsive/templates/views/checkout/components/promotion_coupon.tpl b/design/themes/responsive/templates/views/checkout/components/promotion_coupon.tpl
index 033d9bd..114bd34 100644
--- a/design/themes/responsive/templates/views/checkout/components/promotion_coupon.tpl
+++ b/design/themes/responsive/templates/views/checkout/components/promotion_coupon.tpl
@@ -8,7 +8,7 @@
<div class="ty-discount-coupon__control-group ty-input-append">
<label for="coupon_field{$position}" class="hidden cm-required">{__("promo_code")}</label>
<input type="text" class="ty-input-text cm-hint" id="coupon_field{$position}" name="coupon_code" size="40" value="{__("promo_code")}" />
- {include file="buttons/go.tpl" but_name="checkout.apply_coupon" alt=__("apply") but_text=__("apply")}
+ {include file="buttons/go.tpl" but_name="checkout.apply_coupon" alt=__("apply")}
</div>
{/hook}
</form>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment