mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: moves print-specific styles from internal style tag to external print sheet (#6581)
* DEV: removes internal styles from print view * DEV: adds styles to print sheet
This commit is contained in:
parent
7b44339529
commit
7707e42441
@ -35,9 +35,16 @@
|
|||||||
.alert-info,
|
.alert-info,
|
||||||
.badge-category,
|
.badge-category,
|
||||||
.badge-category-bg,
|
.badge-category-bg,
|
||||||
.badge-notification.clicks {
|
.badge-notification.clicks,
|
||||||
|
.crawler-nav,
|
||||||
|
.powered-by-link {
|
||||||
display: none !important;
|
display: none !important;
|
||||||
}
|
}
|
||||||
|
/* For readability */
|
||||||
|
a,
|
||||||
|
a:visited {
|
||||||
|
color: #0088cc !important;
|
||||||
|
}
|
||||||
/* bottom border to help separate posts */
|
/* bottom border to help separate posts */
|
||||||
div.row {
|
div.row {
|
||||||
border-top: 1px solid #aaa;
|
border-top: 1px solid #aaa;
|
||||||
|
@ -104,18 +104,6 @@
|
|||||||
|
|
||||||
<% if @topic_view.print %>
|
<% if @topic_view.print %>
|
||||||
<% content_for :after_body do %>
|
<% content_for :after_body do %>
|
||||||
<style media="print">
|
|
||||||
/* For readability */
|
|
||||||
a,
|
|
||||||
a:visited {
|
|
||||||
color: #0088cc !important;
|
|
||||||
}
|
|
||||||
/* hide crawler nav in print view */
|
|
||||||
.crawler-nav,
|
|
||||||
.powered-by-link {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
<%= preload_script('print-page') %>
|
<%= preload_script('print-page') %>
|
||||||
<% end %>
|
<% end %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
Loading…
Reference in New Issue
Block a user