From: John Dong Date: Thu, 30 Aug 2007 17:30:32 +0000 (-0400) Subject: Merge jdong X-Git-Url: https://projects.mako.cc/source/selectricity-live/commitdiff_plain/b6a595a53dad49f5f29310c712e75e4a1911ca96?hp=e7b003ff4dd1ecfa3c25b334815966475b915ef3 Merge jdong --- diff --git a/app/views/layouts/main.rhtml b/app/views/layouts/main.rhtml index 5ae18dc..5836b4f 100644 --- a/app/views/layouts/main.rhtml +++ b/app/views/layouts/main.rhtml @@ -5,6 +5,7 @@ <%= stylesheet_link_tag "common", :media => "all" %> <%= stylesheet_link_tag "main", :media => "all" %> <%= stylesheet_link_tag *(@stylesheets) %> + <%= stylesheet_link_tag "ie6hacks", :media => "all" if request.user_agent =~ /MSIE 6/ %> <%= javascript_include_tag "prototype", "effects", "dragdrop", "controls" %> diff --git a/public/stylesheets/ie6hacks.css b/public/stylesheets/ie6hacks.css new file mode 100644 index 0000000..4446647 --- /dev/null +++ b/public/stylesheets/ie6hacks.css @@ -0,0 +1,29 @@ +/* + + IE6 Hacks for Transparent PNG and list ordering + +*/ + +div#bar-left { + background-image: none; + filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/images/top_bar_1.png', sizingMethod=\'scale\'); + width: 153px; + height: 37px; + padding-top: 8px; + float: left; + clear: left; +} + +div#bar-right { + background-image: none; + filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/images/top_bar_2.png', sizingMethod=\'scale\'); + width: 78px; + height: 37px; + padding-top: 8px; + float: left; + clear: right; +} + +ol { + list-style-type: none; +} diff --git a/public/stylesheets/main.css b/public/stylesheets/main.css index 1d63f4c..acdff30 100644 --- a/public/stylesheets/main.css +++ b/public/stylesheets/main.css @@ -25,9 +25,6 @@ h3 { margin: 0 0 1em 0 !important; } -ol { - list-style-type: none; -} .special { background-color: #999999; color: white;