1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-21 01:38:48 +02:00
phorge-phorge/webroot/rsrc/css/application/auth/auth.css
epriestley 7e365eb8ae Convert "profile" image transforms to the new pathway
Summary:
Ref T7707. This ends up being sort of complicated: to support 100x100 images in T4406, we need to scale small images //up// so they look OK when we scale them back down with `background-size` in CSS.

The rest of it is mostly straightforward.

Test Plan:
  - Did an OAuth handshake and saw a scaled-up, scaled-down profile picture that looked correct.
  - Used Pholio, edited pholio, embedded pholio.
  - Uploaded a bunch of small/weird/big images and regenerated all their transforms.
  - Uploaded some text files into Pholio.
  - Grepped for removed methods, etc.

Reviewers: chad, btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T7707

Differential Revision: https://secure.phabricator.com/D12818
2015-05-13 11:38:46 -07:00

43 lines
772 B
CSS

/**
* @provides auth-css
*/
.phabricator-login-buttons {
max-width: 508px;
margin: 16px auto;
}
.phabricator-login-buttons .phabricator-login-button .button {
width: 246px;
}
.device-desktop .phabricator-login-buttons .aphront-multi-column-column-last {
text-align: right;
}
.device .phabricator-login-buttons {
text-align: center;
}
.phabricator-link-button {
text-align: center;
}
.auth-account-view {
background-color: #fff;
border: 1px solid {$lightblueborder};
background-repeat: no-repeat;
background-position: 4px 4px;
background-size: 50px 50px;
padding: 4px 4px 4px 62px;
min-height: 50px;
border-radius: 2px;
}
.auth-account-view-name {
font-weight: bold;
}
.auth-account-view-provider-name {
color: {$lightgreytext};
}