woocommerce/assets/css/woocommerce.less

1381 lines
24 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; }
.info {
background: #F7F5C6;
padding:10px 20px;
border:1px solid #EEEAC1;
color:#747165;
.inset_box_shadow(0, 0, 0, 1px, #FFFFCC);
a {
color:#93864E;
}
}
2011-08-10 17:11:11 +00:00
div.woocommerce_error, div.woocommerce_message {
2011-08-09 15:16:18 +00:00
border: 1px solid;
margin: 10px 0px;
padding:10px 10px 10px 32px;
background-repeat: no-repeat;
background-position: 10px center;
a.button {
margin-top:0;
float: right;
}
}
2011-08-10 17:11:11 +00:00
div.woocommerce_error {
2011-08-09 15:16:18 +00:00
color: #D8000C;
background-color: #ffd4d4;
background-image: url('../images/error.gif');
}
2011-08-10 17:11:11 +00:00
div.woocommerce_message {
2011-08-09 15:16:18 +00:00
color: #4F8A10;
background-color: #DFF2BF;
background-image:url('../images/success.gif');
}
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;
}
}
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 {
border: 1px solid #ddd;
background: #f5f5f5;
padding: 6px;
display: block;
width:100%;
height: auto;
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;
padding: 1em 0 0 0;
margin: 0 0 1em 0;
ul.tabs {
.border_radius_top(3px);
background: #ddd;
overflow: hidden;
zoom: 1;
2011-08-27 11:59:12 +00:00
margin: 0;
2011-08-09 15:16:18 +00:00
padding: 4px 4px 0;
2011-08-27 11:59:12 +00:00
list-style: none outside;
2011-08-09 15:16:18 +00:00
li {
float: left;
margin: 0 4px 0 0;
font-size: 0.92em;
2012-01-06 14:02:34 +00:00
list-style: none outside;
2011-08-09 15:16:18 +00:00
}
a {
float: left;
padding: 6px 12px;
background: #eee;
text-decoration: none;
.border_radius_top(2px);
}
li.active a {
background: #fff;
color: #555;
}
}
.panel {
border: 1px solid #ddd;
border-top: 0;
padding: 15px 15px 0;
.border_radius_bottom(3px);
}
}
}
.stock {
color: green;
}
.out-of-stock {
color: red;
}
p.cart {
float: right;
}
form.cart {
margin-bottom: 24px;
overflow: hidden;
zoom:1;
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;
//margin: 2px 0;
2011-08-09 15:16:18 +00:00
}
}
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 {
overflow: hidden;
zoom:1;
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;
margin: 0 3.8% 20px 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;
}
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;
2011-08-09 15:16:18 +00:00
border: 1px solid #ddd;
2012-01-11 19:07:19 +00:00
.box_shadow(0,1px,2px,0,rgba(0,0,0,0.1));
2011-08-09 15:16:18 +00:00
}
a:hover img {
border: 1px solid #bbb;
}
strong {
color: #555;
display: block;
}
.price {
color: green;
2011-08-09 15:16:18 +00:00
display: block;
font-weight: normal;
del {
font-size: 10px;
2011-08-09 15:16:18 +00:00
line-height: 10px;
margin: -2px 0 0 0;
display: block;
color: #ccc;
}
.from {
font-size: 10px;
2011-08-09 15:16:18 +00:00
line-height: 10px;
margin: -2px 0 0 0;
display: block;
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 {
//.opacity(0.5);
2012-01-11 19:07:19 +00:00
color:#999;
border-color:#ccc;
2011-09-13 15:29:56 +00:00
&:before {
/*content:"";
position: absolute;
height:16px;
width:16px;
top:0.35em;
right:-26px;
text-indent: 0;
background: url(../images/ajax-loader.gif) no-repeat;*/
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;
background: url(../images/success.gif) no-repeat;
}
}
&: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 {
overflow: hidden;
zoom: 1;
}
h2 {
clear: none;
}
ol.commentlist {
overflow: hidden;
zoom: 1;
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 {
overflow: hidden;
zoom: 1;
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;
border-top: 1px dotted #ccc;
th {
width: 150px;
font-weight: bold;
padding: 8px;
color: black;
border-bottom: 1px dotted #ccc;
margin: 0;
line-height: 1.5em;
}
td {
font-style: italic;
padding: 0;
border-bottom: 1px dotted #ccc;
margin: 0;
line-height: 1.5em;
p {
margin: 0;
padding: 8px;
}
}
.alt td, .alt th {
background: #f9f9f9;
}
}
2011-08-09 15:16:18 +00:00
table.shop_table {
border: 1px solid #E7E7E7;
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 {
border-top: 1px solid #E7E7E7;
2011-08-27 11:59:12 +00:00
padding: 6px 12px;
2011-08-09 15:16:18 +00:00
vertical-align: middle;
a.button {
//margin:0 3px;
}
2011-08-09 15:16:18 +00:00
}
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;
//margin: 4px 0;
2011-08-09 15:16:18 +00:00
}
}
/* =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;
a {
display: block;
font-weight: bold;
}
img {
float: left;
margin-right: 4px;
border: 1px solid #ddd;
width:32px;
height: auto;
2011-08-09 15:16:18 +00:00
}
}
}
.widget_shopping_cart {
.total {
border-top: 3px double #ddd;
padding: 4px 0 0;
2011-08-27 11:59:12 +00:00
margin: 0;
2011-08-09 15:16:18 +00:00
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;
//margin:2px 0 0 6px;
2011-08-09 15:16:18 +00:00
}
}
td.product-name {
dl.variation {
margin: 0;
dt {
font-weight: bold;
display: inline;
margin: 0 4px 0 0;
padding: 0;
}
dd {
display: inline;
margin: 0 12px 0 0;
padding: 0;
}
}
}
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 {
//width:100px;
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 {
background: #F9F9F9;
.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%;
background: #f5f5f5;
border: 1px solid #eee;
.inset_box_shadow(0, 1px, 1px, rgba(255,255,255,0.5));
padding: 1em 2% 0;
margin: 1em 0 1em 0;
font-size: 0.92em;
#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;
}
p, .form-row {
margin: 0 0 1em;
}
}
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;
}
#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 {
overflow: hidden;
zoom:1;
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 {
overflow: hidden;
zoom:1;
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;
}
}
}
}
2011-08-09 15:16:18 +00:00
/* =Layered Nav Widgets
-------------------------------------------------------------- */
.widget_price_filter {
.price_slider_wrapper {
.button {
float: right;
2011-08-27 11:59:12 +00:00
margin: 0;
2011-08-09 15:16:18 +00:00
}
.price_slider {
margin: 1em .6em .6em;
.ui-slider-handle {
2011-08-27 11:59:12 +00:00
outline: 0;
2011-08-09 15:16:18 +00:00
}
}
.price_slider_amount {
overflow: hidden;
line-height: 2em;
}
}
2011-09-05 09:04:17 +00:00
.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { border: 1px solid #d3d3d3; background: #e6e6e6; font-weight: normal; color: #555555; }
.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { border: 1px solid #999999; background: #dadada; font-weight: normal; color: #212121; }
.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { border: 1px solid #aaaaaa; background: #ffffff; font-weight: normal; color: #212121; }
.ui-corner-all { -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px; }
.ui-slider { position: relative; text-align: left; }
.ui-slider .ui-slider-handle { position: absolute; z-index: 2; width: 1.2em; height: 1.2em; cursor: default; }
.ui-slider .ui-slider-range { position: absolute; z-index: 1; font-size: .7em; display: block; border: 0; background-position: 0 0; }
.price_slider_wrapper .ui-widget-content { border: 1px solid #aaaaaa; background: #ffffff; color: #222222; }
.price_slider_wrapper .ui-widget-header { border: 1px solid #aaaaaa; background: #cccccc; color: #222222; font-weight: bold; }
.ui-slider-horizontal { height: .8em; }
.ui-slider-horizontal .ui-slider-handle { top: -.3em; margin-left: -.6em; }
.ui-slider-horizontal .ui-slider-range { top: 0; height: 100%; }
.ui-slider-horizontal .ui-slider-range-min { left: 0; }
.ui-slider-horizontal .ui-slider-range-max { right: 0; }
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 {
overflow: hidden;
zoom: 1;
padding: 0 0 1px;
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;
}
}