From bfbd89bb7d8557cec191f5691171cb0bf416151b Mon Sep 17 00:00:00 2001 From: bsag Date: Mon, 12 Dec 2005 13:59:41 +0000 Subject: [PATCH] Applied Luke's patch to fix CSS errors in print.css. Also removed text-shadow property on h2 element to get rid of Firefox errors. I've changed the colour to grey (666) with the same red as before on a:hover etc. I think it looks a bit better than white with no text shadow. git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@169 a4c988fc-2ded-0310-b66e-134b36920a42 --- tracks/app/views/context/_context.rhtml | 2 +- tracks/public/stylesheets/print.css | 4 ++-- tracks/public/stylesheets/standard.css | 8 ++++---- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/tracks/app/views/context/_context.rhtml b/tracks/app/views/context/_context.rhtml index 755e0170..a5106898 100644 --- a/tracks/app/views/context/_context.rhtml +++ b/tracks/app/views/context/_context.rhtml @@ -1,5 +1,5 @@ <% @not_done = context.find_not_done_todos %> -
+

<% if collapsible -%> <%= image_tag("collapse.png") %> diff --git a/tracks/public/stylesheets/print.css b/tracks/public/stylesheets/print.css index e7ef8a0b..96707b11 100644 --- a/tracks/public/stylesheets/print.css +++ b/tracks/public/stylesheets/print.css @@ -53,8 +53,8 @@ a, p, blockquote, ul, li, ol, dt, dd, dl, table { .description { margin-top: 0; - margin-left 0; - margin-bottom .3em; + margin-left: 0; + margin-bottom: .3em; padding: .2em; } diff --git a/tracks/public/stylesheets/standard.css b/tracks/public/stylesheets/standard.css index 21a3b114..40abb715 100644 --- a/tracks/public/stylesheets/standard.css +++ b/tracks/public/stylesheets/standard.css @@ -121,9 +121,9 @@ a.show_notes:hover {background-image: url(../images/notes_on.png); background-re margin-top: 0px; margin-left: -5px; margin-right: -5px; - margin-bottom: 0px; /* CHECK */ - color: #fff; - text-shadow: rgba(0,0,0,.4) 0px 2px 5px; + margin-bottom: 0px; + color: #666; + /* text-shadow: rgba(0,0,0,.4) 0px 2px 5px; */ } .container_toggle img { @@ -151,7 +151,7 @@ a.show_notes:hover {background-image: url(../images/notes_on.png); background-re #new_actions a {color: #cc3334; text-decoration: underline;} h2 a, h2 a:link, h2 a:active, h2 a:visited { - color: #fff; + color: #666; text-decoration: none; }