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

Fix google button styles according to google's guidelines #1512

Merged
merged 8 commits into from
Oct 17, 2018
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix hover state
luisrudge committed Oct 17, 2018
commit 18ce3b175136f8645cb64da711e35d4bb79655a0
10 changes: 8 additions & 2 deletions css/index.styl
Original file line number Diff line number Diff line change
@@ -473,15 +473,21 @@ tabsHeight = 40px
border-radius: 3px 0px 0px 3px
height: 36px
width: 36px
&:hover, &:focus
.auth0-lock-social-button-icon
background-color: white !important
border-color: #3367d6
.auth0-lock-social-button-text
background-color: #3367d6 !important

.auth0-lock-social-button-icon
width 40px
height 40px
position absolute
top 0
left 0
transition background-color 0.3s
-webkit-transition background-color 0.3s
transition background-color 0.3s, border .2s ease-in-out
-webkit-transition background-color 0.3s, border .2s ease-in-out

&:hover, &:focus
.auth0-lock-social-button-icon
2 changes: 1 addition & 1 deletion support/index.html
Original file line number Diff line number Diff line change
@@ -121,7 +121,7 @@ <h1 class="navbar-brand">
phoneNumber: '48999999999'
},
passwordlessMethod: 'code',
allowedConnections: ['email', 'acme', 'twitter']
allowedConnections: ['email', 'acme', 'google-oauth2']
};
function initLock() {
var lock = new Auth0Lock(clientId, domain, defaultOptions);