b399ab11ab
This reverts commit 96c1216748
.
614 lines
9.7 KiB
CSS
614 lines
9.7 KiB
CSS
/*
|
|
* Theme Name: Libre 2
|
|
*
|
|
* RTL additions
|
|
*
|
|
*/
|
|
|
|
table.shop_table_responsive tr td
|
|
{
|
|
text-align: left;
|
|
}
|
|
|
|
table.shop_table_responsive tr td:before
|
|
{
|
|
float: right;
|
|
}
|
|
|
|
/**
|
|
* Shop table
|
|
*/
|
|
table.shop_table
|
|
{
|
|
text-align: right;
|
|
}
|
|
|
|
.woocommerce .shop_table tbody .wc-item-meta {
|
|
padding-right: 0;
|
|
}
|
|
|
|
/**
|
|
* Cart table
|
|
*/
|
|
table.cart .actions
|
|
{
|
|
text-align: right;
|
|
}
|
|
|
|
.checkout_coupon .button,
|
|
.coupon .button {
|
|
margin-right: .8em;
|
|
margin-left: 0;
|
|
}
|
|
|
|
.cart-collaterals .wc-proceed-to-checkout
|
|
{
|
|
text-align: left;
|
|
}
|
|
|
|
@media screen and (min-width: 896px)
|
|
{
|
|
table.shop_table_responsive tr th,
|
|
table.shop_table_responsive tr td
|
|
{
|
|
text-align: right;
|
|
}
|
|
table.cart .actions
|
|
{
|
|
text-align: left;
|
|
}
|
|
table.cart .coupon
|
|
{
|
|
float: right;
|
|
}
|
|
}
|
|
|
|
/**
|
|
* Products
|
|
*/
|
|
@media screen and (min-width: 896px)
|
|
{
|
|
ul.products li.product
|
|
{
|
|
float: right;
|
|
margin-left: 4%;
|
|
margin-right: 0;
|
|
}
|
|
ul.products li.product.last
|
|
{
|
|
margin-left: 0;
|
|
}
|
|
.columns-2 ul.products li.product
|
|
{
|
|
margin-left: 4%;
|
|
margin-right: 0;
|
|
}
|
|
.columns-2 ul.products li.product:nth-of-type(2n) {
|
|
margin-left: 0;
|
|
}
|
|
.columns-3 ul.products li.product
|
|
{
|
|
margin-left: 5%;
|
|
margin-right: 0;
|
|
}
|
|
.columns-3 ul.products li.product:nth-of-type(3n) {
|
|
margin-left: 0;
|
|
}
|
|
.columns-4 ul.products li.product
|
|
{
|
|
margin-left: 4%;
|
|
margin-right: 0;
|
|
}
|
|
.columns-4 ul.products li.product:nth-of-type(4n) {
|
|
margin-left: 0;
|
|
}
|
|
.columns-5 ul.products li.product
|
|
{
|
|
margin-left: 5%;
|
|
margin-right: 0;
|
|
}
|
|
.columns-5 ul.products li.product:nth-of-type(5n) {
|
|
margin-left: 0;
|
|
}
|
|
.columns-6 ul.products li.product
|
|
{
|
|
margin-left: 2%;
|
|
margin-right: 0;
|
|
}
|
|
.columns-6 ul.products li.product:nth-of-type(6n) {
|
|
margin-left: 0;
|
|
}
|
|
}
|
|
|
|
/**
|
|
* Loop products
|
|
*/
|
|
ul.products li.product .button.loading:after,
|
|
ul.products li.product .button.added:after
|
|
{
|
|
margin-right: .53em;
|
|
margin-left: 0;
|
|
}
|
|
|
|
/**
|
|
* Single Product
|
|
*/
|
|
.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__trigger
|
|
{
|
|
left: 0;
|
|
right: auto;
|
|
}
|
|
.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li
|
|
{
|
|
float: right;
|
|
}
|
|
.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-2 .flex-control-thumbs li
|
|
{
|
|
margin-left: 4%;
|
|
margin-right: 0;
|
|
}
|
|
.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-2 .flex-control-thumbs li:nth-child(2n)
|
|
{
|
|
margin-left: 0;
|
|
}
|
|
.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-3 .flex-control-thumbs li
|
|
{
|
|
margin-left: 5%;
|
|
margin-right: 0;
|
|
}
|
|
.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-3 .flex-control-thumbs li:nth-child(3n)
|
|
{
|
|
margin-left: 0;
|
|
}
|
|
.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-4 .flex-control-thumbs li
|
|
{
|
|
margin-left: 3.8%;
|
|
margin-right: 0;
|
|
}
|
|
.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-4 .flex-control-thumbs li:nth-child(4n)
|
|
{
|
|
margin-left: 0;
|
|
}
|
|
.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-5 .flex-control-thumbs li
|
|
{
|
|
margin-left: 3.8%;
|
|
margin-right: 0;
|
|
}
|
|
.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-5 .flex-control-thumbs li:nth-child(5n)
|
|
{
|
|
margin-left: 0;
|
|
}
|
|
.single-product div.product .woocommerce-product-rating .star-rating
|
|
{
|
|
margin-left: .35em;
|
|
margin-right: 0;
|
|
}
|
|
.single-product div.product form.cart div.quantity
|
|
{
|
|
float: right;
|
|
margin-left: .5em;
|
|
margin-right: 0;
|
|
}
|
|
.single-product div.product form.cart .variations .reset_variations
|
|
{
|
|
margin-right: .875em;
|
|
margin-left: 0;
|
|
}
|
|
.single-product div.product form.cart table.group_table div.quantity
|
|
{
|
|
margin-left: 0;
|
|
}
|
|
.single-product div.product .product_meta span
|
|
{
|
|
margin-left: .875em;
|
|
margin-right: 0;
|
|
}
|
|
.single-product div.product .woocommerce-tabs ul.tabs
|
|
{
|
|
padding-right: 1.75em;
|
|
padding-right: calc(1.75em - 5px);
|
|
padding-left: 0;
|
|
}
|
|
|
|
/**
|
|
* Reviews
|
|
*/
|
|
#reviews #comments ol.commentlist
|
|
{
|
|
margin-right: 0;
|
|
}
|
|
#reviews #comments ol.commentlist li img.avatar
|
|
{
|
|
float: right;
|
|
left: auto;
|
|
right: 0;
|
|
}
|
|
#reviews #comments ol.commentlist li .comment-text
|
|
{
|
|
margin: 0 70px 0 0;
|
|
}
|
|
#reviews #comments ol.commentlist li .star-rating
|
|
{
|
|
float: left;
|
|
}
|
|
|
|
/**
|
|
* My account
|
|
*/
|
|
.woocommerce-account .woocommerce-MyAccount-navigation ul li
|
|
{
|
|
margin: 0 0 0 1.75em;
|
|
}
|
|
.woocommerce-account .addresses .woocommerce-Address-title h3
|
|
{
|
|
float: right;
|
|
}
|
|
.woocommerce-account .addresses .woocommerce-Address-title .edit
|
|
{
|
|
float: left;
|
|
}
|
|
.woocommerce-account .woocommerce-order-details .order-again .button:after
|
|
{
|
|
margin-left: 0;
|
|
margin-right: .5rem;
|
|
}
|
|
|
|
/**
|
|
* Checkout
|
|
*/
|
|
.woocommerce-form__label-for-checkbox .woocommerce-form__input-checkbox
|
|
{
|
|
margin-left: .25em;
|
|
margin-right: 0;
|
|
}
|
|
.woocommerce #payment ul.payment_methods
|
|
{
|
|
border-width: 1px 1px 0 1px;
|
|
}
|
|
.woocommerce #payment ul.payment_methods li input
|
|
{
|
|
margin: 0 0 0 1em;
|
|
}
|
|
.woocommerce #payment ul.payment_methods li label img
|
|
{
|
|
float: left;
|
|
}
|
|
.woocommerce #payment ul.payment_methods li.payment_method_paypal .about_paypal
|
|
{
|
|
margin-right: .8em;
|
|
margin-left: 0;
|
|
}
|
|
.woocommerce #payment .form-row #place_order
|
|
{
|
|
float: left;
|
|
}
|
|
ul#shipping_method
|
|
{
|
|
margin-right: 0;
|
|
padding-right: 0;
|
|
}
|
|
|
|
@media screen and (min-width: 600px)
|
|
{
|
|
.col2-set .form-row-first
|
|
{
|
|
float: right;
|
|
margin-left: 4%;
|
|
margin-right: 0;
|
|
}
|
|
.col2-set .form-row-last
|
|
{
|
|
float: left;
|
|
margin-left: 0;
|
|
}
|
|
}
|
|
|
|
/**
|
|
* WooCommerce widgets
|
|
*/
|
|
.widget.woocommerce ul
|
|
{
|
|
margin-right: 0;
|
|
}
|
|
.widget.woocommerce ul.product_list_widget li img
|
|
{
|
|
float: left;
|
|
}
|
|
.widget.woocommerce ul.product_list_widget li .remove
|
|
{
|
|
float: right;
|
|
}
|
|
|
|
/**
|
|
* WooCommerce Cart
|
|
*/
|
|
.widget_shopping_cart .woocommerce-mini-cart__buttons .button.checkout
|
|
{
|
|
margin-right: .55rem;
|
|
margin-left: 0;
|
|
}
|
|
|
|
/**
|
|
* WooCommerce Product Categories
|
|
*/
|
|
.widget_product_categories .children
|
|
{
|
|
padding-right: 1.75em;
|
|
padding-left: 0;
|
|
}
|
|
|
|
/**
|
|
* WooCommerce Average Rating
|
|
*/
|
|
.widget_rating_filter ul li .star-rating
|
|
{
|
|
float: right;
|
|
margin-left: .5em;
|
|
margin-right: 0;
|
|
}
|
|
|
|
/**
|
|
* WooCommerce Price Filter
|
|
*/
|
|
.widget_price_filter {
|
|
left: auto;
|
|
right: -1em;
|
|
}
|
|
.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
|
|
{
|
|
margin-right: -1px;
|
|
margin-left: 0;
|
|
}
|
|
|
|
/**
|
|
* Header cart
|
|
*/
|
|
.site-header-cart
|
|
{
|
|
text-align: left;
|
|
}
|
|
.site-header-cart .cart-contents .count
|
|
{
|
|
margin-right: .25rem;
|
|
margin-left: 0;
|
|
}
|
|
.site-header-cart .cart-contents:before
|
|
{
|
|
margin-left: .5rem;
|
|
margin-right: 0;
|
|
}
|
|
|
|
/**
|
|
* Pagination
|
|
*/
|
|
.woocommerce-pagination ul.page-numbers li
|
|
{
|
|
float: right;
|
|
margin: 0 0 .25rem .25rem;
|
|
}
|
|
|
|
/**
|
|
* Sorting
|
|
*/
|
|
.woocommerce-result-count
|
|
{
|
|
float: right;
|
|
}
|
|
|
|
.woocommerce-ordering
|
|
{
|
|
float: left;
|
|
}
|
|
|
|
/**
|
|
* Infinite Scroll
|
|
*/
|
|
@media screen and (min-width: 55em) {
|
|
.woocommerce-page.infinite-scroll #infinite-handle span,
|
|
.woocommerce-page.infinite-scroll .infinite-loader {
|
|
margin-right: 50%;
|
|
margin-left: 0;
|
|
}
|
|
}
|
|
|
|
/**
|
|
* Onsale badge
|
|
*/
|
|
.onsale
|
|
{
|
|
left: auto;
|
|
right: 0;
|
|
}
|
|
|
|
/**
|
|
* Star rating
|
|
*/
|
|
.star-rating:before
|
|
{
|
|
right: 0;
|
|
float: right;
|
|
left: auto;
|
|
}
|
|
.star-rating span
|
|
{
|
|
right: 0;
|
|
left: auto;
|
|
float: right;
|
|
}
|
|
.star-rating span:before
|
|
{
|
|
right: 0;
|
|
left: auto;
|
|
}
|
|
p.stars a
|
|
{
|
|
margin-left: 1px;
|
|
margin-right: 0;
|
|
}
|
|
p.stars a:before
|
|
{
|
|
right: 0;
|
|
left: auto;
|
|
}
|
|
|
|
/**
|
|
* Tabs
|
|
*/
|
|
.woocommerce-tabs ul.tabs
|
|
{
|
|
text-align: right;
|
|
}
|
|
|
|
/**
|
|
* Password strength meter
|
|
*/
|
|
.woocommerce-password-strength
|
|
{
|
|
text-align: left;
|
|
}
|
|
|
|
/**
|
|
* Forms
|
|
*/
|
|
|
|
.checkout_coupon p {
|
|
float: right;
|
|
}
|
|
|
|
/**
|
|
* Notices
|
|
*/
|
|
.woocommerce-message,
|
|
.woocommerce-info,
|
|
.woocommerce-error,
|
|
.woocommerce-noreviews,
|
|
p.no-comments
|
|
{
|
|
margin-right: 0;
|
|
padding: 1.75em 4em 1.75em 2em;
|
|
}
|
|
.woocommerce-message .button,
|
|
.woocommerce-info .button,
|
|
.woocommerce-error .button,
|
|
.woocommerce-noreviews .button,
|
|
p.no-comments .button
|
|
{
|
|
float: left;
|
|
margin-right: 1em;
|
|
margin-left: 0;
|
|
}
|
|
.woocommerce-message:before,
|
|
.woocommerce-info:before,
|
|
.woocommerce-error:before,
|
|
.woocommerce-noreviews:before,
|
|
p.no-comments:before
|
|
{
|
|
right: 1.8em;
|
|
left: auto;
|
|
}
|
|
.demo_store .woocommerce-store-notice__dismiss-link
|
|
{
|
|
float: left;
|
|
}
|
|
|
|
/**
|
|
* Login form
|
|
*/
|
|
.woocommerce-form-login input[name='rememberme']
|
|
{
|
|
margin-left: .25em;
|
|
margin-right: .65em;
|
|
}
|
|
|
|
@media screen and (min-width: 896px) {
|
|
|
|
/**
|
|
* Header cart
|
|
*/
|
|
.site-header-cart
|
|
{
|
|
text-align: left;
|
|
}
|
|
.site-header-cart > li:first-child
|
|
{
|
|
margin: 0 1.75em 0 0;
|
|
}
|
|
.site-header-cart .cart-contents .count
|
|
{
|
|
margin-right: .25rem;
|
|
margin-left: 0;
|
|
}
|
|
.site-header-cart .widget_shopping_cart
|
|
{
|
|
left: 999em;
|
|
right: auto;
|
|
text-align: right;
|
|
}
|
|
.site-header-cart .widget_shopping_cart ul.product_list_widget li img
|
|
{
|
|
float: right;
|
|
margin: .35rem 0 0 1rem;
|
|
}
|
|
.site-header-cart .widget_shopping_cart ul.product_list_widget li .remove
|
|
{
|
|
float: left;
|
|
margin: .5rem .35rem 0 0;
|
|
}
|
|
.site-header-cart .widget_shopping_cart .woocommerce-mini-cart__buttons .button.checkout
|
|
{
|
|
margin-right: 0;
|
|
}
|
|
.site-header-cart:hover .widget_shopping_cart,
|
|
.site-header-cart.focus .widget_shopping_cart
|
|
{
|
|
left: 0;
|
|
right: auto;
|
|
}
|
|
|
|
/**
|
|
* Pagination
|
|
*/
|
|
.woocommerce-pagination ul.page-numbers li
|
|
{
|
|
margin-left: .3125em;
|
|
margin-right: 0;
|
|
}
|
|
/**
|
|
* Related products
|
|
*/
|
|
.related ul.products li.product,
|
|
.upsells ul.products li.product
|
|
{
|
|
margin-left: 5%;
|
|
margin-right: 0;
|
|
}
|
|
.related ul.products li.product:nth-of-type(3n),
|
|
.upsells ul.products li.product:nth-of-type(3n) {
|
|
margin-left: 0;
|
|
}
|
|
}
|
|
|
|
@media screen and ( min-width: 55em ) {
|
|
.woocommerce-page .content-area {
|
|
float: right;
|
|
margin: 0 0 0 -25%;
|
|
}
|
|
.woocommerce-page .site-main {
|
|
margin: 0 0 0 32%;
|
|
}
|
|
.woocommerce-page .site-content .widget-area {
|
|
float: left;
|
|
}
|
|
}
|