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

Fix white + icon hover / apps create

Summary: Decided to just remove the hover grey to white, seems fine with the new white icons.

Test Plan: use homepage + icons

Reviewers: epriestley, btrahan

Reviewed By: epriestley

CC: aran, Korvin

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

+50 -55
+1 -1
resources/sprite/manifest/icons.json
··· 688 688 }, 689 689 "icons-new-white" : { 690 690 "name" : "icons-new-white", 691 - "rule" : ".icons-new-white, .device-desktop .phabricator-action-view:hover .icons-new, .device-desktop .phui-list-sidenav .phui-list-item-href:hover .icons-new, .phabricator-application-launch-create:hover .phabricator-application-create-icon.icons-new-grey", 691 + "rule" : ".icons-new-white, .device-desktop .phabricator-action-view:hover .icons-new, .device-desktop .phui-list-sidenav .phui-list-item-href:hover .icons-new", 692 692 "hash" : "58d004330176465bf3f0ffe1fa5dea29" 693 693 }, 694 694 "icons-none" : {
+47 -47
src/__celerity_resource_map__.php
··· 1325 1325 ), 1326 1326 'javelin-behavior-conpherence-pontificate' => 1327 1327 array( 1328 - 'uri' => '/res/d596e5c2/rsrc/js/application/conpherence/behavior-pontificate.js', 1328 + 'uri' => '/res/19cb581b/rsrc/js/application/conpherence/behavior-pontificate.js', 1329 1329 'type' => 'js', 1330 1330 'requires' => 1331 1331 array( ··· 1339 1339 ), 1340 1340 'javelin-behavior-conpherence-widget-pane' => 1341 1341 array( 1342 - 'uri' => '/res/440f5bdf/rsrc/js/application/conpherence/behavior-widget-pane.js', 1342 + 'uri' => '/res/562ca20e/rsrc/js/application/conpherence/behavior-widget-pane.js', 1343 1343 'type' => 'js', 1344 1344 'requires' => 1345 1345 array( ··· 3975 3975 ), 3976 3976 'sprite-icons-css' => 3977 3977 array( 3978 - 'uri' => '/res/da6e8b74/rsrc/css/sprite-icons.css', 3978 + 'uri' => '/res/03295fbd/rsrc/css/sprite-icons.css', 3979 3979 'type' => 'css', 3980 3980 'requires' => 3981 3981 array( ··· 4048 4048 ), array( 4049 4049 'packages' => 4050 4050 array( 4051 - '236adaa0' => 4051 + '927f8f60' => 4052 4052 array( 4053 4053 'name' => 'core.pkg.css', 4054 4054 'symbols' => ··· 4096 4096 40 => 'phabricator-property-list-view-css', 4097 4097 41 => 'phabricator-tag-view-css', 4098 4098 ), 4099 - 'uri' => '/res/pkg/236adaa0/core.pkg.css', 4099 + 'uri' => '/res/pkg/927f8f60/core.pkg.css', 4100 4100 'type' => 'css', 4101 4101 ), 4102 4102 'f2ad0683' => ··· 4290 4290 'reverse' => 4291 4291 array( 4292 4292 'aphront-attached-file-view-css' => 'a7ca34a9', 4293 - 'aphront-dialog-view-css' => '236adaa0', 4294 - 'aphront-error-view-css' => '236adaa0', 4295 - 'aphront-form-view-css' => '236adaa0', 4296 - 'aphront-list-filter-view-css' => '236adaa0', 4297 - 'aphront-pager-view-css' => '236adaa0', 4298 - 'aphront-panel-view-css' => '236adaa0', 4299 - 'aphront-table-view-css' => '236adaa0', 4300 - 'aphront-tokenizer-control-css' => '236adaa0', 4301 - 'aphront-tooltip-css' => '236adaa0', 4302 - 'aphront-typeahead-control-css' => '236adaa0', 4293 + 'aphront-dialog-view-css' => '927f8f60', 4294 + 'aphront-error-view-css' => '927f8f60', 4295 + 'aphront-form-view-css' => '927f8f60', 4296 + 'aphront-list-filter-view-css' => '927f8f60', 4297 + 'aphront-pager-view-css' => '927f8f60', 4298 + 'aphront-panel-view-css' => '927f8f60', 4299 + 'aphront-table-view-css' => '927f8f60', 4300 + 'aphront-tokenizer-control-css' => '927f8f60', 4301 + 'aphront-tooltip-css' => '927f8f60', 4302 + 'aphront-typeahead-control-css' => '927f8f60', 4303 4303 'differential-changeset-view-css' => 'dd27a69b', 4304 4304 'differential-core-view-css' => 'dd27a69b', 4305 4305 'differential-inline-comment-editor' => '9488bb69', ··· 4313 4313 'differential-table-of-contents-css' => 'dd27a69b', 4314 4314 'diffusion-commit-view-css' => 'c8ce2d88', 4315 4315 'diffusion-icons-css' => 'c8ce2d88', 4316 - 'global-drag-and-drop-css' => '236adaa0', 4316 + 'global-drag-and-drop-css' => '927f8f60', 4317 4317 'inline-comment-summary-css' => 'dd27a69b', 4318 4318 'javelin-aphlict' => 'f2ad0683', 4319 4319 'javelin-behavior' => 'a9f14d76', ··· 4387 4387 'javelin-util' => 'a9f14d76', 4388 4388 'javelin-vector' => 'a9f14d76', 4389 4389 'javelin-workflow' => 'a9f14d76', 4390 - 'lightbox-attachment-css' => '236adaa0', 4390 + 'lightbox-attachment-css' => '927f8f60', 4391 4391 'maniphest-task-summary-css' => 'a7ca34a9', 4392 4392 'maniphest-transaction-detail-css' => 'a7ca34a9', 4393 - 'phabricator-action-list-view-css' => '236adaa0', 4394 - 'phabricator-application-launch-view-css' => '236adaa0', 4393 + 'phabricator-action-list-view-css' => '927f8f60', 4394 + 'phabricator-application-launch-view-css' => '927f8f60', 4395 4395 'phabricator-busy' => 'f2ad0683', 4396 4396 'phabricator-content-source-view-css' => 'dd27a69b', 4397 - 'phabricator-core-buttons-css' => '236adaa0', 4398 - 'phabricator-core-css' => '236adaa0', 4399 - 'phabricator-crumbs-view-css' => '236adaa0', 4397 + 'phabricator-core-buttons-css' => '927f8f60', 4398 + 'phabricator-core-css' => '927f8f60', 4399 + 'phabricator-crumbs-view-css' => '927f8f60', 4400 4400 'phabricator-drag-and-drop-file-upload' => '9488bb69', 4401 4401 'phabricator-dropdown-menu' => 'f2ad0683', 4402 4402 'phabricator-file-upload' => 'f2ad0683', 4403 - 'phabricator-filetree-view-css' => '236adaa0', 4404 - 'phabricator-flag-css' => '236adaa0', 4405 - 'phabricator-form-view-css' => '236adaa0', 4406 - 'phabricator-header-view-css' => '236adaa0', 4403 + 'phabricator-filetree-view-css' => '927f8f60', 4404 + 'phabricator-flag-css' => '927f8f60', 4405 + 'phabricator-form-view-css' => '927f8f60', 4406 + 'phabricator-header-view-css' => '927f8f60', 4407 4407 'phabricator-hovercard' => 'f2ad0683', 4408 - 'phabricator-jump-nav' => '236adaa0', 4408 + 'phabricator-jump-nav' => '927f8f60', 4409 4409 'phabricator-keyboard-shortcut' => 'f2ad0683', 4410 4410 'phabricator-keyboard-shortcut-manager' => 'f2ad0683', 4411 - 'phabricator-main-menu-view' => '236adaa0', 4411 + 'phabricator-main-menu-view' => '927f8f60', 4412 4412 'phabricator-menu-item' => 'f2ad0683', 4413 - 'phabricator-nav-view-css' => '236adaa0', 4413 + 'phabricator-nav-view-css' => '927f8f60', 4414 4414 'phabricator-notification' => 'f2ad0683', 4415 - 'phabricator-notification-css' => '236adaa0', 4416 - 'phabricator-notification-menu-css' => '236adaa0', 4417 - 'phabricator-object-item-list-view-css' => '236adaa0', 4415 + 'phabricator-notification-css' => '927f8f60', 4416 + 'phabricator-notification-menu-css' => '927f8f60', 4417 + 'phabricator-object-item-list-view-css' => '927f8f60', 4418 4418 'phabricator-object-selector-css' => 'dd27a69b', 4419 4419 'phabricator-phtize' => 'f2ad0683', 4420 4420 'phabricator-prefab' => 'f2ad0683', 4421 4421 'phabricator-project-tag-css' => 'a7ca34a9', 4422 - 'phabricator-property-list-view-css' => '236adaa0', 4423 - 'phabricator-remarkup-css' => '236adaa0', 4422 + 'phabricator-property-list-view-css' => '927f8f60', 4423 + 'phabricator-remarkup-css' => '927f8f60', 4424 4424 'phabricator-shaped-request' => '9488bb69', 4425 - 'phabricator-side-menu-view-css' => '236adaa0', 4426 - 'phabricator-standard-page-view' => '236adaa0', 4427 - 'phabricator-tag-view-css' => '236adaa0', 4425 + 'phabricator-side-menu-view-css' => '927f8f60', 4426 + 'phabricator-standard-page-view' => '927f8f60', 4427 + 'phabricator-tag-view-css' => '927f8f60', 4428 4428 'phabricator-textareautils' => 'f2ad0683', 4429 4429 'phabricator-tooltip' => 'f2ad0683', 4430 - 'phabricator-transaction-view-css' => '236adaa0', 4431 - 'phabricator-zindex-css' => '236adaa0', 4432 - 'phui-form-css' => '236adaa0', 4433 - 'phui-icon-view-css' => '236adaa0', 4434 - 'spacing-css' => '236adaa0', 4435 - 'sprite-apps-large-css' => '236adaa0', 4436 - 'sprite-gradient-css' => '236adaa0', 4437 - 'sprite-icons-css' => '236adaa0', 4438 - 'sprite-menu-css' => '236adaa0', 4439 - 'syntax-highlighting-css' => '236adaa0', 4430 + 'phabricator-transaction-view-css' => '927f8f60', 4431 + 'phabricator-zindex-css' => '927f8f60', 4432 + 'phui-form-css' => '927f8f60', 4433 + 'phui-icon-view-css' => '927f8f60', 4434 + 'spacing-css' => '927f8f60', 4435 + 'sprite-apps-large-css' => '927f8f60', 4436 + 'sprite-gradient-css' => '927f8f60', 4437 + 'sprite-icons-css' => '927f8f60', 4438 + 'sprite-menu-css' => '927f8f60', 4439 + 'syntax-highlighting-css' => '927f8f60', 4440 4440 ), 4441 4441 ));
+1 -1
src/applications/meta/view/PhabricatorApplicationLaunchView.php
··· 130 130 if ($application->getQuickCreateURI()) { 131 131 $classes[] = 'phabricator-application-create-icon'; 132 132 $classes[] = 'sprite-icons'; 133 - $classes[] = 'icons-new-grey'; 133 + $classes[] = 'icons-new-white'; 134 134 $plus_icon = phutil_tag( 135 135 'span', 136 136 array(
-5
src/infrastructure/celerity/CeleritySpriteGenerator.php
··· 42 42 '.icons-'.$icon; 43 43 $tcss[] = '.device-desktop .phui-list-sidenav '. 44 44 '.phui-list-item-href:hover .icons-'.$icon; 45 - if ($icon == 'new') { 46 - // Hover state for the "+" icons on homepage tiles. 47 - $tcss[] = '.phabricator-application-launch-create:hover '. 48 - '.phabricator-application-create-icon.icons-new-grey'; 49 - } 50 45 } 51 46 52 47 $sprite->setTargetCSS(implode(', ', $tcss));
+1 -1
webroot/rsrc/css/sprite-icons.css
··· 694 694 background-position: 0px -180px; 695 695 } 696 696 697 - .icons-new-white, .device-desktop .phabricator-action-view:hover .icons-new, .device-desktop .phui-list-sidenav .phui-list-item-href:hover .icons-new, .phabricator-application-launch-create:hover .phabricator-application-create-icon.icons-new-grey { 697 + .icons-new-white, .device-desktop .phabricator-action-view:hover .icons-new, .device-desktop .phui-list-sidenav .phui-list-item-href:hover .icons-new { 698 698 background-position: -15px -180px; 699 699 } 700 700