penpot/frontend/src/app/main/ui/confirm.scss

72 lines
1.3 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 "refactor/common-refactor.scss" as deprecated;
.modal-overlay {
@extend %modal-overlay-base;
&.transparent {
background-color: transparent;
}
}
.modal-container {
@extend %modal-container-base;
display: flex;
flex-direction: column;
gap: var(--sp-xxl);
}
.modal-title {
@include deprecated.headline-medium-typography;
color: var(--modal-title-foreground-color);
}
.modal-close-btn {
position: absolute;
top: var(--sp-m);
right: var(--sp-m);
}
.modal-content {
@include deprecated.body-large-typography;
}
.modal-item-element {
@include deprecated.flex-row;
}
.modal-component-icon {
@include deprecated.flex-center;
color: var(--color-foreground-secondary);
}
.modal-component-name {
@include deprecated.body-large-typography;
color: var(--color-foreground-secondary);
}
.action-buttons {
@extend %modal-action-btns;
}
.modal-scd-msg,
.modal-subtitle,
.modal-msg {
@include deprecated.body-large-typography;
color: var(--modal-text-foreground-color);
}
.modal-error-msg {
margin: var(--sp-xxl) 0;
}