woocommerce/assets/css/woocommerce.less

1535 lines
27 KiB
Plaintext
Raw Normal View History

2011-08-09 15:16:18 +00:00
.clearfix() {
&:after {
content:"";
display:block;
clear:both;
}
2011-08-09 15:16:18 +00:00
}
.border_radius(@radius:4px) {
-webkit-border-radius:@radius;
-moz-border-radius:@radius;
border-radius:@radius;
}
.border_radius_right(@radius:4px) {
-webkit-border-top-right-radius: @radius;
-webkit-border-bottom-right-radius: @radius;
-moz-border-radius-topright: @radius;
-moz-border-radius-bottomright: @radius;
border-top-right-radius: @radius;
border-bottom-right-radius: @radius;
}
.border_radius_left(@radius:4px) {
-webkit-border-top-left-radius: @radius;
-webkit-border-bottom-left-radius: @radius;
-moz-border-radius-topleft: @radius;
-moz-border-radius-bottomleft: @radius;
border-top-left-radius: @radius;
border-bottom-left-radius: @radius;
}
.border_radius_bottom(@radius:4px) {
-webkit-border-bottom-left-radius: @radius;
-webkit-border-bottom-right-radius: @radius;
-moz-border-radius-bottomleft: @radius;
-moz-border-radius-bottomright: @radius;
border-bottom-left-radius: @radius;
border-bottom-right-radius: @radius;
}
.border_radius_top(@radius:4px) {
-webkit-border-top-left-radius: @radius;
-webkit-border-top-right-radius: @radius;
-moz-border-radius-topleft: @radius;
-moz-border-radius-topright: @radius;
border-top-left-radius: @radius;
border-top-right-radius: @radius;
}
2011-09-13 14:58:06 +00:00
.opacity(@opacity:0.75) {
filter:~"alpha(opacity=@opacity * 100)";
-moz-opacity:@opacity;
-khtml-opacity: @opacity;
opacity: @opacity;
}
2011-08-09 15:16:18 +00:00
.box_shadow(@shadow_x:3px, @shadow_y:3px, @shadow_rad:3px, @shadow_in:3px, @shadow_color:#888) {
box-shadow:@shadow_x @shadow_y @shadow_rad @shadow_in @shadow_color;
-webkit-box-shadow:@shadow_x @shadow_y @shadow_rad @shadow_in @shadow_color;
-moz-box-shadow:@shadow_x @shadow_y @shadow_rad @shadow_in @shadow_color;
}
.inset_box_shadow(@shadow_x:3px, @shadow_y:3px, @shadow_rad:3px, @shadow_in:3px, @shadow_color:#888) {
box-shadow:inset @shadow_x @shadow_y @shadow_rad @shadow_in @shadow_color;
-webkit-box-shadow:inset @shadow_x @shadow_y @shadow_rad @shadow_in @shadow_color;
-moz-box-shadow:inset @shadow_x @shadow_y @shadow_rad @shadow_in @shadow_color;
}
.text_shadow(@shadow_x:3px, @shadow_y:3px, @shadow_rad:3px, @shadow_color:#fff) {
text-shadow:@shadow_x @shadow_y @shadow_rad @shadow_color;
}
.vertical_gradient(@from: #000, @to: #FFF) {
background: @from;
background: -webkit-gradient(linear, left top, left bottom, from(@from), to(@to));
background: -webkit-linear-gradient(@from, @to);
background: -moz-linear-gradient(center top, @from 0%, @to 100%);
background: -moz-gradient(center top, @from 0%, @to 100%);
}
.transition(@selector:all, @animation:ease-in-out, @duration:.2s) {
-webkit-transition:@selector @animation @duration;
-moz-transition:@selector @animation @duration;
-o-transition:@selector @animation @duration;
transition:@selector @animation @duration;
}
/* Global/Helpers/Clears */
.clear { clear: both; }
.nobr { white-space: nowrap; }
2012-01-13 12:11:48 +00:00
.woocommerce_message, .info, .woocommerce_error, .woocommerce_info {
2012-01-12 15:25:13 +00:00
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(#f6f6f6,#eee);
.box_shadow(0,1px,2px,0,rgba(0,0,0,0.25));
.text_shadow(0,1px,0,#fff);
2012-01-25 20:37:21 +00:00
list-style: none outside;
2012-01-12 15:25:13 +00:00
&:before {
content: "";
height:16px;
width:16px;
display: block;
position: absolute;
top:.8em;
left:1em;
background-color: white;
.border_radius(1em);
}
.button {
float: right;
}
2012-01-25 20:37:21 +00:00
li {
list-style: none outside;
}
2012-01-12 15:25:13 +00:00
&:after {
content: "";
display: block;
clear: both;
2011-08-09 15:16:18 +00:00
}
}
2012-01-12 15:25:13 +00:00
.woocommerce_message {
&:before {
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAGCAYAAAAPDoR2AAAAN0lEQVQIHXWMQQ4AMAjCxv7/ZxZIanbYPIhSUbbXo2Jqf0BsA4mjgU1ioAVpSSrDVbPzFgPt7QH7qwoJ3MDCYgAAAABJRU5ErkJggg==) center no-repeat #8fae1b;
2011-08-09 15:16:18 +00:00
}
}
2012-01-13 12:11:48 +00:00
.info, .woocommerce_info {
2012-01-12 15:25:13 +00:00
&:before {
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAAFCAYAAABvsz2cAAAAG0lEQVQIHWP8DwQMQMACxIwwBliECcQDATgDAMHrBQqJ6tMZAAAAAElFTkSuQmCC) center no-repeat #18919c;
}
2011-08-09 15:16:18 +00:00
}
2012-01-12 15:25:13 +00:00
.woocommerce_error {
&:before {
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAAFCAYAAABvsz2cAAAAHUlEQVQIHWP8DwQMQMAEIkAAzmABchhBIiAGWA0Ar6MFCigWCYMAAAAASUVORK5CYII=) center no-repeat #b81c23;
}
2011-08-09 15:16:18 +00:00
}
p small {
color: #999;
}
p.demo_store {
position: fixed;
top:0;
width: 100%;
font-size: 12px;
text-align: center;
.vertical_gradient(#F7F5C6, #EEEAC1);
padding:8px 0;
border:1px solid #EEEAC1;
color:#747165;
z-index: 999999;
.inset_box_shadow(0, 0, 0, 3px, rgba(255,255,255,0.3));
}
small.note {
display: block;
color: #999;
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;
2011-08-27 11:59:12 +00:00
color: #999;
2011-08-09 15:16:18 +00:00
a {
2011-08-27 11:59:12 +00:00
color: #999;
2011-08-09 15:16:18 +00:00
}
}
/* =Product Page
-------------------------------------------------------------- */
div.product {
position: relative;
margin-bottom:0;
2011-08-09 15:16:18 +00:00
.product_title {
clear: none;
}
p.price {
color: green;
font-size: 1.3em;
del {
font-size: 14px;
color: #ccc;
2012-01-12 16:41:44 +00:00
display: block;
2011-08-09 15:16:18 +00:00
}
}
p.stock {
font-size: 0.92em;
padding: 2px 0 0 0;
}
div.images {
float: left;
width: 47%;
2011-08-09 15:16:18 +00:00
margin-bottom: 10px;
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: 10px;
.clearfix;
a {
float: left;
width:30.75%;
margin-right:3.8%;
2011-08-09 15:16:18 +00:00
img {
width:100%;
height: auto;
2011-08-09 15:16:18 +00:00
}
}
a.last {
margin-right: 0;
}
a.first {
clear: both;
}
}
}
div.summary {
float: right;
width: 48%;
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;
margin-top: 3px;
}
}
2011-09-05 15:16:59 +00:00
.woocommerce_tabs {
2011-08-09 15:16:18 +00:00
clear: both;
ul.tabs {
2012-01-13 14:04:04 +00:00
list-style: none;
padding: 0 0 0 1em;
margin:0 0 1.618em;
overflow: hidden;
position: relative;
li {
border: 1px solid #ccc;
.vertical_gradient(#eee,#ccc);
display: inline-block;
position: relative;
z-index: 0;
border-top-left-radius: 4px;
border-top-right-radius: 4px;
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;
a {
display: inline-block;
padding:.25em 0;
font-weight: bold;
color:#666;
.text_shadow(0,1px,0,rgba(255,255,255,0.6));
&:hover {
text-decoration: none;
color: #333;
}
}
&.active {
background: #FFF;
color: #333;
z-index: 2;
border-bottom-color: #FFF;
a {
color: #333;
}
&:before {
box-shadow: 2px 2px 0 #FFF;
}
&:after {
box-shadow: -2px 2px 0 #FFF;
}
}
&:before, &:after {
border: 1px solid #ccc;
position: absolute;
bottom: -1px;
width: 5px;
height: 5px;
content: " ";
}
&:before {
left: -6px;
border-bottom-right-radius: 4px;
border-width: 0 1px 1px 0;
box-shadow: 2px 2px 0 #ccc;
}
&:after {
right: -6px;
border-bottom-left-radius: 4px;
border-width: 0 0 1px 1px;
box-shadow: -2px 2px 0 #ccc;
}
}
&:before {
position: absolute;
content: " ";
width: 100%;
bottom: 0;
left: 0;
border-bottom: 1px solid #ccc;
z-index: 1;
}
2011-08-09 15:16:18 +00:00
}
}
}
.stock {
color: green;
}
.out-of-stock {
color: red;
}
p.cart {
float: right;
}
form.cart {
margin-bottom: 24px;
2012-01-12 16:41:44 +00:00
.clearfix();
2011-08-09 15:16:18 +00:00
div.quantity {
float: left;
margin: 0 4px 0 0;
}
table {
font-size: 12px;
2011-08-27 11:59:12 +00:00
border-width: 0 0 1px 0;
2011-08-09 15:16:18 +00:00
td {
2011-08-27 11:59:12 +00:00
padding: 4px 4px 4px 0;
2011-08-09 15:16:18 +00:00
}
div.quantity {
float: none;
margin: 0;
width: 72px;
}
small.stock {
display: block;
float: none;
}
}
.variations {
label {
font-weight: bold;
}
select {
width: 100%;
float: left;
}
}
.button {
vertical-align: middle;
float: left;
}
}
span.onsale {
color: #fff;
min-height: 32px;
min-width: 32px;
padding: 4px;
font-size: 12px;
2012-01-11 19:07:19 +00:00
font-weight: bold;
2011-08-09 15:16:18 +00:00
position: absolute;
text-align: center;
line-height: 32px;
top:6px;
left: 6px;
margin:0;
2011-08-09 15:16:18 +00:00
.border_radius(20px);
2012-01-11 19:07:19 +00:00
.vertical_gradient(#a1c41e,#8fae1b);
.text_shadow(0,-1px,0,#8fae1b);
-webkit-box-shadow:
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:
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:
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
}
.products ul, ul.products {
2011-08-27 11:59:12 +00:00
margin: 0 0 14px;
padding: 0;
2012-01-06 14:02:34 +00:00
list-style: none outside;
li {
list-style: none outside;
}
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;
li {
width:48%;
img {
width:100%;
height: auto;
}
}
}
}
ul.products {
2011-08-09 15:16:18 +00:00
clear: both;
margin-left:0;
padding-left:0;
2011-08-09 15:16:18 +00:00
li {
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;
}
2012-01-12 00:45:20 +00:00
h3 {
padding:.5em 0;
margin:0;
font-size:1em;
}
2011-08-09 15:16:18 +00:00
a {
text-decoration: none;
}
a img {
width: 100%;
height: auto;
2011-08-09 15:16:18 +00:00
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 {
color: #555;
display: block;
}
.price {
2012-01-12 00:45:20 +00:00
color: #8fae1b;
2011-08-09 15:16:18 +00:00
display: block;
font-weight: normal;
2012-01-12 00:45:20 +00:00
margin-bottom:.5em;
2011-08-09 15:16:18 +00:00
del {
2012-01-12 00:45:20 +00:00
font-size: 11px;
2011-08-09 15:16:18 +00:00
line-height: 10px;
margin: -2px 0 0 0;
display: block;
color: #ccc;
}
2012-01-12 00:45:20 +00:00
ins {
background: none;
}
2011-08-09 15:16:18 +00:00
.from {
2012-01-12 00:45:20 +00:00
font-size: 11px;
2011-08-09 15:16:18 +00:00
line-height: 10px;
margin: -2px 0 0 0;
display: block;
2012-01-12 00:45:20 +00:00
text-transform: uppercase;
2011-08-09 15:16:18 +00:00
color: #ccc;
}
}
}
li.first {
clear: both;
}
li.last {
margin-right: 0;
}
}
.woocommerce_ordering {
margin-bottom:24px;
}
2011-08-09 15:16:18 +00:00
/* =Buttons
-------------------------------------------------------------- */
a.button, button.button, input.button, #review_form #submit {
2012-01-11 19:07:19 +00:00
font-size: 100%;
margin: 0;
vertical-align: baseline;
*vertical-align: middle;
line-height: normal;
cursor: pointer;
position: relative;
font-family: sans-serif;
text-decoration:none;
overflow:visible;
border:1px solid #969696;
.vertical_gradient(#f5f5f5,#e1e1e1);
padding:5px 10px;
color:#676767;
text-decoration:none;
font-weight:bold;
text-shadow:0 1px 0 #fff;
margin:0;
.border_radius(2px);
-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);
2011-09-13 14:58:06 +00:00
2011-09-13 15:29:56 +00:00
&.loading {
2012-01-11 19:07:19 +00:00
color:#999;
border-color:#ccc;
2011-09-13 15:29:56 +00:00
2012-01-12 00:45:20 +00:00
&:before {
2012-01-11 19:07:19 +00:00
content: "";
position: absolute;
top:0;
right:0;
left:0;
bottom:0;
background: url(../images/ajax-loader.gif) center no-repeat rgba(255,255,255,0.65);
2011-09-13 14:58:06 +00:00
}
}
&.added {
&:before {
content:"";
position: absolute;
height:16px;
width:16px;
top:0.35em;
right:-26px;
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
}
}
&:hover {
2012-01-11 19:07:19 +00:00
.vertical_gradient(#fafafa,#e6e6e6);
2011-09-13 14:58:06 +00:00
text-decoration: none;
}
2012-01-11 19:07:19 +00:00
&:active {
top:1px;
}
&.alt {
.vertical_gradient(#ad74a2,#935386);
border-color:#522e4b;
color:#fff;
.text_shadow(0,-1px,0,rgba(0,0,0,0.6));
&:hover {
.vertical_gradient(#b784ad,#935386);
}
}
2011-08-09 15:16:18 +00:00
}
2012-01-11 19:07:19 +00:00
input.button {
padding-top:6px;
padding-bottom:7px;
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
}
2011-09-05 09:04:17 +00:00
/* =Reviews/comments
-------------------------------------------------------------- */
2011-08-09 15:16:18 +00:00
#reviews {
h2 small {
float: right;
color: #999;
font-size: 15px;
line-height: 21px;
margin: 10px 0 0 0;
a {
text-decoration: none;
color: #999;
}
}
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;
}
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;
* {
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 {
color: #999;
font-size: 0.75em;
}
img {
float: left;
position: absolute;
top: 0;
left: 0;
padding: 3px;
width:32px;
height: auto;
border: 1px solid #ddd;
background: #fff;
margin: 0;
line-height: 1;
}
.comment-text {
margin: 0 0 0 50px;
border: 1px solid #ddd;
.border_radius(5px);
padding: 11px 11px 0;
p {
margin: 0 0 11px;
}
p.meta {
font-size: 0.86em;
}
}
}
}
}
}
.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;
}
}
.hreview-aggregate {
.star-rating {
margin: 10px 0 0 0;
}
}
#review_form {
#respond {
.clearfix();
border: 1px solid #E7E7E7;
2011-08-27 11:59:12 +00:00
margin: 0;
2011-08-09 15:16:18 +00:00
padding: 10px 20px 20px;
p {
2011-08-27 11:59:12 +00:00
margin: 0 0 10px;
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;
background: url(../images/star.png) repeat-x left 0;
a {
float: left;
position: absolute;
left: 0;
top: 0;
width: 16px;
height: 0;
padding-top: 16px;
overflow: hidden;
}
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);
2012-01-13 15:13:48 +00:00
margin-bottom:1.618em;
width:100%;
2011-09-05 09:04:17 +00:00
th {
width: 150px;
font-weight: bold;
padding: 8px;
color: black;
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;
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;
}
}
.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;
width: 100%;
border-collapse: separate;
.border_radius(5px);
th {
color: #888;
font-size: 12px;
font-weight: bold;
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;
}
tfoot td {
font-weight: bold;
}
}
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;
}
}
/* =Cart
-------------------------------------------------------------- */
table.cart {
img {
width:32px;
height: auto;
}
}
2011-08-09 15:16:18 +00:00
/* =Cart Sidebar
-------------------------------------------------------------- */
ul.cart_list, ul.product_list_widget {
2011-08-27 11:59:12 +00:00
list-style: none outside;
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;
2012-01-12 00:45:20 +00:00
list-style: none;
2011-08-09 15:16:18 +00:00
a {
display: block;
font-weight: bold;
}
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);
dt {
float: left;
clear: left;
margin-right:.25em;
}
dd {
margin-bottom:.5em;
}
2011-08-09 15:16:18 +00:00
}
2012-01-12 16:41:44 +00:00
.star-rating {
float: none;
}
2011-08-09 15:16:18 +00:00
}
}
.widget_shopping_cart {
.total {
border-top: 3px double #ddd;
padding: 4px 0 0;
strong {
min-width: 40px;
display: inline-block;
}
}
.buttons {
.clearfix;
}
}
/* =Cart
-------------------------------------------------------------- */
a.remove {
display: block;
height:16px;
width:16px;
text-indent: -9999px;
background: url(../images/remove.png) #ccc;
}
a.remove:hover {
background-color: #f93;
}
.cart th, .cart td {
vertical-align: middle;
}
td.actions {
text-align: right;
.coupon {
float:left;
label {
display: none;
}
.input-text {
2011-08-27 11:59:12 +00:00
width:80px;
2011-08-09 15:16:18 +00:00
float: left;
2011-08-27 11:59:12 +00:00
margin: 1px 6px 0 0;
2011-08-09 15:16:18 +00:00
}
}
2011-08-12 10:22:07 +00:00
.button.alt {
2011-08-09 15:16:18 +00:00
float: right;
2012-01-12 15:25:13 +00:00
margin-left:.25em;
2011-08-09 15:16:18 +00:00
}
}
td.product-name {
dl.variation {
margin: 0;
2012-01-12 15:25:13 +00:00
font-size:0.8751em;
2011-08-09 15:16:18 +00:00
dt {
font-weight: bold;
2012-01-12 15:25:13 +00:00
float:left;
clear: left;
margin: 0 .25em 0 0;
2011-08-09 15:16:18 +00:00
padding: 0;
}
dd {
2012-01-12 15:25:13 +00:00
margin-bottom:0;
2011-08-09 15:16:18 +00:00
}
}
2012-01-12 15:25:13 +00:00
p.backorder_notification {
font-size:0.8751em;
}
2011-08-09 15:16:18 +00:00
}
td.quantity {
min-width: 80px;
}
2012-01-11 19:07:19 +00:00
.quantity {
width:60px;
position: relative;
input.qty {
width:40px;
height:28px;
padding:0;
text-align: center;
border:1px solid #969696;
border-right:0;
.border_radius_right(0);
.inset_box_shadow(0,0,2px,0,#ccc);
font-weight: bold;
.border_radius_left(2px);
}
.plus, .minus {
display: block;
padding:0;
position: absolute;
text-align: center;
vertical-align: text-top;
margin:0 !important;
width:20px;
height: 15px;
text-decoration:none;
overflow:visible;
border:1px solid #969696;
.vertical_gradient(#f5f5f5,#e1e1e1);
color:#676767;
text-decoration:none;
font-weight:bold;
text-shadow:0 1px 0 #fff;
margin:0;
cursor: pointer;
line-height: 0em;
.border_radius(2px);
-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(#f5f5f5,#e6e6e6);
}
}
.plus {
top:0;
right:0;
border-bottom:0;
.border_radius_bottom(0);
}
.minus {
bottom:0;
right:0;
.border_radius_top(0);
}
2011-08-09 15:16:18 +00:00
}
.cart input {
2011-08-27 11:59:12 +00:00
margin: 0;
2011-08-09 15:16:18 +00:00
vertical-align: middle;
2011-08-27 11:59:12 +00:00
line-height: 1em;
2011-08-09 15:16:18 +00:00
}
.col2-set {
.clearfix;
width:100%;
.col-1 {
float: left;
width:48%;
}
.col-2 {
float: right;
width:48%;
}
}
.cart-collaterals {
.clearfix;
width:100%;
.related {
width:30.75%;
2011-08-09 15:16:18 +00:00
float: left;
}
.cross-sells {
width:48%;
2011-08-09 15:16:18 +00:00
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%;
2011-08-27 11:59:12 +00:00
float: none;
2011-08-09 15:16:18 +00:00
display: block;
}
.col2-set {
.col-1, .col-2 {
width:47%;
}
}
}
.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;
2011-08-09 15:16:18 +00:00
}
table {
border-collapse: separate;
.border_radius(5px);
2011-08-27 11:59:12 +00:00
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 {
2011-08-27 11:59:12 +00:00
padding: 6px 12px;
2011-08-09 15:16:18 +00:00
}
small {
display: block;
color: #999;
}
2011-09-11 16:42:50 +00:00
select {
width: 100%;
}
2011-08-09 15:16:18 +00:00
}
.discount td {
color: green;
}
tr td, tr th {
border-top: 1px solid #E7E7E7;
padding: 6px 24px;
}
2011-08-12 10:22:07 +00:00
a.button.alt {
2011-08-09 15:16:18 +00:00
width: 193px;
display: block;
font-size: 0.92em;
}
}
}
/* =Forms
-------------------------------------------------------------- */
.form-row {
.clearfix;
padding: 3px;
2011-08-27 11:59:12 +00:00
margin: 0 0 6px;
2011-08-09 15:16:18 +00:00
label {
display: block;
}
label.hidden {
visibility: hidden;
}
select {
width: 100%;
cursor: pointer;
2011-08-27 11:59:12 +00:00
margin: 0;
2011-08-09 15:16:18 +00:00
}
.required {
color:#c00;
font-weight: bold;
}
.input-checkbox {
display: inline;
margin: -2px 8px 0 0;
text-align: center;
vertical-align: middle;
}
label.checkbox {
display: inline;
}
}
form, #content {
.form-row {
input.input-text, textarea {
-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 #ccc;
width: 100%;
padding: 6px;
margin: 0;
outline: 0;
background: #fff none;
font-size: 14px;
line-height: 1em;
}
textarea {
height: 3.5em;
line-height: 1.5em;
display: block;
-moz-box-shadow: none;
-webkit-box-shadow: none;
box-shadow: none;
}
input.input-text:focus, textarea:focus {
.inset_box_shadow(0, 0, 0, 3px, #faf9dc);
}
}
}
.form-row-first, .form-row-last {
float: left;
width: 47%;
overflow: visible;
}
.form-row-last {
float: right;
}
/* =Checkout
-------------------------------------------------------------- */
form.login {
border: 1px solid #ccc;
padding: 20px;
border: 1px solid #E7E7E7;
margin: 20px 0 20px 0px;
text-align: left;
.border_radius(5px);
}
#payment {
2012-01-12 15:25:13 +00:00
background: rgba(0,0,0,0.025);
2011-08-09 15:16:18 +00:00
.border_radius(5px);
ul.payment_methods {
.clearfix;
text-align: left;
padding: 1em;
border-bottom: 1px solid #eee;
2011-08-27 11:59:12 +00:00
margin: 0;
2011-08-09 15:16:18 +00:00
list-style: none outside;
li {
line-height: 2em;
text-align: left;
2011-08-27 11:59:12 +00:00
margin: 0;
2011-08-09 15:16:18 +00:00
font-weight: normal;
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;
}
}
}
div.form-row {
padding: 1em;
border-top: 1px solid #fff;
}
#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;
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);
.vertical_gradient(#f6f6f6,#eee);
.box_shadow(0,1px,2px,0,rgba(0,0,0,0.25));
.text_shadow(0,1px,0,#fff);
line-height: 1.5em;
p:last-child {
margin-bottom:0;
}
2011-08-09 15:16:18 +00:00
#cc-expire-month, #cc-expire-year {
width: 48%;
float: left;
}
#cc-expire-year {
float: right;
}
span.help {
font-size: 11px;
color: #999;
line-height: 13px;
font-weight: normal;
}
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%;
&:nth-child(3n) {
margin-right:0;
}
}
2011-08-09 15:16:18 +00:00
}
}
div.payment_box:after {
content: "";
display: block;
border: 8px solid #eee; /* arrow size / color */
border-right-color: transparent;
border-left-color: transparent;
border-top-color: transparent;
position: absolute;
top: -4px;
left: 0;
margin: -1em 0 0 2em;
}
}
div.shipping-address {
padding: 0;
clear: left;
}
div.shipping_address {
width: 100%;
}
2011-08-09 15:16:18 +00:00
#shiptobilling {
float: right;
2011-08-27 11:59:12 +00:00
line-height: 1.62em;
margin: 0 0 0 0;
2011-08-09 15:16:18 +00:00
padding:0;
label {
font-size:0.6875em;
}
}
.checkout {
.col-2 {
h3 {
float: left;
clear: none;
}
.notes {
clear:left;
}
.form-row-first {
clear: left;
}
}
}
/* =Order Page
-------------------------------------------------------------- */
.order_details {
2012-01-12 16:41:44 +00:00
.clearfix();
2011-08-09 15:16:18 +00:00
margin:0 0 1.5em;
list-style: none;
li {
float: left;
margin-right:2em;
text-transform: uppercase;
font-size:0.715em;
line-height: 1em;
border-right:1px dashed #ccc;
padding-right:2em;
strong {
display: block;
font-size:1.4em;
text-transform: none;
line-height: 1.5em;
color: #333;
}
}
li.method {
border:none;
}
}
/* =Account
-------------------------------------------------------------- */
.addresses {
.title {
2012-01-12 16:41:44 +00:00
.clearfix();
2011-08-09 15:16:18 +00:00
h3 {
float: left;
}
.edit {
float: right;
}
}
}
2011-09-23 15:50:13 +00:00
ol.commentlist.notes {
li.note {
p.meta {
font-weight: bold;
margin-bottom:0;
}
.description {
p:last-child {
margin-bottom:0;
}
}
}
}
2012-01-12 15:25:13 +00:00
ul.digital-downloads {
margin-left:0;
padding-left:0;
li {
list-style: none;
margin-left:0;
2012-01-12 16:41:44 +00:00
padding-left:1.5em;
2012-01-12 15:25:13 +00:00
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAHCAYAAAA1WQxeAAAAQUlEQVQIHWP8//8/AwgwMjLWgxlQAijeCGIyIQtiYxNUwAjUhWI0uilMMLvQJUB8kBzYCmyKYGJwN8AEYDphJgIAPtccffZCsOoAAAAASUVORK5CYII=) left no-repeat;
.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 {
2011-08-27 11:59:12 +00:00
margin: 0;
padding: 0;
border: 0;
list-style: none outside;
2011-08-09 15:16:18 +00:00
li {
2012-01-12 16:41:44 +00:00
.clearfix();
2011-08-09 15:16:18 +00:00
padding: 0 0 1px;
2012-01-12 00:45:20 +00:00
list-style: none;
2011-08-09 15:16:18 +00:00
a, span {
padding: 1px 0;
float: left;
}
}
li.chosen {
a {
padding: 0 6px 0 18px;
border: 1px solid #3399cc;
background: #3399cc url(../images/cross_white.png) no-repeat 6px center;
.inset_box_shadow(0, 1px, 1px, rgba(255,255,255,0.5));
color: #fff;
.border_radius(3px);
}
}
small.count {
float: right;
margin-left: 6px;
font-size: 1em;
padding: 1px 0;
color: #999;
}
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 {
.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
}
.price_slider {
margin-bottom:1em;
}
.price_slider_amount {
text-align: right;
line-height: 2.4em;
font-size:0.8751em;
.button {
font-size:1.15em;
}
.button {
float: left;
}
}
.ui-slider {
position: relative;
text-align: left;
}
.ui-slider .ui-slider-handle {
position: absolute;
z-index: 2;
width: 0.9em;
height: 0.9em;
.border_radius(1em);
border:1px solid #333;
cursor: pointer;
.vertical_gradient(#fff,#bbb);
outline: none;
top:-.3em;
-webkit-box-shadow:
0 1px 2px rgba(0,0,0,0.3),
inset 0 0 0 1px rgba(255,255,255,0.65);
-moz-box-shadow:
0 1px 2px rgba(0,0,0,0.3),
inset 0 0 0 1px rgba(255,255,255,0.65);
box-shadow:
0 1px 2px rgba(0,0,0,0.3),
inset 0 0 0 1px rgba(255,255,255,0.65);
&:last-child {
margin-left:-1em;
}
}
.ui-slider .ui-slider-range {
position: absolute;
z-index: 1;
font-size: .7em;
display: block;
border: 0;
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAADCAYAAABS3WWCAAAAFUlEQVQIHWP4//9/PRMDA8NzEPEMADLLBU76a5idAAAAAElFTkSuQmCC) top repeat-x #1982D1;
.inset_box_shadow(0,0,0,1px,rgba(0,0,0,0.5));
.border_radius(1em);
}
.price_slider_wrapper .ui-widget-content {
.border_radius(1em);
.vertical_gradient(#333, #666);
}
.ui-slider-horizontal {
height: .5em;
}
.ui-slider-horizontal .ui-slider-range {
top: 0;
height: 100%;
}
.ui-slider-horizontal .ui-slider-range-min {
left: -1px;
}
.ui-slider-horizontal .ui-slider-range-max {
right: -1px;
}
}