mirror of
https://github.com/penpot/penpot.git
synced 2025-12-11 22:14:05 +01:00
* 🐛 Fix import warnings 1 of 2 * 🐛 Fix import warnings 2 of 2 * 🐛 Fix visual tests and format files * 🐛 Fix mixed declarations on scss
205 lines
3.5 KiB
SCSS
205 lines
3.5 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 *;
|
|
|
|
.modal-overlay {
|
|
@extend .modal-overlay-base;
|
|
}
|
|
|
|
.modal-container {
|
|
position: relative;
|
|
width: $s-908;
|
|
max-height: $s-800;
|
|
height: 100%;
|
|
padding-inline: $s-100;
|
|
padding-block-start: $s-40;
|
|
padding-block-end: $s-40;
|
|
border-radius: $br-8;
|
|
background-color: var(--modal-background-color);
|
|
border: $s-2 solid var(--modal-border-color);
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: $s-24;
|
|
}
|
|
|
|
.modal-sections {
|
|
display: grid;
|
|
grid-template-columns: 1fr $s-32 1fr;
|
|
gap: $s-24;
|
|
height: 100%;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.paginator {
|
|
@include bodySmallTypography;
|
|
position: absolute;
|
|
top: $s-40;
|
|
right: $s-100;
|
|
padding: $s-4;
|
|
border-radius: $br-6;
|
|
color: var(--color-foreground-secondary);
|
|
}
|
|
|
|
// MODAL LEFT
|
|
.modal-left {
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
grid-template-rows: $s-32 auto auto 1fr;
|
|
gap: $s-16;
|
|
overflow: auto;
|
|
}
|
|
|
|
.modal-title {
|
|
@include bigTitleTipography;
|
|
color: var(--modal-title-foreground-color);
|
|
}
|
|
|
|
.modal-subtitle {
|
|
@include medTitleTipography;
|
|
color: var(--modal-title-foreground-color);
|
|
}
|
|
|
|
.invite-subtitle {
|
|
padding-top: $s-16;
|
|
}
|
|
|
|
.modal-text {
|
|
@include bodyLargeTypography;
|
|
color: var(--modal-text-foreground-color);
|
|
margin: 0;
|
|
}
|
|
|
|
.modal-desc {
|
|
@include smallTitleTipography;
|
|
margin: 0;
|
|
color: var(--modal-title-foreground-color);
|
|
}
|
|
|
|
.team-features {
|
|
@include flexColumn;
|
|
gap: $s-16;
|
|
margin: 0;
|
|
}
|
|
|
|
.feature {
|
|
@include flexRow;
|
|
gap: $s-16;
|
|
}
|
|
|
|
.icon {
|
|
@include flexCenter;
|
|
height: $s-32;
|
|
width: $s-32;
|
|
border-radius: $br-circle;
|
|
border: $s-1 solid var(--color-accent-primary);
|
|
svg {
|
|
@extend .button-icon;
|
|
stroke: var(--color-accent-primary);
|
|
}
|
|
}
|
|
|
|
.action-buttons {
|
|
@extend .modal-action-btns;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.accept-button {
|
|
@extend .modal-accept-btn;
|
|
}
|
|
|
|
.back-button {
|
|
@extend .modal-cancel-btn;
|
|
}
|
|
|
|
// SEPARATOR
|
|
.separator {
|
|
width: $s-8;
|
|
height: 100%;
|
|
border-radius: $br-8;
|
|
opacity: 42%;
|
|
background-color: var(--modal-separator-backogrund-color);
|
|
}
|
|
|
|
// MODAL RIGHT TEAM
|
|
.modal-right {
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
grid-template-rows: 1fr auto;
|
|
gap: $s-24;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.first-block {
|
|
overflow: auto;
|
|
flex-grow: 1;
|
|
}
|
|
|
|
.first-block,
|
|
.second-block {
|
|
@include flexColumn;
|
|
gap: $s-16;
|
|
}
|
|
|
|
.modal-form {
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
gap: $s-16;
|
|
}
|
|
|
|
.team-name-input {
|
|
@extend .input-element-label;
|
|
label {
|
|
@include flexColumn;
|
|
@include bodySmallTypography;
|
|
align-items: flex-start;
|
|
width: 100%;
|
|
border: none;
|
|
background-color: transparent;
|
|
height: 100%;
|
|
|
|
input {
|
|
@include bodySmallTypography;
|
|
margin-top: $s-8;
|
|
}
|
|
}
|
|
}
|
|
|
|
// MODAL RIGHT INVITATIONS
|
|
|
|
.modal-right-invitations {
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
grid-template-rows: auto auto 1fr;
|
|
gap: $s-16;
|
|
max-height: $s-512;
|
|
}
|
|
|
|
.modal-form-invitations {
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
grid-template-rows: auto 1fr auto auto;
|
|
margin-block-end: $s-72;
|
|
gap: $s-8;
|
|
}
|
|
|
|
.role-title {
|
|
@include uppercaseTitleTipography;
|
|
margin-block-end: $s-8;
|
|
color: var(--modal-title-foreground-color);
|
|
}
|
|
|
|
.invitation-row {
|
|
margin: 0;
|
|
color: var(--modal-title-foreground-color);
|
|
}
|
|
|
|
.modal-hint {
|
|
@include bodySmallTypography;
|
|
color: var(--modal-text-foreground-color);
|
|
text-align: right;
|
|
}
|