From 05d88d61781d5af4b12107857e22bcb7914266ed Mon Sep 17 00:00:00 2001 From: Benjamin Meichsner Date: Tue, 9 Feb 2010 20:38:48 +0100 Subject: [PATCH] Few css changes for performance improvement. --- app/views/ordering/order.rhtml | 4 ++-- public/stylesheets/main.css | 9 ++++----- public/stylesheets/print.css | 9 ++++----- public/stylesheets/sass/main.sass | 8 ++++---- 4 files changed, 14 insertions(+), 16 deletions(-) diff --git a/app/views/ordering/order.rhtml b/app/views/ordering/order.rhtml index 118f0804..1716c34c 100644 --- a/app/views/ordering/order.rhtml +++ b/app/views/ordering/order.rhtml @@ -10,14 +10,14 @@ Name - + Preis Fehlende Einheiten Menge <% if not @order.stockit? -%> Toleranz <% end %> - Summe + Summe diff --git a/public/stylesheets/main.css b/public/stylesheets/main.css index ebad9a2c..2707e4fc 100644 --- a/public/stylesheets/main.css +++ b/public/stylesheets/main.css @@ -424,8 +424,7 @@ table#order { position: fixed; bottom: 0; background-color: #E4EED6; - border-top: 2px solid #78B74E; - opacity: 0.95; } + border-top: 2px solid #78B74E; } #order-footer #total-sum, .article-info #total-sum { width: 22em; margin: .5em 2em 0 0; @@ -441,9 +440,9 @@ table#order { background-color: red; } #order-footer { - min-width: 975px; - right: 15px; - left: 15px; } + width: 100%; + right: 0; + left: 0; } .article-info { z-index: 2; diff --git a/public/stylesheets/print.css b/public/stylesheets/print.css index 5e304135..c28cbad2 100644 --- a/public/stylesheets/print.css +++ b/public/stylesheets/print.css @@ -424,8 +424,7 @@ table#order { position: fixed; bottom: 0; background-color: #E4EED6; - border-top: 2px solid #78B74E; - opacity: 0.95; } + border-top: 2px solid #78B74E; } #order-footer #total-sum, .article-info #total-sum { width: 22em; margin: .5em 2em 0 0; @@ -441,9 +440,9 @@ table#order { background-color: red; } #order-footer { - min-width: 975px; - right: 15px; - left: 15px; } + width: 100%; + right: 0; + left: 0; } .article-info { z-index: 2; diff --git a/public/stylesheets/sass/main.sass b/public/stylesheets/sass/main.sass index 425c89ec..29de72d5 100644 --- a/public/stylesheets/sass/main.sass +++ b/public/stylesheets/sass/main.sass @@ -463,7 +463,7 @@ table#order bottom: 0 background-color: #E4EED6 border-top: 2px solid #78B74E - opacity: 0.95 + //opacity: 0.95 #total-sum width: 22em margin: .5em 2em 0 0 @@ -478,9 +478,9 @@ table#order input:disabled background-color: red #order-footer - min-width: 975px - right: 15px - left: 15px + width: 100% + right: 0 + left: 0 .article-info z-index: 2 width: 45em