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