Skip to content

A platform for community discussion. Free, open, simple.

UX: Less specific styling for Auth logins (#16393)

Jordan Vidrine09ee9a6be67d
diff --git a/app/assets/stylesheets/common/components/buttons.scss b/app/assets/stylesheets/common/components/buttons.scss
index 73d990f5d7b..18d61d1c2e8 100644
--- a/app/assets/stylesheets/common/components/buttons.scss
+++ b/app/assets/stylesheets/common/components/buttons.scss
@@ -197,16 +197,6 @@
}
}
- &.facebook {
- .d-icon {
- color: $facebook;
- }
- &:hover {
- .d-icon {
- color: $facebook;
- }
- }
- }
&.cas {
.d-icon {
color: var(--cas);
diff --git a/app/assets/stylesheets/desktop/login.scss b/app/assets/stylesheets/desktop/login.scss
index 93c69465011..1ee881f000a 100644
--- a/app/assets/stylesheets/desktop/login.scss
+++ b/app/assets/stylesheets/desktop/login.scss
@@ -14,13 +14,16 @@
color: rgba(var(--primary-rgb), 0.85);
}
}
+ h2.login-with {
+ color: var(--secondary);
+ }
#login-buttons:not(.hidden) {
display: flex;
flex: 0 1 auto;
flex-direction: column;
align-items: stretch;
min-height: 75px;
- min-width: 160px;
+ min-width: 200px;
order: 2;
&:focus-within,
@@ -211,7 +214,7 @@
}
.has-alt-auth .create-account-form {
display: grid;
- grid-template-columns: 65% 35%;
+ grid-template-columns: 60% 40%;
grid-template-rows: auto 1fr;
grid-template-areas:
"header login-buttons"
diff --git a/config/locales/client.en.yml b/config/locales/client.en.yml
index 00327d98d94..a47e96af8c1 100644
--- a/config/locales/client.en.yml
+++ b/config/locales/client.en.yml
@@ -1963,27 +1963,27 @@ en:
not_approved: "Your account hasn't been approved yet. You will be notified by email when you are ready to log in."
google_oauth2:
name: "Google"
- title: "with Google"
- sr_title: "Login with Google"
+ title: "Sign in with Google"
+ sr_title: "Sign in with Google"
twitter:
name: "Twitter"
- title: "with Twitter"
- sr_title: "Login with Twitter"
+ title: "Sign in with Twitter"
+ sr_title: "Sign in with Twitter"
instagram:
name: "Instagram"
- title: "with Instagram"
+ title: "Login with Instagram"
sr_title: "Login with Instagram"
facebook:
name: "Facebook"
- title: "with Facebook"
+ title: "Login with Facebook"
sr_title: "Login with Facebook"
github:
name: "GitHub"
- title: "with GitHub"
+ title: "Login with GitHub"
sr_title: "Login with GitHub"
discord:
name: "Discord"
- title: "with Discord"
+ title: "Login with Discord"
sr_title: "Login with Discord"
second_factor_toggle:
totp: "Use an authenticator app instead"