mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-14 16:51:08 +01:00
Add Persona login icon
Summary: Adds the new icon 1x and 2x Test Plan: photoshop Reviewers: epriestley Reviewed By: epriestley CC: Korvin, epriestley, aran Maniphest Tasks: T3958 Differential Revision: https://secure.phabricator.com/D7316
This commit is contained in:
parent
4d1709651e
commit
d2895249ee
8 changed files with 22 additions and 9 deletions
BIN
resources/sprite/login_1x/Persona.png
Normal file
BIN
resources/sprite/login_1x/Persona.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.3 KiB |
BIN
resources/sprite/login_2x/Persona.png
Normal file
BIN
resources/sprite/login_2x/Persona.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.4 KiB |
|
@ -66,6 +66,11 @@
|
|||
"rule" : ".login-Openid",
|
||||
"hash" : "9267ffbb8d4e6dee409c4d8fa2d50c0a"
|
||||
},
|
||||
"login-Persona" : {
|
||||
"name" : "login-Persona",
|
||||
"rule" : ".login-Persona",
|
||||
"hash" : "949faf7bf5ed377c06aa480da1f42b74"
|
||||
},
|
||||
"login-Phabricator" : {
|
||||
"name" : "login-Phabricator",
|
||||
"rule" : ".login-Phabricator",
|
||||
|
|
|
@ -653,15 +653,15 @@ celerity_register_resource_map(array(
|
|||
),
|
||||
'/rsrc/image/sprite-login-X2.png' =>
|
||||
array(
|
||||
'hash' => 'cd7eb19a0428c6be90c48cd2329a35fc',
|
||||
'uri' => '/res/cd7eb19a/rsrc/image/sprite-login-X2.png',
|
||||
'hash' => '7176335e4e1604f94eacdb1790660560',
|
||||
'uri' => '/res/7176335e/rsrc/image/sprite-login-X2.png',
|
||||
'disk' => '/rsrc/image/sprite-login-X2.png',
|
||||
'type' => 'png',
|
||||
),
|
||||
'/rsrc/image/sprite-login.png' =>
|
||||
array(
|
||||
'hash' => '788be2fd8e1f80b9faec9f5cf4bd5f4b',
|
||||
'uri' => '/res/788be2fd/rsrc/image/sprite-login.png',
|
||||
'hash' => '7d3eee260ee0beb90c12e26fbc48fd9c',
|
||||
'uri' => '/res/7d3eee26/rsrc/image/sprite-login.png',
|
||||
'disk' => '/rsrc/image/sprite-login.png',
|
||||
'type' => 'png',
|
||||
),
|
||||
|
@ -4189,7 +4189,7 @@ celerity_register_resource_map(array(
|
|||
),
|
||||
'sprite-login-css' =>
|
||||
array(
|
||||
'uri' => '/res/8bd33e35/rsrc/css/sprite-login.css',
|
||||
'uri' => '/res/48dc427d/rsrc/css/sprite-login.css',
|
||||
'type' => 'css',
|
||||
'requires' =>
|
||||
array(
|
||||
|
|
|
@ -76,4 +76,8 @@ final class PhabricatorAuthProviderPersona
|
|||
return array($this->loadOrCreateAccount($account_id), $response);
|
||||
}
|
||||
|
||||
protected function getLoginIcon() {
|
||||
return 'Persona';
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -70,18 +70,22 @@ only screen and (-webkit-min-device-pixel-ratio: 1.5) {
|
|||
background-position: 0px -105px;
|
||||
}
|
||||
|
||||
.login-Phabricator {
|
||||
.login-Persona {
|
||||
background-position: -35px -105px;
|
||||
}
|
||||
|
||||
.login-TwitchTV {
|
||||
.login-Phabricator {
|
||||
background-position: -70px -105px;
|
||||
}
|
||||
|
||||
.login-Twitter {
|
||||
.login-TwitchTV {
|
||||
background-position: -105px -105px;
|
||||
}
|
||||
|
||||
.login-Yahoo {
|
||||
.login-Twitter {
|
||||
background-position: 0px -140px;
|
||||
}
|
||||
|
||||
.login-Yahoo {
|
||||
background-position: -35px -140px;
|
||||
}
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 99 KiB After Width: | Height: | Size: 103 KiB |
Binary file not shown.
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 33 KiB |
Loading…
Reference in a new issue