Commit | Line | Data |
---|---|---|
0ec9b816 MW |
1 | /* print version */ |
2 | @media print { | |
3 | /** reset font colors, backgrounds and shadows **/ | |
4 | *, | |
5 | ::after, | |
6 | ::before { | |
7 | background: 0 0 !important; | |
8 | box-shadow: none !important; | |
9 | color: #000 !important; | |
10 | opacity: 1 !important; | |
11 | text-shadow: none !important; | |
12 | } | |
13 | ||
14 | ||
15 | /** hide obsolete elements **/ | |
16 | /* general elements */ | |
17 | .pageHeaderContainer, | |
18 | .pageNavigationIcons, | |
19 | .userNotice, | |
20 | .pageAction, | |
21 | .contentHeaderNavigation, | |
22 | .contentFooterNavigation, | |
23 | .paginationTop, | |
24 | .paginationBottom, | |
25 | .buttonList, | |
26 | .collapsibleButton, | |
27 | .columnMark, | |
28 | .statusDisplay, | |
134902be MW |
29 | .dialogContainer, |
30 | .formSubmit, | |
0ec9b816 | 31 | .tabMenu > ul > li:not(.active), |
134902be | 32 | |
0ec9b816 MW |
33 | .showMore, |
34 | ||
35 | /* box layout */ | |
36 | .boxesSidebarLeft, | |
37 | .boxesSidebarRight, | |
38 | .boxesFooterBoxes, | |
39 | .boxesFooter, | |
40 | ||
41 | /* message layout */ | |
42 | .messageFooterButtons, | |
43 | .messageQuickOptions, | |
44 | .messageGroupEditLink, | |
45 | #messageQuickReply, | |
46 | .messageAuthor .badgeOnline, | |
47 | ||
48 | /* comment layout */ | |
134902be MW |
49 | .jsCommentAdd, |
50 | ||
51 | /* user profile */ | |
52 | .userProfileCoverPhoto, | |
53 | .userProfileButtonContainer, | |
7dfd5afb | 54 | .containerListButtonGroup { |
0ec9b816 MW |
55 | display: none !important; |
56 | } | |
57 | ||
0ec9b816 MW |
58 | /** minor optimizations **/ |
59 | .main { | |
60 | padding: 30px 0; | |
61 | } | |
62 | ||
63 | .content { | |
64 | flex-basis: auto !important; | |
65 | max-width: none !important; | |
66 | } | |
67 | ||
da04f85d MW |
68 | .pageNavigation { |
69 | display: block; | |
70 | padding-top: 10px; | |
71 | ||
72 | .breadcrumbs { | |
73 | margin-left: 0; | |
74 | } | |
0ec9b816 MW |
75 | } |
76 | ||
77 | .badge { | |
da04f85d MW |
78 | padding: 0 !important; |
79 | ||
0ec9b816 | 80 | &::before { |
da04f85d | 81 | content: "["; |
0ec9b816 MW |
82 | } |
83 | ||
84 | &::after { | |
da04f85d | 85 | content: "]"; |
0ec9b816 MW |
86 | } |
87 | } | |
134902be MW |
88 | |
89 | .userProfileUser { | |
90 | position: static !important; | |
91 | } | |
da04f85d MW |
92 | |
93 | a.externalURL::after { | |
94 | content: " (" attr(href) ")"; | |
95 | } | |
96 | ||
97 | .messageList, | |
98 | .messageList > li:not(:first-child) { | |
99 | border-top: 1px solid $wcfContentBorder; | |
100 | } | |
101 | ||
102 | .messageList > li { | |
103 | padding-top: 20px; | |
104 | } | |
105 | ||
106 | .messageSidebar { | |
107 | margin: 0 !important; | |
108 | padding: 0 !important; | |
109 | } | |
54af91e2 MW |
110 | |
111 | /* see https://bugzilla.mozilla.org/show_bug.cgi?id=939897 */ | |
112 | .pageContainer { | |
113 | display: block; | |
114 | } | |
0ec9b816 | 115 | } |