mirror of
https://github.com/penpot/penpot.git
synced 2025-08-03 16:59:29 +02:00
🎉 Add close on click and background overlays
This commit is contained in:
parent
f208731746
commit
bbdf1152c1
9 changed files with 153 additions and 24 deletions
|
@ -43,3 +43,19 @@
|
|||
grid-row: 1 / span 2;
|
||||
}
|
||||
}
|
||||
|
||||
.viewer-overlay {
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.viewer-overlay-background {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
|
||||
&.visible {
|
||||
background-color: rgb(0, 0, 0, 0.2);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -222,6 +222,31 @@
|
|||
}
|
||||
}
|
||||
|
||||
.input-checkbox {
|
||||
label {
|
||||
color: $color-gray-20;
|
||||
}
|
||||
|
||||
label::before {
|
||||
background-color: transparent;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
}
|
||||
|
||||
label::after {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
}
|
||||
|
||||
input:checked + label::before {
|
||||
border-width: 1px;
|
||||
}
|
||||
|
||||
input:checked + label::after {
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
}
|
||||
|
||||
.element-set-subtitle {
|
||||
color: $color-gray-20;
|
||||
font-size: $fs11;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue