Merge pull request #5578 from matrix-org/t3chguy/sso_fixes
Improve SSO auth flow
This commit is contained in:
commit
62712159f6
17 changed files with 228 additions and 63 deletions
|
@ -34,7 +34,7 @@ limitations under the License.
|
|||
h3 {
|
||||
font-size: $font-14px;
|
||||
font-weight: 600;
|
||||
color: $authpage-primary-color;
|
||||
color: $authpage-secondary-color;
|
||||
}
|
||||
|
||||
h3.mx_AuthBody_centered {
|
||||
|
|
|
@ -28,8 +28,14 @@ limitations under the License.
|
|||
.mx_SSOButton {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
padding-left: 32px;
|
||||
padding-right: 32px;
|
||||
padding: 7px 32px;
|
||||
text-align: center;
|
||||
border-radius: 8px;
|
||||
display: inline-block;
|
||||
font-size: $font-14px;
|
||||
font-weight: $font-semi-bold;
|
||||
border: 1px solid $input-border-color;
|
||||
color: $primary-fg-color;
|
||||
|
||||
> img {
|
||||
object-fit: contain;
|
||||
|
@ -39,6 +45,16 @@ limitations under the License.
|
|||
}
|
||||
}
|
||||
|
||||
.mx_SSOButton_default {
|
||||
color: $button-primary-bg-color;
|
||||
background-color: $button-secondary-bg-color;
|
||||
border-color: $button-primary-bg-color;
|
||||
}
|
||||
.mx_SSOButton_default.mx_SSOButton_primary {
|
||||
color: $button-primary-fg-color;
|
||||
background-color: $button-primary-bg-color;
|
||||
}
|
||||
|
||||
.mx_SSOButton_mini {
|
||||
box-sizing: border-box;
|
||||
width: 50px; // 48px + 1px border on all sides
|
||||
|
@ -56,3 +72,14 @@ limitations under the License.
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
.mx_SSOButton.mx_SSOButton_brand_facebook {
|
||||
background-color: #3c5a99;
|
||||
border-color: #3c5a99;
|
||||
color: #ffffff;
|
||||
}
|
||||
.mx_SSOButton.mx_SSOButton_brand_twitter {
|
||||
background-color: #47acdf;
|
||||
border-color: #47acdf;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue