diff --git a/modules/checkout/theme/commerce_checkout.base-rtl.css b/modules/checkout/theme/commerce_checkout.base-rtl.css new file mode 100644 index 0000000..6fd9814 --- /dev/null +++ b/modules/checkout/theme/commerce_checkout.base-rtl.css @@ -0,0 +1,7 @@ +.checkout-processing { + padding-right: 0 !important; + padding-left: 13px !important; + margin-right: 0; + margin-left: 6px; + background-position: left center; +} diff --git a/modules/checkout/theme/commerce_checkout.base.css b/modules/checkout/theme/commerce_checkout.base.css index fa25569..4202866 100644 --- a/modules/checkout/theme/commerce_checkout.base.css +++ b/modules/checkout/theme/commerce_checkout.base.css @@ -7,7 +7,7 @@ */ .checkout-processing { - padding-right: 13px !important; - margin-right: 6px; - background: url(../images/status-active.gif) right center no-repeat; + padding-right: 13px !important; /* LTR */ + margin-right: 6px; /* LTR */ + background: url(../images/status-active.gif) right center no-repeat; /* LTR */ } diff --git a/modules/checkout/theme/commerce_checkout.theme-rtl.css b/modules/checkout/theme/commerce_checkout.theme-rtl.css new file mode 100644 index 0000000..d9f2b55 --- /dev/null +++ b/modules/checkout/theme/commerce_checkout.theme-rtl.css @@ -0,0 +1,15 @@ +table.checkout-review .pane-title td { + padding-left: 0; + padding-right: 1em; +} + +table.checkout-review .pane-data-key { + text-align: left; + padding-left: 0; + padding-right: 3em; +} + +table.checkout-review .pane-data-value { + padding-right: 0; + padding-left: 3em; +} diff --git a/modules/checkout/theme/commerce_checkout.theme.css b/modules/checkout/theme/commerce_checkout.theme.css index d251529..d8cfde4 100644 --- a/modules/checkout/theme/commerce_checkout.theme.css +++ b/modules/checkout/theme/commerce_checkout.theme.css @@ -28,7 +28,7 @@ * Tweak review page layout. */ table.checkout-review .pane-title td { - padding-left: 1em; + padding-left: 1em; /* LTR */ font-weight: bold; } @@ -38,14 +38,14 @@ table.checkout-review tr.pane-data { table.checkout-review .pane-data-key { font-weight: bold; - text-align: right; + text-align: right; /* LTR */ white-space: nowrap; - padding-left: 3em; + padding-left: 3em; /* LTR */ width: 50%; } table.checkout-review .pane-data-value { - padding-right: 3em; + padding-right: 3em; /* LTR */ } table.checkout-review .pane-data-full { diff --git a/modules/line_item/theme/commerce_line_item.admin-rtl.css b/modules/line_item/theme/commerce_line_item.admin-rtl.css new file mode 100644 index 0000000..94bd175 --- /dev/null +++ b/modules/line_item/theme/commerce_line_item.admin-rtl.css @@ -0,0 +1,12 @@ +#line-item-manager caption { + text-align: right; +} + +.add-line-item .form-type-select { + float: right; + padding: 3px 0 0 10px; +} + +#line-item-manager .form-submit { + float: right; +} diff --git a/modules/line_item/theme/commerce_line_item.admin.css b/modules/line_item/theme/commerce_line_item.admin.css index 6abac3b..d2299b7 100644 --- a/modules/line_item/theme/commerce_line_item.admin.css +++ b/modules/line_item/theme/commerce_line_item.admin.css @@ -18,17 +18,17 @@ font-size: 100%; font-weight: bold; padding-bottom: 5px; - text-align: left; + text-align: left; /* LTR */ text-transform: uppercase; } .add-line-item .form-type-select { - float: left; - padding: 3px 10px 0 0; + float: left; /* LTR */ + padding: 3px 10px 0 0; /* LTR */ } #line-item-manager .form-submit { - float: left; + float: left; /* LTR */ } #line-item-manager .ajax-progress .message { diff --git a/modules/line_item/theme/commerce_line_item.theme-rtl.css b/modules/line_item/theme/commerce_line_item.theme-rtl.css new file mode 100644 index 0000000..d0906ce --- /dev/null +++ b/modules/line_item/theme/commerce_line_item.theme-rtl.css @@ -0,0 +1,23 @@ +.line-item-summary { + text-align: left; +} + +.line-item-summary .line-item-quantity { + float: right; +} + +.line-item-summary .links { + clear: right; +} + +.line-item-summary .links li.last { + padding-left: 0; +} + +.commerce-line-item-views-form .cart-subtotal { + text-align: left; +} + +.commerce-line-item-views-form .commerce-line-item-actions { + text-align: left; +} diff --git a/modules/line_item/theme/commerce_line_item.theme.css b/modules/line_item/theme/commerce_line_item.theme.css index c76a880..2a05137 100644 --- a/modules/line_item/theme/commerce_line_item.theme.css +++ b/modules/line_item/theme/commerce_line_item.theme.css @@ -8,12 +8,12 @@ * Theme the line item summary. */ .line-item-summary { - text-align: right; + text-align: right; /* LTR */ margin-bottom: 1em; } .line-item-summary .line-item-quantity { - float: left; + float: left; /* LTR */ } .line-item-summary .line-item-total-label { @@ -22,11 +22,11 @@ .line-item-summary .links { margin-top: .5em; - clear: left; + clear: left; /* LTR */ } .line-item-summary .links li.last { - padding-right: 0; + padding-right: 0; /* LTR */ } /** @@ -38,10 +38,10 @@ } .commerce-line-item-views-form .cart-subtotal { - text-align: right; + text-align: right; /* LTR */ font-size: 1.5em; } .commerce-line-item-views-form .commerce-line-item-actions { - text-align: right; + text-align: right; /* LTR */ } diff --git a/modules/order/theme/commerce_order.admin-rtl.css b/modules/order/theme/commerce_order.admin-rtl.css new file mode 100644 index 0000000..cd7f84e --- /dev/null +++ b/modules/order/theme/commerce_order.admin-rtl.css @@ -0,0 +1,8 @@ +.views-field-operations .links.operations { + margin-right: 0; +} + +#commerce-order-ui-redirect-form .form-item { + float: right; + margin: 0 0 0 2em; +} diff --git a/modules/order/theme/commerce_order.admin.css b/modules/order/theme/commerce_order.admin.css index 2a6eb57..a01ae49 100644 --- a/modules/order/theme/commerce_order.admin.css +++ b/modules/order/theme/commerce_order.admin.css @@ -8,15 +8,15 @@ .views-field-operations .links.operations { text-transform: lowercase; - margin-left: 0; + margin-left: 0; /* LTR */ } /** * Order redirect form */ #commerce-order-ui-redirect-form .form-item { - float: left; - margin: 0 2em 0 0; + float: left; /* LTR */ + margin: 0 2em 0 0; /* LTR */ } #commerce-order-ui-redirect-form .form-submit { diff --git a/modules/payment/theme/commerce_payment.admin-rtl.css b/modules/payment/theme/commerce_payment.admin-rtl.css new file mode 100644 index 0000000..0da9ea6 --- /dev/null +++ b/modules/payment/theme/commerce_payment.admin-rtl.css @@ -0,0 +1,23 @@ +.views-field-operations .links.operations { + margin-right: 0; +} + +.payment-totals-table { + float: left; +} + +.payment-totals-table .total, +.payment-totals-table .balance { + text-align: left; +} + +.add-payment .form-item-payment-method { + float: right; +} +.add-payment .form-submit { + float: right; +} + +.payment-terminal { + clear: left; +} diff --git a/modules/payment/theme/commerce_payment.admin.css b/modules/payment/theme/commerce_payment.admin.css index 64ced89..3c49b60 100644 --- a/modules/payment/theme/commerce_payment.admin.css +++ b/modules/payment/theme/commerce_payment.admin.css @@ -8,7 +8,7 @@ .views-field-operations .links.operations { text-transform: lowercase; - margin-left: 0; + margin-left: 0; /* LTR */ } /** @@ -21,7 +21,7 @@ .payment-totals-table { width: 33%; - float: right; + float: right; /* LTR */ } .payment-totals-table tr.order-balance { @@ -31,14 +31,14 @@ .payment-totals-table .total, .payment-totals-table .balance { - text-align: right; + text-align: right; /* LTR */ } .add-payment .form-item-payment-method { - float: left; + float: left; /* LTR */ } .add-payment .form-submit { - float: left; + float: left; /* LTR */ margin: 5px; } @@ -47,7 +47,7 @@ } .payment-terminal { - clear: right; + clear: right; /* LTR */ } .payment-terminal-amount div { diff --git a/modules/payment/theme/commerce_payment.theme-rtl.css b/modules/payment/theme/commerce_payment.theme-rtl.css new file mode 100644 index 0000000..a3a6931 --- /dev/null +++ b/modules/payment/theme/commerce_payment.theme-rtl.css @@ -0,0 +1,10 @@ +.commerce-credit-card-start .form-item, +.commerce-credit-card-expiration .form-item { + margin-right: 0; + margin-left: .25em; +} + +.commerce-month-year-divider { + margin-right: 0; + margin-left: 3px; +} diff --git a/modules/payment/theme/commerce_payment.theme.css b/modules/payment/theme/commerce_payment.theme.css index 34c81a0..5b08251 100644 --- a/modules/payment/theme/commerce_payment.theme.css +++ b/modules/payment/theme/commerce_payment.theme.css @@ -15,10 +15,10 @@ .commerce-credit-card-start .form-item, .commerce-credit-card-expiration .form-item { display: inline; - margin-right: .25em; + margin-right: .25em; /* LTR */ margin-bottom: 1em; } .commerce-month-year-divider { - margin-right: 3px; + margin-right: 3px; /* LTR */ } diff --git a/modules/price/theme/commerce_price.theme-rtl.css b/modules/price/theme/commerce_price.theme-rtl.css new file mode 100644 index 0000000..192e206 --- /dev/null +++ b/modules/price/theme/commerce_price.theme-rtl.css @@ -0,0 +1,8 @@ +.commerce-price-full .form-item { + margin-right: 0; + margin-left: 1em; +} + +.commerce-price-formatted-components .component-total { + text-align: left; +} diff --git a/modules/price/theme/commerce_price.theme.css b/modules/price/theme/commerce_price.theme.css index 7e7b258..8360849 100644 --- a/modules/price/theme/commerce_price.theme.css +++ b/modules/price/theme/commerce_price.theme.css @@ -6,7 +6,7 @@ .commerce-price-full .form-item { display: inline; - margin-right: 1em; + margin-right: 1em; /* LTR */ } #edit-parameter-value .commerce-price-full { @@ -14,5 +14,5 @@ } .commerce-price-formatted-components .component-total { - text-align: right; + text-align: right; /* LTR */ } diff --git a/modules/tax/theme/commerce_tax.theme-rtl.css b/modules/tax/theme/commerce_tax.theme-rtl.css new file mode 100644 index 0000000..6257de9 --- /dev/null +++ b/modules/tax/theme/commerce_tax.theme-rtl.css @@ -0,0 +1,9 @@ +.field-type-commerce-price .form-item { + float: right; + margin-right: 0; + margin-left: 1em; +} + +.commerce-price-tax-included-clearfix { + clear: right; +} diff --git a/modules/tax/theme/commerce_tax.theme.css b/modules/tax/theme/commerce_tax.theme.css index a759880..e382d9e 100644 --- a/modules/tax/theme/commerce_tax.theme.css +++ b/modules/tax/theme/commerce_tax.theme.css @@ -5,10 +5,10 @@ */ .field-type-commerce-price .form-item { - float: left; - margin-right: 1em; + float: left; /* LTR */ + margin-right: 1em; /* LTR */ } .commerce-price-tax-included-clearfix { - clear: left; + clear: left; /* LTR */ }