@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Make PHUITwoColumnView a little more printable

Summary: Hide navbar, and make curtain behave like on a phone, when printing.

Test Plan: {F5197340}

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: Korvin

Differential Revision: https://secure.phabricator.com/D18583

authored by

Aviv Eyal and committed by
avivey
9f11f310 1ac52c09

+75 -9
+9 -9
resources/celerity/map.php
··· 9 9 'names' => array( 10 10 'conpherence.pkg.css' => 'e68cf1fa', 11 11 'conpherence.pkg.js' => 'b5b51108', 12 - 'core.pkg.css' => 'e9473020', 12 + 'core.pkg.css' => '87a9a59b', 13 13 'core.pkg.js' => '28552e58', 14 14 'darkconsole.pkg.js' => '1f9a31bc', 15 15 'differential.pkg.css' => '45951e9e', ··· 114 114 'rsrc/css/application/slowvote/slowvote.css' => 'a94b7230', 115 115 'rsrc/css/application/tokens/tokens.css' => '3d0f239e', 116 116 'rsrc/css/application/uiexample/example.css' => '528b19de', 117 - 'rsrc/css/core/core.css' => '1760853c', 117 + 'rsrc/css/core/core.css' => '62fa3ace', 118 118 'rsrc/css/core/remarkup.css' => 'cad18339', 119 119 'rsrc/css/core/syntax.css' => 'cae95e89', 120 120 'rsrc/css/core/z-index.css' => '9d8f7c4b', ··· 137 137 'rsrc/css/phui/object-item/phui-oi-flush-ui.css' => '9d9685d6', 138 138 'rsrc/css/phui/object-item/phui-oi-list-view.css' => 'bf094950', 139 139 'rsrc/css/phui/object-item/phui-oi-simple-ui.css' => 'a8beebea', 140 - 'rsrc/css/phui/phui-action-list.css' => 'e7eba156', 140 + 'rsrc/css/phui/phui-action-list.css' => 'f7f61a34', 141 141 'rsrc/css/phui/phui-action-panel.css' => 'b4798122', 142 142 'rsrc/css/phui/phui-badge.css' => '22c0cf4f', 143 143 'rsrc/css/phui/phui-basic-nav-view.css' => '98c11ab3', ··· 148 148 'rsrc/css/phui/phui-comment-form.css' => 'ac68149f', 149 149 'rsrc/css/phui/phui-comment-panel.css' => 'f50152ad', 150 150 'rsrc/css/phui/phui-crumbs-view.css' => '6ece3bbb', 151 - 'rsrc/css/phui/phui-curtain-view.css' => 'ca363f15', 151 + 'rsrc/css/phui/phui-curtain-view.css' => '2bdaf026', 152 152 'rsrc/css/phui/phui-document-pro.css' => '8af7ea27', 153 153 'rsrc/css/phui/phui-document-summary.css' => '9ca48bdf', 154 154 'rsrc/css/phui/phui-document.css' => 'c32e8dec', ··· 177 177 'rsrc/css/phui/phui-status.css' => 'd5263e49', 178 178 'rsrc/css/phui/phui-tag-view.css' => 'b4719c50', 179 179 'rsrc/css/phui/phui-timeline-view.css' => 'f21db7ca', 180 - 'rsrc/css/phui/phui-two-column-view.css' => '1ade9c5f', 180 + 'rsrc/css/phui/phui-two-column-view.css' => '44ec4951', 181 181 'rsrc/css/phui/workboards/phui-workboard-color.css' => '783cdff5', 182 182 'rsrc/css/phui/workboards/phui-workboard.css' => '3bc85455', 183 183 'rsrc/css/phui/workboards/phui-workcard.css' => 'cca5fa92', ··· 765 765 'path-typeahead' => 'f7fc67ec', 766 766 'people-picture-menu-item-css' => 'a06f7f34', 767 767 'people-profile-css' => '4df76faf', 768 - 'phabricator-action-list-view-css' => 'e7eba156', 768 + 'phabricator-action-list-view-css' => 'f7f61a34', 769 769 'phabricator-busy' => '59a7976a', 770 770 'phabricator-chatlog-css' => 'd295b020', 771 771 'phabricator-content-source-view-css' => '4b8b05d4', 772 - 'phabricator-core-css' => '1760853c', 772 + 'phabricator-core-css' => '62fa3ace', 773 773 'phabricator-countdown-css' => '16c52f5c', 774 774 'phabricator-darklog' => 'c8e1ffe3', 775 775 'phabricator-darkmessage' => 'c48cccdd', ··· 833 833 'phui-comment-form-css' => 'ac68149f', 834 834 'phui-comment-panel-css' => 'f50152ad', 835 835 'phui-crumbs-view-css' => '6ece3bbb', 836 - 'phui-curtain-view-css' => 'ca363f15', 836 + 'phui-curtain-view-css' => '2bdaf026', 837 837 'phui-document-summary-view-css' => '9ca48bdf', 838 838 'phui-document-view-css' => 'c32e8dec', 839 839 'phui-document-view-pro-css' => '8af7ea27', ··· 872 872 'phui-tag-view-css' => 'b4719c50', 873 873 'phui-theme-css' => '9f261c6b', 874 874 'phui-timeline-view-css' => 'f21db7ca', 875 - 'phui-two-column-view-css' => '1ade9c5f', 875 + 'phui-two-column-view-css' => '44ec4951', 876 876 'phui-workboard-color-css' => '783cdff5', 877 877 'phui-workboard-view-css' => '3bc85455', 878 878 'phui-workcard-view-css' => 'cca5fa92',
+5
webroot/rsrc/css/core/core.css
··· 61 61 overflow-y: scroll; 62 62 } 63 63 64 + body.printable, 65 + !print body { 66 + background: none; 67 + } 68 + 64 69 textarea { 65 70 font: inherit; 66 71 }
+5
webroot/rsrc/css/phui/phui-action-list.css
··· 7 7 display: none; 8 8 } 9 9 10 + !print .phabricator-action-list-view { 11 + padding: 4px 0; 12 + display: none; 13 + } 14 + 10 15 .device .phuix-dropdown-menu .phabricator-action-list-view { 11 16 /* When an action list view appears inside a dropdown menu, don't hide it 12 17 by default. */
+28
webroot/rsrc/css/phui/phui-curtain-view.css
··· 21 21 border-top: 1px solid {$greybackground}; 22 22 } 23 23 24 + !print .phui-curtain-panel + .phui-curtain-panel { 25 + padding: 8px 0; 26 + border-top: none; 27 + } 28 + 29 + !print .device-desktop .phabricator-action-list-view + .phui-curtain-panel { 30 + padding: 8px 0; 31 + border-top: none; 32 + } 33 + 34 + !print .device-desktop .phui-curtain-panel + .phui-curtain-panel { 35 + padding: 8px 0; 36 + border-top: none; 37 + } 38 + 39 + !print .phabricator-action-list-view + .phui-curtain-panel { 40 + padding: 8px 0; 41 + border-top: none; 42 + } 43 + 24 44 .phui-curtain-panel-header { 25 45 padding: 0 0 4px; 26 46 color: {$bluetext}; ··· 37 57 padding: 0; 38 58 } 39 59 60 + !print .phui-curtain-panel-body { 61 + padding: 0; 62 + } 63 + 40 64 /* Project tags */ 41 65 42 66 .phui-curtain-panel-body .phabricator-handle-tag-list-item { ··· 50 74 .device .curtain-no-panels { 51 75 display: none; 52 76 } 77 + 78 + !print .curtain-no-panels { 79 + display: none; 80 + }
+28
webroot/rsrc/css/phui/phui-two-column-view.css
··· 79 79 width: 300px; 80 80 } 81 81 82 + !print .phui-two-column-view .phui-main-column { 83 + float: unset; 84 + width: unset; 85 + margin-bottom: 20px; 86 + } 87 + 88 + !print .phui-two-column-view .phui-side-column { 89 + float: unset; 90 + width: unset; 91 + margin-bottom: 20px; 92 + } 93 + 94 + !print .device-desktop .phui-two-column-view .phui-main-column { 95 + float: unset; 96 + width: unset; 97 + margin-bottom: 20px; 98 + } 99 + 100 + !print .device-desktop .phui-two-column-view .phui-side-column { 101 + float: unset; 102 + width: unset; 103 + margin-bottom: 20px; 104 + } 105 + 82 106 .device-desktop .phui-two-column-view.phui-side-column-left .phui-main-column { 83 107 float: right; 84 108 width: calc(100% - 280px); ··· 307 331 .phui-mobile-menu { 308 332 display: block; 309 333 } 334 + 335 + !print .phabricator-side-menu { 336 + display: none !important; 337 + }