woocommerce/assets/css/woocommerce.less

1583 lines
28 KiB
Plaintext
Raw Normal View History

@import "mixins";
2012-05-01 18:28:45 +00:00
@import "woocommerce-base"; /* Contains base colours like @primary */
2011-08-09 15:16:18 +00:00
/* Colours */
2012-05-01 18:28:45 +00:00
@tertiary: @primary; /* Price slider bar / layered nav UI */
@tertiarytext: @primarytext; /* Text on tertiary colour bg */
@quaternary: desaturate( darken( @tertiary, 45%), 40% ); /* Price slider bg */
2011-08-09 15:16:18 +00:00
/* =Global styles/layout
-------------------------------------------------------------- */
.woocommerce_message, .woocommerce_error, .woocommerce_info {
padding: .55em 1em .55em 3em;
2012-01-25 20:37:21 +00:00
margin: 0 0 2em;
2012-01-12 15:25:13 +00:00
position: relative;
.border_radius(2px);
.vertical_gradient( @secondary, darken( @secondary, 3 ) );
2012-05-01 18:28:45 +00:00
color: @secondarytext;
.box_shadow( 0, 1px, 2px, 0, rgba(0,0,0,0.25) );
.text_shadow( 0, 1px, 0, lighten( @secondary, 4 ) );
list-style:none outside;
.clearfix();
2012-05-13 20:02:07 +00:00
width: auto;
2012-01-12 15:25:13 +00:00
&:before {
content: "";
height: 16px;
width: 16px;
display:block;
position:absolute;
top: .8em;
left: 1em;
2012-01-12 15:25:13 +00:00
background-color: white;
.border_radius(1em);
}
2012-01-12 15:25:13 +00:00
.button {
float: right;
}
2012-01-25 20:37:21 +00:00
li {
list-style:none outside;
2011-08-09 15:16:18 +00:00
}
}
.woocommerce_message:before {
2012-05-21 11:07:01 +00:00
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAGCAYAAAAPDoR2AAAAN0lEQVQIHXWMQQ4AMAjCxv7/ZxZIanbYPIhSUbbXo2Jqf0BsA4mjgU1ioAVpSSrDVbPzFgPt7QH7qwoJ3MDCYgAAAABJRU5ErkJggg==) center no-repeat #8fae1b; /* check icon */
2011-08-09 15:16:18 +00:00
}
.woocommerce_info:before {
2012-05-21 11:07:01 +00:00
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAAFCAYAAABvsz2cAAAAG0lEQVQIHWP8DwQMQMACxIwwBliECcQDATgDAMHrBQqJ6tMZAAAAAElFTkSuQmCC) center no-repeat #18919c; /* info icon */
2011-08-09 15:16:18 +00:00
}
.woocommerce_error:before {
2012-05-21 11:07:01 +00:00
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAAFCAYAAABvsz2cAAAAHUlEQVQIHWP8DwQMQMAEIkAAzmABchhBIiAGWA0Ar6MFCigWCYMAAAAASUVORK5CYII=) center no-repeat #b81c23; /* error icon */
2011-08-09 15:16:18 +00:00
}
p.demo_store {
position:fixed;
top: 0;
left: 0;
right: 0;
margin: 0;
2011-08-09 15:16:18 +00:00
width: 100%;
font-size: 1em;
padding: .5em 0;
2011-08-09 15:16:18 +00:00
text-align: center;
.vertical_gradient( @primary, darken(@primary, 10) );
border: 1px solid darken(@primary, 10);
color: @primarytext;
2011-08-09 15:16:18 +00:00
z-index: 999999;
.inset_box_shadow( 0, 0, 0, 3px, rgba(255,255,255,0.2) );
2011-08-09 15:16:18 +00:00
}
small.note {
display:block;
2012-05-01 18:28:45 +00:00
color: @subtext;
2011-08-09 15:16:18 +00:00
font-size: 11px;
line-height: 21px;
margin-top: 10px;
}
#breadcrumb {
2011-09-05 09:04:17 +00:00
.clearfix();
2011-08-27 11:59:12 +00:00
margin: 0 0 1em;
2011-08-09 15:16:18 +00:00
padding: 0;
font-size: 0.92em;
2012-05-01 18:28:45 +00:00
color: @subtext;
2011-08-09 15:16:18 +00:00
a {
2012-05-01 18:28:45 +00:00
color: @subtext;
}
}
.col2-set {
.clearfix;
width: 100%;
.col-1 {
float:left;
width: 48%;
}
.col-2 {
float: right;
width: 48%;
2011-08-09 15:16:18 +00:00
}
}
/* =Product Page
-------------------------------------------------------------- */
div.product, #content div.product {
margin-bottom: 0;
2011-08-09 15:16:18 +00:00
position: relative;
/* Main product title */
2011-08-09 15:16:18 +00:00
.product_title {
clear:none;
margin-top: 0;
padding: 0;
2011-08-09 15:16:18 +00:00
}
/* Price */
span.price, p.price {
color: @highlight;
font-size: 1.25em;
ins {
background: inherit;
}
2011-08-09 15:16:18 +00:00
del {
font-size: 0.67em;
color:fade( desaturate( @highlight, 75% ), 50% );
2011-08-09 15:16:18 +00:00
}
}
/* Stock */
2011-08-09 15:16:18 +00:00
p.stock {
font-size: 0.92em;
}
.stock {
color: @highlight;
}
.out-of-stock {
color: red;
}
/* Product image and thumbnail */
2011-08-09 15:16:18 +00:00
div.images {
float:left;
width: 48%;
margin-bottom: 2em;
2011-08-09 15:16:18 +00:00
img {
display:block;
width: 100%;
height:auto;
2012-01-12 16:41:44 +00:00
.box_shadow(0,1px,2px,0,rgba(0,0,0,0.3));
.transition();
2011-08-09 15:16:18 +00:00
}
div.thumbnails {
padding-top: 1em;
2011-08-09 15:16:18 +00:00
.clearfix;
a {
float:left;
width: 30.75%;
margin-right: 3.8%;
2011-08-09 15:16:18 +00:00
}
a.last {
margin-right: 0;
}
a.first {
clear:both;
2011-08-09 15:16:18 +00:00
}
}
}
/* Summary div (contains title, price etc) */
2011-08-09 15:16:18 +00:00
div.summary {
float: right;
width: 48%;
margin-bottom: 2em;
2011-08-09 15:16:18 +00:00
}
/* Social networking */
2011-08-09 15:16:18 +00:00
div.social {
text-align: right;
margin: 0 0 1em;
span {
margin: 0 0 0 2px;
span {
margin: 0;
}
.stButton .chicklets {
padding-left: 16px;
width: 0;
}
}
iframe {
float:left;
2011-08-09 15:16:18 +00:00
margin-top: 3px;
}
}
/* Tabs on the product page */
2011-09-05 15:16:59 +00:00
.woocommerce_tabs {
clear:both;
2011-08-09 15:16:18 +00:00
ul.tabs {
list-style:none;
2012-01-13 14:04:04 +00:00
padding: 0 0 0 1em;
margin: 0 0 1.618em;
overflow:hidden;
2012-01-13 14:04:04 +00:00
position: relative;
2012-01-13 14:04:04 +00:00
li {
border: 1px solid darken( @secondary, 10 );
.vertical_gradient( @secondary, darken( @secondary, 10 ) );
2012-01-13 14:04:04 +00:00
display: inline-block;
position: relative;
z-index: 0;
.border_radius_top(4px);
2012-01-13 14:04:04 +00:00
box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255,255,255,0.6);
margin: 0 -5px;
padding: 0 1em;
2012-01-13 14:04:04 +00:00
a {
display: inline-block;
padding: .5em 0;
font-weight:bold;
color: @secondarytext;
.darkorlighttextshadow( @secondarytext );
text-decoration: none;
2012-01-13 14:04:04 +00:00
&:hover {
text-decoration:none;
color: lighten( @secondarytext, 10 );
2012-01-13 14:04:04 +00:00
}
}
2012-01-13 14:04:04 +00:00
&.active {
2012-05-01 18:28:45 +00:00
background: @contentbg;
2012-01-13 14:04:04 +00:00
z-index: 2;
2012-05-01 18:28:45 +00:00
border-bottom-color: @contentbg;
2012-05-01 18:28:45 +00:00
a {
color: inherit;
text-shadow: inherit;
}
2012-01-13 14:04:04 +00:00
&:before {
2012-05-01 18:28:45 +00:00
box-shadow: 2px 2px 0 @contentbg;
2012-01-13 14:04:04 +00:00
}
2012-01-13 14:04:04 +00:00
&:after {
2012-05-01 18:28:45 +00:00
box-shadow: -2px 2px 0 @contentbg;
2012-01-13 14:04:04 +00:00
}
}
&:before, &:after {
border: 1px solid darken( @secondary, 10 );
position:absolute;
2012-01-13 14:04:04 +00:00
bottom: -1px;
width: 5px;
height: 5px;
content: " ";
}
&:before {
left: -6px;
-webkit-border-bottom-right-radius: 4px;
-mox-border-bottom-right-radius: 4px;
2012-01-13 14:04:04 +00:00
border-bottom-right-radius: 4px;
border-width: 0 1px 1px 0;
box-shadow: 2px 2px 0 darken( @secondary, 10 );
2012-01-13 14:04:04 +00:00
}
&:after {
right: -6px;
-webkit-border-bottom-left-radius: 4px;
-mox-border-bottom-left-radius: 4px;
2012-01-13 14:04:04 +00:00
border-bottom-left-radius: 4px;
border-width: 0 0 1px 1px;
box-shadow: -2px 2px 0 darken( @secondary, 10 );
2012-01-13 14:04:04 +00:00
}
}
&:before {
position:absolute;
2012-01-13 14:04:04 +00:00
content: " ";
width: 100%;
bottom: 0;
left: 0;
border-bottom: 1px solid darken( @secondary, 10 );
2012-01-13 14:04:04 +00:00
z-index: 1;
}
2011-08-09 15:16:18 +00:00
}
.panel {
margin: 0 0 2em;
padding: 0;
}
2011-08-09 15:16:18 +00:00
}
/* Cart button */
p.cart {
float: right;
2011-08-09 15:16:18 +00:00
}
/* add to cart forms */
form.cart {
margin-bottom: 2em;
.clearfix();
2011-08-09 15:16:18 +00:00
div.quantity {
float:left;
margin: 0 4px 0 0;
2011-08-09 15:16:18 +00:00
}
table {
border-width: 0 0 1px 0;
td {
padding-left:0;
}
div.quantity {
float:none;
margin: 0;
}
small.stock {
display:block;
float:none;
}
2011-08-09 15:16:18 +00:00
}
.variations {
margin-bottom: 1em;
label {
font-weight: bold;
}
select {
width: 100%;
float:left;
}
td.label {
padding-right: 1em;
}
td {
vertical-align: top;
}
2011-08-09 15:16:18 +00:00
}
.button {
vertical-align: middle;
float:left;
2011-08-09 15:16:18 +00:00
}
.group_table {
td.label {
padding-right: 1em;
padding-left: 1em;
}
td {
vertical-align: top;
}
}
2011-08-09 15:16:18 +00:00
}
}
/* Sale labels */
2011-08-09 15:16:18 +00:00
span.onsale {
min-height: 32px;
min-width: 32px;
padding: 4px;
font-size: 12px;
font-weight:bold;
position:absolute;
2011-08-09 15:16:18 +00:00
text-align: center;
line-height: 32px;
top: 6px;
left: 6px;
margin: 0;
2011-08-09 15:16:18 +00:00
.border_radius(20px);
.vertical_gradient( lighten( @highlight, 10), @highlight );
.text_shadow( 0, -1px, 0, @highlight );
2012-05-01 18:28:45 +00:00
color: @highlightext;
-webkit-box-shadow:
2012-01-11 19:07:19 +00:00
inset 0 1px 0 rgba(255,255,255,0.3),
inset 0 -1px 0 rgba(0,0,0,0.2),
0 1px 2px rgba(0,0,0,0.2);
-moz-box-shadow:
2012-01-11 19:07:19 +00:00
inset 0 1px 0 rgba(255,255,255,0.3),
inset 0 -1px 0 rgba(0,0,0,0.2),
0 1px 2px rgba(0,0,0,0.2);
box-shadow:
2012-01-11 19:07:19 +00:00
inset 0 1px 0 rgba(255,255,255,0.3),
inset 0 -1px 0 rgba(0,0,0,0.2),
0 1px 2px rgba(0,0,0,0.2);
2011-08-09 15:16:18 +00:00
}
/* Product loops */
2011-08-09 15:16:18 +00:00
.products ul, ul.products {
margin: 0 0 1em;
2011-08-27 11:59:12 +00:00
padding: 0;
list-style:none outside;
clear:both;
2012-07-19 21:20:44 +00:00
.clearfix();
2012-01-06 14:02:34 +00:00
li {
list-style:none outside;
2012-01-06 14:02:34 +00:00
}
2011-08-09 15:16:18 +00:00
}
.related, .upsells.products {
2012-01-12 16:41:44 +00:00
.clearfix();
ul.products, ul {
float:none;
2012-05-13 20:02:07 +00:00
li.product {
width: 48%;
img {
width: 100%;
height:auto;
}
}
}
}
ul.products {
2012-05-13 20:02:07 +00:00
li.product {
float:left;
2012-01-12 00:45:20 +00:00
margin: 0 3.8% 2.992em 0;
2011-08-27 11:59:12 +00:00
padding: 0;
2011-08-09 15:16:18 +00:00
position: relative;
width: 22.05%;
margin-left: 0;
2011-08-09 15:16:18 +00:00
.onsale {
top: 0;
right: 0;
left:auto;
margin: -6px -6px 0 0;
2011-08-09 15:16:18 +00:00
}
2012-01-12 00:45:20 +00:00
h3 {
padding: .5em 0;
margin: 0;
font-size: 1em;
2012-01-12 00:45:20 +00:00
}
2011-08-09 15:16:18 +00:00
a {
text-decoration:none;
2011-08-09 15:16:18 +00:00
}
a img {
width: 100%;
height:auto;
display:block;
2011-08-27 11:59:12 +00:00
margin: 0 0 8px;
2012-01-12 15:25:13 +00:00
.box_shadow(0,1px,2px,0,rgba(0,0,0,0.3));
.transition();
2011-08-09 15:16:18 +00:00
}
a:hover img {
2012-01-12 15:25:13 +00:00
.box_shadow(0,1px,3px,0,rgba(0,0,0,0.4));
2011-08-09 15:16:18 +00:00
}
strong {
display:block;
2011-08-09 15:16:18 +00:00
}
.price {
color: @highlight;
display:block;
font-weight:normal;
margin-bottom: .5em;
2011-08-09 15:16:18 +00:00
del {
font-size: 0.67em;
color:fade( desaturate( @highlight, 75% ), 50% );
2011-08-09 15:16:18 +00:00
margin: -2px 0 0 0;
}
2012-01-12 00:45:20 +00:00
ins {
background:none;
2012-01-12 00:45:20 +00:00
}
2011-08-09 15:16:18 +00:00
.from {
font-size: 0.67em;
2011-08-09 15:16:18 +00:00
margin: -2px 0 0 0;
2012-01-12 00:45:20 +00:00
text-transform: uppercase;
color:fade( desaturate( @highlight, 75% ), 50% );
2011-08-09 15:16:18 +00:00
}
}
}
li.first {
clear:both;
2011-08-09 15:16:18 +00:00
}
li.last {
margin-right: 0;
}
}
.woocommerce_result_count {
float: left;
margin: 0 0 1em;
}
.woocommerce_ordering {
margin: 0 0 1em;
float: right;
select {
vertical-align: top;
}
}
nav.woocommerce_pagination, #content nav.woocommerce_pagination {
text-align: center;
ul {
display: inline-block;
white-space: nowrap;
clear: both;
border: 1px solid darken( @secondary, 10 );
border-right: 0;
margin: 1px;
li {
border-right: 1px solid darken( @secondary, 10 );
padding: 0;
margin: 0;
float: left;
display: inline;
overflow: hidden;
a, span {
margin: 0;
text-decoration: none;
padding: 0;
line-height: 1em;
font-size: 1em;
font-weight: normal;
padding: .5em;
min-width: 1em;
display: block;
}
span.current, a:hover, a:focus {
background: @secondary;
color: darken( @secondary, 40 );
}
}
}
}
2011-08-09 15:16:18 +00:00
/* =Buttons
-------------------------------------------------------------- */
a.button, button.button, input.button, #respond input#submit, #content input.button {
font-size: 100%;
margin: 0;
line-height: 1em;
2012-01-11 19:07:19 +00:00
cursor: pointer;
position: relative;
font-family: inherit;
2012-01-11 19:07:19 +00:00
text-decoration:none;
overflow: visible;
padding: 6px 10px;
2012-01-11 19:07:19 +00:00
text-decoration:none;
font-weight:bold;
.border_radius(2px);
left: auto;
text-shadow:0 1px 0 @secondary + #111;
color: @secondarytext;
.darkorlighttextshadow( @secondarytext );
border: 1px solid darken( @secondary, 20 );
.vertical_gradient( @secondary, darken( @secondary, 10 ) );
-webkit-box-shadow:
2012-01-11 19:07:19 +00:00
inset 0 -1px 0 rgba(0,0,0,0.075),
inset 0 1px 0 rgba(255,255,255,0.3),
0 1px 2px rgba(0,0,0,0.1);
-moz-box-shadow:
2012-01-11 19:07:19 +00:00
inset 0 -1px 0 rgba(0,0,0,0.075),
inset 0 1px 0 rgba(255,255,255,0.3),
0 1px 2px rgba(0,0,0,0.1);
box-shadow:
2012-01-11 19:07:19 +00:00
inset 0 -1px 0 rgba(0,0,0,0.075),
inset 0 1px 0 rgba(255,255,255,0.3),
0 1px 2px rgba(0,0,0,0.1);
&.loading {
color: lighten( @secondarytext, 10 );
border: 1px solid @secondary;
&:before {
2012-01-11 19:07:19 +00:00
content: "";
position:absolute;
top: 0;
right: 0;
left: 0;
bottom: 0;
2012-01-11 19:07:19 +00:00
background: url(../images/ajax-loader.gif) center no-repeat rgba(255,255,255,0.65);
2011-09-13 14:58:06 +00:00
}
}
2011-09-13 14:58:06 +00:00
&.added {
&:before {
content: "";
position:absolute;
height: 16px;
width: 16px;
top: 0.35em;
right: -26px;
2011-09-13 14:58:06 +00:00
text-indent: 0;
2012-01-28 15:04:53 +00:00
background: url(../images/success.png) no-repeat;
2011-09-13 14:58:06 +00:00
}
}
2011-09-13 14:58:06 +00:00
&:hover {
.vertical_gradient( @secondary, darken( @secondary, 15 ) );
text-decoration:none;
2011-09-13 14:58:06 +00:00
}
2012-01-11 19:07:19 +00:00
&:active {
top: 1px;
2012-01-11 19:07:19 +00:00
}
2012-01-11 19:07:19 +00:00
&.alt {
.vertical_gradient( @primary, darken( @primary, 10 ) );
border-color: darken(@primary, 20);
color: @primarytext;
.darkorlighttextshadow( @primarytext, 0.6 );
2012-01-11 19:07:19 +00:00
&:hover {
.vertical_gradient( @primary, darken( @primary, 15 ) );
color:@primarytext + #111;
.darkorlighttextshadow( @primarytext + #111, 0.6 );
2012-01-11 19:07:19 +00:00
}
}
2011-08-09 15:16:18 +00:00
}
2012-01-11 19:07:19 +00:00
.cart .button, .cart input.button {
float:none;
2011-08-09 15:16:18 +00:00
}
/* =Quantity inputs
-------------------------------------------------------------- */
.quantity, #content .quantity {
width: 60px;
position: relative;
margin: 0 auto;
overflow:hidden;
zoom: 1;
input.qty {
width: 40px;
height: 28px;
float:left;
padding: 0;
text-align: center;
border: 1px solid darken( @secondary, 20 );
border-right: 0;
.border_radius_right(0);
.inset_box_shadow( 0, 0, 2px, 0, @secondary );
font-weight:bold;
.border_radius_left(2px);
}
.plus, .minus {
display:block;
padding: 0;
margin: 0;
position:absolute;
text-align: center;
vertical-align: text-top;
width: 20px;
height: 15px;
text-decoration:none;
overflow: visible;
text-decoration:none;
font-weight:bold;
cursor: pointer;
line-height: 13px;
font-size: 12px;
.border_radius(2px);
color: @secondarytext;
.darkorlighttextshadow( @secondarytext );
border: 1px solid darken( @secondary, 20 );
.vertical_gradient( @secondary, darken( @secondary, 10 ) );
-webkit-box-shadow:
inset 0 -1px 0 rgba(0,0,0,0.075),
inset 0 1px 0 rgba(255,255,255,0.3),
0 1px 2px rgba(0,0,0,0.1);
-moz-box-shadow:
inset 0 -1px 0 rgba(0,0,0,0.075),
inset 0 1px 0 rgba(255,255,255,0.3),
0 1px 2px rgba(0,0,0,0.1);
box-shadow:
inset 0 -1px 0 rgba(0,0,0,0.075),
inset 0 1px 0 rgba(255,255,255,0.3),
0 1px 2px rgba(0,0,0,0.1);
&:hover {
.vertical_gradient( @secondary, darken( @secondary, 15 ) );
}
}
.plus {
top: 0;
right: 0;
border-bottom: 0;
.border_radius_bottom(0);
}
.minus {
bottom: 0;
right: 0;
.border_radius_top(0);
}
}
2011-09-05 09:04:17 +00:00
/* =Reviews/comments
-------------------------------------------------------------- */
2011-08-09 15:16:18 +00:00
#reviews {
h2 small {
float: right;
2012-05-01 18:28:45 +00:00
color: @subtext;
2011-08-09 15:16:18 +00:00
font-size: 15px;
line-height: 21px;
margin: 10px 0 0 0;
a {
text-decoration:none;
2012-05-01 18:28:45 +00:00
color: @subtext;
2011-08-09 15:16:18 +00:00
}
}
h3 {
margin: 0;
}
#respond {
margin: 0;
border: 0;
padding: 0;
}
#comment {
height: 75px;
}
#comments {
.add_review {
2012-01-12 16:41:44 +00:00
.clearfix();
2011-08-09 15:16:18 +00:00
}
h2 {
clear:none;
2011-08-09 15:16:18 +00:00
}
ol.commentlist {
2012-01-12 16:41:44 +00:00
.clearfix();
2011-08-27 11:59:12 +00:00
margin: 0;
width: 100%;
background:none;
2011-08-09 15:16:18 +00:00
li {
padding: 00;
margin: 0 0 20px;
border: 0;
position: relative;
background: 0;
border: 0;
2011-08-09 15:16:18 +00:00
.meta {
2012-05-01 18:28:45 +00:00
color: @subtext;
2011-08-09 15:16:18 +00:00
font-size: 0.75em;
}
img {
float:left;
position:absolute;
2011-08-09 15:16:18 +00:00
top: 0;
left: 0;
padding: 3px;
width: 32px;
height:auto;
background: @secondary;
border: 1px solid darken( @secondary, 3 );
2011-08-09 15:16:18 +00:00
margin: 0;
line-height: 1;
}
.comment-text {
margin: 0 0 0 50px;
border: 1px solid darken( @secondary, 3 );
.border_radius(4px);
padding: 1em 1em 0;
2011-08-09 15:16:18 +00:00
p {
margin: 0 0 1em;
2011-08-09 15:16:18 +00:00
}
p.meta {
font-size: 0.83em;
2011-08-09 15:16:18 +00:00
}
}
}
}
.commentlist > li:before {
content: "";
}
2011-08-09 15:16:18 +00:00
}
}
/* Start rating */
2011-08-09 15:16:18 +00:00
.star-rating {
float: right;
width: 80px;
height: 16px;
background: url(../images/star.png) repeat-x left 0;
span {
background: url(../images/star.png) repeat-x left -32px;
height: 0;
padding-top: 16px;
overflow:hidden;
float:left;
2011-08-09 15:16:18 +00:00
}
}
.hreview-aggregate {
.star-rating {
margin: 10px 0 0 0;
}
}
#review_form {
#respond {
.clearfix();
position: static;
2011-08-27 11:59:12 +00:00
margin: 0;
width: auto;
padding: 0 0 0;
background: transparent none;
border: 0;
2011-08-09 15:16:18 +00:00
p {
2011-08-27 11:59:12 +00:00
margin: 0 0 10px;
2011-08-09 15:16:18 +00:00
}
.form-submit {
input {
left: auto;
}
}
textarea {
-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
-moz-box-sizing: border-box; /* Firefox, other Gecko */
box-sizing: border-box; /* Opera/IE 8+ */
width: 100%;
}
2011-08-09 15:16:18 +00:00
}
}
p.stars {
2012-01-12 16:41:44 +00:00
.clearfix();
2011-08-09 15:16:18 +00:00
span {
width: 80px;
height: 16px;
position: relative;
float:left;
2011-08-09 15:16:18 +00:00
background: url(../images/star.png) repeat-x left 0;
a {
float:left;
position:absolute;
2011-08-09 15:16:18 +00:00
left: 0;
top: 0;
width: 16px;
height: 0;
padding-top: 16px;
overflow:hidden;
2011-08-09 15:16:18 +00:00
}
a:hover, a:focus {
background: url(../images/star.png) repeat-x left -16px;
}
a.active {
background: url(../images/star.png) repeat-x left -32px;
}
a.star-1 { width: 16px; z-index: 10; }
a.star-2 { width: 32px; z-index: 9; }
a.star-3 { width: 48px; z-index: 8; }
a.star-4 { width: 64px; z-index: 7; }
a.star-5 { width: 80px; z-index: 6; }
}
}
/* =Tables
-------------------------------------------------------------- */
2011-09-05 09:04:17 +00:00
table.shop_attributes {
border: 0;
2012-01-12 16:41:44 +00:00
border-top: 1px dotted rgba(0,0,0,0.1);
margin-bottom: 1.618em;
width: 100%;
2011-09-05 09:04:17 +00:00
th {
width: 150px;
font-weight:bold;
2011-09-05 09:04:17 +00:00
padding: 8px;
border-top: 0;
2012-01-12 16:41:44 +00:00
border-bottom: 1px dotted rgba(0,0,0,0.1);
2011-09-05 09:04:17 +00:00
margin: 0;
line-height: 1.5em;
}
td {
font-style: italic;
padding: 0;
border-top: 0;
2012-01-12 16:41:44 +00:00
border-bottom: 1px dotted rgba(0,0,0,0.1);
2011-09-05 09:04:17 +00:00
margin: 0;
line-height: 1.5em;
p {
margin: 0;
padding: 8px 0;
2011-09-05 09:04:17 +00:00
}
}
.alt td, .alt th {
2012-01-12 16:41:44 +00:00
background: rgba(0,0,0,0.025);
2011-09-05 09:04:17 +00:00
}
}
2011-08-09 15:16:18 +00:00
table.shop_table {
2012-01-12 16:41:44 +00:00
border: 1px solid rgba(0,0,0,0.1);
2011-08-09 15:16:18 +00:00
margin: 0px -1px 24px 0px;
text-align:left;
2011-08-09 15:16:18 +00:00
width: 100%;
border-collapse: separate;
.border_radius(5px);
th {
font-weight:bold;
2011-08-09 15:16:18 +00:00
line-height: 18px;
2011-08-27 11:59:12 +00:00
padding: 9px 12px;
2011-08-09 15:16:18 +00:00
}
td {
2012-01-12 16:41:44 +00:00
border-top: 1px solid rgba(0,0,0,0.1);
2011-08-27 11:59:12 +00:00
padding: 6px 12px;
2011-08-09 15:16:18 +00:00
vertical-align: middle;
}
2012-04-20 11:09:49 +00:00
td.product-quantity {
text-align: center;
}
2011-08-09 15:16:18 +00:00
tfoot td {
font-weight:bold;
2011-08-09 15:16:18 +00:00
}
}
table.my_account_orders {
font-size: 0.85em;
th, td {
2011-08-27 11:59:12 +00:00
padding: 4px 8px;
2011-08-09 15:16:18 +00:00
vertical-align: top;
}
.button {
white-space:nowrap;
2011-08-09 15:16:18 +00:00
}
}
td.product-name {
dl.variation {
margin: .25em 0 .5em;
font-size: 0.8751em;
dt {
font-weight:bold;
float:left;
clear:left;
margin: 0 .25em 0 0;
padding: 0;
}
dd {
margin: 0 0 .25em 0;
}
}
p.backorder_notification {
font-size: 0.83em;
}
}
td.product-quantity {
min-width: 80px;
}
/* =Cart
-------------------------------------------------------------- */
table.cart, #content table.cart {
.product-thumbnail {
min-width: 32px;
}
img {
width: 32px;
height:auto;
}
th, td {
vertical-align: middle;
}
a.remove {
display:block;
height: 16px;
width: 16px;
text-indent: -9999px;
background: url(../images/remove.png) darken( @secondary, 10 );
}
a.remove:hover {
background-color: red;
}
td.actions {
text-align: right;
.coupon {
float:left;
label {
display:none;
}
.input-text {
width: 80px;
float:left;
-webkit-box-sizing:border-box;
-moz-box-sizing:border-box;
box-sizing:border-box;
.inset_box_shadow(0, 1px, 4px, 0, rgba(0,0,0,0.1));
border: 1px solid darken( @secondary, 10 );
padding: 6px 6px 5px;
margin: 0 4px 0 0;
outline: 0;
//background: lighten(@secondary, 5) none;
line-height: 1em;
}
}
.button.alt {
float: right;
margin-left: .25em;
}
}
input {
margin: 0;
vertical-align: middle;
line-height: 1em;
}
}
2011-08-09 15:16:18 +00:00
/* =Cart Sidebar
-------------------------------------------------------------- */
2011-08-09 15:16:18 +00:00
ul.cart_list, ul.product_list_widget {
list-style:none outside;
2011-08-27 11:59:12 +00:00
padding: 0;
margin: 0;
2011-08-09 15:16:18 +00:00
li {
2011-08-27 11:59:12 +00:00
padding: 4px 0;
margin: 0;
2011-08-09 15:16:18 +00:00
.clearfix;
list-style:none;
2011-08-09 15:16:18 +00:00
a {
display:block;
font-weight:bold;
2011-08-09 15:16:18 +00:00
}
img {
2012-01-12 15:25:13 +00:00
float: right;
margin-left: 4px;
width: 32px;
height:auto;
2012-01-12 15:25:13 +00:00
.box_shadow(0,1px,2px,0,rgba(0,0,0,0.3));
}
dl {
margin: 0;
font-size: 0.8751em;
padding-left: 1em;
border-left: 2px solid rgba(0,0,0,0.1);
2012-01-12 15:25:13 +00:00
dt {
float:left;
clear:left;
margin-right: .25em;
2012-01-12 15:25:13 +00:00
}
2012-01-12 15:25:13 +00:00
dd {
margin-bottom: .5em;
2012-01-12 15:25:13 +00:00
}
2011-08-09 15:16:18 +00:00
}
2012-01-12 16:41:44 +00:00
.star-rating {
float:none;
2012-01-12 16:41:44 +00:00
}
2011-08-09 15:16:18 +00:00
}
}
2011-08-09 15:16:18 +00:00
.widget_shopping_cart {
.total {
border-top: 3px double @secondary;
2011-08-09 15:16:18 +00:00
padding: 4px 0 0;
strong {
min-width: 40px;
display: inline-block;
}
}
.buttons {
.clearfix;
}
}
/* =Cart Page
-------------------------------------------------------------- */
2011-08-09 15:16:18 +00:00
.cart-collaterals {
.clearfix;
width: 100%;
2011-08-09 15:16:18 +00:00
.related {
width: 30.75%;
float:left;
2011-08-09 15:16:18 +00:00
}
2011-08-09 15:16:18 +00:00
.cross-sells {
width: 48%;
float:left;
ul.products {
float:none;
li {
width: 48%;
}
}
2011-08-09 15:16:18 +00:00
}
.shipping_calculator {
width: 48%;
2011-08-09 15:16:18 +00:00
text-align: right;
.clearfix;
margin: 20px 0 0 0;
clear: right;
float: right;
2011-08-09 15:16:18 +00:00
.button {
width: 100%;
float:none;
display:block;
2011-08-09 15:16:18 +00:00
}
.col2-set {
.col-1, .col-2 {
width: 47%;
2011-08-09 15:16:18 +00:00
}
}
}
.cart_totals {
float: right;
width: 48%;
2011-08-09 15:16:18 +00:00
text-align: right;
p {
2011-08-27 11:59:12 +00:00
margin: 0;
small {
2012-05-01 18:28:45 +00:00
color: @subtext;
font-size: 0.83em;
}
2011-08-09 15:16:18 +00:00
}
table {
border-collapse: separate;
.border_radius(5px);
margin: 0 0 6px;
2011-08-09 15:16:18 +00:00
padding: 0;
tr:first-child {
th, td {
2011-08-27 11:59:12 +00:00
border-top: 0;
2011-08-09 15:16:18 +00:00
}
}
td, th {
2012-05-13 20:02:07 +00:00
padding: 6px 3px;
2011-08-09 15:16:18 +00:00
}
small {
display:block;
2012-05-01 18:28:45 +00:00
color: @subtext;
2011-08-09 15:16:18 +00:00
}
2011-09-11 16:42:50 +00:00
select {
width: 100%;
}
2011-08-09 15:16:18 +00:00
}
.discount td {
color: @highlight;
2011-08-09 15:16:18 +00:00
}
tr td, tr th {
border-top: 1px solid @secondary;
2012-05-13 20:02:07 +00:00
padding: 6px 6px;
2011-08-09 15:16:18 +00:00
}
2011-08-12 10:22:07 +00:00
a.button.alt {
2011-08-09 15:16:18 +00:00
width: 193px;
display:block;
2011-08-09 15:16:18 +00:00
font-size: 0.92em;
}
}
}
/* =Forms
-------------------------------------------------------------- */
form {
2011-08-09 15:16:18 +00:00
.form-row {
.clearfix;
padding: 3px;
margin: 0 0 6px;
label {
display:block;
}
label.hidden {
visibility:hidden;
}
select {
width: 100%;
cursor: pointer;
margin: 0;
}
.required {
color: red;
font-weight:bold;
border: 0;
}
.input-checkbox {
display: inline;
margin: -2px 8px 0 0;
text-align: center;
vertical-align: middle;
}
label.checkbox {
display: inline;
}
2011-08-09 15:16:18 +00:00
input.input-text, textarea {
-webkit-box-sizing:border-box;
-moz-box-sizing:border-box;
box-sizing:border-box;
width: 100%;
margin: 0;
outline: 0;
line-height: 1em;
}
textarea {
height: 3.5em;
line-height: 1.5em;
display:block;
-moz-box-shadow:none;
-webkit-box-shadow:none;
box-shadow:none;
2011-08-09 15:16:18 +00:00
}
}
.form-row-first, .form-row-last {
float:left;
width: 47%;
overflow: visible;
}
.form-row-last {
float: right;
}
2011-08-09 15:16:18 +00:00
}
form.login, form.checkout_coupon, form.register {
border: 1px solid darken( @secondary, 10 );
padding: 20px;
margin: 2em 0 2em 0px;
text-align:left;
.border_radius(5px);
2011-08-09 15:16:18 +00:00
}
2012-05-13 20:02:07 +00:00
ul#shipping_method {
list-style: none outside;
margin: 0;
padding: 0;
li {
margin: 0;
padding: .25em 0 .25em 22px;
text-indent: -22px;
list-style: none outside;
}
.amount {
font-weight: bold;
}
}
2011-08-09 15:16:18 +00:00
/* =Checkout
-------------------------------------------------------------- */
.checkout {
.col-2 {
h3 {
float:left;
clear:none;
}
.notes {
clear:left;
}
.form-row-first {
clear:left;
}
}
div.shipping-address {
padding: 0;
clear:left;
width: 100%;
}
#shiptobilling {
float: right;
line-height: 1.62em;
margin: 0 0 0 0;
padding: 0;
label {
font-size: 0.6875em;
}
}
2011-08-09 15:16:18 +00:00
}
/* Payment box - appears on checkout and page page */
2011-08-09 15:16:18 +00:00
#payment {
background: @secondary;
2011-08-09 15:16:18 +00:00
.border_radius(5px);
2011-08-09 15:16:18 +00:00
ul.payment_methods {
.clearfix;
text-align:left;
2011-08-09 15:16:18 +00:00
padding: 1em;
border-bottom: 1px solid darken( @secondary, 10 );
2011-08-27 11:59:12 +00:00
margin: 0;
list-style:none outside;
2011-08-09 15:16:18 +00:00
li {
line-height: 2em;
text-align:left;
2011-08-27 11:59:12 +00:00
margin: 0;
font-weight:normal;
2011-08-09 15:16:18 +00:00
input {
2011-08-27 11:59:12 +00:00
margin: 0 1em 0 0;
2011-08-09 15:16:18 +00:00
}
img {
vertical-align: middle;
margin: -2px 0 0 .5em;
position: relative;
}
}
}
2011-08-09 15:16:18 +00:00
div.form-row {
padding: 1em;
border-top: 1px solid lighten( @secondary, 5 );
2011-08-09 15:16:18 +00:00
}
#place_order {
float: right;
margin: 0;
}
.terms {
2011-08-27 11:59:12 +00:00
padding: 0 1em 0;
2011-08-09 15:16:18 +00:00
text-align: right;
}
div.payment_box {
position: relative;
2011-08-09 15:16:18 +00:00
width: 96%;
2012-01-12 15:25:13 +00:00
padding: 1em 2%;
2011-08-09 15:16:18 +00:00
margin: 1em 0 1em 0;
font-size: 0.92em;
2012-01-12 15:25:13 +00:00
.border_radius(2px);
line-height: 1.5em;
.vertical_gradient( darken( @secondary, 5 ), darken( @secondary, 10 ) );
.box_shadow(0,1px,2px,0,rgba(0,0,0,0.25));
color: @secondarytext;
.darkorlighttextshadow( @secondarytext );
2012-01-12 15:25:13 +00:00
p:last-child {
margin-bottom: 0;
2012-01-12 15:25:13 +00:00
}
2011-08-09 15:16:18 +00:00
#cc-expire-month, #cc-expire-year {
width: 48%;
float:left;
2011-08-09 15:16:18 +00:00
}
#cc-expire-year {
float: right;
}
span.help {
font-size: 11px;
2012-05-01 18:28:45 +00:00
color: @subtext;
2011-08-09 15:16:18 +00:00
line-height: 13px;
font-weight:normal;
2011-08-09 15:16:18 +00:00
}
2012-01-12 15:25:13 +00:00
.form-row {
2011-08-09 15:16:18 +00:00
margin: 0 0 1em;
2012-01-12 15:25:13 +00:00
select {
width: 48%;
float:left;
margin-right: 3.8%;
2012-01-12 15:25:13 +00:00
&:nth-child(3n) {
margin-right: 0;
2012-01-12 15:25:13 +00:00
}
}
2011-08-09 15:16:18 +00:00
}
&:after {
content: "";
display:block;
border: 8px solid darken( @secondary, 5 ); /* arrow size / color */
border-right-color: transparent;
border-left-color: transparent;
border-top-color: transparent;
position:absolute;
top: -3px;
left: 0;
margin: -1em 0 0 2em;
2011-08-09 15:16:18 +00:00
}
}
}
/* =Order Page
-------------------------------------------------------------- */
.order_details {
2012-01-12 16:41:44 +00:00
.clearfix();
margin: 0 0 1.5em;
list-style:none;
2011-08-09 15:16:18 +00:00
li {
float:left;
margin-right: 2em;
2011-08-09 15:16:18 +00:00
text-transform: uppercase;
font-size: 0.715em;
2011-08-09 15:16:18 +00:00
line-height: 1em;
border-right: 1px dashed darken( @secondary, 10 );
padding-right: 2em;
2011-08-09 15:16:18 +00:00
strong {
display:block;
font-size: 1.4em;
text-transform:none;
2011-08-09 15:16:18 +00:00
line-height: 1.5em;
}
}
2011-08-09 15:16:18 +00:00
li.method {
border:none;
}
}
/* =Account Page
2011-08-09 15:16:18 +00:00
-------------------------------------------------------------- */
.addresses {
.title {
2012-01-12 16:41:44 +00:00
.clearfix();
2011-08-09 15:16:18 +00:00
h3 {
float:left;
2011-08-09 15:16:18 +00:00
}
.edit {
float: right;
}
}
}
2011-09-23 15:50:13 +00:00
ol.commentlist.notes {
li.note {
2011-09-23 15:50:13 +00:00
p.meta {
font-weight:bold;
margin-bottom: 0;
2011-09-23 15:50:13 +00:00
}
.description {
p:last-child {
margin-bottom: 0;
2011-09-23 15:50:13 +00:00
}
}
}
}
2012-01-12 15:25:13 +00:00
ul.digital-downloads {
margin-left: 0;
padding-left: 0;
2012-01-12 15:25:13 +00:00
li {
list-style:none;
margin-left: 0;
padding-left: 1.5em;
2012-05-21 11:07:01 +00:00
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAHCAYAAAA1WQxeAAAAQUlEQVQIHWP8//8/AwgwMjLWgxlQAijeCGIyIQtiYxNUwAjUhWI0uilMMLvQJUB8kBzYCmyKYGJwN8AEYDphJgIAPtccffZCsOoAAAAASUVORK5CYII=) left no-repeat; /* download icon */
2012-01-12 15:25:13 +00:00
.count {
float: right;
}
}
}
2011-09-23 15:50:13 +00:00
2012-01-13 12:34:44 +00:00
/* =Layered Nav Widget
2011-08-09 15:16:18 +00:00
-------------------------------------------------------------- */
.widget_layered_nav {
ul {
margin: 0;
padding: 0;
border: 0;
list-style:none outside;
li {
.clearfix();
padding: 0 0 1px;
list-style:none;
a, span {
padding: 1px 0;
float:left;
}
}
li.chosen {
a {
padding: 0 6px 0 18px;
border: 1px solid @tertiary;
background: @tertiary url(../images/cross_white.png) no-repeat 6px center;
.inset_box_shadow(0, 1px, 1px, rgba(255,255,255,0.5));
color: @tertiarytext;
.border_radius(3px);
}
}
small.count {
float: right;
margin-left: 6px;
font-size: 1em;
2011-08-09 15:16:18 +00:00
padding: 1px 0;
color: @subtext;
2011-08-09 15:16:18 +00:00
}
}
}
.widget_layered_nav_filters {
ul {
margin: 0;
padding: 0;
border: 0;
list-style:none outside;
overflow: hidden;
zoom: 1;
li {
float: left;
padding: 0 1px 1px 0;
list-style:none;
a {
padding: 0 6px 0 18px;
border: 1px solid @tertiary;
background: @tertiary url(../images/cross_white.png) no-repeat 6px center;
.inset_box_shadow(0, 1px, 1px, rgba(255,255,255,0.5));
color: @tertiarytext;
.border_radius(3px);
float: left;
}
2011-08-09 15:16:18 +00:00
}
}
2012-01-13 12:34:44 +00:00
}
2012-02-03 16:16:46 +00:00
/* =Price Filter Widget
2012-01-13 12:34:44 +00:00
-------------------------------------------------------------- */
.widget_price_filter {
.price_slider {
margin-bottom: 1em;
2012-01-13 12:34:44 +00:00
}
.price_slider_amount {
text-align: right;
line-height: 2.4em;
font-size: 0.8751em;
2012-01-13 12:34:44 +00:00
.button {
font-size: 1.15em;
2012-01-13 12:34:44 +00:00
}
.button {
float:left;
2012-01-13 12:34:44 +00:00
}
}
.ui-slider {
position: relative;
text-align:left;
2012-01-13 12:34:44 +00:00
}
.ui-slider .ui-slider-handle {
position:absolute;
z-index: 2;
width: 0.9em;
height: 0.9em;
2012-01-13 12:34:44 +00:00
.border_radius(1em);
2012-05-01 18:28:45 +00:00
border: 1px solid darken( @tertiary, 50 );
2012-01-13 12:34:44 +00:00
cursor: pointer;
2012-05-01 18:28:45 +00:00
.vertical_gradient( @tertiary, darken( @tertiary, 10 ));
outline:none;
top: -.3em;
-webkit-box-shadow:
2012-01-13 12:34:44 +00:00
0 1px 2px rgba(0,0,0,0.3),
inset 0 0 0 1px rgba(255,255,255,0.65);
-moz-box-shadow:
2012-01-13 12:34:44 +00:00
0 1px 2px rgba(0,0,0,0.3),
inset 0 0 0 1px rgba(255,255,255,0.65);
box-shadow:
2012-01-13 12:34:44 +00:00
0 1px 2px rgba(0,0,0,0.3),
inset 0 0 0 1px rgba(255,255,255,0.65);
2012-01-13 12:34:44 +00:00
&:last-child {
margin-left: -1em;
2012-01-13 12:34:44 +00:00
}
}
.ui-slider .ui-slider-range {
position:absolute;
z-index: 1;
font-size: .7em;
display:block;
border: 0;
2012-05-21 11:07:01 +00:00
background: @tertiary url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAADCAYAAABS3WWCAAAAFUlEQVQIHWP4//9/PRMDA8NzEPEMADLLBU76a5idAAAAAElFTkSuQmCC) top repeat-x; /* transparent png */
2012-01-13 12:34:44 +00:00
.inset_box_shadow(0,0,0,1px,rgba(0,0,0,0.5));
.border_radius(1em);
}
.price_slider_wrapper .ui-widget-content {
2012-01-13 12:34:44 +00:00
.border_radius(1em);
.vertical_gradient( @quaternary, lighten( @quaternary, 30 ) );
2012-01-13 12:34:44 +00:00
}
.ui-slider-horizontal {
height: .5em;
2012-01-13 12:34:44 +00:00
}
.ui-slider-horizontal .ui-slider-range {
top: 0;
height: 100%;
2012-01-13 12:34:44 +00:00
}
.ui-slider-horizontal .ui-slider-range-min {
left: -1px;
2012-01-13 12:34:44 +00:00
}
.ui-slider-horizontal .ui-slider-range-max {
right: -1px;
2012-01-13 12:34:44 +00:00
}
}