UX: Ensure external login icons are visible on hover (#13914)

Some authentication buttons (e.g. apple, oidc, oauth2, saml) do not have a specific color specified. Therefore they were taking the default button-with-icon color, and the icons would almost disappear on hover. This commit adds a default of #000 for these buttons, so that the button hover looks similar to core auth buttons.
This commit is contained in:
David Taylor 2021-08-03 12:48:21 +01:00 committed by GitHub
parent 8eabbdae5c
commit ab1460e2ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -178,6 +178,10 @@
margin-right: 9px;
font-size: $font-0;
}
.d-icon,
&.btn:hover .d-icon {
color: #000;
}
&.google_oauth2 {
background: var(--google);
color: #333;