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
This commit is contained in:
Jean-Philippe Lang 2007-10-01 12:36:38 +00:00
parent c6e61a5f19
commit c6e8cf5c21
3 changed files with 8 additions and 4 deletions

View File

@ -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]>

View File

@ -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; }
}

View File

@ -1,2 +0,0 @@
#top-menu, #header, #main-menu, #sidebar, #footer { display:none; }
.contextual { display:none; }