Skip to content

Commit

Permalink
Removed inline styles from checkout-summary div, and moved them into
Browse files Browse the repository at this point in the history
_checkout.less.

[spree#1312 state:resolved]
  • Loading branch information
wapcaplet authored and schof committed Apr 12, 2010
1 parent 56c542d commit a0399a8
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
13 changes: 10 additions & 3 deletions vendor/extensions/theme_default/app/stylesheets/_checkout.less
Expand Up @@ -27,11 +27,11 @@ div#checkout {
padding-right: 10px;
text-align: right;
}
#checkout_form_address #billing input, #checkout_form_address #shipping input,
#checkout_form_address #billing input, #checkout_form_address #shipping input,
#checkout_form_address #billing select, #checkout_form_address #shipping select {
width:304px;
}
#checkout_form_address #billing p.checkbox,
#checkout_form_address #billing p.checkbox,
#checkout_form_address #shipping p.checkbox,
#checkout_form_address .form-buttons {
padding-left:200px;
Expand All @@ -56,7 +56,7 @@ div#checkout {
list-style: none;
display:block;
padding: 0; margin: 0;
width: 720px;
width: 720px;
li {
display:block;
.column(5);
Expand All @@ -66,4 +66,11 @@ div#checkout {
}
}

#checkout-summary {
background-color: #C3C9DF;
float: right;
margin-top: 10px;
padding: 20px;
width: 180px;
}
}
Expand Up @@ -8,12 +8,12 @@
<%= error_messages_for :checkout %>
<% hook :checkout_summary_box do %>
<div id="checkout-summary" style="background-color:#C3C9DF;float:right;margin-top:10px;padding:20px;width:180px;">
<div id="checkout-summary">
<%= render :partial => "summary" %>
</div>
<% end %>
<% form_for @checkout, :url => object_url, :html => { :method => :put, :id => "checkout_form_#{@checkout.state}"} do |checkout_form| %>
<%= render @checkout.state, :checkout_form => checkout_form %>
<%= render @checkout.state, :checkout_form => checkout_form %>
<input type="hidden" name="step" value="<%= @checkout.state %>">
<input id="post-final" type="submit" style="display:none"/>
<% end %>
Expand Down

0 comments on commit a0399a8

Please sign in to comment.