Fix microsoft login styles

This commit is contained in:
Simon Prévost 2020-12-02 08:31:00 -05:00
parent c0fb483f70
commit 0fcc67040a
4 changed files with 15 additions and 19 deletions

View File

@ -82,7 +82,7 @@ config :ueberauth, Ueberauth.Strategy.Slack.OAuth,
config :ueberauth, Ueberauth.Strategy.Discord.OAuth,
client_id: System.get_env("DISCORD_CLIENT_ID"),
client_secret: System.get_env("DISCORD_CLIENT_SECRET")
config :ueberauth, Ueberauth.Strategy.Microsoft.OAuth,
client_id: System.get_env("MICROSOFT_CLIENT_ID"),
client_secret: System.get_env("MICROSOFT_CLIENT_SECRET"),

View File

@ -73,6 +73,7 @@
"ueberauth_discord": {:hex, :ueberauth_discord, "0.5.2", "afc5d68879575c365972fd4d7cf7b01c16f7d062fc6bf7e86e2595736ac41127", [:mix], [{:oauth2, "~> 1.0 or ~> 2.0", [hex: :oauth2, repo: "hexpm", optional: false]}, {:ueberauth, "~> 0.6.3", [hex: :ueberauth, repo: "hexpm", optional: false]}], "hexpm", "bbd7701d8fef02623fb106ed7c24427ed2327ef769bcb1d2eba5670e54716cdc"},
"ueberauth_github": {:hex, :ueberauth_github, "0.8.0", "2216c8cdacee0de6245b422fb397921b64a29416526985304e345dab6a799d17", [:mix], [{:oauth2, "~> 1.0 or ~> 2.0", [hex: :oauth2, repo: "hexpm", optional: false]}, {:ueberauth, "~> 0.6.0", [hex: :ueberauth, repo: "hexpm", optional: false]}], "hexpm", "b65ccc001a7b0719ba069452f3333d68891f4613ae787a340cce31e2a43307a3"},
"ueberauth_google": {:hex, :ueberauth_google, "0.9.0", "e098e1d6df647696b858b0289eae7e4dc8c662abee9e309d64bc115192c51bf5", [:mix], [{:oauth2, "~> 1.0 or ~> 2.0", [hex: :oauth2, repo: "hexpm", optional: false]}, {:ueberauth, "~> 0.6.0", [hex: :ueberauth, repo: "hexpm", optional: false]}], "hexpm", "5453ba074df7ee14fb5b121bb04a64cda5266cd23b28af8a2fdf02dd40959ab4"},
"ueberauth_microsoft": {:hex, :ueberauth_microsoft, "0.8.0", "e236cbccf2b1dae6d119644fb91f6ff00336da10c424ab82e2f99d5e07fbeb13", [:mix], [{:oauth2, "~> 1.0 or ~> 2.0", [hex: :oauth2, repo: "hexpm", optional: false]}, {:ueberauth, "~> 0.6", [hex: :ueberauth, repo: "hexpm", optional: false]}], "hexpm", "f87f2d1e6e29b90fac53f9521360289039962134d722dd6188cd465d3600f973"},
"ueberauth_slack": {:git, "https://github.com/ueberauth/ueberauth_slack.git", "525594c870f959aba67acc759d5c1a588ee75e9e", [ref: "525594c870f959ab"]},
"unicode_util_compat": {:hex, :unicode_util_compat, "0.5.0", "8516502659002cec19e244ebd90d312183064be95025a319a6c7e89f4bccd65b", [:rebar3], [], "hexpm", "d48d002e15f5cc105a696cf2f1bbb3fc72b4b770a184d8420c8db20da2674b38"},
"xml_builder": {:hex, :xml_builder, "2.1.2", "90cb9ad382958934c78c6ddfbe6d385a8ce147d84b61cbfa83ec93a169d0feab", [:mix], [], "hexpm", "b89046041da2fbc1d51d31493ba31b9d5fc6223c93384bf513a1a9e1df9ec081"},

View File

@ -79,13 +79,13 @@ a.loginButton {
}
&.loginButton--microsoft {
border: 2px solid #005da6;
border: 2px solid #03a5f0;
text-shadow: none;
color: #005da6;
color: #03a5f0;
&:focus,
&:hover {
background: lighten(#005da6, 30%);
background: lighten(#03a5f0, 48%);
}
}
}

View File

@ -1,16 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generator: Adobe Illustrator 22.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Calque_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="439px" height="439px" viewBox="0 0 439 439" style="enable-background:new 0 0 439 439;" xml:space="preserve">
<style type="text/css">
.st0{fill:#F3F3F3;}
.st1{fill:#F35325;}
.st2{fill:#81BC06;}
.st3{fill:#05A6F0;}
.st4{fill:#FFBA08;}
</style>
<rect class="st0" width="439" height="439"/>
<rect x="17" y="17" class="st1" width="194" height="194"/>
<rect x="228" y="17" class="st2" width="194" height="194"/>
<rect x="17" y="228" class="st3" width="194" height="194"/>
<rect x="228" y="228" class="st4" width="194" height="194"/>
<svg
viewBox="0 0 439 439"
xmlns="http://www.w3.org/2000/svg"
preserveAspectRatio="xMidYMid"
>
<path fill="#f3f3f3" d="M0 0h439v439H0z" />
<path fill="#f35325" d="M17 17h194v194H17z" />
<path fill="#81bc06" d="M228 17h194v194H228z" />
<path fill="#05a6f0" d="M17 228h194v194H17z" />
<path fill="#ffba08" d="M228 228h194v194H228z" />
</svg>

Before

Width:  |  Height:  |  Size: 807 B

After

Width:  |  Height:  |  Size: 356 B