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 | } | |
8a52619a | 13 | |
0ec9b816 MW |
14 | /** hide obsolete elements **/ |
15 | /* general elements */ | |
16 | .pageHeaderContainer, | |
17 | .pageNavigationIcons, | |
18 | .userNotice, | |
19 | .pageAction, | |
20 | .contentHeaderNavigation, | |
21 | .contentFooterNavigation, | |
22 | .paginationTop, | |
23 | .paginationBottom, | |
24 | .buttonList, | |
25 | .collapsibleButton, | |
26 | .columnMark, | |
27 | .statusDisplay, | |
134902be MW |
28 | .dialogContainer, |
29 | .formSubmit, | |
0ec9b816 | 30 | .tabMenu > ul > li:not(.active), |
134902be | 31 | |
0ec9b816 MW |
32 | .showMore, |
33 | ||
34 | /* box layout */ | |
35 | .boxesSidebarLeft, | |
36 | .boxesSidebarRight, | |
37 | .boxesFooterBoxes, | |
38 | .boxesFooter, | |
39 | ||
40 | /* message layout */ | |
41 | .messageFooterButtons, | |
831e34df | 42 | .messageFooterButtonsExtra, |
0ec9b816 MW |
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 | } | |
8a52619a | 57 | |
0ec9b816 MW |
58 | /** minor optimizations **/ |
59 | .main { | |
fb75fe82 | 60 | padding: 20px 0; |
0ec9b816 | 61 | } |
8a52619a | 62 | |
0ec9b816 MW |
63 | .content { |
64 | flex-basis: auto !important; | |
65 | max-width: none !important; | |
66 | } | |
8a52619a | 67 | |
da04f85d MW |
68 | .pageNavigation { |
69 | display: block; | |
70 | padding-top: 10px; | |
8a52619a | 71 | |
da04f85d MW |
72 | .breadcrumbs { |
73 | margin-left: 0; | |
74 | } | |
0ec9b816 | 75 | } |
8a52619a | 76 | |
0ec9b816 | 77 | .badge { |
da04f85d | 78 | padding: 0 !important; |
8a52619a | 79 | |
0ec9b816 | 80 | &::before { |
da04f85d | 81 | content: "["; |
0ec9b816 | 82 | } |
8a52619a | 83 | |
0ec9b816 | 84 | &::after { |
da04f85d | 85 | content: "]"; |
0ec9b816 MW |
86 | } |
87 | } | |
8a52619a | 88 | |
134902be MW |
89 | .userProfileUser { |
90 | position: static !important; | |
91 | } | |
8a52619a | 92 | |
da04f85d MW |
93 | a.externalURL::after { |
94 | content: " (" attr(href) ")"; | |
95 | } | |
8a52619a | 96 | |
da04f85d MW |
97 | .messageList, |
98 | .messageList > li:not(:first-child) { | |
99 | border-top: 1px solid $wcfContentBorder; | |
100 | } | |
8a52619a | 101 | |
da04f85d MW |
102 | .messageList > li { |
103 | padding-top: 20px; | |
104 | } | |
8a52619a | 105 | |
da04f85d MW |
106 | .messageSidebar { |
107 | margin: 0 !important; | |
108 | padding: 0 !important; | |
109 | } | |
8a52619a | 110 | |
54af91e2 | 111 | /* see https://bugzilla.mozilla.org/show_bug.cgi?id=939897 */ |
83b14145 MW |
112 | .pageContainer, |
113 | .main > div { | |
114 | display: block !important; | |
54af91e2 | 115 | } |
0ec9b816 | 116 | } |