fix(console, login): Idp detail and create layout optimization, login - sub formfield link spacing (#3755)

* idp detail, create layout

* fat finger fix

Co-authored-by: Livio Amstutz <livio.a@gmail.com>
This commit is contained in:
Max Peintner
2022-06-03 09:20:56 +02:00
committed by GitHub
parent 0c14614d02
commit ebb73186b6
16 changed files with 389 additions and 307 deletions

View File

@@ -1,10 +1,14 @@
a {
text-decoration: none;
outline: none;
cursor: pointer;
margin: 2px 0;
&.block {
display: block;
}
}
text-decoration: none;
outline: none;
cursor: pointer;
margin: 2px 0;
&.block {
display: block;
}
&.sub-formfield-link {
margin: 10px 0;
}
}

View File

@@ -4,7 +4,7 @@ $lgn-button-margin: 0 !default;
$lgn-button-line-height: 36px !default;
$lgn-button-border-radius: 6px !default;
$lgn-button-focus-transition: opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),
background-color 200ms cubic-bezier(0.35, 0, 0.25, 1) !default;
background-color 200ms cubic-bezier(0.35, 0, 0.25, 1) !default;
// Stroked button padding is 1px less horizontally than default or raised lgn button
// button's padding.
@@ -40,6 +40,7 @@ $lgn-icon-button-line-height: 40px !default;
border-radius: $lgn-button-border-radius;
overflow: visible;
transition: all 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
&[disabled] {
cursor: default;

View File

@@ -280,6 +280,7 @@ footer .watermark .lgn-logo-watermark {
padding: 0 16px;
border-radius: 6px;
overflow: visible;
transition: all 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
}
.lgn-button[disabled], .lgn-stroked-button[disabled], .lgn-icon-button[disabled] {
cursor: default;
@@ -306,6 +307,7 @@ footer .watermark .lgn-logo-watermark {
padding: 0 16px;
border-radius: 6px;
overflow: visible;
transition: all 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
transform: translate3d(0, 0, 0);
}
.lgn-raised-button[disabled] {
@@ -507,6 +509,9 @@ a {
a.block {
display: block;
}
a.sub-formfield-link {
margin: 10px 0;
}
.lgn-idp {
display: block;
@@ -1192,6 +1197,7 @@ footer .watermark .lgn-logo-watermark {
padding: 0 16px;
border-radius: 6px;
overflow: visible;
transition: all 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
}
.lgn-button[disabled], .lgn-stroked-button[disabled], .lgn-icon-button[disabled] {
cursor: default;
@@ -1218,6 +1224,7 @@ footer .watermark .lgn-logo-watermark {
padding: 0 16px;
border-radius: 6px;
overflow: visible;
transition: all 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
transform: translate3d(0, 0, 0);
}
.lgn-raised-button[disabled] {
@@ -1419,6 +1426,9 @@ a {
a.block {
display: block;
}
a.sub-formfield-link {
margin: 10px 0;
}
.lgn-idp {
display: block;

File diff suppressed because one or more lines are too long

View File

@@ -22,7 +22,7 @@
{{template "error-message" .}}
{{ if showPasswordReset }}
<a class="block" href="{{ passwordResetUrl .AuthReqID }}">
<a class="block sub-formfield-link" href="{{ passwordResetUrl .AuthReqID }}">
{{t "Password.ResetLinkText"}}
</a>
{{ end }}