penpot/frontend/src/app/main/ui/auth/common.scss
Xaviju 93fb54c116
Enable single color-space selector for styles and computed… (#7525)
*  Enable single color-space selector for styles and computed tab
2025-10-29 09:53:37 +01:00

161 lines
3.0 KiB
SCSS

// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
//
// Copyright (c) KALEIDOS INC
@use "refactor/common-refactor.scss" as deprecated;
.auth-form-wrapper {
width: 100%;
padding-block-end: 0;
display: grid;
gap: deprecated.$s-12;
form {
display: flex;
flex-direction: column;
gap: deprecated.$s-12;
margin-top: deprecated.$s-12;
}
}
.auth-title-wrapper {
width: 100%;
padding-block-end: 0;
display: grid;
gap: deprecated.$s-8;
}
.separator {
border-color: var(--modal-separator-background-color);
margin: 0;
}
.auth-title {
@include deprecated.bigTitleTipography;
color: var(--title-foreground-color-hover);
}
.auth-subtitle {
@include deprecated.smallTitleTipography;
color: var(--title-foreground-color);
}
.auth-tagline {
@include deprecated.smallTitleTipography;
margin: 0;
color: var(--title-foreground-color);
}
.form-field {
--input-width: 100%;
--input-height: #{deprecated.$s-40};
--input-min-width: 100%;
}
.buttons-stack {
display: grid;
gap: deprecated.$s-8;
}
.login-button,
.login-ldap-button {
@extend .button-primary;
@include deprecated.uppercaseTitleTipography;
height: deprecated.$s-40;
width: 100%;
}
.go-back {
display: flex;
flex-direction: column;
gap: deprecated.$s-12;
padding: 0;
border-block-start: none;
}
.go-back-link {
@extend .button-secondary;
@include deprecated.uppercaseTitleTipography;
height: deprecated.$s-40;
}
.links {
display: grid;
gap: deprecated.$s-24;
}
.register,
.account,
.recovery-request,
.demo-account {
display: flex;
justify-content: center;
gap: deprecated.$s-8;
padding: 0;
}
.register-text,
.account-text,
.recovery-text,
.demo-account-text {
@include deprecated.smallTitleTipography;
text-align: right;
color: var(--title-foreground-color);
}
.register-link,
.account-link,
.recovery-link,
.forgot-pass-link,
.demo-account-link {
@include deprecated.smallTitleTipography;
text-align: left;
background-color: transparent;
border: none;
display: inline;
color: var(--link-foreground-color);
&:hover {
text-decoration: underline;
}
}
.forgot-password {
display: flex;
justify-content: flex-end;
}
.submit-btn,
.register-btn,
.recover-btn {
@extend .button-primary;
@include deprecated.uppercaseTitleTipography;
height: deprecated.$s-40;
width: 100%;
}
.login-btn {
@include deprecated.smallTitleTipography;
display: flex;
align-items: center;
gap: deprecated.$s-6;
width: 100%;
border-radius: deprecated.$br-8;
background-color: var(--button-secondary-background-color-rest);
color: var(--button-foreground-color-focus);
span {
padding-block-start: deprecated.$s-2;
}
&:hover {
color: var(--button-foreground-color-focus);
background-color: var(--button-secondary-background-color-hover);
}
}
.auth-buttons {
display: flex;
gap: deprecated.$s-8;
}