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, | |
0ec9b816 MW |
17 | .userNotice, |
18 | .pageAction, | |
19 | .contentHeaderNavigation, | |
20 | .contentFooterNavigation, | |
b788d0a4 | 21 | .contentInteraction, |
0ec9b816 MW |
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, | |
7dfd5afb | 53 | .containerListButtonGroup { |
0ec9b816 MW |
54 | display: none !important; |
55 | } | |
8a52619a | 56 | |
0ec9b816 MW |
57 | /** minor optimizations **/ |
58 | .main { | |
fb75fe82 | 59 | padding: 20px 0; |
0ec9b816 | 60 | } |
8a52619a | 61 | |
0ec9b816 MW |
62 | .content { |
63 | flex-basis: auto !important; | |
64 | max-width: none !important; | |
65 | } | |
8a52619a | 66 | |
da04f85d MW |
67 | .pageNavigation { |
68 | display: block; | |
69 | padding-top: 10px; | |
8a52619a | 70 | |
da04f85d MW |
71 | .breadcrumbs { |
72 | margin-left: 0; | |
73 | } | |
0ec9b816 | 74 | } |
8a52619a | 75 | |
0ec9b816 | 76 | .badge { |
da04f85d | 77 | padding: 0 !important; |
8a52619a | 78 | |
0ec9b816 | 79 | &::before { |
da04f85d | 80 | content: "["; |
0ec9b816 | 81 | } |
8a52619a | 82 | |
0ec9b816 | 83 | &::after { |
da04f85d | 84 | content: "]"; |
0ec9b816 MW |
85 | } |
86 | } | |
8a52619a | 87 | |
134902be MW |
88 | .userProfileUser { |
89 | position: static !important; | |
90 | } | |
8a52619a | 91 | |
da04f85d MW |
92 | a.externalURL::after { |
93 | content: " (" attr(href) ")"; | |
94 | } | |
8a52619a | 95 | |
da04f85d MW |
96 | .messageList, |
97 | .messageList > li:not(:first-child) { | |
1a75e228 | 98 | border-top: 1px solid var(--wcfContentBorder); |
da04f85d | 99 | } |
8a52619a | 100 | |
da04f85d MW |
101 | .messageList > li { |
102 | padding-top: 20px; | |
103 | } | |
8a52619a | 104 | |
da04f85d MW |
105 | .messageSidebar { |
106 | margin: 0 !important; | |
107 | padding: 0 !important; | |
108 | } | |
8a52619a | 109 | |
54af91e2 | 110 | /* see https://bugzilla.mozilla.org/show_bug.cgi?id=939897 */ |
83b14145 MW |
111 | .pageContainer, |
112 | .main > div { | |
113 | display: block !important; | |
54af91e2 | 114 | } |
0ec9b816 | 115 | } |