Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SDK-1361] Adjust styling for social buttons and Apple compliance #1801

Merged
merged 14 commits into from
Feb 17, 2020

Conversation

stevehobbsdev
Copy link
Contributor

@stevehobbsdev stevehobbsdev commented Feb 14, 2020

Changes

This PR primarily adjusts the "Sign in with Apple" button to better match Apple's guidelines.

A knock-on effect is that the other social login buttons have had their designs updates to match, for consistency.

Additionally, "Sign up with.." text has been changed into "Sign in with.." across the signup and login tabs.

Before

image

After

image

References

This was raised through an internal customer support ticket.

Testing

This PR contains no functional changes, only visual.

  • This change adds unit test coverage
  • This change adds integration test coverage
  • This change has been tested on the latest version of the platform/language

Checklist

Steve Hobbs added 5 commits February 12, 2020 12:23
- Moved icon element inside text element so they can be center-aligned
- Applied flex styling to text element and center justified
- Text font, letter spacing and casing changes to match new style
@stevehobbsdev stevehobbsdev requested review from a team and removed request for a team February 14, 2020 10:55
@stevehobbsdev stevehobbsdev self-assigned this Feb 14, 2020
@stevehobbsdev stevehobbsdev added this to the vNext milestone Feb 14, 2020
@stevehobbsdev stevehobbsdev requested a review from a team February 14, 2020 11:06
joshcanhelp
joshcanhelp previously approved these changes Feb 14, 2020
Copy link
Contributor

@joshcanhelp joshcanhelp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nothing blocking here but ... are we sure that we're not going to run afoul of another provider by making this change? Hopefully no one enforces left-aligned 😆

@stevehobbsdev
Copy link
Contributor Author

@joshcanhelp That may be about to change..

@stevehobbsdev
Copy link
Contributor Author

@joshcanhelp This has now been changed so that the buttons have their text left-aligned once again. Screenshots in the original post have been updated.

css/index.styl Outdated Show resolved Hide resolved
@stevehobbsdev stevehobbsdev merged commit 57119a9 into master Feb 17, 2020
@stevehobbsdev stevehobbsdev deleted the fix/social-buttons branch February 17, 2020 17:28
jfromaniello pushed a commit to jfromaniello/auth0-lock that referenced this pull request Mar 5, 2020
…th0#1801)

* Reworked social button styling

- Moved icon element inside text element so they can be center-aligned
- Applied flex styling to text element and center justified
- Text font, letter spacing and casing changes to match new style

* Modified button text on login and signup to "Sign in with.."

* Fixed button hover styling, added retina media query

* Adjusted styling for Google login button

* Modified border color for Google login button

* Updated snapshots

* Reverted 'sign up with..' text

* Re-aligned text to the left

* Updated snapshots

* CSS formatting
davidpatrick pushed a commit to davidpatrick/lock that referenced this pull request Jun 12, 2020
…th0#1801)

* Reworked social button styling

- Moved icon element inside text element so they can be center-aligned
- Applied flex styling to text element and center justified
- Text font, letter spacing and casing changes to match new style

* Modified button text on login and signup to "Sign in with.."

* Fixed button hover styling, added retina media query

* Adjusted styling for Google login button

* Modified border color for Google login button

* Updated snapshots

* Reverted 'sign up with..' text

* Re-aligned text to the left

* Updated snapshots

* CSS formatting
jfromaniello pushed a commit to jfromaniello/auth0-lock that referenced this pull request Jul 23, 2020
…th0#1801)

* Reworked social button styling

- Moved icon element inside text element so they can be center-aligned
- Applied flex styling to text element and center justified
- Text font, letter spacing and casing changes to match new style

* Modified button text on login and signup to "Sign in with.."

* Fixed button hover styling, added retina media query

* Adjusted styling for Google login button

* Modified border color for Google login button

* Updated snapshots

* Reverted 'sign up with..' text

* Re-aligned text to the left

* Updated snapshots

* CSS formatting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants