mirror of
https://github.com/penpot/penpot.git
synced 2026-04-25 11:18:36 +00:00
149 lines
2.8 KiB
SCSS
149 lines
2.8 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;
|
|
|
|
.modal-overlay {
|
|
@extend %modal-overlay-base;
|
|
}
|
|
|
|
.modal-container {
|
|
max-width: deprecated.$s-960;
|
|
max-height: fit-content;
|
|
width: fit-content;
|
|
padding-inline: deprecated.$s-100;
|
|
padding-block: deprecated.$s-40 deprecated.$s-72;
|
|
border-radius: deprecated.$br-8;
|
|
border: deprecated.$s-2 solid var(--modal-border-color);
|
|
background-color: var(--modal-background-color);
|
|
}
|
|
|
|
.form-wrapper {
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
gap: deprecated.$s-24;
|
|
}
|
|
|
|
// STEP CONTAINER
|
|
.paginator {
|
|
@include deprecated.small-title-typography;
|
|
|
|
height: deprecated.$s-20;
|
|
text-align: right;
|
|
color: var(--modal-text-foreground-color);
|
|
}
|
|
|
|
.action-buttons {
|
|
@extend %modal-action-btns;
|
|
}
|
|
|
|
.next-button {
|
|
@extend %modal-accept-btn;
|
|
}
|
|
|
|
.prev-button {
|
|
@extend %modal-cancel-btn;
|
|
}
|
|
|
|
.radio-btns label,
|
|
.select-class span {
|
|
@include deprecated.body-medium-typography;
|
|
}
|
|
|
|
// STEP 1
|
|
|
|
.header-image {
|
|
height: deprecated.$s-60;
|
|
width: auto;
|
|
margin-inline-start: auto;
|
|
}
|
|
|
|
.modal-title {
|
|
@include deprecated.big-title-typography;
|
|
|
|
color: var(--modal-title-foreground-color);
|
|
min-height: deprecated.$s-32;
|
|
margin-block: auto;
|
|
}
|
|
|
|
.modal-subtitle {
|
|
@include deprecated.body-large-typography;
|
|
|
|
color: var(--modal-title-foreground-color);
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.modal-text {
|
|
@include deprecated.body-large-typography;
|
|
|
|
color: var(--modal-text-foreground-color);
|
|
margin: 0;
|
|
}
|
|
|
|
// STEP-2
|
|
.step-1,
|
|
.step-2,
|
|
.step-3,
|
|
.step-5 {
|
|
max-width: deprecated.$s-540;
|
|
width: deprecated.$s-540;
|
|
}
|
|
|
|
.step-2 {
|
|
grid-template-rows: deprecated.$s-20 auto auto deprecated.$s-32;
|
|
}
|
|
|
|
.modal-question {
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
grid-template-rows: deprecated.$s-16 deprecated.$s-32;
|
|
gap: deprecated.$s-16;
|
|
height: fit-content;
|
|
}
|
|
|
|
.question-centered {
|
|
width: deprecated.$s-424;
|
|
grid-template-rows: auto deprecated.$s-32;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.radio-wrapper {
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
gap: deprecated.$s-16;
|
|
}
|
|
|
|
// STEP-3
|
|
.step-3 {
|
|
grid-template-rows: deprecated.$s-20 auto auto auto auto deprecated.$s-32;
|
|
}
|
|
|
|
.image-radio {
|
|
display: grid;
|
|
grid-template-rows: 1fr 1fr;
|
|
grid-template-columns: deprecated.$s-92 deprecated.$s-92 deprecated.$s-92;
|
|
gap: deprecated.$s-16 deprecated.$s-24;
|
|
justify-content: center;
|
|
}
|
|
|
|
.input-spacing {
|
|
height: deprecated.$s-32;
|
|
width: 100%;
|
|
margin-block-end: deprecated.$s-8;
|
|
}
|
|
|
|
.input-spacing input {
|
|
@include deprecated.body-medium-typography;
|
|
}
|
|
|
|
// STEP-4
|
|
|
|
.step-4 {
|
|
grid-template-rows: deprecated.$s-20 auto auto deprecated.$s-32;
|
|
row-gap: deprecated.$s-16;
|
|
}
|