themes-wordpress/dyad-2/woocommerce-rtl.css

339 lines
5.8 KiB
CSS
Raw Normal View History

2018-02-27 03:11:30 +00:00
/*
Theme Name: Dyad 2
RTL additions
*/
body.is-singular.single-product .site-inner {
float: none;
}
table.shop_table td.actions .button {
float: left;
}
table.shop_table td.actions .coupon {
float: right;
}
table.shop_table td.actions .coupon input[type=text] {
margin-left: 0.5em;
margin-right: 0;
}
table.shop_table_responsive tr td {
text-align: left;
}
table.shop_table_responsive tr td:before {
float: right;
}
table.shop_table_responsive tr td.product-remove a {
text-align: right;
}
@media screen and (min-width: 768px) {
table.shop_table_responsive tr th, table.shop_table_responsive tr td {
text-align: right;
}
}
.cart-collaterals .cross-sells {
float: right;
}
.cart-collaterals .cart_totals {
float: left;
}
@media screen and (min-width: 768px) {
ul.products li.product {
float: right;
}
ul.products li.product.first {
margin-right: 0;
}
ul.products li.product.last {
margin-left: 0;
margin-right: 3.8%;
}
}
.is-singular.single-product #sidebar ul {
margin-right: 0;
}
.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__trigger {
left: 0;
right: auto;
}
.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-2 .flex-control-thumbs li:nth-child(2n),
.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-3 .flex-control-thumbs li:nth-child(3n),
.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-4 .flex-control-thumbs li:nth-child(4n),
.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-5 .flex-control-thumbs li:nth-child(5n),
.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-6 .flex-control-thumbs li:nth-child(6n) {
margin-left: 0;
margin-right: inherit;
}
.single-product div.product form.cart .variations td,
.single-product div.product form.cart .variations th {
text-align: right;
}
.single-product div.product form.cart .variations .label {
padding-right: inherit;
padding-left: 1em;
text-align: left;
}
.single-product div.product form.cart .variations .value {
text-align: right;
}
.woocommerce-cart #payment ul.payment_methods li input,
.woocommerce #payment ul.payment_methods li input,
2018-02-27 03:11:30 +00:00
#add_payment_method #payment ul.payment_methods li input {
margin: 0 0 0 1em;
}
.woocommerce-cart #payment ul.payment_methods li img,
.woocommerce #payment ul.payment_methods li img,
2018-02-27 03:11:30 +00:00
#add_payment_method #payment ul.payment_methods li img {
margin: -5px 0.5em 0 0;
}
.woocommerce-cart #payment .payment_method_paypal .about_paypal,
.woocommerce #payment .payment_method_paypal .about_paypal,
2018-02-27 03:11:30 +00:00
#add_payment_method #payment .payment_method_paypal .about_paypal {
float: left;
}
.woocommerce #payment .form-row .button {
2018-02-27 03:11:30 +00:00
float: left;
}
ul.order_details {
margin-right: 0;
}
ul.order_details li {
margin-left: 2em;
margin-right: 0;
padding-right: 0;
}
.col2-set .col-1 {
float: right;
}
.col2-set .col-2 {
float: left;
}
@media screen and (min-width: 768px) {
.col2-set .form-row-first {
float: right;
margin-right: inherit;
margin-left: 3.8%;
}
.col2-set .form-row-last {
float: left;
margin-right: inherit;
margin-left: 0;
}
}
.site-header-cart li:first-child {
text-align: left;
}
.site-header-cart .cart-contents .count {
padding-left: inherit;
padding-right: 0.25rem;
}
.site-header-cart .widget_shopping_cart .mini_cart_item {
text-align: right;
}
.site-header-cart .widget_shopping_cart .mini_cart_item a img {
float: right;
margin-left: 1em;
margin-right: 0;
}
.widget_shopping_cart .mini_cart_item .remove {
float: left;
}
.widget_shopping_cart .buttons a {
margin-left: 5px;
margin-right: 0;
}
@media only screen and (min-width: 961px) {
/**
* Header cart
*/
.site-header-cart .widget_shopping_cart:before {
left: auto;
right: 75%;
margin-right: -10px;
}
.site-header-cart .widget_shopping_cart {
left: -999em;
right: auto;
}
.site-header-cart:hover .widget_shopping_cart,
.site-header-cart.focus .widget_shopping_cart {
left: 0;
right: auto;
}
}
/**
* Star rating
*/
.star-rating:before {
right: 0;
}
.star-rating span {
right: 0;
}
.star-rating span:before {
right: 0;
}
p.stars a:before {
right: 0;
}
/**
* Reviews
*/
.single-product #reviews .commentlist {
margin-right: 0;
}
.single-product #reviews .comment {
margin-right: 100px;
}
.single-product #reviews .comment .avatar-container {
float: right;
right: 0;
}
/**
* Tabs
*/
.woocommerce-tabs ul.tabs {
padding: 0 1em 0;
text-align: right;
}
/**
* Password strength meter
*/
.woocommerce-password-strength {
text-align: left;
}
/**
* Forms
*/
.woocommerce .form-row-first {
float: right;
}
.woocommerce .form-row-last {
float: left;
}
/**
* Notices
*/
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-noreviews,
p.no-comments {
padding: 1em 3.5em 1em 2em;
}
.woocommerce-message:before,
.woocommerce-error:before,
.woocommerce-info:before {
left: auto;
right: 1.4em;
}
.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-error .button,
.woocommerce-noreviews .button,
p.no-comments .button {
float: left;
margin-right: 2em;
}
/**
* WooCommerce widgets
*/
/**
* WooCommerce Price Filter
*/
.widget_price_filter .price_slider_amount {
text-align: left;
}
.widget_price_filter .price_slider_amount .button {
float: right;
}
.widget_price_filter .ui-slider {
text-align: right;
}
.widget_price_filter .ui-slider .ui-slider-handle:last-child {
margin-right: -1em;
}
.product_list_widget a img {
float: right;
margin-left: 1em;
}
/***
* Cart Widget
**/
.widget_shopping_cart .mini_cart_item {
text-align: right;
}
2018-02-27 03:11:30 +00:00
/**
* My Account
**/
.woocommerce-form-login #rememberme {
margin: 0 1em 0 0.25em;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul {
margin-right: 0;
}