mirror of
https://github.com/penpot/penpot.git
synced 2025-08-03 16:08:34 +02:00
💄 Update prototype tab desgin with new UI
This commit is contained in:
parent
e8aab8b0bf
commit
6de061159b
17 changed files with 1252 additions and 385 deletions
|
@ -375,6 +375,37 @@
|
|||
}
|
||||
}
|
||||
|
||||
.input-checkbox {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
label {
|
||||
@include titleTipography;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: $s-6;
|
||||
cursor: pointer;
|
||||
span {
|
||||
@include flexCenter;
|
||||
width: $s-16;
|
||||
height: $s-16;
|
||||
min-width: $s-16;
|
||||
min-height: $s-16;
|
||||
border-radius: $br-6;
|
||||
background-color: var(--input-background-color);
|
||||
&:global(.checked) {
|
||||
background-color: var(--input-border-color-active);
|
||||
svg {
|
||||
@extend .button-icon-small;
|
||||
stroke: var(--input-details-color);
|
||||
}
|
||||
}
|
||||
}
|
||||
input {
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//MODALS
|
||||
.modal-background {
|
||||
@include menuShadow;
|
||||
|
@ -467,8 +498,14 @@
|
|||
border-color: var(--colorpicker-details-color-selected);
|
||||
}
|
||||
}
|
||||
// SELECTS AND DROPDOWNS
|
||||
|
||||
.attr-row {
|
||||
display: grid;
|
||||
grid-template-areas: "name content";
|
||||
grid-template-columns: $s-92 1fr;
|
||||
}
|
||||
|
||||
// SELECTS AND DROPDOWNS
|
||||
.menu-dropdown {
|
||||
@include menuShadow;
|
||||
position: absolute;
|
||||
|
|
|
@ -14,6 +14,8 @@
|
|||
--panel-background-color: var(--color-background-primary);
|
||||
--panel-title-background-color: var(--color-background-secondary);
|
||||
|
||||
// BUTTONS
|
||||
|
||||
--button-foreground-hover: var(--color-accent-primary);
|
||||
--button-background-focus: var(--color-background-secondary);
|
||||
--button-foreground-focus: var(--color-foreground-primary);
|
||||
|
@ -84,6 +86,7 @@
|
|||
--constraint-widget-background-color: var(--color-background-tertiary);
|
||||
--constraint-center-area-background-color: var(--color-background-primary);
|
||||
|
||||
// ICONS
|
||||
--icon-foreground: var(--color-foreground-secondary);
|
||||
--icon-foreground-hover: var(--color-foreground-primary);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue