diff --git a/lib/pleroma/web/templates/o_auth/o_auth/show.html.eex b/lib/pleroma/web/templates/o_auth/o_auth/show.html.eex index 68b095c87..986baa966 100644 --- a/lib/pleroma/web/templates/o_auth/o_auth/show.html.eex +++ b/lib/pleroma/web/templates/o_auth/o_auth/show.html.eex @@ -25,7 +25,10 @@ <% end %> <%= if @user do %> - <%= submit "Authorize" %> +
+ Cancel + <%= submit "Approve", class: "button--approve" %> +
<% else %> <%= if @params["registration"] in ["true", true] do %>

This is the first time you visit! Please enter your Pleroma handle.

diff --git a/priv/static/instance/static.css b/priv/static/instance/static.css index 1531a759c..487e1ec27 100644 --- a/priv/static/instance/static.css +++ b/priv/static/instance/static.css @@ -49,8 +49,7 @@ body { background-color: var(--foreground-color); border-radius: 4px; overflow: hidden; - margin: auto; - margin-top: 35px; + margin: 35px auto; box-shadow: 0 1px 4px 0px rgba(0, 0, 0, 0.5); } @@ -168,13 +167,25 @@ input:focus { border-bottom: 2px solid var(--brand-color); } +.actions { + display: flex; + justify-content: flex-end; +} + +.actions button, +.actions a.button { + width: auto; + margin-left: 10px; +} + +a.button, button { width: 100%; background-color: #1c2a3a; color: var(--primary-text-color); border-radius: 4px; border: none; - padding: 10px; + padding: 10px 16px; margin-top: 20px; margin-bottom: 20px; text-transform: uppercase; @@ -184,6 +195,7 @@ button { 0px -1px 0px 0px rgba(0, 0, 0, 0.2) inset; } +a.button:hover, button:hover { cursor: pointer; box-shadow: 0px 0px 0px 1px var(--brand-color), @@ -243,7 +255,12 @@ button:hover { color: var(--muted-text-color); } -@media all and (max-width: 440px) { +@media all and (max-width: 420px) { + .container { + margin: 0 auto; + border-radius: 0; + } + .scope { flex-basis: 0%; }