mirror of
https://github.com/penpot/penpot.git
synced 2026-05-25 18:03:43 +00:00
193 lines
3.1 KiB
SCSS
193 lines
3.1 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
|
|
|
|
@import "refactor/common-refactor.scss";
|
|
|
|
.modal-overlay {
|
|
@extend .modal-overlay-base;
|
|
}
|
|
|
|
.modal-dialog {
|
|
@extend .modal-container-base;
|
|
display: grid;
|
|
grid-template-rows: auto 1fr;
|
|
width: $s-472;
|
|
max-width: $s-472;
|
|
|
|
hr {
|
|
border-color: $db-tertiary;
|
|
}
|
|
}
|
|
|
|
.close-btn {
|
|
@extend .modal-close-btn-base;
|
|
}
|
|
|
|
.close-icon {
|
|
@extend .button-icon;
|
|
stroke: var(--icon-foreground);
|
|
}
|
|
|
|
.modal-title {
|
|
@include headlineMediumTypography;
|
|
margin-block-end: $s-32;
|
|
color: var(--modal-title-foreground-color);
|
|
}
|
|
|
|
.modal-content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: $s-380;
|
|
max-height: $s-380;
|
|
}
|
|
|
|
.primary-button {
|
|
@extend .button-primary;
|
|
@include headlineSmallTypography;
|
|
padding: $s-0 $s-16;
|
|
}
|
|
|
|
.search-icon {
|
|
@include flexCenter;
|
|
width: $s-20;
|
|
padding: 0 0 0 $s-8;
|
|
svg {
|
|
@extend .button-icon-small;
|
|
stroke: var(--icon-foreground);
|
|
}
|
|
}
|
|
|
|
.top-bar {
|
|
display: flex;
|
|
gap: $s-8;
|
|
}
|
|
|
|
.open-button {
|
|
@extend .button-secondary;
|
|
width: $s-68;
|
|
min-width: $s-68;
|
|
height: $s-32;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.trash-button {
|
|
@extend .button-tertiary;
|
|
width: $s-32;
|
|
height: $s-32;
|
|
|
|
svg {
|
|
@extend .button-icon;
|
|
stroke: var(--icon-foreground);
|
|
}
|
|
}
|
|
|
|
.plugins-list {
|
|
padding-top: $s-20;
|
|
overflow-x: hidden;
|
|
overflow-y: scroll;
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: $s-12;
|
|
}
|
|
|
|
.plugins-list-element {
|
|
display: flex;
|
|
gap: $s-12;
|
|
}
|
|
|
|
.plugin-icon {
|
|
min-width: $s-32;
|
|
min-height: $s-32;
|
|
width: $s-32;
|
|
height: $s-32;
|
|
background: var(--button-secondary-background-color-rest);
|
|
padding: $s-2;
|
|
border-radius: $s-4;
|
|
}
|
|
|
|
.plugin-description {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: $s-8;
|
|
width: 100%;
|
|
}
|
|
|
|
.plugin-title {
|
|
@include bodyMediumTypography;
|
|
color: $df-primary;
|
|
}
|
|
|
|
.plugin-summary {
|
|
@include bodySmallTypography;
|
|
color: $df-secondary;
|
|
}
|
|
|
|
.plugins-empty {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: $s-20;
|
|
height: 100%;
|
|
justify-content: center;
|
|
padding: $s-36 0;
|
|
}
|
|
|
|
.plugins-empty-logo {
|
|
width: $s-44;
|
|
height: $s-44;
|
|
border-radius: 50%;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
background: $db-tertiary;
|
|
|
|
svg {
|
|
width: $s-16;
|
|
height: $s-16;
|
|
fill: $df-secondary;
|
|
stroke-width: 0;
|
|
}
|
|
}
|
|
|
|
.plugins-empty-text {
|
|
@include bodySmallTypography;
|
|
color: $df-primary;
|
|
}
|
|
|
|
div.input-error {
|
|
border: $s-1 solid var(--input-border-color-error);
|
|
}
|
|
|
|
.info {
|
|
@include bodySmallTypography;
|
|
margin-top: $s-4;
|
|
|
|
&.error {
|
|
color: var(--input-border-color-error);
|
|
}
|
|
|
|
&.success {
|
|
color: var(--input-border-color-success);
|
|
}
|
|
}
|
|
|
|
.plugins-link {
|
|
color: $da-primary;
|
|
font-size: $fs-12;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: $s-4;
|
|
|
|
svg {
|
|
margin-top: calc(-1 * var($s-2));
|
|
width: $s-12;
|
|
height: $s-12;
|
|
stroke: $da-primary;
|
|
fill: none;
|
|
}
|
|
}
|