/* Theme Name: Adrian WooCommerce styles override */ /** * WooCommerce color variables */ /** * Imports */ /** * Shop tables */ /** * Shop tables */ .woocommerce table.shop_table, .woocommerce table.shop_table input{ border-radius: 0!important; border: solid 1px #000; } .woocommerce table.shop_table input[type="submit"]{ background: none!important; border: solid 1px #000!important; } table.shop_table_responsive thead { display: none; } table.shop_table_responsive tbody th { display: none; } table.shop_table_responsive tr td { display: block; text-align: right; clear: both; } table.shop_table_responsive tr td:before { content: attr(data-title) ": "; float: left; } table.shop_table_responsive tr td.product-remove a { text-align: left; } table.shop_table_responsive tr td.product-remove:before { display: none; } table.shop_table_responsive tr td.actions:before, table.shop_table_responsive tr td.download-actions:before { display: none; } table.shop_table_responsive tr td.download-actions .button { display: block; text-align: center; } @media screen and (min-width: 48em) { table.shop_table_responsive thead { display: table-header-group; } table.shop_table_responsive tbody th { display: table-cell; } table.shop_table_responsive tr th, table.shop_table_responsive tr td { text-align: left; } table.shop_table_responsive tr td { display: table-cell; } table.shop_table_responsive tr td:before { display: none; } } .woocommerce div.product form.cart .variations label, span.woocommerce-Price-amount.amount{ color:#000; } /** * Products */ /** * Products */ .woocommerce-products-header { position: relative; width: 50%; } .woocommerce-ordering { position: absolute; top: 5px; width: 50%; text-align: right; display: inline-block; right: 19px; } form.woocommerce-ordering select{ border-radius: 40px; height: 34px; width: 50%!important; padding: 5px 5px; border: solid 2px #000; outline: 0; font-size: 14px; background: none!important; } @media screen and (max-width: 767px) { .woocommerce-ordering { top:10px; } form.woocommerce-ordering select { width: 80%!important; } .woocommerce-ordering { top: -5px!important; } } ul.products { content: ""; display: table; table-layout: fixed; margin: 0; padding: 0; text-align: center!important; } ul.products li.product { list-style: none; position: relative; margin-bottom: 2em; min-height: 385px; } ul.products li a.add_to_cart_button { position: absolute; bottom: 0px; left: 0px; width: 100%; line-height: 25px; background: none; border: solid 2px #f6eb14; border-radius: 0; color: #000; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; transition: all 0.3s; outline: 0; font-size: 15px; } ul.products li a.add_to_cart_button:hover{ background: #f6eb14; color: #fff!important; border: solid 2px #f6eb14; } a.added_to_cart.wc-forward { position: absolute; bottom: -42px; left: 0px; width: 100%; background: none; border: solid 2px #f6eb14; border-radius: 0; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; transition: all 0.3s; padding-top: 0px; line-height: 33px; color: #000; font-weight: bold; } ul.products li.product .woocommerce-loop-product__title { font-size: 1rem; } ul.products li.product img { height: 150px; width: auto; } .related.products ul.products li.product { min-width: 27.05%!important; } ul.products li.product .button { display: block; } .woocommerce span.onsale { min-height: 50px; min-width: 53px; font-size: 14px!important; background-color: #f6eb14; color: #fff; z-index: 9; } .woocommerce ul.products li.product .price { color: #000; font-size: 14px; font-weight: normal; } .woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 15px; color: #000; } .woocommerce-products-header__title.page-title{ margin-top: 0px; } @media screen and (max-width: 767px) { ul.products li.product { min-height: 473px; } } @media screen and (max-width: 500px) { ul.products li.product { min-height: 385px; } } @media screen and (max-width: 332px) { ul.products li.product { min-height: 330px; } } @media screen and (min-width: 48em) { ul.products li.product { width: 30.7966666667%; float: left; margin-right: 3.8%; } ul.products li.product.first { clear: both; } ul.products li.product.last { margin-right: 0; } .columns-1 ul.products li.product { float: none; min-width: 100%; } .columns-2 ul.products li.product { min-width: 48.1%; } .columns-3 ul.products li.product { min-width: 30.7966666667%; } .columns-4 ul.products li.product { min-width: 22.15%; } .columns-5 ul.products li.product { min-width: 16.96%; } .columns-6 ul.products li.product { min-width: 13.4933333333%; } } /* Center product elements on shop pages */ .woocommerce ul.products li.product, .woocommerce-page ul.products li.product { text-align:center; } .woocommerce .products .star-rating, .woocommerce-page .products .star-rating { float:none; display:block; margin-left:auto; margin-right:auto; } /** * Single product */ /** * Single Product */ .single-product div.product { content: ""; display: table; table-layout: fixed; position: relative; } .single-product div.product .woocommerce-product-gallery { position: relative; } .single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__trigger { position: absolute; top: 1em; right: 1em; display: block; z-index: 99; } .single-product div.product .woocommerce-product-gallery .flex-viewport { margin-bottom: 1em; } .single-product div.product .woocommerce-product-gallery .flex-control-thumbs { content: ""; display: table; table-layout: fixed; margin: 0; padding: 0; } .single-product div.product .woocommerce-product-gallery .flex-control-thumbs li { list-style: none; cursor: pointer; float: left; } .single-product div.product .woocommerce-product-gallery .flex-control-thumbs li img { opacity: .5; } .single-product div.product .woocommerce-product-gallery .flex-control-thumbs li img.flex-active { opacity: 1; } .single-product div.product .woocommerce-product-gallery .flex-control-thumbs li:hover img { opacity: 1; } .single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-2 .flex-control-thumbs li { width: 48.1%; } .single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-2 .flex-control-thumbs li:nth-child(2n) { margin-right: 0; } .single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-2 .flex-control-thumbs li:nth-child(2n+1) { clear: both; } .single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-3 .flex-control-thumbs li { width: 30.7966666667%; } .single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-3 .flex-control-thumbs li:nth-child(3n) { margin-right: 0; } .single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-3 .flex-control-thumbs li:nth-child(3n+1) { clear: both; } .single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-4 .flex-control-thumbs li { width: 22.15%; } .single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-4 .flex-control-thumbs li:nth-child(4n) { margin-right: 0; } .single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-4 .flex-control-thumbs li:nth-child(4n+1) { clear: both; } .single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-5 .flex-control-thumbs li { width: 19.96%; } .single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-5 .flex-control-thumbs li:nth-child(5n) { margin-right: 0; } .single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-5 .flex-control-thumbs li:nth-child(5n+1) { clear: both; } .stock:empty:before { display: none; } .stock.in-stock { color: #f6eb14; } .stock.out-of-stock { color: #f6eb14; } .woocommerce div.product .stock { color: #f6eb14; } .summary.entry-summary { margin-top: 0px; } .woocommerce div.product p.price{ color: #000; font-size: 15px; padding-top: 15px; } .product_meta a{ font-size: 12px !important; color: #000; text-decoration: none; -webkit-transition: all 0.3s ease; -moz-transition: all 0.3s ease; transition: all 0.3s ease; display: inline-block; margin-bottom: 5px; } .product_meta a:hover { color: #f6eb14; text-decoration: none; } .product_title.entry-title{ position: relative; } .product_title.entry-title::after { position: absolute; content: ''; width: 100px; height: 3px; background: #f6eb14; top: 22px; margin-left: -5px; } .woocommerce button.button.alt{ background: #fff; border: solid 1px #000; -webkit-font-smoothing: antialiased; border-radius: 0; font-weight: normal; color: #000; font-size: 15px; } .woocommerce button.button.alt:hover{ background: none!important; color: #000; } .woocommerce button.button.alt.disabled, .woocommerce button.button.alt.disabled:hover{ background: none!important; color: #000!important; } .woocommerce-message{ background: none!important; width: 100%; } .woocommerce-message::before { color: #131212!important; } .woocommerce a.button, .woocommerce a.button:hover{ font-weight: normal; color: #131212!important; background: none; background-image: none; border: solid 1px #131212; border-radius: 0; } .woocommerce #respond input#submit{ background: none!important; border: solid 1px #000; color: #000; } .woocommerce #respond input#submit:hover{ color: #000!important; } .quantity input { border-radius: 0; min-height: 36px; } .restore-item, .restore-item:hover{ color: #000; text-decoration: none; } .woocommerce .woocommerce-product-rating .star-rating { float: none; } .woocommerce-product-rating .star-rating { position: absolute; left: 0px; } .woocommerce-product-rating { margin-top: 0px; position: relative; width: 100% } .woocommerce-product-rating a.woocommerce-review-link { position: absolute; right: 0px; color: #000; } .woocommerce-review-link,.woocommerce-review-link:hover { color: #000; text-decoration: none; } .woocommerce #reviews #comments ol.commentlist { padding-left: 0px; } section.related.products h2 { padding-bottom: 20px; } /** * Checkout */ /** * Checkout */ a.checkout-button.button.alt.wc-forward { background: none!important; } .woocommerce-info, .woocommerce-error{ background: none!important; width: 100%; border: solid 2px #f6ec14; } .woocommerce-info::before, .woocommerce-error::before { color: #131212!important; } .woocommerce-info, .woocommerce-error { border-top-color: #f6ec14; } .woocommerce-info a{ color: #000; text-decoration: none; } .woocommerce form input[type="submit"]{ border-radius: 0!important; border: solid 1px #000; background: none!important; } .woocommerce-checkout input{ border-radius: 0!important; border: solid 1px #000; padding: 10px 10px; } .woocommerce form .form-row .input-checkbox { margin: 31px 8px 0 0; } .woocommerce-checkout #payment { background: none!important; border-radius: 0px!important; border: solid 1px #000; } .woocommerce #payment #place_order, .woocommerce-page #payment #place_order { color: #000; } @media screen and (min-width: 768px) { .col2-set .form-row-first { float: left; margin-right: 3.8%; } .col2-set .form-row-last { float: right; margin-right: 0; } .col2-set .form-row-first, .col2-set .form-row-last { width: 48.1%; } } /** * General WooCommerce components */ /** * Header cart */ .site-header-cart { position: relative; margin: 0; padding: 0; content: ""; display: table; table-layout: fixed; } .site-header-cart .cart-contents { text-decoration: none; } .site-header-cart .widget_shopping_cart { display: none; } .site-header-cart .product_list_widget { margin: 0; padding: 0; } /** * Star rating */ .star-rating { overflow: hidden; position: relative; height: 1.618em; line-height: 1.618; font-size: 1em; width: 5.3em; font-family: 'star'; font-weight: 400; } .star-rating:before { content: "\53\53\53\53\53"; opacity: .25; float: left; top: 0; left: 0; position: absolute; } .star-rating span { overflow: hidden; float: left; top: 0; left: 0; position: absolute; padding-top: 1.5em; } .star-rating span:before { content: "\53\53\53\53\53"; top: 0; position: absolute; left: 0; color: #f6eb14; } p.stars a { position: relative; height: 1em; width: 1em; text-indent: -999em; display: inline-block; text-decoration: none; margin-right: 1px; font-weight: 400; } p.stars a:before { display: block; position: absolute; top: 0; left: 0; width: 1em; height: 1em; line-height: 1; font-family: "star"; content: "\53"; color: #404040; text-indent: 0; opacity: .25; } p.stars a:hover ~ a:before { content: "\53"; color: #404040; opacity: .25; } p.stars:hover a:before { content: "\53"; color: #f6eb14; opacity: 1; } p.stars.selected a.active:before { content: "\53"; color: #f6eb14; opacity: 1; } p.stars.selected a.active ~ a:before { content: "\53"; color: #404040; opacity: .25; } p.stars.selected a:not(.active):before { content: "\53"; color: #f6eb14; opacity: 1; } /** * Tabs */ .woocommerce-tabs .panel h2:first-of-type { margin-bottom: 1em; } .woocommerce-noreviews, p.no-comments { background: none!important; } /** * Password strength meter */ .woocommerce-password-strength { text-align: right; } .woocommerce-password-strength.strong { color: #0f834d; } .woocommerce-password-strength.short { color: #e2401c; } .woocommerce-password-strength.bad { color: #e2401c; } .woocommerce-password-strength.good { color: #3D9CD2; } /** * Forms */ .form-row.woocommerce-validated input.input-text { box-shadow: inset 2px 0 0 #0f834d; } .form-row.woocommerce-invalid input.input-text { box-shadow: inset 2px 0 0 #e2401c; } .required { color: red; } .woocommerce-Reviews .comment-form input { position: relative; display: inline-block; width: 100%; } .woocommerce-Reviews textarea#comment { margin-bottom: 5px; } .woocommerce-Reviews p.form-submit input{ background-color: #fff; border:solid 2px #f6eb14; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; transition: all 0.3s; } .woocommerce-Reviews p.form-submit input:hover{ background-color: #f6eb14; border:solid 2px #f6eb14; color: #fff!important; } /** * Notices */ .woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-noreviews, p.no-comments { content: ""; display: table; table-layout: fixed; background-color: #0f834d; clear: both; } .woocommerce-info, .woocommerce-noreviews, p.no-comments { background-color: #3D9CD2; } .woocommerce-error { background-color: #e2401c; } .demo_store { position: fixed; left: 0; bottom: 0; right: 0; margin: 0; padding: 1em; background-color: #3D9CD2; z-index: 9999; } @media screen and (min-width: 48em) { /** * Header cart */ .site-header-cart .widget_shopping_cart { position: absolute; top: 100%; width: 100%; z-index: 999999; left: -999em; display: block; box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2); } .site-header-cart:hover .widget_shopping_cart, .site-header-cart.focus .widget_shopping_cart { left: 0; display: block; } } /** * WooCommerce widgets */ /** * WooCommerce Price Filter */ .widget_price_filter .price_slider { margin-bottom: 1.5em; } .widget_price_filter .price_slider_amount { text-align: right; line-height: 2.4em; } .widget_price_filter .price_slider_amount .button { float: left; } .widget_price_filter .ui-slider { position: relative; text-align: left; } .woocommerce .widget_price_filter .price_slider_wrapper .ui-widget-content { background-color: #000000; } .woocommerce .widget_price_filter .ui-slider .ui-slider-handle { background-color: #f6eb14; top: -4px; } .woocommerce .widget_price_filter .ui-slider .ui-slider-range { background-color: #f6eb14; } .price_slider_amount .button{ background: none!important; border-radius: 0!important; border: solid 1px!important; margin-top: 30px!important; } ul.product_list_widget li a { padding-left: 0px; } ul.product_list_widget li a::after { display: none; } .woocommerce ul.cart_list li, .woocommerce ul.product_list_widget li::after { position: absolute; content: ''; width: 90%; height: 2px; background: rgba(0, 0, 0, 0.02); } #product-searchform input { height: 38px; width: 100%; border: solid 2px #333; padding: 10px; border-radius: 40px!important; background: none; outline: none; } #product-searchform button { display: inline-block; background: none; outline: 0; border: 0; margin-top: -35px; float: right; padding-right: 15px; } .widget_price_filter .ui-slider .ui-slider-handle:last-child { margin-left: -1em; } .widget_price_filter .ui-slider .ui-slider-handle:hover, .widget_price_filter .ui-slider .ui-slider-handle.ui-state-active { box-shadow: 0 0 0 0.25em rgba(0, 0, 0, 0.1); } .widget_price_filter .ui-slider .ui-slider-range { position: absolute; z-index: 1; display: block; border: 0; background: royalblue; } .widget_price_filter .price_slider_wrapper .ui-widget-content { background: rgba(0, 0, 0, 0.1); } .widget_price_filter .ui-slider-horizontal { height: .5em; } .widget_price_filter .ui-slider-horizontal .ui-slider-range { height: 100%; } .woocommerce .widget_shopping_cart .total, .woocommerce.widget_shopping_cart .total { display: block!important; margin-top: 0px; } .woocommerce ul.cart_list li { min-height: 82px; } .widget ul li.woocommerce-mini-cart-item.mini_cart_item:hover > a, .product_list_widget li:hover > a{ padding-left: 0px!important; } /* Breadcrumbs */ .woocommerce .woocommerce-breadcrumb { display: none!important; } /* Cart item count */ .single_add_to_cart_button::before,.add_to_cart_button::before,.cart-button::before{font-family:Fontawesome;content:'\f07a';margin-right:10px} .cart-item-count{ position: relative; display: inline-block; line-height: 100px; padding-right: 15px; margin-right: 15px; max-width: 30px; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; transition: all 0.3s; } .cart-item-count span { position: absolute; top: 31px; right: 1px; font-size: 12px; background: #f6eb14; color: #000; width: 20px; height: 20px; line-height: 20px; border-radius: 50%; text-align: center; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; transition: all 0.3s; } .cart-item-count a { color: #000; } td.product-name a { color: #000; text-decoration: none; } @media screen and (max-width:767px) { .cart-item-count{ display: none; } } .main-header.shrink .cart-item-count{ line-height: 80px; } .main-header.shrink .cart-item-count span { top: 20px; } /* Pagination */ .woocommerce nav.woocommerce-pagination ul li span.current { background: #f6eb14; color: #000; border:solid 1px #f6eb14; padding: 10px 10px; } .woocommerce nav.woocommerce-pagination ul { border:none; } .woocommerce nav.woocommerce-pagination ul li { border-right: none; padding-right: 5px; } .woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li a:hover, .woocommerce nav.woocommerce-pagination ul li a:focus{ color: #000; border:solid 1px #f6eb14; background: none; padding: 10px 10px; } nav.woocommerce-MyAccount-navigation ul { list-style-type: none; padding: 0px; margin: 0px; }