diff --git a/app/views/layouts/application.haml b/app/views/layouts/application.haml index 1d2659cc..a137eaeb 100644 --- a/app/views/layouts/application.haml +++ b/app/views/layouts/application.haml @@ -5,6 +5,9 @@ %title= "FoodSoft - " + (yield(:title) or controller.controller_name) = stylesheet_link_tag 'foodsoft' = stylesheet_link_tag "print", :media => "print" + = javascript_include_tag 'prototype' = javascript_include_tag 'effects' = javascript_include_tag 'controls' diff --git a/public/stylesheets/ie_hacks.css b/public/stylesheets/ie_hacks.css new file mode 100644 index 00000000..99c22274 --- /dev/null +++ b/public/stylesheets/ie_hacks.css @@ -0,0 +1,8 @@ +#nav { + text-align: left; } + #nav ul { + margin: 0; } + #nav ul li.current a:hover { + color: #fff; } + #nav ul li.current ul { + width: 100%; } diff --git a/public/stylesheets/sass/ie_hacks.sass b/public/stylesheets/sass/ie_hacks.sass new file mode 100644 index 00000000..fa1c49e1 --- /dev/null +++ b/public/stylesheets/sass/ie_hacks.sass @@ -0,0 +1,9 @@ +#nav + text-align: left + ul + margin: 0 + li.current + a:hover + color: #fff + ul + width: 100% \ No newline at end of file