open-consul/ui-v2/app/styles/components/oidc-select/skin.scss
John Cowen 89a338c804 ui: SSO Icon cleanup (#7959)
1. Removes all icons not supported by the backend
2. Adds other icons supported by the backend
3. If there is no icon available don't add CSS positioning for one
2020-06-03 16:46:51 +00:00

21 lines
630 B
SCSS

%oidc-select [class$='-oidc-provider']::before {
width: 22px;
height: 22px;
/* this is to prevent resizing in an inline-flex context */
/* and should probably be moved to the parent*/
flex: 0 0 auto;
margin-right: 10px;
}
%oidc-select .auth0-oidc-provider::before {
@extend %with-logo-auth0-color-icon, %as-pseudo;
}
%oidc-select .okta-oidc-provider::before {
@extend %with-logo-okta-color-icon, %as-pseudo;
}
%oidc-select .google-oidc-provider::before {
@extend %with-logo-google-color-icon, %as-pseudo;
}
%oidc-select .microsoft-oidc-provider::before {
@extend %with-logo-microsoft-color-icon, %as-pseudo;
}