diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-10-01 12:36:38 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-10-01 12:36:38 +0000 |
commit | c6e8cf5c21dd1f1e18373c948c2e16f20b2eb5f3 (patch) | |
tree | 9616234d196aa23a56984d86e2359aa7cac3c061 | |
parent | c6e61a5f1976b30d068fb70198f3cc0c10e464d3 (diff) | |
download | redmine-c6e8cf5c21dd1f1e18373c948c2e16f20b2eb5f3.tar.gz redmine-c6e8cf5c21dd1f1e18373c948c2e16f20b2eb5f3.zip |
Moved media print specific styles to application.css (print.css removed).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@786 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | app/views/layouts/base.rhtml | 3 | ||||
-rw-r--r-- | public/stylesheets/application.css | 7 | ||||
-rw-r--r-- | public/stylesheets/print.css | 2 |
3 files changed, 8 insertions, 4 deletions
diff --git a/app/views/layouts/base.rhtml b/app/views/layouts/base.rhtml index ecd2b5d92..70d08aa6b 100644 --- a/app/views/layouts/base.rhtml +++ b/app/views/layouts/base.rhtml @@ -5,8 +5,7 @@ <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <meta name="description" content="<%= Redmine::Info.app_name %>" /> <meta name="keywords" content="issue,bug,tracker" /> -<%= stylesheet_link_tag "application" %> -<%= stylesheet_link_tag "print", :media => "print" %> +<%= stylesheet_link_tag 'application', :media => 'all' %> <%= javascript_include_tag :defaults %> <%= stylesheet_link_tag 'jstoolbar' %> <!--[if IE]> diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css index 8a17600ef..2eef7ffe3 100644 --- a/public/stylesheets/application.css +++ b/public/stylesheets/application.css @@ -455,3 +455,10 @@ vertical-align: middle; .icon22-package { background-image: url(../images/22x22/package.png); } .icon22-settings { background-image: url(../images/22x22/settings.png); } .icon22-plugin { background-image: url(../images/22x22/plugin.png); } + +/***** Media print specific styles *****/ +@media print { + #top-menu, #header, #main-menu, #sidebar, #footer, .contextual { display:none; } + #main { background: #fff; } + #content { width: 99%; margin: 0; padding: 0; border: 0; background: #fff; } +} diff --git a/public/stylesheets/print.css b/public/stylesheets/print.css deleted file mode 100644 index 52e02ecb6..000000000 --- a/public/stylesheets/print.css +++ /dev/null @@ -1,2 +0,0 @@ -#top-menu, #header, #main-menu, #sidebar, #footer { display:none; } -.contextual { display:none; } |