mirror of
https://github.com/penpot/penpot.git
synced 2025-05-24 17:36:11 +02:00
commit
8a74f24977
4 changed files with 17 additions and 15 deletions
|
@ -58,7 +58,6 @@
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.demo-account,
|
|
||||||
.go-back {
|
.go-back {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
@ -67,7 +66,6 @@
|
||||||
border-block-start: none;
|
border-block-start: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.demo-account-link,
|
|
||||||
.go-back-link {
|
.go-back-link {
|
||||||
@extend .button-secondary;
|
@extend .button-secondary;
|
||||||
@include uppercaseTitleTipography;
|
@include uppercaseTitleTipography;
|
||||||
|
@ -81,7 +79,8 @@
|
||||||
|
|
||||||
.register,
|
.register,
|
||||||
.account,
|
.account,
|
||||||
.recovery-request {
|
.recovery-request,
|
||||||
|
.demo-account {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
gap: $s-8;
|
gap: $s-8;
|
||||||
|
@ -90,7 +89,8 @@
|
||||||
|
|
||||||
.register-text,
|
.register-text,
|
||||||
.account-text,
|
.account-text,
|
||||||
.recovery-text {
|
.recovery-text,
|
||||||
|
.demo-account-text {
|
||||||
@include smallTitleTipography;
|
@include smallTitleTipography;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
color: var(--title-foreground-color);
|
color: var(--title-foreground-color);
|
||||||
|
@ -99,7 +99,8 @@
|
||||||
.register-link,
|
.register-link,
|
||||||
.account-link,
|
.account-link,
|
||||||
.recovery-link,
|
.recovery-link,
|
||||||
.forgot-pass-link {
|
.forgot-pass-link,
|
||||||
|
.demo-account-link {
|
||||||
@include smallTitleTipography;
|
@include smallTitleTipography;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
|
|
|
@ -158,7 +158,7 @@
|
||||||
[:*
|
[:*
|
||||||
(when-let [message @error]
|
(when-let [message @error]
|
||||||
[:& context-notification
|
[:& context-notification
|
||||||
{:type :warning
|
{:type :error
|
||||||
:content message
|
:content message
|
||||||
:data-test "login-banner"
|
:data-test "login-banner"
|
||||||
:role "alert"}])
|
:role "alert"}])
|
||||||
|
@ -300,11 +300,13 @@
|
||||||
[:& lk/link {:action go-register
|
[:& lk/link {:action go-register
|
||||||
:class (stl/css :register-link)
|
:class (stl/css :register-link)
|
||||||
:data-test "register-submit"}
|
:data-test "register-submit"}
|
||||||
(tr "auth.register-submit")]])]
|
(tr "auth.register-submit")]])
|
||||||
|
|
||||||
(when (contains? cf/flags :demo-users)
|
(when (contains? cf/flags :demo-users)
|
||||||
[:div {:class (stl/css :link-entry :demo-account)}
|
[:div {:class (stl/css :demo-account)}
|
||||||
[:span (tr "auth.create-demo-profile") " "]
|
[:span {:class (stl/css :demo-account-text)}
|
||||||
|
(tr "auth.create-demo-profile") " "]
|
||||||
[:& lk/link {:action create-demo-profile
|
[:& lk/link {:action create-demo-profile
|
||||||
|
:class (stl/css :demo-account-link)
|
||||||
:data-test "demo-account-link"}
|
:data-test "demo-account-link"}
|
||||||
(tr "auth.create-demo-account")]])]))
|
(tr "auth.create-demo-account")]])]]))
|
||||||
|
|
|
@ -12,5 +12,6 @@
|
||||||
margin-top: $s-8;
|
margin-top: $s-8;
|
||||||
padding: $s-12;
|
padding: $s-12;
|
||||||
background-color: var(--menu-background-color);
|
background-color: var(--menu-background-color);
|
||||||
|
color: var(--input-foreground-color-active);
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
}
|
}
|
||||||
|
|
|
@ -85,8 +85,6 @@
|
||||||
color: var(--title-foreground-color-hover);
|
color: var(--title-foreground-color-hover);
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
height: $s-16;
|
height: $s-16;
|
||||||
display: inline-flex;
|
|
||||||
align-items: center;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.info-wrapper {
|
.info-wrapper {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue