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

Add white as ActionHeader color, use on Dashboards

Summary: Trying to lessen the visual footprint of a heavy-widget dashboard. Adds a plain style.

Test Plan:
Tested my homepage and dashboards

{F164709}

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: epriestley, Korvin

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

+22 -4
+2 -2
resources/celerity/map.php
··· 111 111 'rsrc/css/font/font-awesome.css' => '73d075c3', 112 112 'rsrc/css/font/font-source-sans-pro.css' => '91d53463', 113 113 'rsrc/css/font/phui-font-icon-base.css' => 'eb84f033', 114 - 'rsrc/css/layout/phabricator-action-header-view.css' => 'ad0d8f42', 114 + 'rsrc/css/layout/phabricator-action-header-view.css' => 'e464b159', 115 115 'rsrc/css/layout/phabricator-action-list-view.css' => 'dcbfc854', 116 116 'rsrc/css/layout/phabricator-crumbs-view.css' => '7fbf25b8', 117 117 'rsrc/css/layout/phabricator-filetree-view.css' => 'fccf9f82', ··· 683 683 'paste-css' => 'aa1767d1', 684 684 'path-typeahead' => 'f7fc67ec', 685 685 'people-profile-css' => 'ba7b2762', 686 - 'phabricator-action-header-view-css' => 'ad0d8f42', 686 + 'phabricator-action-header-view-css' => 'e464b159', 687 687 'phabricator-action-list-view-css' => 'dcbfc854', 688 688 'phabricator-application-launch-view-css' => '81bebcff', 689 689 'phabricator-busy' => '6453c869',
+2 -2
src/applications/dashboard/engine/PhabricatorDashboardPanelRenderingEngine.php
··· 206 206 case self::HEADER_MODE_EDIT: 207 207 $header = id(new PhabricatorActionHeaderView()) 208 208 ->setHeaderTitle($panel->getName()) 209 - ->setHeaderColor(PhabricatorActionHeaderView::HEADER_LIGHTBLUE); 209 + ->setHeaderColor(PhabricatorActionHeaderView::HEADER_WHITE); 210 210 $header = $this->addPanelHeaderActions($header); 211 211 break; 212 212 case self::HEADER_MODE_NORMAL: 213 213 default: 214 214 $header = id(new PhabricatorActionHeaderView()) 215 215 ->setHeaderTitle($panel->getName()) 216 - ->setHeaderColor(PhabricatorActionHeaderView::HEADER_LIGHTBLUE); 216 + ->setHeaderColor(PhabricatorActionHeaderView::HEADER_WHITE); 217 217 break; 218 218 } 219 219 return $header;
+1
src/view/layout/PhabricatorActionHeaderView.php
··· 9 9 const HEADER_RED = 'red'; 10 10 const HEADER_YELLOW = 'yellow'; 11 11 const HEADER_LIGHTBLUE ='lightblue'; 12 + const HEADER_WHITE = 'white'; 12 13 13 14 private $headerTitle; 14 15 private $headerHref;
+17
webroot/rsrc/css/layout/phabricator-action-header-view.css
··· 64 64 background: {$red}; 65 65 } 66 66 67 + .phabricator-action-header.gradient-white-header { 68 + background: #fff; 69 + } 70 + 71 + .dashboard-panel .phabricator-action-header.gradient-white-header { 72 + border: 1px solid {$lightblueborder}; 73 + border-bottom: 1px solid {$thinblueborder}; 74 + border-top-right-radius: 3px; 75 + border-top-left-radius: 3px; 76 + } 77 + 78 + .phabricator-action-header.gradient-white-header .phabricator-action-header-title { 79 + color: {$darkbluetext}; 80 + padding: 12px 0 12px 4px; 81 + } 82 + 83 + 67 84 .gradient-green-header .phabricator-action-header-title, 68 85 .gradient-red-header .phabricator-action-header-title, 69 86 .gradient-blue-header .phabricator-action-header-title,