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

Restyle remarkup file links

Summary: Removes the icon image, uses font awesome. Better spacing.

Test Plan: Attach files to task, see new layout. click file, click download.

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

Maniphest Tasks: T3612

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

+26 -6
+3 -3
resources/celerity/map.php
··· 9 9 'names' => array( 10 10 'conpherence.pkg.css' => '0b64e988', 11 11 'conpherence.pkg.js' => '6249a1cf', 12 - 'core.pkg.css' => '92233377', 12 + 'core.pkg.css' => '6ae56144', 13 13 'core.pkg.js' => '519f84e8', 14 14 'darkconsole.pkg.js' => 'e7393ebb', 15 15 'differential.pkg.css' => 'a4ba74b5', ··· 108 108 'rsrc/css/application/tokens/tokens.css' => '3d0f239e', 109 109 'rsrc/css/application/uiexample/example.css' => '528b19de', 110 110 'rsrc/css/core/core.css' => 'd0801452', 111 - 'rsrc/css/core/remarkup.css' => 'e70ca862', 111 + 'rsrc/css/core/remarkup.css' => '8e3d4635', 112 112 'rsrc/css/core/syntax.css' => '769d3498', 113 113 'rsrc/css/core/z-index.css' => 'd1270942', 114 114 'rsrc/css/diviner/diviner-shared.css' => 'aa3656aa', ··· 803 803 'phabricator-object-selector-css' => '85ee8ce6', 804 804 'phabricator-phtize' => 'd254d646', 805 805 'phabricator-prefab' => '8d40ae75', 806 - 'phabricator-remarkup-css' => 'e70ca862', 806 + 'phabricator-remarkup-css' => '8e3d4635', 807 807 'phabricator-search-results-css' => '7dea472c', 808 808 'phabricator-shaped-request' => '7cbe244b', 809 809 'phabricator-slowvote-css' => 'a94b7230',
+7 -1
src/view/layout/PhabricatorFileLinkView.php
··· 97 97 $class = $this->getCustomClass(); 98 98 } 99 99 100 + $icon = id(new PHUIIconView()) 101 + ->setIcon('fa-file-text-o'); 102 + 100 103 return javelin_tag( 101 104 'a', 102 105 array( ··· 106 109 'meta' => $meta, 107 110 'mustcapture' => $mustcapture, 108 111 ), 109 - $this->getFileName()); 112 + array( 113 + $icon, 114 + $this->getFileName(), 115 + )); 110 116 } 111 117 }
+16 -2
webroot/rsrc/css/core/remarkup.css
··· 370 370 } 371 371 372 372 .phabricator-remarkup-embed-layout-link { 373 - padding-left: 20px; 374 - background: url(/rsrc/image/icon/fatcow/page_white_put.png) 0 0 no-repeat; 373 + padding: 2px 0; 374 + border-radius: 3px; 375 + margin: 0; 376 + display: inline-block; 377 + font-weight: bold; 378 + color: {$anchor}; 379 + -webkit-font-smoothing: antialiased; 380 + } 381 + 382 + .phabricator-remarkup-embed-layout-link .phui-icon-view { 383 + margin-right: 8px; 384 + } 385 + 386 + .phabricator-remarkup-embed-layout-link:hover, 387 + .phabricator-remarkup-embed-layout-link:hover .phui-icon-view { 388 + color: {$violet}; 375 389 } 376 390 377 391 .phabricator-remarkup-embed-float-left {