2013-05-15 16:47:27 +00:00
|
|
|
/**
|
2014-11-18 12:52:00 +00:00
|
|
|
* woocommerce-smallscreen.scss
|
|
|
|
* Optimises the default WooCommerce frontend layout when viewed on smaller screens.
|
2013-05-15 16:47:27 +00:00
|
|
|
*/
|
|
|
|
|
2014-11-18 12:31:59 +00:00
|
|
|
/**
|
|
|
|
* Imports
|
|
|
|
*/
|
2016-08-09 16:28:32 +00:00
|
|
|
@import 'mixins';
|
|
|
|
@import 'variables';
|
2013-05-15 16:47:27 +00:00
|
|
|
|
2014-11-18 12:31:59 +00:00
|
|
|
/**
|
|
|
|
* Style begins
|
|
|
|
*/
|
2014-11-13 09:52:29 +00:00
|
|
|
.woocommerce,
|
|
|
|
.woocommerce-page {
|
2013-05-15 16:47:27 +00:00
|
|
|
|
2014-10-02 19:44:38 +00:00
|
|
|
table.shop_table_responsive {
|
|
|
|
thead {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
tbody {
|
|
|
|
tr:first-child {
|
|
|
|
td:first-child {
|
|
|
|
border-top: 0;
|
|
|
|
}
|
|
|
|
}
|
2014-11-13 09:52:29 +00:00
|
|
|
|
2014-10-16 16:00:56 +00:00
|
|
|
th {
|
|
|
|
display: none;
|
|
|
|
}
|
2014-10-02 19:44:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
tr {
|
|
|
|
display: block;
|
|
|
|
|
|
|
|
td {
|
|
|
|
display: block;
|
2015-11-02 13:13:00 +00:00
|
|
|
text-align: right !important; // Important to overwrite order status inline styling
|
|
|
|
|
|
|
|
&.order-actions {
|
2016-08-05 14:47:54 +00:00
|
|
|
text-align: left !important; // This must always align left on handheld
|
2015-11-02 13:13:00 +00:00
|
|
|
}
|
2014-10-02 19:44:38 +00:00
|
|
|
|
2016-08-09 16:28:32 +00:00
|
|
|
&::before {
|
2014-10-16 16:00:56 +00:00
|
|
|
content: attr(data-title) ': ';
|
2014-10-02 19:44:38 +00:00
|
|
|
font-weight: 700;
|
2015-11-02 13:13:00 +00:00
|
|
|
float: left;
|
2014-10-02 19:44:38 +00:00
|
|
|
}
|
2015-11-02 13:01:57 +00:00
|
|
|
|
|
|
|
&.product-remove,
|
|
|
|
&.actions {
|
2016-08-09 16:28:32 +00:00
|
|
|
&::before {
|
2015-11-02 13:01:57 +00:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
2014-10-02 19:44:38 +00:00
|
|
|
}
|
|
|
|
|
2016-08-09 16:28:32 +00:00
|
|
|
&:nth-child( 2n ) {
|
2014-10-02 19:44:38 +00:00
|
|
|
td {
|
2016-08-09 16:28:32 +00:00
|
|
|
background-color: rgba(0, 0, 0, 0.025);
|
2014-10-02 19:44:38 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
table.my_account_orders {
|
|
|
|
tr {
|
|
|
|
td {
|
|
|
|
&.order-actions {
|
|
|
|
text-align: left;
|
|
|
|
|
2016-08-09 16:28:32 +00:00
|
|
|
&::before {
|
2014-10-02 19:44:38 +00:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.button {
|
|
|
|
float: none;
|
2016-08-09 16:28:32 +00:00
|
|
|
margin: 0.125em 0.25em 0.125em 0;
|
2014-10-02 19:44:38 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-05-15 16:47:27 +00:00
|
|
|
/**
|
|
|
|
* General layout
|
|
|
|
*/
|
|
|
|
.col2-set {
|
2014-11-13 09:52:29 +00:00
|
|
|
.col-1,
|
|
|
|
.col-2 {
|
2013-05-15 16:47:27 +00:00
|
|
|
float: none;
|
2014-11-13 09:52:29 +00:00
|
|
|
width: 100%;
|
2013-05-15 16:47:27 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Products
|
|
|
|
*/
|
2016-08-09 16:28:32 +00:00
|
|
|
&, &[class*='columns-'] {
|
2015-12-03 11:30:45 +00:00
|
|
|
ul.products {
|
|
|
|
li.product {
|
|
|
|
width: 48%;
|
|
|
|
float: left;
|
|
|
|
clear: both;
|
|
|
|
margin: 0 0 2.992em;
|
|
|
|
|
2016-08-09 16:28:32 +00:00
|
|
|
&:nth-child( 2n ) {
|
2015-12-03 11:30:45 +00:00
|
|
|
float: right;
|
2016-08-05 14:47:54 +00:00
|
|
|
clear: none !important; // This should never clear.
|
2015-12-03 11:30:45 +00:00
|
|
|
}
|
2013-05-15 16:47:27 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Product Details
|
|
|
|
*/
|
2014-11-13 09:52:29 +00:00
|
|
|
div.product,
|
|
|
|
#content div.product {
|
|
|
|
div.images,
|
|
|
|
div.summary {
|
2013-05-15 16:47:27 +00:00
|
|
|
float: none;
|
2014-11-13 09:52:29 +00:00
|
|
|
width: 100%;
|
2013-05-15 16:47:27 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Cart
|
|
|
|
*/
|
2014-11-13 09:52:29 +00:00
|
|
|
table.cart,
|
|
|
|
#content table.cart {
|
2013-05-15 16:47:27 +00:00
|
|
|
.product-thumbnail {
|
|
|
|
display: none;
|
|
|
|
}
|
2014-11-13 09:52:29 +00:00
|
|
|
|
2013-05-15 16:47:27 +00:00
|
|
|
td.actions {
|
|
|
|
text-align: left;
|
2014-11-13 09:52:29 +00:00
|
|
|
|
2013-05-15 16:47:27 +00:00
|
|
|
.coupon {
|
2014-11-13 09:52:29 +00:00
|
|
|
float: none;
|
2014-09-22 17:35:48 +00:00
|
|
|
@include clearfix();
|
2016-08-09 16:28:32 +00:00
|
|
|
padding-bottom: 0.5em;
|
2014-11-13 09:52:29 +00:00
|
|
|
|
2016-03-11 11:28:55 +00:00
|
|
|
input,
|
|
|
|
.button,
|
|
|
|
.input-text {
|
|
|
|
width: 48%;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
|
|
|
.input-text + .button,
|
|
|
|
.button.alt {
|
|
|
|
float: right;
|
|
|
|
}
|
2013-05-15 16:47:27 +00:00
|
|
|
}
|
2014-11-13 09:52:29 +00:00
|
|
|
|
2016-03-11 11:28:55 +00:00
|
|
|
.button {
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
2013-05-15 16:47:27 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2014-11-13 09:52:29 +00:00
|
|
|
|
2013-05-15 16:47:27 +00:00
|
|
|
.cart-collaterals {
|
2014-11-13 09:52:29 +00:00
|
|
|
.cart_totals,
|
|
|
|
.shipping_calculator,
|
|
|
|
.cross-sells {
|
|
|
|
width: 100%;
|
2013-05-15 16:47:27 +00:00
|
|
|
float: none;
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Checkout
|
|
|
|
*/
|
2014-02-06 16:34:23 +00:00
|
|
|
&.woocommerce-checkout {
|
|
|
|
form.login {
|
|
|
|
.form-row {
|
|
|
|
width: 100%;
|
|
|
|
float: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-05-15 16:47:27 +00:00
|
|
|
#payment {
|
|
|
|
.terms {
|
|
|
|
text-align: left;
|
2014-11-13 09:52:29 +00:00
|
|
|
padding: 0;
|
2013-05-15 16:47:27 +00:00
|
|
|
}
|
2014-11-13 09:52:29 +00:00
|
|
|
|
2013-05-15 16:47:27 +00:00
|
|
|
#place_order {
|
|
|
|
float: none;
|
2014-11-13 09:52:29 +00:00
|
|
|
width: 100%;
|
2015-03-17 15:51:55 +00:00
|
|
|
box-sizing: border-box;
|
2014-11-13 09:52:29 +00:00
|
|
|
margin-bottom: 1em;
|
2013-05-15 16:47:27 +00:00
|
|
|
}
|
|
|
|
}
|
2014-02-14 15:18:23 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Account
|
|
|
|
*/
|
|
|
|
.lost_reset_password {
|
|
|
|
.form-row-first,
|
|
|
|
.form-row-last {
|
|
|
|
width: 100%;
|
|
|
|
float: none;
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
}
|
2014-02-11 16:20:05 +00:00
|
|
|
}
|
|
|
|
|
2016-07-19 13:54:40 +00:00
|
|
|
.woocommerce-account {
|
|
|
|
.woocommerce-MyAccount-navigation,
|
|
|
|
.woocommerce-MyAccount-content {
|
|
|
|
float: none;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-11-18 12:31:59 +00:00
|
|
|
/**
|
|
|
|
* Twenty Thirteen specific styles
|
|
|
|
*/
|
2014-02-11 16:20:05 +00:00
|
|
|
.single-product {
|
|
|
|
.twentythirteen {
|
|
|
|
.panel {
|
|
|
|
padding-left: 20px !important;
|
|
|
|
padding-right: 20px !important;
|
|
|
|
}
|
|
|
|
}
|
2014-08-31 05:51:21 +00:00
|
|
|
}
|