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

More minor CSS tweaks globally

Summary: Moves profile/project to use more standard colored boxes. Reverts dashboard border colors. Ensures better High-Contrast application more consistently across these projects. Also fix T12211.

Test Plan: Home, People, Projects in High Contrast / Standard

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

Maniphest Tasks: T12211

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

+47 -50
+11 -11
resources/celerity/map.php
··· 9 9 'names' => array( 10 10 'conpherence.pkg.css' => 'a520d619', 11 11 'conpherence.pkg.js' => '6249a1cf', 12 - 'core.pkg.css' => '25475b75', 12 + 'core.pkg.css' => '72ab63ef', 13 13 'core.pkg.js' => '1fa7c0c5', 14 14 'darkconsole.pkg.js' => 'e7393ebb', 15 15 'differential.pkg.css' => '4815647b', ··· 55 55 'rsrc/css/application/contentsource/content-source-view.css' => '4b8b05d4', 56 56 'rsrc/css/application/countdown/timer.css' => '16c52f5c', 57 57 'rsrc/css/application/daemon/bulk-job.css' => 'df9c1d4a', 58 - 'rsrc/css/application/dashboard/dashboard.css' => 'b1879090', 58 + 'rsrc/css/application/dashboard/dashboard.css' => '226c4dc6', 59 59 'rsrc/css/application/diff/inline-comment-summary.css' => '51efda3a', 60 60 'rsrc/css/application/differential/add-comment.css' => 'c47f8c40', 61 61 'rsrc/css/application/differential/changeset-view.css' => '6a9bdf9c', ··· 97 97 'rsrc/css/application/policy/policy.css' => '957ea14c', 98 98 'rsrc/css/application/ponder/ponder-view.css' => 'fbd45f96', 99 99 'rsrc/css/application/project/project-card-view.css' => 'f25746f5', 100 - 'rsrc/css/application/project/project-view.css' => 'ceabdbaa', 100 + 'rsrc/css/application/project/project-view.css' => '9f6ce0e1', 101 101 'rsrc/css/application/releeph/releeph-core.css' => '9b3c5733', 102 102 'rsrc/css/application/releeph/releeph-preview-branch.css' => 'b7a6f4a5', 103 103 'rsrc/css/application/releeph/releeph-request-differential-create-dialog.css' => '8d8b92cd', ··· 119 119 'rsrc/css/layout/phabricator-filetree-view.css' => 'fccf9f82', 120 120 'rsrc/css/layout/phabricator-source-code-view.css' => '4383192f', 121 121 'rsrc/css/phui/calendar/phui-calendar-day.css' => '572b1893', 122 - 'rsrc/css/phui/calendar/phui-calendar-list.css' => 'eb5c774b', 122 + 'rsrc/css/phui/calendar/phui-calendar-list.css' => '576be600', 123 123 'rsrc/css/phui/calendar/phui-calendar-month.css' => '8e10e92c', 124 124 'rsrc/css/phui/calendar/phui-calendar.css' => '477acfaa', 125 125 'rsrc/css/phui/object-item/phui-oi-big-ui.css' => '19f9369b', ··· 131 131 'rsrc/css/phui/phui-action-list.css' => 'f980c059', 132 132 'rsrc/css/phui/phui-action-panel.css' => '91c7b835', 133 133 'rsrc/css/phui/phui-badge.css' => '3baef8db', 134 - 'rsrc/css/phui/phui-basic-nav-view.css' => '2e7648d4', 134 + 'rsrc/css/phui/phui-basic-nav-view.css' => 'a0705f53', 135 135 'rsrc/css/phui/phui-big-info-view.css' => 'bd903741', 136 136 'rsrc/css/phui/phui-box.css' => '269cbc99', 137 137 'rsrc/css/phui/phui-button.css' => '7eaff361', ··· 149 149 'rsrc/css/phui/phui-form-view.css' => 'adca31ce', 150 150 'rsrc/css/phui/phui-form.css' => '5815af7b', 151 151 'rsrc/css/phui/phui-head-thing.css' => 'fd311e5f', 152 - 'rsrc/css/phui/phui-header-view.css' => '92935c02', 152 + 'rsrc/css/phui/phui-header-view.css' => 'fef6a54e', 153 153 'rsrc/css/phui/phui-hovercard.css' => 'e904f5dc', 154 154 'rsrc/css/phui/phui-icon-set-selector.css' => '87db8fee', 155 155 'rsrc/css/phui/phui-icon.css' => '09f46dd9', ··· 786 786 'phabricator-content-source-view-css' => '4b8b05d4', 787 787 'phabricator-core-css' => '9f4cb463', 788 788 'phabricator-countdown-css' => '16c52f5c', 789 - 'phabricator-dashboard-css' => 'b1879090', 789 + 'phabricator-dashboard-css' => '226c4dc6', 790 790 'phabricator-drag-and-drop-file-upload' => '58dea2fa', 791 791 'phabricator-draggable-list' => 'bea6e7f4', 792 792 'phabricator-fatal-config-template-css' => '8f18fa41', ··· 838 838 'phriction-document-css' => '4282e4ad', 839 839 'phui-action-panel-css' => '91c7b835', 840 840 'phui-badge-view-css' => '3baef8db', 841 - 'phui-basic-nav-view-css' => '2e7648d4', 841 + 'phui-basic-nav-view-css' => 'a0705f53', 842 842 'phui-big-info-view-css' => 'bd903741', 843 843 'phui-box-css' => '269cbc99', 844 844 'phui-button-css' => '7eaff361', 845 845 'phui-calendar-css' => '477acfaa', 846 846 'phui-calendar-day-css' => '572b1893', 847 - 'phui-calendar-list-css' => 'eb5c774b', 847 + 'phui-calendar-list-css' => '576be600', 848 848 'phui-calendar-month-css' => '8e10e92c', 849 849 'phui-chart-css' => '6bf6f78e', 850 850 'phui-cms-css' => '504b4b23', ··· 861 861 'phui-form-css' => '5815af7b', 862 862 'phui-form-view-css' => 'adca31ce', 863 863 'phui-head-thing-view-css' => 'fd311e5f', 864 - 'phui-header-view-css' => '92935c02', 864 + 'phui-header-view-css' => 'fef6a54e', 865 865 'phui-hovercard' => '1bd28176', 866 866 'phui-hovercard-view-css' => 'e904f5dc', 867 867 'phui-icon-set-selector-css' => '87db8fee', ··· 906 906 'policy-transaction-detail-css' => '82100a43', 907 907 'ponder-view-css' => 'fbd45f96', 908 908 'project-card-view-css' => 'f25746f5', 909 - 'project-view-css' => 'ceabdbaa', 909 + 'project-view-css' => '9f6ce0e1', 910 910 'releeph-core' => '9b3c5733', 911 911 'releeph-preview-branch' => 'b7a6f4a5', 912 912 'releeph-request-differential-create-dialog' => '8d8b92cd',
+9 -3
src/applications/people/controller/PhabricatorPeopleProfileViewController.php
··· 42 42 $home = id(new PHUITwoColumnView()) 43 43 ->setHeader($header) 44 44 ->addClass('project-view-home') 45 + ->addClass('project-view-people-home') 45 46 ->setMainColumn( 46 47 array( 47 48 $properties, ··· 87 88 return null; 88 89 } 89 90 91 + $header = id(new PHUIHeaderView()) 92 + ->setHeader(pht('User Details')); 93 + 90 94 $view = id(new PHUIObjectBoxView()) 91 95 ->appendChild($view) 96 + ->setHeader($header) 97 + ->setBackground(PHUIObjectBoxView::BLUE_PROPERTY) 92 98 ->addClass('project-view-properties'); 93 99 94 100 return $view; ··· 143 149 $box = id(new PHUIObjectBoxView()) 144 150 ->setHeader($header) 145 151 ->appendChild($list) 146 - ->setBackground(PHUIObjectBoxView::GREY); 152 + ->setBackground(PHUIObjectBoxView::BLUE_PROPERTY); 147 153 148 154 return $box; 149 155 } ··· 217 223 ->setHeader($header) 218 224 ->appendChild($day_view) 219 225 ->addClass('calendar-profile-box') 220 - ->setBackground(PHUIObjectBoxView::GREY); 226 + ->setBackground(PHUIObjectBoxView::BLUE_PROPERTY); 221 227 222 228 return $box; 223 229 } ··· 317 323 ->setHeader($header) 318 324 ->addClass('project-view-badges') 319 325 ->appendChild($flex) 320 - ->setBackground(PHUIObjectBoxView::GREY); 326 + ->setBackground(PHUIObjectBoxView::BLUE_PROPERTY); 321 327 322 328 return $box; 323 329 }
+8 -3
src/applications/project/controller/PhabricatorProjectProfileController.php
··· 59 59 ->setUser($viewer) 60 60 ->setProject($project) 61 61 ->setLimit(5) 62 - ->setBackground(PHUIObjectBoxView::GREY) 62 + ->setBackground(PHUIObjectBoxView::BLUE_PROPERTY) 63 63 ->setUserPHIDs($project->getMemberPHIDs()); 64 64 65 65 $watcher_list = id(new PhabricatorProjectWatcherListView()) 66 66 ->setUser($viewer) 67 67 ->setProject($project) 68 68 ->setLimit(5) 69 - ->setBackground(PHUIObjectBoxView::GREY) 69 + ->setBackground(PHUIObjectBoxView::BLUE_PROPERTY) 70 70 ->setUserPHIDs($project->getWatcherPHIDs()); 71 71 72 72 $nav = $this->getProfileMenu(); ··· 137 137 return null; 138 138 } 139 139 140 + $header = id(new PHUIHeaderView()) 141 + ->setHeader(pht('Properties')); 142 + 140 143 $view = id(new PHUIObjectBoxView()) 144 + ->setHeader($header) 141 145 ->appendChild($view) 146 + ->setBackground(PHUIObjectBoxView::BLUE_PROPERTY) 142 147 ->addClass('project-view-properties'); 143 148 144 149 return $view; ··· 287 292 288 293 return id(new PHUIObjectBoxView()) 289 294 ->setHeader($header) 290 - ->setBackground(PHUIObjectBoxView::GREY) 295 + ->setBackground(PHUIObjectBoxView::BLUE_PROPERTY) 291 296 ->setObjectList($subproject_list); 292 297 } 293 298
-5
webroot/rsrc/css/application/dashboard/dashboard.css
··· 14 14 margin: 0 0 16px 0; 15 15 } 16 16 17 - .dashboard-view .phui-box-border { 18 - border-color: rgba({$alphablue},.2); 19 - border-bottom-color: rgba({$alphablue},.3); 20 - } 21 - 22 17 .dashboard-view .phui-header-shell { 23 18 padding-top: 4px; 24 19 padding-bottom: 16px;
+14 -23
webroot/rsrc/css/application/project/project-view.css
··· 2 2 * @provides project-view-css 3 3 */ 4 4 5 + .project-view-people-home.phui-two-column-view .phui-two-column-header { 6 + background: transparent; 7 + border: none; 8 + margin-bottom: 8px; 9 + } 10 + 5 11 .project-view-header-tag { 6 12 margin-left: 8px; 7 13 font-size: {$normalfontsize}; ··· 27 33 .project-view-home .phui-box.project-view-properties { 28 34 margin: 0 0 16px 0; 29 35 padding: 0; 30 - border: 1px solid rgba({$alphagrey}, .2); 31 - background-color: #fff; 32 36 } 33 37 34 38 .device-desktop .phui-two-column-view .project-view-properties ··· 38 42 39 43 .project-view-properties .phui-property-list-container + 40 44 .phui-property-list-text-content { 41 - border-color: rgba({$alphagrey},.2); 45 + border-color: {$thinblueborder}; 42 46 } 43 47 44 48 .project-view-properties .phui-property-list-key { ··· 51 55 padding: 12px 4px 0; 52 56 } 53 57 54 - .project-view-feed.phui-object-box.phui-box-border { 55 - border: 1px solid rgba({$alphagrey}, .2); 56 - } 57 - 58 - .project-view-home .phui-box-grey { 59 - padding: 0; 60 - } 61 - 62 - .project-view-home .phui-box-grey .phui-header-shell { 58 + .project-view-home .phui-side-column .phui-object-box .phui-header-shell { 63 59 padding: 6px 6px 6px 12px; 64 60 } 65 61 66 - .project-view-home .phui-box-grey .phui-header-header { 67 - font-size: {$biggerfontsize}; 68 - } 69 - 70 - .project-view-home .phui-box-grey .phui-header-action-link { 71 - margin-top: 0; 72 - margin-bottom: 0; 73 - } 74 - 75 - .project-view-home .phui-box-grey .phui-oi-list-view { 76 - padding: 4px 8px 0 8px; 62 + .project-view-home .phui-side-column .phui-object-box 63 + div.phui-info-severity-nodata { 64 + color: {$lightgreytext}; 65 + font-style: italic; 66 + border: none; 67 + text-align: center; 77 68 } 78 69 79 70 .project-view-badges .phui-badge-flex-view {
+1 -1
webroot/rsrc/css/phui/calendar/phui-calendar-list.css
··· 12 12 padding: 0 12px 12px; 13 13 } 14 14 15 - .project-view-home .phui-box-grey .phui-calendar-list-container 15 + .project-view-home .phui-object-box .phui-calendar-list-container 16 16 .phui-header-shell { 17 17 padding: 8px 0; 18 18 background: #fff;
-4
webroot/rsrc/css/phui/phui-basic-nav-view.css
··· 27 27 display: none; 28 28 } 29 29 30 - .phabricator-home .phui-basic-nav .phabricator-side-menu { 31 - background: transparent; 32 - } 33 - 34 30 .device-phone.phabricator-home .phui-basic-nav .phabricator-side-menu 35 31 .phui-list-item-selected { 36 32 background-color: transparent;
+4
webroot/rsrc/css/phui/phui-header-view.css
··· 93 93 color: {$darkbluetext}; 94 94 } 95 95 96 + .phui-box-blue-property .phui-header-view .phui-header-header a { 97 + color: {$bluetext}; 98 + } 99 + 96 100 .device-desktop .phui-header-view .phui-header-header a:hover { 97 101 text-decoration: none; 98 102 color: {$blue};