Css fixes.

This commit is contained in:
Benjamin Meichsner 2009-10-18 14:19:02 +02:00
parent 65a0a30f5a
commit a4a48dc4fe
4 changed files with 46 additions and 40 deletions

View file

@ -1,7 +1,7 @@
<%= render :partial => 'order_head' %> <%= render :partial => 'order_head' %>
<div class="single_column" style="clear:both;"> <% form_tag(:action => 'saveOrder', :id => @order) do %>
<% form_tag(:action => 'saveOrder', :id => @order) do %> <div class="single_column" style="clear:both;margin-bottom:7em;">
<div class="box_title"> <div class="box_title">
<h2>Artikel</h2> <h2>Artikel</h2>
</div> </div>
@ -78,6 +78,7 @@
</tbody> </tbody>
</table> </table>
</div> </div>
</div>
<div id="order-footer"> <div id="order-footer">
<div id="info-box"> <div id="info-box">
</div> </div>
@ -103,8 +104,7 @@
</div> </div>
<input type="hidden" id="total_balance" name="total_balance" value="<%= @ordergroup.account_balance - total %>"/> <input type="hidden" id="total_balance" name="total_balance" value="<%= @ordergroup.account_balance - total %>"/>
<input type="hidden" name="version" value="<%= @version %>"/> <input type="hidden" name="version" value="<%= @version %>"/>
<% end %> <% end %>
</div>
<script type="text/javascript"> <script type="text/javascript">
//<![CDATA[ //<![CDATA[
@ -130,8 +130,8 @@ end%>
updateBalance(); updateBalance();
// show article info on row hover // show article info on row hover
<%#*$$('tbody tr').observer('hover', function() {%> <%#*$$('tbody tr').observer('hover', function() {%>
<%#*});%> <%#*});%>
//]]> //]]>
</script> </script>

View file

@ -426,6 +426,8 @@ table#order {
#order-footer #total-sum #order-button input, .article-info #total-sum #order-button input { #order-footer #total-sum #order-button input, .article-info #total-sum #order-button input {
background-color: #78B74E; background-color: #78B74E;
color: #fff; } color: #fff; }
#order-footer #total-sum #order-button input:disabled, .article-info #total-sum #order-button input:disabled {
background-color: red; }
.article-info { .article-info {
z-index: 2; z-index: 2;

View file

@ -426,6 +426,8 @@ table#order {
#order-footer #total-sum #order-button input, .article-info #total-sum #order-button input { #order-footer #total-sum #order-button input, .article-info #total-sum #order-button input {
background-color: #78B74E; background-color: #78B74E;
color: #fff; } color: #fff; }
#order-footer #total-sum #order-button input:disabled, .article-info #total-sum #order-button input:disabled {
background-color: red; }
.article-info { .article-info {
z-index: 2; z-index: 2;

View file

@ -467,6 +467,8 @@ table#order
input input
background-color: #78B74E background-color: #78B74E
color: #fff color: #fff
input:disabled
background-color: red
.article-info .article-info
z-index: 2 z-index: 2
width: 30em width: 30em