diff --git a/less/login.less b/less/login.less
index b756a6a..fefeb12 100644
--- a/less/login.less
+++ b/less/login.less
@@ -9,17 +9,63 @@
*/
.row.signinbtns {
- justify-content: space-evenly;
+ justify-content: center;
font-size: 1em;
margin-top: 2em;
margin-bottom: 1em;
+ flex-wrap: wrap;
.loginbtn {
height: 40px;
+ margin: 0.5em;
- &.btn.cta {
+ &.btn {
box-sizing: border-box;
font-size: 17px;
+ white-space: nowrap;
+
+ img {
+ height: 1.5em;
+ vertical-align: middle;
+ }
+ }
+
+ writeas-login, slack-login {
+ img {
+ margin-top: -0.2em;
+ }
+ }
+
+ gitlab-login {
+ background-color: #fc6d26;
+ border-color: #fc6d26;
+ &:hover {
+ background-color: darken(#fc6d26, 5%);
+ border-color: darken(#fc6d26, 5%);
+ }
+ }
+
+ gitea-login {
+ background-color: #2ecc71;
+ border-color: #2ecc71;
+ &:hover {
+ background-color: #2cc26b;
+ border-color: #2cc26b;
+ }
+ }
+
+ slack-login, gitlab-login, gitea-login, generic-oauth-login {
+ font-size: 0.86em;
+ font-family: @sansFont;
+ }
+
+ slack-login, generic-oauth-login {
+ color: @lightTextColor;
+ background-color: @lightNavBG;
+ border-color: @lightNavBorder;
+ &:hover {
+ background-color: @lightNavHoverBG;
+ }
}
}
}
diff --git a/static/img/mark/writeas-white.png b/static/img/mark/writeas-white.png
new file mode 100644
index 0000000..6c9b2cd
Binary files /dev/null and b/static/img/mark/writeas-white.png differ
diff --git a/templates/include/oauth.tmpl b/templates/include/oauth.tmpl
index 6617fd0..9a8d05e 100644
--- a/templates/include/oauth.tmpl
+++ b/templates/include/oauth.tmpl
@@ -5,13 +5,22 @@
{{ end }}
{{ if .WriteAsEnabled }}
- Sign in with Write.as
+
+
+ Sign in with Write.as
+
{{ end }}
{{ if .GitLabEnabled }}
- Sign in with {{.GitLabDisplayName}}
+
+
+ Sign in with {{.GitLabDisplayName}}
+
{{ end }}
{{ if .GiteaEnabled }}
- Sign in with {{.GiteaDisplayName}}
+
+
+ Sign in with {{.GiteaDisplayName}}
+
{{ end }}
{{ if .GenericEnabled }}
Sign in with {{.GenericDisplayName}}
diff --git a/templates/user/settings.tmpl b/templates/user/settings.tmpl
index 95c57c4..22de3d8 100644
--- a/templates/user/settings.tmpl
+++ b/templates/user/settings.tmpl
@@ -107,47 +107,47 @@ h3 { font-weight: normal; }
Connect additional accounts to enable logging in with those providers, instead of using your username and password.
-