Permalink
Browse files

resizing sellerinfo box

  • Loading branch information...
1 parent 846a5b0 commit ab829a634f252c1771a812c1a851e5b4c44b65d3 @vincentwoo committed May 4, 2012
Showing with 12 additions and 11 deletions.
  1. +5 −4 css/style.css
  2. +7 −7 index.html
View
@@ -125,9 +125,9 @@ body {
padding: 10px 15px 5px 15px;
border-bottom: 1px solid #ccc;
box-shadow: inset 0px 1px 2px rgba(0,0,0,0.1);
- height: 85px;
background: #F1F1F1;
background-size: contain;
+ position: relative;
}
#cost {
width: 55%;
@@ -150,9 +150,10 @@ body {
line-height: 30px;
}
#cardchange {
- float: right;
- margin-top:15px;
- font-size: 14px;
+ position: absolute;
+ top: 50%;
+ margin-top: -13px;
+ right: 15px;
}
.cardarrow_box {
display: inline-block;
View
@@ -24,11 +24,13 @@
});
$('#buybutton').click(function() {
+ slideIn();
$('#basepanel').hide();
$('#receipt_total').text($('#total_price').text());
$('#receipt_seller').text('Rovio');
$('#receipt_instrument').text('Visa ***-4323');
$('#receipt_date').text('May 3, 2012');
+
$('#closebutton').show();
$('#receipt').show();
})
@@ -92,17 +94,15 @@
}
if ($('#total_price').text() == $('#subtotal_price').text()) {
- $('#subtotal_label').hide();
- $('#subtotal_price').hide();
+ $('#summary_items').hide();
$('#taxes_label').hide();
$('#taxes_price').hide();
- $('#summary_items').height(14);
+ //$('#summary_items').height(14);
} else {
- $('#subtotal_label').show();
- $('#subtotal_price').show();
+ $('#summary_items').show();
$('#taxes_label').show();
$('#taxes_price').show();
- $('#summary_items').height(36);
+ //$('#summary_items').height(36);
}
if (state == 'notlogged') $('#notlogged').show();
@@ -339,7 +339,7 @@
<img id='cardarrow' src='images/disclosure_arrow_dk_grey.png' />
</div>
</div>
-
+ <div style="clear:both"></div>
</div>
<a id="buybutton" class="kd-button kd-button-submit">Buy Now</a>
</div>

0 comments on commit ab829a6

Please sign in to comment.