mirror of
https://github.com/penpot/penpot.git
synced 2026-05-07 00:58:48 +00:00
85 lines
1.6 KiB
SCSS
85 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
|
|
|
|
@use "refactor/common-refactor.scss" as deprecated;
|
|
|
|
.auth-section {
|
|
position: relative;
|
|
align-items: center;
|
|
background: var(--panel-background-color);
|
|
display: grid;
|
|
gap: deprecated.$s-32;
|
|
grid-template-columns: repeat(5, 1fr);
|
|
height: 100%;
|
|
padding: deprecated.$s-32;
|
|
width: 100%;
|
|
overflow: auto;
|
|
|
|
@media (max-width: 992px) {
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
|
|
&.register {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
|
|
.login-illustration {
|
|
display: none;
|
|
}
|
|
}
|
|
}
|
|
|
|
.logo-container {
|
|
position: absolute;
|
|
top: deprecated.$s-20;
|
|
left: deprecated.$s-20;
|
|
display: flex;
|
|
justify-content: flex-start;
|
|
width: deprecated.$s-120;
|
|
height: deprecated.$s-96;
|
|
margin-block-end: deprecated.$s-52;
|
|
}
|
|
|
|
.login-illustration {
|
|
display: flex;
|
|
justify-content: center;
|
|
grid-column: 1 / 4;
|
|
width: 40vw;
|
|
justify-self: center;
|
|
|
|
svg {
|
|
width: 100%;
|
|
fill: var(--color-foreground-primary);
|
|
height: auto;
|
|
}
|
|
|
|
@media (max-width: 992px) {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.auth-content {
|
|
grid-column: 4 / 6;
|
|
display: grid;
|
|
grid-template-rows: 1fr auto;
|
|
gap: deprecated.$s-24;
|
|
height: fit-content;
|
|
max-width: deprecated.$s-412;
|
|
padding-block-end: deprecated.$s-8;
|
|
position: relative;
|
|
width: 100%;
|
|
}
|
|
|
|
.logo-btn {
|
|
svg {
|
|
width: deprecated.$s-120;
|
|
height: deprecated.$s-40;
|
|
fill: var(--main-icon-foreground);
|
|
}
|
|
}
|