mirror of
https://github.com/penpot/penpot.git
synced 2026-09-02 18:18:41 +00:00
* 🐛 Fix spacing between SSO buttons and email field * ♻️ Update scrollbar on register page * ♻️ Translate hardcoded string --------- Co-authored-by: Eva Marco <evamarcod@gmail.com>
82 lines
1.6 KiB
SCSS
82 lines
1.6 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 Sucursal en España SL
|
|
|
|
@use "ds/_sizes.scss" as *;
|
|
@use "ds/_utils.scss" as *;
|
|
@use "./ds/mixins.scss" as *;
|
|
|
|
.auth-section {
|
|
display: grid;
|
|
align-items: center;
|
|
grid-template-columns: repeat(5, 1fr);
|
|
gap: var(--sp-xxxl);
|
|
position: relative;
|
|
background: var(--color-background-primary);
|
|
block-size: 100%;
|
|
padding: var(--sp-xxxl);
|
|
inline-size: 100%;
|
|
overflow: auto;
|
|
|
|
@media (width <= 992px) {
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
}
|
|
|
|
.auth-section.register {
|
|
@include custom-scrollbar;
|
|
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.auth-section.register .login-illustration {
|
|
display: none;
|
|
}
|
|
|
|
.logo-container {
|
|
display: flex;
|
|
justify-content: flex-start;
|
|
position: absolute;
|
|
inset-block-start: var(--sp-xl);
|
|
inset-inline-start: var(--sp-xl);
|
|
inline-size: $sz-120;
|
|
block-size: $sz-96;
|
|
margin-block-end: px2rem(52);
|
|
}
|
|
|
|
.logo {
|
|
inline-size: $sz-120;
|
|
block-size: $sz-40;
|
|
fill: var(--color-foreground-primary);
|
|
}
|
|
|
|
.login-illustration {
|
|
display: flex;
|
|
justify-content: center;
|
|
grid-column: 1 / 4;
|
|
inline-size: 40vw;
|
|
block-size: auto;
|
|
justify-self: center;
|
|
|
|
@media (width <= 992px) {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.auth-content {
|
|
display: grid;
|
|
grid-template-rows: 1fr auto;
|
|
grid-column: 4 / 6;
|
|
gap: var(--sp-xxl);
|
|
block-size: fit-content;
|
|
max-inline-size: px2rem(412);
|
|
padding-block-end: var(--sp-s);
|
|
position: relative;
|
|
inline-size: 100%;
|
|
}
|