mirror of
https://github.com/penpot/penpot.git
synced 2026-08-28 23:59:00 +00:00
* ♻️ Fix Alert component * ♻️ Fix auth files * ♻️ Fix comment files * ♻️ Fix confirm files * ♻️ Fix dashboard files * ♻️ Fix settings files * ♻️ Fix static files * ♻️ Fix color bullet file * ♻️ Fix color workspace file * ♻️ Fix color common file * ♻️ Fix color recovery request file * ♻️ Fix color recovery file * ♻️ Fix disabled login buttons * 🐛 Fix button link page * ♻️ Fix format
77 lines
1.5 KiB
SCSS
77 lines
1.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 Sucursal en España SL
|
|
|
|
@use "ds/_utils.scss" as *;
|
|
@use "ds/_sizes.scss" as *;
|
|
@use "ds/_borders.scss" as *;
|
|
@use "ds/typography.scss" as *;
|
|
|
|
.modal-overlay {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: var(--z-index-set);
|
|
background-color: var(--color-overlay-default);
|
|
}
|
|
|
|
.modal-container {
|
|
position: relative;
|
|
padding: var(--sp-xxxl);
|
|
border-radius: $br-8;
|
|
background-color: var(--color-background-primary);
|
|
border: $b-2 solid var(--color-background-quaternary);
|
|
min-inline-size: px2rem(364);
|
|
min-block-size: $sz-192;
|
|
max-inline-size: $sz-512;
|
|
max-block-size: $sz-512;
|
|
}
|
|
|
|
.modal-header {
|
|
margin-block-end: var(--sp-xxl);
|
|
}
|
|
|
|
.modal-title {
|
|
color: var(--color-foreground-primary);
|
|
}
|
|
|
|
.modal-close-btn {
|
|
position: absolute;
|
|
inset-block-start: var(--sp-s);
|
|
inset-inline-end: px2rem(6);
|
|
}
|
|
|
|
.modal-content {
|
|
@include use-typography("body-large");
|
|
|
|
line-height: 1.5;
|
|
margin-block-end: var(--sp-xxl);
|
|
}
|
|
|
|
.modal-footer {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.modal-scd-msg,
|
|
.modal-msg {
|
|
line-height: 1.5;
|
|
color: var(--color-foreground-secondary);
|
|
}
|
|
|
|
.link {
|
|
color: var(--color-accent-primary);
|
|
}
|
|
|
|
.link::before {
|
|
content: " ";
|
|
}
|
|
|
|
.link::after {
|
|
content: " ";
|
|
}
|