Styling, address_override

This commit is contained in:
Mike Jolley 2011-11-28 16:35:17 +00:00
parent 21f9723479
commit a2ca5f6a78
3 changed files with 34 additions and 21 deletions

View File

@ -113,6 +113,8 @@ ul.recent-orders.stock_list a,ul.stock_list.stock_list a{text-decoration:none;}
.woocommerce table.shippingrows td.country .chzn-container .search-field input,.woocommerce table.taxrows td.country .chzn-container .search-field input{width:150px !important;} .woocommerce table.shippingrows td.country .chzn-container .search-field input,.woocommerce table.taxrows td.country .chzn-container .search-field input{width:150px !important;}
.woocommerce table.widefat table.coupon_rows{border:0 !important;width:100%;}.woocommerce table.widefat table.coupon_rows thead th{padding:1px;border:0;font-weight:normal;font-size:11px;color:#999;} .woocommerce table.widefat table.coupon_rows{border:0 !important;width:100%;}.woocommerce table.widefat table.coupon_rows thead th{padding:1px;border:0;font-weight:normal;font-size:11px;color:#999;}
.woocommerce table.widefat table.coupon_rows tbody td{padding:3px 3px 0 0;border:0;vertical-align:middle;}.woocommerce table.widefat table.coupon_rows tbody td input.text{width:95px;} .woocommerce table.widefat table.coupon_rows tbody td{padding:3px 3px 0 0;border:0;vertical-align:middle;}.woocommerce table.widefat table.coupon_rows tbody td input.text{width:95px;}
.woocommerce table.form-table textarea.input-text{height:100%;min-width:150px;}
.woocommerce table.form-table textarea.wide-input{width:100%;}
.woocommerce #tabs-wrap table a.remove{margin-left:4px;} .woocommerce #tabs-wrap table a.remove{margin-left:4px;}
.woocommerce #tabs-wrap table p{margin:0 0 4px !important;overflow:hidden;zoom:1;} .woocommerce #tabs-wrap table p{margin:0 0 4px !important;overflow:hidden;zoom:1;}
.woocommerce #tabs-wrap table p a.add{float:left;} .woocommerce #tabs-wrap table p a.add{float:left;}

View File

@ -649,28 +649,39 @@ ul.recent-orders, ul.stock_list {
} }
.woocommerce table.widefat { .woocommerce {
table.coupon_rows { table.widefat {
border: 0 !important; table.coupon_rows {
width: 100%; border: 0 !important;
thead { width: 100%;
th { thead {
padding: 1px; th {
border: 0; padding: 1px;
font-weight: normal; border: 0;
font-size: 11px; font-weight: normal;
color: #999; font-size: 11px;
} color: #999;
}
tbody {
td {
padding: 3px 3px 0 0;
border: 0;
vertical-align: middle;
input.text {
width: 95px;
} }
} }
tbody {
td {
padding: 3px 3px 0 0;
border: 0;
vertical-align: middle;
input.text {
width: 95px;
}
}
}
}
}
table.form-table {
textarea.input-text {
height: 100%;
min-width: 150px;
}
textarea.wide-input {
width: 100%;
} }
} }
} }

View File

@ -215,7 +215,7 @@ class woocommerce_paypal extends woocommerce_payment_gateway {
if ($this->send_shipping=='yes') : if ($this->send_shipping=='yes') :
$paypal_args['no_shipping'] = 0; $paypal_args['no_shipping'] = 0;
$paypal_args['address_override'] = 1; $paypal_args['address_override'] = 0;
else : else :
$paypal_args['no_shipping'] = 1; $paypal_args['no_shipping'] = 1;
endif; endif;