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

White hover policy icons

Summary: Makes a white hover icon show on the policy dropdown. Also fixed some spacing. Fixes T4017

Test Plan: hover over the policy dropdown

Reviewers: epriestley

Reviewed By: epriestley

CC: Korvin, epriestley, aran

Maniphest Tasks: T4017

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

+84 -67
+1 -1
resources/sprite/manifest/icons.json
··· 1098 1098 }, 1099 1099 "remarkup-assist-link" : { 1100 1100 "name" : "remarkup-assist-link", 1101 - "rule" : ".remarkup-assist-link", 1101 + "rule" : ".remarkup-assist-", 1102 1102 "hash" : "14fd38c00e80b6f4823ac543a96e63c2" 1103 1103 }, 1104 1104 "remarkup-assist-text_b" : {
+7 -7
resources/sprite/manifest/status.json
··· 218 218 }, 219 219 "status-policy-admin-white" : { 220 220 "name" : "status-policy-admin-white", 221 - "rule" : ".status-policy-admin-white", 221 + "rule" : ".status-policy-admin-white, .dropdown-menu-item:hover .status-policy-admin", 222 222 "hash" : "4b16ec5170bc30fb688f7e086e61a7f1" 223 223 }, 224 224 "status-policy-all" : { ··· 228 228 }, 229 229 "status-policy-all-white" : { 230 230 "name" : "status-policy-all-white", 231 - "rule" : ".status-policy-all-white", 231 + "rule" : ".status-policy-all-white, .dropdown-menu-item:hover .status-policy-all", 232 232 "hash" : "24ed12bf6f58c21a82be125ace2ff0d0" 233 233 }, 234 234 "status-policy-custom" : { ··· 238 238 }, 239 239 "status-policy-custom-white" : { 240 240 "name" : "status-policy-custom-white", 241 - "rule" : ".status-policy-custom-white", 241 + "rule" : ".status-policy-custom-white, .dropdown-menu-item:hover .status-policy-custom", 242 242 "hash" : "ff8b4cbe21f3b4254f343fffc170ef4b" 243 243 }, 244 244 "status-policy-noone" : { ··· 248 248 }, 249 249 "status-policy-noone-white" : { 250 250 "name" : "status-policy-noone-white", 251 - "rule" : ".status-policy-noone-white", 251 + "rule" : ".status-policy-noone-white, .dropdown-menu-item:hover .status-policy-noone", 252 252 "hash" : "80fb9b153fec4d8136242c5ddc2d8e77" 253 253 }, 254 254 "status-policy-project" : { ··· 258 258 }, 259 259 "status-policy-project-white" : { 260 260 "name" : "status-policy-project-white", 261 - "rule" : ".status-policy-project-white", 261 + "rule" : ".status-policy-project-white, .dropdown-menu-item:hover .status-policy-project", 262 262 "hash" : "ac2b6f19edb8d6c40f0bcb3fd477a067" 263 263 }, 264 264 "status-policy-public" : { ··· 268 268 }, 269 269 "status-policy-public-white" : { 270 270 "name" : "status-policy-public-white", 271 - "rule" : ".status-policy-public-white", 271 + "rule" : ".status-policy-public-white, .dropdown-menu-item:hover .status-policy-public", 272 272 "hash" : "cf809ca49eefed5375c2ea081e721971" 273 273 }, 274 274 "status-policy-unknown" : { ··· 278 278 }, 279 279 "status-policy-unknown-white" : { 280 280 "name" : "status-policy-unknown-white", 281 - "rule" : ".status-policy-unknown-white", 281 + "rule" : ".status-policy-unknown-white, .dropdown-menu-item:hover .status-policy-unknown", 282 282 "hash" : "98985bfa005672c4b88feaf88cfa72bc" 283 283 }, 284 284 "status-question-blue" : {
+48 -48
src/__celerity_resource_map__.php
··· 3822 3822 ), 3823 3823 'phui-button-css' => 3824 3824 array( 3825 - 'uri' => '/res/3b21ca84/rsrc/css/phui/phui-button.css', 3825 + 'uri' => '/res/abf52ae9/rsrc/css/phui/phui-button.css', 3826 3826 'type' => 'css', 3827 3827 'requires' => 3828 3828 array( ··· 4218 4218 ), 4219 4219 'sprite-icons-css' => 4220 4220 array( 4221 - 'uri' => '/res/b195fb94/rsrc/css/sprite-icons.css', 4221 + 'uri' => '/res/612d8282/rsrc/css/sprite-icons.css', 4222 4222 'type' => 'css', 4223 4223 'requires' => 4224 4224 array( ··· 4272 4272 ), 4273 4273 'sprite-status-css' => 4274 4274 array( 4275 - 'uri' => '/res/8e710031/rsrc/css/sprite-status.css', 4275 + 'uri' => '/res/c74fedbc/rsrc/css/sprite-status.css', 4276 4276 'type' => 'css', 4277 4277 'requires' => 4278 4278 array( ··· 4309 4309 ), array( 4310 4310 'packages' => 4311 4311 array( 4312 - 'e7bcbe65' => 4312 + '5f2b66f1' => 4313 4313 array( 4314 4314 'name' => 'core.pkg.css', 4315 4315 'symbols' => ··· 4358 4358 41 => 'phabricator-tag-view-css', 4359 4359 42 => 'phui-list-view-css', 4360 4360 ), 4361 - 'uri' => '/res/pkg/e7bcbe65/core.pkg.css', 4361 + 'uri' => '/res/pkg/5f2b66f1/core.pkg.css', 4362 4362 'type' => 'css', 4363 4363 ), 4364 4364 '2c1dba03' => ··· 4550 4550 ), 4551 4551 'reverse' => 4552 4552 array( 4553 - 'aphront-dialog-view-css' => 'e7bcbe65', 4554 - 'aphront-error-view-css' => 'e7bcbe65', 4555 - 'aphront-list-filter-view-css' => 'e7bcbe65', 4556 - 'aphront-pager-view-css' => 'e7bcbe65', 4557 - 'aphront-panel-view-css' => 'e7bcbe65', 4558 - 'aphront-table-view-css' => 'e7bcbe65', 4559 - 'aphront-tokenizer-control-css' => 'e7bcbe65', 4560 - 'aphront-tooltip-css' => 'e7bcbe65', 4561 - 'aphront-typeahead-control-css' => 'e7bcbe65', 4553 + 'aphront-dialog-view-css' => '5f2b66f1', 4554 + 'aphront-error-view-css' => '5f2b66f1', 4555 + 'aphront-list-filter-view-css' => '5f2b66f1', 4556 + 'aphront-pager-view-css' => '5f2b66f1', 4557 + 'aphront-panel-view-css' => '5f2b66f1', 4558 + 'aphront-table-view-css' => '5f2b66f1', 4559 + 'aphront-tokenizer-control-css' => '5f2b66f1', 4560 + 'aphront-tooltip-css' => '5f2b66f1', 4561 + 'aphront-typeahead-control-css' => '5f2b66f1', 4562 4562 'differential-changeset-view-css' => '0fe5af56', 4563 4563 'differential-core-view-css' => '0fe5af56', 4564 4564 'differential-inline-comment-editor' => '5e9e5c4e', ··· 4572 4572 'differential-table-of-contents-css' => '0fe5af56', 4573 4573 'diffusion-commit-view-css' => '270f4eb4', 4574 4574 'diffusion-icons-css' => '270f4eb4', 4575 - 'global-drag-and-drop-css' => 'e7bcbe65', 4575 + 'global-drag-and-drop-css' => '5f2b66f1', 4576 4576 'inline-comment-summary-css' => '0fe5af56', 4577 4577 'javelin-aphlict' => '2c1dba03', 4578 4578 'javelin-behavior' => '3e3be199', ··· 4647 4647 'javelin-util' => '3e3be199', 4648 4648 'javelin-vector' => '3e3be199', 4649 4649 'javelin-workflow' => '3e3be199', 4650 - 'lightbox-attachment-css' => 'e7bcbe65', 4650 + 'lightbox-attachment-css' => '5f2b66f1', 4651 4651 'maniphest-task-summary-css' => '49898640', 4652 - 'phabricator-action-list-view-css' => 'e7bcbe65', 4653 - 'phabricator-application-launch-view-css' => 'e7bcbe65', 4652 + 'phabricator-action-list-view-css' => '5f2b66f1', 4653 + 'phabricator-application-launch-view-css' => '5f2b66f1', 4654 4654 'phabricator-busy' => '2c1dba03', 4655 4655 'phabricator-content-source-view-css' => '0fe5af56', 4656 - 'phabricator-core-css' => 'e7bcbe65', 4657 - 'phabricator-crumbs-view-css' => 'e7bcbe65', 4656 + 'phabricator-core-css' => '5f2b66f1', 4657 + 'phabricator-crumbs-view-css' => '5f2b66f1', 4658 4658 'phabricator-drag-and-drop-file-upload' => '5e9e5c4e', 4659 4659 'phabricator-dropdown-menu' => '2c1dba03', 4660 4660 'phabricator-file-upload' => '2c1dba03', 4661 - 'phabricator-filetree-view-css' => 'e7bcbe65', 4662 - 'phabricator-flag-css' => 'e7bcbe65', 4661 + 'phabricator-filetree-view-css' => '5f2b66f1', 4662 + 'phabricator-flag-css' => '5f2b66f1', 4663 4663 'phabricator-hovercard' => '2c1dba03', 4664 - 'phabricator-jump-nav' => 'e7bcbe65', 4664 + 'phabricator-jump-nav' => '5f2b66f1', 4665 4665 'phabricator-keyboard-shortcut' => '2c1dba03', 4666 4666 'phabricator-keyboard-shortcut-manager' => '2c1dba03', 4667 - 'phabricator-main-menu-view' => 'e7bcbe65', 4667 + 'phabricator-main-menu-view' => '5f2b66f1', 4668 4668 'phabricator-menu-item' => '2c1dba03', 4669 - 'phabricator-nav-view-css' => 'e7bcbe65', 4669 + 'phabricator-nav-view-css' => '5f2b66f1', 4670 4670 'phabricator-notification' => '2c1dba03', 4671 - 'phabricator-notification-css' => 'e7bcbe65', 4672 - 'phabricator-notification-menu-css' => 'e7bcbe65', 4671 + 'phabricator-notification-css' => '5f2b66f1', 4672 + 'phabricator-notification-menu-css' => '5f2b66f1', 4673 4673 'phabricator-object-selector-css' => '0fe5af56', 4674 4674 'phabricator-phtize' => '2c1dba03', 4675 4675 'phabricator-prefab' => '2c1dba03', 4676 4676 'phabricator-project-tag-css' => '49898640', 4677 - 'phabricator-remarkup-css' => 'e7bcbe65', 4677 + 'phabricator-remarkup-css' => '5f2b66f1', 4678 4678 'phabricator-shaped-request' => '5e9e5c4e', 4679 - 'phabricator-side-menu-view-css' => 'e7bcbe65', 4680 - 'phabricator-standard-page-view' => 'e7bcbe65', 4681 - 'phabricator-tag-view-css' => 'e7bcbe65', 4679 + 'phabricator-side-menu-view-css' => '5f2b66f1', 4680 + 'phabricator-standard-page-view' => '5f2b66f1', 4681 + 'phabricator-tag-view-css' => '5f2b66f1', 4682 4682 'phabricator-textareautils' => '2c1dba03', 4683 4683 'phabricator-tooltip' => '2c1dba03', 4684 - 'phabricator-transaction-view-css' => 'e7bcbe65', 4685 - 'phabricator-zindex-css' => 'e7bcbe65', 4686 - 'phui-button-css' => 'e7bcbe65', 4687 - 'phui-form-css' => 'e7bcbe65', 4688 - 'phui-form-view-css' => 'e7bcbe65', 4689 - 'phui-header-view-css' => 'e7bcbe65', 4690 - 'phui-icon-view-css' => 'e7bcbe65', 4691 - 'phui-list-view-css' => 'e7bcbe65', 4692 - 'phui-object-item-list-view-css' => 'e7bcbe65', 4693 - 'phui-property-list-view-css' => 'e7bcbe65', 4694 - 'phui-spacing-css' => 'e7bcbe65', 4695 - 'sprite-apps-large-css' => 'e7bcbe65', 4696 - 'sprite-gradient-css' => 'e7bcbe65', 4697 - 'sprite-icons-css' => 'e7bcbe65', 4698 - 'sprite-menu-css' => 'e7bcbe65', 4699 - 'sprite-status-css' => 'e7bcbe65', 4700 - 'syntax-highlighting-css' => 'e7bcbe65', 4684 + 'phabricator-transaction-view-css' => '5f2b66f1', 4685 + 'phabricator-zindex-css' => '5f2b66f1', 4686 + 'phui-button-css' => '5f2b66f1', 4687 + 'phui-form-css' => '5f2b66f1', 4688 + 'phui-form-view-css' => '5f2b66f1', 4689 + 'phui-header-view-css' => '5f2b66f1', 4690 + 'phui-icon-view-css' => '5f2b66f1', 4691 + 'phui-list-view-css' => '5f2b66f1', 4692 + 'phui-object-item-list-view-css' => '5f2b66f1', 4693 + 'phui-property-list-view-css' => '5f2b66f1', 4694 + 'phui-spacing-css' => '5f2b66f1', 4695 + 'sprite-apps-large-css' => '5f2b66f1', 4696 + 'sprite-gradient-css' => '5f2b66f1', 4697 + 'sprite-icons-css' => '5f2b66f1', 4698 + 'sprite-menu-css' => '5f2b66f1', 4699 + 'sprite-status-css' => '5f2b66f1', 4700 + 'syntax-highlighting-css' => '5f2b66f1', 4701 4701 ), 4702 4702 ));
+18 -1
src/infrastructure/celerity/CeleritySpriteGenerator.php
··· 520 520 521 521 $sprites = array(); 522 522 $prefix = 'status_'; 523 + $extra_css = array( 524 + 'policy-custom-white' => 525 + ', .dropdown-menu-item:hover .status-policy-custom', 526 + 'policy-all-white' => 527 + ', .dropdown-menu-item:hover .status-policy-all', 528 + 'policy-unknown-white' => 529 + ', .dropdown-menu-item:hover .status-policy-unknown', 530 + 'policy-admin-white' => 531 + ', .dropdown-menu-item:hover .status-policy-admin', 532 + 'policy-public-white' => 533 + ', .dropdown-menu-item:hover .status-policy-public', 534 + 'policy-project-white' => 535 + ', .dropdown-menu-item:hover .status-policy-project', 536 + 'policy-noone-white' => 537 + ', .dropdown-menu-item:hover .status-policy-noone', 538 + ); 539 + 523 540 foreach ($icons as $icon) { 524 541 $sprite = id(clone $template) 525 542 ->setName('status-'.$icon) 526 - ->setTargetCSS('.status-'.$icon); 543 + ->setTargetCSS('.status-'.$icon.idx($extra_css, $icon)); 527 544 528 545 foreach ($scales as $scale_key => $scale) { 529 546 $path = $this->getPath($prefix.$scale_key.'/'.$icon.'.png');
+2 -2
webroot/rsrc/css/phui/phui-button.css
··· 135 135 border-bottom: none; 136 136 text-decoration: none; 137 137 text-shadow: none; 138 - color: #3b5998; 138 + color: #19558D; 139 139 -webkit-box-shadow: none; 140 140 -moz-box-shadow: none; 141 141 box-shadow: none; ··· 172 172 .dropdown-menu-frame .phui-icon-view { 173 173 display: inline-block; 174 174 padding: 0; 175 - margin: 2px 8px -2px 4px; 175 + margin: 2px 6px -2px 4px; 176 176 } 177 177 178 178 a.policy-control {
+1 -1
webroot/rsrc/css/sprite-icons.css
··· 894 894 background-position: -120px -210px; 895 895 } 896 896 897 - .remarkup-assist-link { 897 + .remarkup-assist- { 898 898 background-position: -135px -210px; 899 899 } 900 900
+7 -7
webroot/rsrc/css/sprite-status.css
··· 186 186 background-position: -75px -60px; 187 187 } 188 188 189 - .status-policy-admin-white { 189 + .status-policy-admin-white, .dropdown-menu-item:hover .status-policy-admin { 190 190 background-position: -90px -60px; 191 191 } 192 192 ··· 194 194 background-position: -105px -60px; 195 195 } 196 196 197 - .status-policy-all-white { 197 + .status-policy-all-white, .dropdown-menu-item:hover .status-policy-all { 198 198 background-position: -120px -60px; 199 199 } 200 200 ··· 202 202 background-position: 0px -75px; 203 203 } 204 204 205 - .status-policy-custom-white { 205 + .status-policy-custom-white, .dropdown-menu-item:hover .status-policy-custom { 206 206 background-position: -15px -75px; 207 207 } 208 208 ··· 210 210 background-position: -30px -75px; 211 211 } 212 212 213 - .status-policy-noone-white { 213 + .status-policy-noone-white, .dropdown-menu-item:hover .status-policy-noone { 214 214 background-position: -45px -75px; 215 215 } 216 216 ··· 218 218 background-position: -60px -75px; 219 219 } 220 220 221 - .status-policy-project-white { 221 + .status-policy-project-white, .dropdown-menu-item:hover .status-policy-project { 222 222 background-position: -75px -75px; 223 223 } 224 224 ··· 226 226 background-position: -90px -75px; 227 227 } 228 228 229 - .status-policy-public-white { 229 + .status-policy-public-white, .dropdown-menu-item:hover .status-policy-public { 230 230 background-position: -105px -75px; 231 231 } 232 232 ··· 234 234 background-position: -120px -75px; 235 235 } 236 236 237 - .status-policy-unknown-white { 237 + .status-policy-unknown-white, .dropdown-menu-item:hover .status-policy-unknown { 238 238 background-position: 0px -90px; 239 239 } 240 240