2014-11-18 12:52:00 +00:00
|
|
|
/**
|
|
|
|
* woocommerce-layout.scss
|
|
|
|
* Applies layout to the default WooCommerce frontend design
|
|
|
|
*/
|
|
|
|
|
2014-11-18 12:33:56 +00:00
|
|
|
/**
|
|
|
|
* Imports
|
|
|
|
*/
|
2014-10-17 17:21:54 +00:00
|
|
|
@import "bourbon";
|
|
|
|
@import "mixins";
|
2014-11-13 13:38:31 +00:00
|
|
|
@import "variables";
|
2013-05-10 12:02:15 +00:00
|
|
|
|
2014-11-18 12:52:00 +00:00
|
|
|
/**
|
|
|
|
* Styling begins
|
|
|
|
*/
|
2013-05-10 12:02:15 +00:00
|
|
|
.woocommerce, .woocommerce-page {
|
|
|
|
|
2014-11-18 12:33:56 +00:00
|
|
|
/**
|
|
|
|
* General layout styles
|
|
|
|
*/
|
2013-05-10 12:02:15 +00:00
|
|
|
.col2-set {
|
2014-09-22 17:35:48 +00:00
|
|
|
@include clearfix();
|
2013-05-10 12:02:15 +00:00
|
|
|
width: 100%;
|
2014-11-13 09:50:38 +00:00
|
|
|
|
2013-05-10 12:02:15 +00:00
|
|
|
.col-1 {
|
2014-11-13 09:50:38 +00:00
|
|
|
float: left;
|
2013-05-10 12:02:15 +00:00
|
|
|
width: 48%;
|
|
|
|
}
|
|
|
|
.col-2 {
|
|
|
|
float: right;
|
|
|
|
width: 48%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
2014-11-13 09:50:38 +00:00
|
|
|
height: auto;
|
|
|
|
max-width: 100%;
|
2013-05-10 12:02:15 +00:00
|
|
|
}
|
|
|
|
|
2014-11-18 12:33:56 +00:00
|
|
|
/**
|
|
|
|
* Product page
|
|
|
|
*/
|
2014-11-13 09:50:38 +00:00
|
|
|
div.product,
|
|
|
|
#content div.product {
|
2013-05-10 12:02:15 +00:00
|
|
|
div.images {
|
2014-11-13 09:50:38 +00:00
|
|
|
float: left;
|
2013-05-10 12:02:15 +00:00
|
|
|
width: 48%;
|
|
|
|
}
|
2014-11-13 09:50:38 +00:00
|
|
|
|
2013-05-10 12:02:15 +00:00
|
|
|
div.thumbnails {
|
2014-09-22 17:35:48 +00:00
|
|
|
@include clearfix();
|
2014-11-13 09:50:38 +00:00
|
|
|
|
2013-05-10 12:02:15 +00:00
|
|
|
a {
|
2014-11-13 09:50:38 +00:00
|
|
|
float: left;
|
2013-05-10 12:02:15 +00:00
|
|
|
width: 30.75%;
|
|
|
|
margin-right: 3.8%;
|
2014-11-17 15:41:21 +00:00
|
|
|
margin-bottom: 1em;
|
2013-05-10 12:02:15 +00:00
|
|
|
}
|
2014-11-13 09:50:38 +00:00
|
|
|
|
2013-05-10 12:02:15 +00:00
|
|
|
a.last {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
2014-11-13 09:50:38 +00:00
|
|
|
|
2013-05-10 12:02:15 +00:00
|
|
|
a.first {
|
2014-11-13 09:50:38 +00:00
|
|
|
clear: both;
|
2013-05-10 12:02:15 +00:00
|
|
|
}
|
2014-11-17 15:41:21 +00:00
|
|
|
|
|
|
|
&.columns-1 {
|
|
|
|
a {
|
|
|
|
width: 100%;
|
|
|
|
margin-right: 0;
|
|
|
|
float: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.columns-2 {
|
|
|
|
a {
|
|
|
|
width: 48%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.columns-4 {
|
|
|
|
a {
|
|
|
|
width: 22.05%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.columns-5 {
|
|
|
|
a {
|
|
|
|
width: 16.9%;
|
|
|
|
}
|
|
|
|
}
|
2013-05-10 12:02:15 +00:00
|
|
|
}
|
2014-11-13 09:50:38 +00:00
|
|
|
|
2013-05-10 12:02:15 +00:00
|
|
|
div.summary {
|
|
|
|
float: right;
|
|
|
|
width: 48%;
|
|
|
|
}
|
2014-11-13 09:50:38 +00:00
|
|
|
|
2013-05-10 15:29:01 +00:00
|
|
|
.woocommerce-tabs {
|
2014-11-13 09:50:38 +00:00
|
|
|
clear: both;
|
|
|
|
|
2014-03-05 09:37:26 +00:00
|
|
|
ul.tabs {
|
2014-09-22 17:35:48 +00:00
|
|
|
@include menu();
|
2014-03-05 09:37:26 +00:00
|
|
|
}
|
2013-05-10 15:29:01 +00:00
|
|
|
}
|
2014-11-13 09:50:38 +00:00
|
|
|
|
2013-05-10 15:29:01 +00:00
|
|
|
#reviews {
|
|
|
|
.comment {
|
2014-09-22 17:35:48 +00:00
|
|
|
@include mediaright();
|
2013-05-10 15:29:01 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2014-11-13 09:50:38 +00:00
|
|
|
|
2014-11-18 12:33:56 +00:00
|
|
|
/**
|
|
|
|
* Product loops
|
|
|
|
*/
|
2013-05-10 12:02:15 +00:00
|
|
|
ul.products {
|
2014-11-13 09:50:38 +00:00
|
|
|
clear: both;
|
2014-09-22 17:35:48 +00:00
|
|
|
@include clearfix();
|
2014-11-13 09:50:38 +00:00
|
|
|
|
2013-05-10 12:02:15 +00:00
|
|
|
li.product {
|
2014-11-13 09:50:38 +00:00
|
|
|
float: left;
|
2013-05-10 12:02:15 +00:00
|
|
|
margin: 0 3.8% 2.992em 0;
|
|
|
|
padding: 0;
|
|
|
|
position: relative;
|
|
|
|
width: 22.05%;
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
2014-11-13 09:50:38 +00:00
|
|
|
|
2013-05-10 12:02:15 +00:00
|
|
|
li.first {
|
2014-11-13 09:50:38 +00:00
|
|
|
clear: both;
|
2013-05-10 12:02:15 +00:00
|
|
|
}
|
2014-11-13 09:50:38 +00:00
|
|
|
|
2013-05-10 12:02:15 +00:00
|
|
|
li.last {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-08-19 14:12:17 +00:00
|
|
|
&.columns-1 {
|
|
|
|
ul.products {
|
|
|
|
li.product {
|
2014-11-13 09:50:38 +00:00
|
|
|
width: 100%;
|
|
|
|
margin-right: 0;
|
2013-08-19 14:12:17 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.columns-2 {
|
|
|
|
ul.products {
|
|
|
|
li.product {
|
2014-11-13 09:50:38 +00:00
|
|
|
width: 48%;
|
2013-08-19 14:12:17 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.columns-3 {
|
|
|
|
ul.products {
|
|
|
|
li.product {
|
2014-11-13 09:50:38 +00:00
|
|
|
width: 30.75%;
|
2013-08-19 14:12:17 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.columns-5 {
|
|
|
|
ul.products {
|
|
|
|
li.product {
|
2014-11-13 09:50:38 +00:00
|
|
|
width: 16.95%;
|
2013-08-19 14:12:17 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.columns-6 {
|
|
|
|
ul.products {
|
|
|
|
li.product {
|
2014-11-13 09:50:38 +00:00
|
|
|
width: 13.5%;
|
2013-08-19 14:12:17 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-05-10 12:02:15 +00:00
|
|
|
.woocommerce-result-count {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
.woocommerce-ordering {
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
.woocommerce-pagination {
|
|
|
|
ul.page-numbers {
|
2014-09-22 17:35:48 +00:00
|
|
|
@include menu();
|
2013-05-10 12:02:15 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-11-18 12:33:56 +00:00
|
|
|
/**
|
|
|
|
* Cart page
|
|
|
|
*/
|
2014-11-13 09:50:38 +00:00
|
|
|
table.cart,
|
|
|
|
#content table.cart {
|
2013-05-10 12:02:15 +00:00
|
|
|
img {
|
2014-11-13 09:50:38 +00:00
|
|
|
height: auto;
|
2013-05-10 12:02:15 +00:00
|
|
|
}
|
2014-11-13 09:50:38 +00:00
|
|
|
|
2013-05-15 16:47:27 +00:00
|
|
|
td.actions {
|
|
|
|
text-align: right;
|
2014-11-13 09:50:38 +00:00
|
|
|
|
2013-05-15 16:47:27 +00:00
|
|
|
.input-text {
|
2014-11-13 09:50:38 +00:00
|
|
|
width: 80px;
|
2013-05-15 16:47:27 +00:00
|
|
|
}
|
2014-11-13 09:50:38 +00:00
|
|
|
|
2013-05-15 16:47:27 +00:00
|
|
|
.coupon {
|
2014-11-13 09:50:38 +00:00
|
|
|
float: left;
|
|
|
|
|
2013-05-15 16:47:27 +00:00
|
|
|
label {
|
2014-11-13 09:50:38 +00:00
|
|
|
display: none;
|
2013-05-15 16:47:27 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2013-05-10 12:02:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.cart-collaterals {
|
2014-09-22 17:35:48 +00:00
|
|
|
@include clearfix();
|
2013-05-10 12:02:15 +00:00
|
|
|
width: 100%;
|
2014-11-13 09:50:38 +00:00
|
|
|
|
2013-05-10 12:02:15 +00:00
|
|
|
.related {
|
|
|
|
width: 30.75%;
|
2014-11-13 09:50:38 +00:00
|
|
|
float: left;
|
2013-05-10 12:02:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.cross-sells {
|
|
|
|
width: 48%;
|
2014-11-13 09:50:38 +00:00
|
|
|
float: left;
|
2013-05-10 12:02:15 +00:00
|
|
|
|
|
|
|
ul.products {
|
2014-11-13 09:50:38 +00:00
|
|
|
float: none;
|
2013-05-10 12:02:15 +00:00
|
|
|
|
|
|
|
li {
|
|
|
|
width: 48%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2014-11-13 09:50:38 +00:00
|
|
|
|
2013-05-10 12:02:15 +00:00
|
|
|
.shipping_calculator {
|
|
|
|
width: 48%;
|
2014-09-22 17:35:48 +00:00
|
|
|
@include clearfix();
|
2013-05-10 12:02:15 +00:00
|
|
|
clear: right;
|
|
|
|
float: right;
|
2014-11-13 09:50:38 +00:00
|
|
|
|
2013-05-10 12:02:15 +00:00
|
|
|
.col2-set {
|
2014-11-13 09:50:38 +00:00
|
|
|
.col-1,
|
|
|
|
.col-2 {
|
2013-05-10 12:02:15 +00:00
|
|
|
width: 47%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2014-11-13 09:50:38 +00:00
|
|
|
|
2013-05-10 12:02:15 +00:00
|
|
|
.cart_totals {
|
|
|
|
float: right;
|
|
|
|
width: 48%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-11-18 12:33:56 +00:00
|
|
|
/**
|
|
|
|
* Cart sidebar
|
|
|
|
*/
|
2014-11-13 09:50:38 +00:00
|
|
|
ul.cart_list,
|
|
|
|
ul.product_list_widget {
|
2013-05-10 15:29:01 +00:00
|
|
|
li {
|
2014-09-22 17:35:48 +00:00
|
|
|
@include mediaright();
|
2013-05-10 15:29:01 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-11-18 12:33:56 +00:00
|
|
|
/**
|
|
|
|
* Forms
|
|
|
|
*/
|
2013-05-10 12:02:15 +00:00
|
|
|
form {
|
2013-05-13 15:02:18 +00:00
|
|
|
.form-row {
|
2014-09-22 17:35:48 +00:00
|
|
|
@include clearfix();
|
2014-11-13 09:50:38 +00:00
|
|
|
|
2013-05-13 15:02:18 +00:00
|
|
|
label {
|
2014-11-13 09:50:38 +00:00
|
|
|
display: block;
|
|
|
|
|
2013-05-13 15:02:18 +00:00
|
|
|
&.checkbox {
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
}
|
2014-11-13 09:50:38 +00:00
|
|
|
|
2013-05-13 15:02:18 +00:00
|
|
|
select {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2014-11-13 09:50:38 +00:00
|
|
|
|
2013-05-13 15:02:18 +00:00
|
|
|
.input-text {
|
2015-03-17 15:51:55 +00:00
|
|
|
box-sizing: border-box;
|
2014-11-13 09:50:38 +00:00
|
|
|
width: 100%;
|
2013-05-13 15:02:18 +00:00
|
|
|
}
|
|
|
|
}
|
2014-11-13 09:50:38 +00:00
|
|
|
|
|
|
|
.form-row-first,
|
|
|
|
.form-row-last {
|
|
|
|
float: left;
|
2013-05-10 12:02:15 +00:00
|
|
|
width: 47%;
|
|
|
|
overflow: visible;
|
|
|
|
}
|
2014-11-13 09:50:38 +00:00
|
|
|
|
2013-05-10 12:02:15 +00:00
|
|
|
.form-row-last {
|
|
|
|
float: right;
|
|
|
|
}
|
2014-11-13 09:50:38 +00:00
|
|
|
|
2013-05-10 12:02:15 +00:00
|
|
|
.form-row-wide {
|
|
|
|
clear: both;
|
|
|
|
}
|
|
|
|
}
|
2013-05-13 15:02:18 +00:00
|
|
|
|
|
|
|
#payment {
|
|
|
|
.form-row {
|
|
|
|
select {
|
2014-11-13 09:50:38 +00:00
|
|
|
width: auto;
|
2013-05-13 15:02:18 +00:00
|
|
|
}
|
|
|
|
}
|
2014-11-13 09:50:38 +00:00
|
|
|
|
2015-12-03 09:49:36 +00:00
|
|
|
.wc-terms-and-conditions, .terms {
|
|
|
|
text-align: left;
|
|
|
|
padding: 0 1em 0 0;
|
2013-05-15 16:47:27 +00:00
|
|
|
}
|
2014-11-13 09:50:38 +00:00
|
|
|
|
2013-05-15 16:47:27 +00:00
|
|
|
#place_order {
|
|
|
|
float: right;
|
|
|
|
}
|
2013-05-13 15:02:18 +00:00
|
|
|
}
|
2013-05-10 12:02:15 +00:00
|
|
|
}
|
|
|
|
|
2014-11-18 12:33:56 +00:00
|
|
|
/**
|
|
|
|
* Twenty Fourteen specific styles
|
|
|
|
*/
|
2013-12-03 16:53:22 +00:00
|
|
|
.twentyfourteen {
|
|
|
|
.tfwc {
|
|
|
|
padding: 12px 10px 0;
|
|
|
|
max-width: 474px;
|
2014-11-13 09:50:38 +00:00
|
|
|
margin: 0 auto;
|
|
|
|
|
2014-01-08 16:05:39 +00:00
|
|
|
.product .entry-summary {
|
2014-11-13 09:50:38 +00:00
|
|
|
padding: 0 !important;
|
2013-12-03 16:53:22 +00:00
|
|
|
margin: 0 0 1.618em !important;
|
|
|
|
}
|
2014-11-13 09:50:38 +00:00
|
|
|
|
2014-01-08 15:42:15 +00:00
|
|
|
div.product.hentry.has-post-thumbnail {
|
2014-11-13 09:50:38 +00:00
|
|
|
margin-top: 0;
|
2014-01-08 15:42:15 +00:00
|
|
|
}
|
2014-11-13 09:50:38 +00:00
|
|
|
|
2014-01-08 15:42:15 +00:00
|
|
|
.product {
|
|
|
|
.images {
|
|
|
|
img {
|
2014-11-13 09:50:38 +00:00
|
|
|
margin-bottom: 1em;
|
2014-01-08 15:42:15 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2013-12-03 16:53:22 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (min-width: 673px) {
|
|
|
|
.twentyfourteen {
|
|
|
|
.tfwc {
|
|
|
|
padding-right: 30px;
|
|
|
|
padding-left: 30px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (min-width: 1040px) {
|
|
|
|
.twentyfourteen {
|
|
|
|
.tfwc {
|
|
|
|
padding-right: 15px;
|
|
|
|
padding-left: 15px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (min-width: 1110px) {
|
|
|
|
.twentyfourteen {
|
|
|
|
.tfwc {
|
|
|
|
padding-right: 30px;
|
|
|
|
padding-left: 30px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (min-width: 1218px) {
|
|
|
|
.twentyfourteen {
|
|
|
|
.tfwc {
|
|
|
|
margin-right: 54px;
|
|
|
|
}
|
|
|
|
}
|
2013-12-09 09:55:11 +00:00
|
|
|
.full-width {
|
|
|
|
.twentyfourteen {
|
|
|
|
.tfwc {
|
|
|
|
margin-right: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2014-08-31 05:51:21 +00:00
|
|
|
}
|
2014-11-21 10:29:47 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Twenty Fifteen specific styles
|
|
|
|
*/
|
2014-11-21 10:51:08 +00:00
|
|
|
.twentyfifteen {
|
|
|
|
.t15wc {
|
|
|
|
padding-left: 7.6923%;
|
|
|
|
padding-right: 7.6923%;
|
|
|
|
padding-top: 7.6923%;
|
2015-01-26 11:06:31 +00:00
|
|
|
margin-bottom: 7.6923%;
|
2014-11-21 10:51:08 +00:00
|
|
|
background: #fff;
|
|
|
|
box-shadow: 0 0 1px rgba(0, 0, 0, 0.15);
|
|
|
|
|
|
|
|
.page-title {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-01-26 11:06:31 +00:00
|
|
|
@media screen and (min-width: 38.75em) {
|
|
|
|
.twentyfifteen {
|
|
|
|
.t15wc {
|
|
|
|
margin-right: 7.6923%;
|
|
|
|
margin-left: 7.6923%;
|
|
|
|
margin-top: 8.3333%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-11-21 10:29:47 +00:00
|
|
|
@media screen and (min-width: 59.6875em) {
|
|
|
|
.twentyfifteen {
|
|
|
|
.t15wc {
|
2014-11-21 10:51:08 +00:00
|
|
|
margin-left: 8.3333%;
|
|
|
|
margin-right: 8.3333%;
|
2015-01-26 11:06:31 +00:00
|
|
|
padding: 10%;
|
2014-11-21 10:51:08 +00:00
|
|
|
}
|
|
|
|
}
|
2014-11-21 10:29:47 +00:00
|
|
|
|
2014-11-21 10:51:08 +00:00
|
|
|
.single-product {
|
|
|
|
.twentyfifteen {
|
|
|
|
.entry-summary {
|
|
|
|
padding: 0 !important;
|
2014-11-21 10:29:47 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2015-03-17 15:51:55 +00:00
|
|
|
}
|
2015-11-23 11:55:50 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Twenty Sixteen specific styles
|
|
|
|
*/
|
|
|
|
.twentysixteen {
|
|
|
|
.site-main {
|
|
|
|
margin-right: 7.6923%;
|
|
|
|
margin-left: 7.6923%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.entry-summary {
|
|
|
|
margin-right: 0;
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#content {
|
|
|
|
.twentysixteen {
|
|
|
|
div.product {
|
|
|
|
div.images,
|
|
|
|
div.summary {
|
|
|
|
width: 46.42857%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (min-width: 44.375em) {
|
|
|
|
.twentysixteen {
|
|
|
|
.site-main {
|
|
|
|
margin-right: 23.0769%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (min-width: 56.875em) {
|
|
|
|
.twentysixteen {
|
|
|
|
.site-main {
|
|
|
|
margin-right: 0;
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.no-sidebar {
|
|
|
|
.twentysixteen {
|
|
|
|
.site-main {
|
|
|
|
margin-right: 15%;
|
|
|
|
margin-left: 15%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.entry-summary {
|
|
|
|
margin-right: 0;
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|