mirror of
https://github.com/penpot/penpot.git
synced 2025-08-04 09:48:22 +02:00
🐛 Fixed issues with masks when coloring
This commit is contained in:
parent
07d77c1320
commit
4b22615f97
7 changed files with 304 additions and 282 deletions
|
@ -144,38 +144,36 @@
|
|||
}
|
||||
}
|
||||
|
||||
.element-list li.masked {
|
||||
.element-children {
|
||||
li:first-child {
|
||||
position: relative;
|
||||
.element-list li.masked > .element-children > li {
|
||||
&:first-child {
|
||||
position: relative;
|
||||
|
||||
&::before {
|
||||
content: " ";
|
||||
border-right: 1px solid $color-gray-40;
|
||||
border-top: 1px solid $color-gray-40;
|
||||
position: absolute;
|
||||
width: 6px;
|
||||
height: 6px;
|
||||
transform: rotate(-45deg);
|
||||
top: -1px;
|
||||
left: -4px;
|
||||
}
|
||||
&::before {
|
||||
content: " ";
|
||||
border-right: 1px solid $color-gray-40;
|
||||
border-top: 1px solid $color-gray-40;
|
||||
position: absolute;
|
||||
width: 6px;
|
||||
height: 6px;
|
||||
transform: rotate(-45deg);
|
||||
top: -1px;
|
||||
left: -4px;
|
||||
}
|
||||
}
|
||||
|
||||
li:last-child {
|
||||
border-left: none;
|
||||
position: relative;
|
||||
&:last-child {
|
||||
border-left: none;
|
||||
position: relative;
|
||||
|
||||
&::after {
|
||||
content: " ";
|
||||
border-left: 1px solid $color-gray-40;
|
||||
border-bottom: 1px solid $color-gray-40;
|
||||
height: 1rem;
|
||||
width: 0.3rem;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
}
|
||||
&::after {
|
||||
content: " ";
|
||||
border-left: 1px solid $color-gray-40;
|
||||
border-bottom: 1px solid $color-gray-40;
|
||||
height: 1rem;
|
||||
width: 0.3rem;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue