Issue #1249790 follow-up: Change "div.tabs" to just ".tabs"
[project/zen.git] / STARTERKIT / sass / print.scss
CommitLineData
090085bd
J
1//
2// Print styling
3//
4// We provide some sane print styling for Drupal using Zen's layout method.
5//
e8d8fc9e 6
242ff93f
J
7@import "base";
8
9
b60c9ad7
J
10@media print {
11
e8d8fc9e 12
090085bd 13// underline all links
a1099f8f
J
14a:link,
15a:visited {
16 text-decoration: underline !important;
e8d8fc9e
J
17}
18
090085bd 19// Don't underline header
37bd71b2
J
20#site-name {
21 a:link,
22 a:visited {
23 text-decoration: none !important;
24 }
e8d8fc9e
J
25}
26
37bd71b2 27#content {
3eed6357
J
28 // Add visible URL after links.
29 a[href]:after {
30 content: " (" attr(href) ")";
37bd71b2
J
31 font-weight: normal;
32 }
3eed6357
J
33
34 // Only display useful links.
35 a[href^="javascript:"]:after,
36 a[href^="#"]:after {
37 content: "";
38 }
39
40 // Add visible title after abbreviations.
41 abbr[title]:after {
42 content: " (" attr(title) ")";
43 }
e8d8fc9e
J
44}
45
090085bd 46// Un-float the content
e8d8fc9e
J
47#content,
48#content .section {
49 float: none;
50 width: 100%;
51 margin: 0 !important;
52 padding: 0 !important;
53}
54
090085bd 55// Turn off any background colors or images
e8d8fc9e
J
56body,
57#page-wrapper,
58#page,
59#main-wrapper,
60#main,
61#content,
62#content .section {
63 color: #000;
64 background-color: transparent !important;
65 background-image: none !important;
66}
67
090085bd 68// Hide sidebars and nav elements
e8d8fc9e
J
69#skip-to-nav,
70#toolbar,
71#navigation,
72.region-sidebar-first,
73.region-sidebar-second,
74.region-footer,
75.breadcrumb,
0237b01f 76.tabs,
e8d8fc9e
J
77.action-links,
78.links,
79.book-navigation,
80.forum-topic-navigation,
81.pager,
82.feed-icons {
83 visibility: hidden;
84 display: none;
85}
86
090085bd
J
87// If you un-comment the "page { overflow-y: hidden; }" ruleset, Firefox clips
88// the content after the first page.
e8d8fc9e
J
89#page-wrapper {
90 overflow-y: visible;
91}
b60c9ad7
J
92
93
94} // End @media print