aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/views/layouts/default.rhtml3
-rw-r--r--app/views/request/new.rhtml9
-rw-r--r--public/stylesheets/ie7.css18
-rw-r--r--public/stylesheets/theme.css20
4 files changed, 31 insertions, 19 deletions
diff --git a/app/views/layouts/default.rhtml b/app/views/layouts/default.rhtml
index b603c5676..2e9f8a609 100644
--- a/app/views/layouts/default.rhtml
+++ b/app/views/layouts/default.rhtml
@@ -27,6 +27,9 @@
<!--[if LT IE 7]>
<style type="text/css">@import url("/stylesheets/ie6-custom.css");</style>
<![endif]-->
+ <!--[if LT IE 8]>
+ <style type="text/css">@import url("/stylesheets/ie7.css");</style>
+ <![endif]-->
<%= stylesheet_link_tag 'custom', :title => "Main", :rel => "stylesheet" %>
<% if @feed_autodetect %>
diff --git a/app/views/request/new.rhtml b/app/views/request/new.rhtml
index ddb9bd046..9538065ed 100644
--- a/app/views/request/new.rhtml
+++ b/app/views/request/new.rhtml
@@ -28,11 +28,12 @@
<% end %>
<% if !@info_request.public_body.calculated_home_page.nil? %>
<br>
- &nbsp; &nbsp; &nbsp; &nbsp; <%= text_field_tag 'q', params[:q], { :size => 20 } %>
- <%= hidden_field_tag 'as_sitesearch', @info_request.public_body.calculated_home_page %>
- <%= submit_tag _("Search"), :class=>"small" %>
+ <p>
+ &nbsp; &nbsp; &nbsp; &nbsp; <%= text_field_tag 'q', params[:q], { :size => 20 } %>
+ <%= hidden_field_tag 'as_sitesearch', @info_request.public_body.calculated_home_page %>
+ <%= submit_tag _("Search") %>
+ </p>
<% end %>
- <br>
... <%= _('to check that the info isn\'t already published.') %>
</p>
<% end %>
diff --git a/public/stylesheets/ie7.css b/public/stylesheets/ie7.css
new file mode 100644
index 000000000..c6e8fe4f2
--- /dev/null
+++ b/public/stylesheets/ie7.css
@@ -0,0 +1,18 @@
+form input[type=submit], a.link_button_green {
+ border: solid 0px #FFF;
+ line-height: 16px;
+ padding-top: 3px
+}
+
+input#navigation_search_query {
+ margin-bottom: -5px;
+}
+
+.request_left span.head {
+ line-height: 35px;
+}
+
+#header_left,
+#left_column {
+ margin-top: 20px;
+} \ No newline at end of file
diff --git a/public/stylesheets/theme.css b/public/stylesheets/theme.css
index a46aaf510..218ada685 100644
--- a/public/stylesheets/theme.css
+++ b/public/stylesheets/theme.css
@@ -379,7 +379,7 @@ p.subtitle {
}
#header_left {
- width:645px;
+ width:625px;
float:left;
}
@@ -428,25 +428,15 @@ p.subtitle {
border-width:0px;
}
-h2.person_results {
- padding-top:0px;
- border-bottom:1px solid #B3B3B3;
- padding-bottom:15px;
- margin-bottom:0px;
-}
-
-h2.foi_results {
- padding-top:0px;
- border-bottom:1px solid #B3B3B3;
- padding-bottom:15px;
- margin-bottom:0px;
-}
-
+h2.foi_results,
+h2.person_results,
h2.publicbody_results {
padding-top:0px;
border-bottom:1px solid #B3B3B3;
padding-bottom:15px;
margin-bottom:0px;
+ padding-top: 15px;
+ margin-top: 0px;
}
.list_toggle_controls {