@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.

Use Source Sans for Phriction

Summary: Adds Phriction to list of apps that use Source Sans as default font in addition to Legalpad and Diviner.

Test Plan: Tested various layouts imported from secure. Should be reasonably tested, but will follow up on secure.

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: epriestley, Korvin

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

+28 -13
+5 -5
resources/celerity/map.php
··· 7 7 */ 8 8 return array( 9 9 'names' => array( 10 - 'core.pkg.css' => '5a12afbf', 10 + 'core.pkg.css' => 'cd8c18d3', 11 11 'core.pkg.js' => 'ba6a742f', 12 12 'darkconsole.pkg.js' => 'df001cab', 13 13 'differential.pkg.css' => '4a93db37', ··· 105 105 'rsrc/css/application/tokens/tokens.css' => '3d0f239e', 106 106 'rsrc/css/application/uiexample/example.css' => '528b19de', 107 107 'rsrc/css/core/core.css' => '40151074', 108 - 'rsrc/css/core/remarkup.css' => '9b5d1f91', 108 + 'rsrc/css/core/remarkup.css' => '7fd5585f', 109 109 'rsrc/css/core/syntax.css' => '3c18c1cb', 110 110 'rsrc/css/core/z-index.css' => 'd1c137f2', 111 111 'rsrc/css/diviner/diviner-shared.css' => '38813222', ··· 127 127 'rsrc/css/phui/phui-button.css' => 'c7412aa1', 128 128 'rsrc/css/phui/phui-document.css' => 'a5615198', 129 129 'rsrc/css/phui/phui-feed-story.css' => 'e2c9bc83', 130 - 'rsrc/css/phui/phui-fontkit.css' => 'abeb59f0', 130 + 'rsrc/css/phui/phui-fontkit.css' => '1502a718', 131 131 'rsrc/css/phui/phui-form-view.css' => 'ebac1b1d', 132 132 'rsrc/css/phui/phui-form.css' => 'b78ec020', 133 133 'rsrc/css/phui/phui-header-view.css' => '39594ac0', ··· 739 739 'phabricator-phtize' => 'd254d646', 740 740 'phabricator-prefab' => 'bbae734c', 741 741 'phabricator-profile-css' => 'b459416e', 742 - 'phabricator-remarkup-css' => '9b5d1f91', 742 + 'phabricator-remarkup-css' => '7fd5585f', 743 743 'phabricator-search-results-css' => 'f240504c', 744 744 'phabricator-shaped-request' => '7cbe244b', 745 745 'phabricator-side-menu-view-css' => 'a2ccd7bd', ··· 780 780 'phui-document-view-css' => 'a5615198', 781 781 'phui-feed-story-css' => 'e2c9bc83', 782 782 'phui-font-icon-base-css' => 'eb84f033', 783 - 'phui-fontkit-css' => 'abeb59f0', 783 + 'phui-fontkit-css' => '1502a718', 784 784 'phui-form-css' => 'b78ec020', 785 785 'phui-form-view-css' => 'ebac1b1d', 786 786 'phui-header-view-css' => '39594ac0',
+1
src/applications/diviner/controller/DivinerAtomController.php
··· 121 121 $document = id(new PHUIDocumentView()) 122 122 ->setBook($book->getTitle(), $group_name) 123 123 ->setHeader($header) 124 + ->addClass('diviner-view') 124 125 ->setFontKit(PHUIDocumentView::FONT_SOURCE_SANS) 125 126 ->appendChild($properties) 126 127 ->appendChild($warnings)
+2
src/applications/diviner/controller/DivinerBookController.php
··· 38 38 39 39 $document = new PHUIDocumentView(); 40 40 $document->setHeader($header); 41 + $document->addClass('diviner-view'); 42 + 41 43 $document->setFontKit(PHUIDocumentView::FONT_SOURCE_SANS); 42 44 43 45 $properties = $this->buildPropertyList($book);
+1
src/applications/diviner/controller/DivinerMainController.php
··· 33 33 $document = new PHUIDocumentView(); 34 34 $document->setHeader($header); 35 35 $document->setFontKit(PHUIDocumentView::FONT_SOURCE_SANS); 36 + $document->addClass('diviner-view'); 36 37 37 38 if ($books) { 38 39 $books = msort($books, 'getTitle');
+1
src/applications/phriction/controller/PhrictionDocumentController.php
··· 208 208 209 209 $page_content = id(new PHUIDocumentView()) 210 210 ->setOffset(true) 211 + ->setFontKit(PHUIDocumentView::FONT_SOURCE_SANS) 211 212 ->setHeader($header) 212 213 ->appendChild( 213 214 array(
+10 -7
webroot/rsrc/css/core/remarkup.css
··· 238 238 239 239 .phabricator-remarkup-toc { 240 240 float: right; 241 - border: 1px solid {$lightblueborder}; 242 - background: {$lightgreybackground}; 243 - padding: 8px; 244 - width: 180px; 241 + border-left: 1px solid {$lightblueborder}; 242 + background: #fff; 243 + width: 160px; 244 + padding-left: 8px; 245 245 margin: 0 0 4px 8px; 246 246 } 247 247 248 248 .phabricator-remarkup-toc-header { 249 - font-size: 12px; 249 + font-size: 13px; 250 250 line-height: 12px; 251 251 color: {$darkbluetext}; 252 252 font-weight: bold; ··· 261 261 } 262 262 263 263 .phabricator-remarkup-toc ul ul { 264 - margin: 0 0 0 10px; 264 + margin: 0 0 0 8px; 265 265 } 266 266 267 267 .phabricator-remarkup-toc ul li { 268 268 padding: 0; 269 269 margin: 0; 270 - font-size: 11px; 270 + font-size: 13px; 271 + overflow: hidden; 272 + text-overflow: ellipsis; 273 + white-space: nowrap; 271 274 } 272 275 273 276 .phabricator-remarkup-embed-layout-right {
+8 -1
webroot/rsrc/css/phui/phui-fontkit.css
··· 28 28 padding: 1px 3px 2px; 29 29 } 30 30 31 - .phui-font-source-sans .phui-property-list-section { 31 + .diviner-view .phui-font-source-sans .phui-property-list-section { 32 32 border-bottom: 1px solid {$thinblueborder}; 33 33 margin-bottom: 8px; 34 34 background: {$lightgreybackground}; ··· 41 41 42 42 .phui-font-source-sans .phui-property-list-container { 43 43 padding-bottom: 6px; 44 + font-family: 'Helvetica Neue', Arial, sans-serif; 45 + font-size: 13px; 46 + line-height: 16px; 47 + } 48 + 49 + .phui-font-source-sans .phabricator-action-view { 50 + font-family: 'Helvetica Neue', Arial, sans-serif; 44 51 } 45 52 46 53 .phui-font-source-sans a.remarkup-link {