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

Login icons

Summary: Took a stab at some login icons for buttons.

Test Plan: photoshop

Reviewers: epriestley, btrahan

Reviewed By: epriestley

CC: aran, Korvin

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

+221
resources/sprite/login_1x/Amazon.png

This is a binary file and will not be displayed.

resources/sprite/login_1x/Asana.png

This is a binary file and will not be displayed.

resources/sprite/login_1x/Disqus.png

This is a binary file and will not be displayed.

resources/sprite/login_1x/Dropbox.png

This is a binary file and will not be displayed.

resources/sprite/login_1x/Facebook.png

This is a binary file and will not be displayed.

resources/sprite/login_1x/Generic.png

This is a binary file and will not be displayed.

resources/sprite/login_1x/Github.png

This is a binary file and will not be displayed.

resources/sprite/login_1x/Google.png

This is a binary file and will not be displayed.

resources/sprite/login_1x/HTTP.png

This is a binary file and will not be displayed.

resources/sprite/login_1x/LDAP.png

This is a binary file and will not be displayed.

resources/sprite/login_1x/Linkedin.png

This is a binary file and will not be displayed.

resources/sprite/login_1x/Openid.png

This is a binary file and will not be displayed.

resources/sprite/login_1x/Phabricator.png

This is a binary file and will not be displayed.

resources/sprite/login_1x/Twitter.png

This is a binary file and will not be displayed.

resources/sprite/login_1x/Yahoo.png

This is a binary file and will not be displayed.

resources/sprite/login_2x/Amazon.png

This is a binary file and will not be displayed.

resources/sprite/login_2x/Asana.png

This is a binary file and will not be displayed.

resources/sprite/login_2x/Disqus.png

This is a binary file and will not be displayed.

resources/sprite/login_2x/Dropbox.png

This is a binary file and will not be displayed.

resources/sprite/login_2x/Facebook.png

This is a binary file and will not be displayed.

resources/sprite/login_2x/Generic.png

This is a binary file and will not be displayed.

resources/sprite/login_2x/Github.png

This is a binary file and will not be displayed.

resources/sprite/login_2x/Google.png

This is a binary file and will not be displayed.

resources/sprite/login_2x/HTTP.png

This is a binary file and will not be displayed.

resources/sprite/login_2x/LDAP.png

This is a binary file and will not be displayed.

resources/sprite/login_2x/Linkedin.png

This is a binary file and will not be displayed.

resources/sprite/login_2x/Openid.png

This is a binary file and will not be displayed.

resources/sprite/login_2x/Phabricator.png

This is a binary file and will not be displayed.

resources/sprite/login_2x/Twitter.png

This is a binary file and will not be displayed.

resources/sprite/login_2x/Yahoo.png

This is a binary file and will not be displayed.

+86
resources/sprite/manifest/login.json
··· 1 + { 2 + "version" : 1, 3 + "sprites" : { 4 + "login_Amazon" : { 5 + "name" : "login_Amazon", 6 + "rule" : ".login_Amazon", 7 + "hash" : "5961e41c525ef46c88558616fcf23272" 8 + }, 9 + "login_Asana" : { 10 + "name" : "login_Asana", 11 + "rule" : ".login_Asana", 12 + "hash" : "30df492eab339fa64c9ae9b21bb46a18" 13 + }, 14 + "login_Disqus" : { 15 + "name" : "login_Disqus", 16 + "rule" : ".login_Disqus", 17 + "hash" : "5f46ac50a5d9d13245971c298f49e13b" 18 + }, 19 + "login_Dropbox" : { 20 + "name" : "login_Dropbox", 21 + "rule" : ".login_Dropbox", 22 + "hash" : "572ab36301762414365b68c0bc185ac5" 23 + }, 24 + "login_Facebook" : { 25 + "name" : "login_Facebook", 26 + "rule" : ".login_Facebook", 27 + "hash" : "2b1511f5b4d12076dd9086d1bb187b28" 28 + }, 29 + "login_Generic" : { 30 + "name" : "login_Generic", 31 + "rule" : ".login_Generic", 32 + "hash" : "60d75c38668ffd6eea91a40e66186601" 33 + }, 34 + "login_Github" : { 35 + "name" : "login_Github", 36 + "rule" : ".login_Github", 37 + "hash" : "633696beb8c1eaac642ce4955be917d8" 38 + }, 39 + "login_Google" : { 40 + "name" : "login_Google", 41 + "rule" : ".login_Google", 42 + "hash" : "b7d3962a31df1e6c13e0a3c97c08f11d" 43 + }, 44 + "login_HTTP" : { 45 + "name" : "login_HTTP", 46 + "rule" : ".login_HTTP", 47 + "hash" : "6fcf0f666c0f6f1e1cd8f397b41ed176" 48 + }, 49 + "login_LDAP" : { 50 + "name" : "login_LDAP", 51 + "rule" : ".login_LDAP", 52 + "hash" : "5b4e01ddf35cd40c8f061c90abc89b6c" 53 + }, 54 + "login_Linkedin" : { 55 + "name" : "login_Linkedin", 56 + "rule" : ".login_Linkedin", 57 + "hash" : "0dd89825046fa4fd0fe402aa2cd55fd1" 58 + }, 59 + "login_Openid" : { 60 + "name" : "login_Openid", 61 + "rule" : ".login_Openid", 62 + "hash" : "9267ffbb8d4e6dee409c4d8fa2d50c0a" 63 + }, 64 + "login_Phabricator" : { 65 + "name" : "login_Phabricator", 66 + "rule" : ".login_Phabricator", 67 + "hash" : "fad258eb347a1ccf5800b0ee2d8e6e49" 68 + }, 69 + "login_Twitter" : { 70 + "name" : "login_Twitter", 71 + "rule" : ".login_Twitter", 72 + "hash" : "0b64983507a720b365474b778a966bab" 73 + }, 74 + "login_Yahoo" : { 75 + "name" : "login_Yahoo", 76 + "rule" : ".login_Yahoo", 77 + "hash" : "1cc6fceee294045fe6d1c1d3aa31d2c1" 78 + } 79 + }, 80 + "scales" : [ 81 + 1, 82 + 2 83 + ], 84 + "header" : "\/**\n * @provides sprite-login-css\n * @generated\n *\/\n\n.sprite-login {\n background-image: url(\/rsrc\/image\/sprite-login.png);\n background-repeat: no-repeat;\n}\n\n@media\nonly screen and (min-device-pixel-ratio: 1.5),\nonly screen and (-webkit-min-device-pixel-ratio: 1.5) {\n .sprite-login {\n background-image: url(\/rsrc\/image\/sprite-login-X2.png);\n background-size: {X}px {Y}px;\n }\n}\n", 85 + "type" : "standard" 86 + }
+1
scripts/celerity/generate_sprites.php
··· 38 38 'tokens' => $generator->buildTokenSheet(), 39 39 'docs' => $generator->buildDocsSheet(), 40 40 'gradient' => $generator->buildGradientSheet(), 41 + 'login' => $generator->buildLoginSheet(), 41 42 ); 42 43 43 44 list($err) = exec_manual('optipng');
+23
src/__celerity_resource_map__.php
··· 623 623 'disk' => '/rsrc/image/sprite-icons.png', 624 624 'type' => 'png', 625 625 ), 626 + '/rsrc/image/sprite-login-X2.png' => 627 + array( 628 + 'hash' => '0836f6f5ae0f181d32814811998c84ce', 629 + 'uri' => '/res/0836f6f5/rsrc/image/sprite-login-X2.png', 630 + 'disk' => '/rsrc/image/sprite-login-X2.png', 631 + 'type' => 'png', 632 + ), 633 + '/rsrc/image/sprite-login.png' => 634 + array( 635 + 'hash' => 'e11c22448d143e85e6be034894e138c5', 636 + 'uri' => '/res/e11c2244/rsrc/image/sprite-login.png', 637 + 'disk' => '/rsrc/image/sprite-login.png', 638 + 'type' => 'png', 639 + ), 626 640 '/rsrc/image/sprite-menu-X2.png' => 627 641 array( 628 642 'hash' => '867092041ce0a62b7e50136213ca7be1', ··· 3967 3981 array( 3968 3982 ), 3969 3983 'disk' => '/rsrc/css/sprite-icons.css', 3984 + ), 3985 + 'sprite-login-css' => 3986 + array( 3987 + 'uri' => '/res/7294661a/rsrc/css/sprite-login.css', 3988 + 'type' => 'css', 3989 + 'requires' => 3990 + array( 3991 + ), 3992 + 'disk' => '/rsrc/css/sprite-login.css', 3970 3993 ), 3971 3994 'sprite-menu-css' => 3972 3995 array(
+32
src/infrastructure/celerity/CeleritySpriteGenerator.php
··· 442 442 return $sheet; 443 443 } 444 444 445 + public function buildLoginSheet() { 446 + $icons = $this->getDirectoryList('login_1x'); 447 + $scales = array( 448 + '1x' => 1, 449 + '2x' => 2, 450 + ); 451 + $template = id(new PhutilSprite()) 452 + ->setSourceSize(34, 34); 453 + 454 + $sprites = array(); 455 + $prefix = 'login_'; 456 + foreach ($icons as $icon) { 457 + $sprite = id(clone $template) 458 + ->setName($prefix.$icon) 459 + ->setTargetCSS('.'.$prefix.$icon); 460 + 461 + foreach ($scales as $scale_key => $scale) { 462 + $path = $this->getPath($prefix.$scale_key.'/'.$icon.'.png'); 463 + $sprite->setSourceFile($path, $scale); 464 + } 465 + $sprites[] = $sprite; 466 + } 467 + 468 + $sheet = $this->buildSheet('login', true); 469 + $sheet->setScales($scales); 470 + foreach ($sprites as $sprite) { 471 + $sheet->addSprite($sprite); 472 + } 473 + 474 + return $sheet; 475 + } 476 + 445 477 public function buildGradientSheet() { 446 478 $gradients = $this->getDirectoryList('gradients'); 447 479
+79
webroot/rsrc/css/sprite-login.css
··· 1 + /** 2 + * @provides sprite-login-css 3 + * @generated 4 + */ 5 + 6 + .sprite-login { 7 + background-image: url(/rsrc/image/sprite-login.png); 8 + background-repeat: no-repeat; 9 + } 10 + 11 + @media 12 + only screen and (min-device-pixel-ratio: 1.5), 13 + only screen and (-webkit-min-device-pixel-ratio: 1.5) { 14 + .sprite-login { 15 + background-image: url(/rsrc/image/sprite-login-X2.png); 16 + background-size: 140px 140px; 17 + } 18 + } 19 + 20 + 21 + .login_Amazon { 22 + background-position: 0px 0px; 23 + } 24 + 25 + .login_Asana { 26 + background-position: -35px 0px; 27 + } 28 + 29 + .login_Disqus { 30 + background-position: -70px 0px; 31 + } 32 + 33 + .login_Dropbox { 34 + background-position: -105px 0px; 35 + } 36 + 37 + .login_Facebook { 38 + background-position: 0px -35px; 39 + } 40 + 41 + .login_Generic { 42 + background-position: -35px -35px; 43 + } 44 + 45 + .login_Github { 46 + background-position: -70px -35px; 47 + } 48 + 49 + .login_Google { 50 + background-position: -105px -35px; 51 + } 52 + 53 + .login_HTTP { 54 + background-position: 0px -70px; 55 + } 56 + 57 + .login_LDAP { 58 + background-position: -35px -70px; 59 + } 60 + 61 + .login_Linkedin { 62 + background-position: -70px -70px; 63 + } 64 + 65 + .login_Openid { 66 + background-position: -105px -70px; 67 + } 68 + 69 + .login_Phabricator { 70 + background-position: 0px -105px; 71 + } 72 + 73 + .login_Twitter { 74 + background-position: -35px -105px; 75 + } 76 + 77 + .login_Yahoo { 78 + background-position: -70px -105px; 79 + }
webroot/rsrc/image/sprite-login-X2.png

This is a binary file and will not be displayed.

webroot/rsrc/image/sprite-login.png

This is a binary file and will not be displayed.