mirror of
https://github.com/penpot/penpot.git
synced 2025-05-14 12:36:37 +02:00
💄 Remove nesting in css for project grid menu icon
This commit is contained in:
parent
7d2aef441c
commit
9594c70ec5
1 changed files with 26 additions and 26 deletions
|
@ -220,14 +220,16 @@ $thumbnail-default-height: $s-168; // Default width
|
||||||
span {
|
span {
|
||||||
color: $db-secondary;
|
color: $db-secondary;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.project-th-icon {
|
.project-th-icon {
|
||||||
align-items: center;
|
align-items: center;
|
||||||
display: flex;
|
display: flex;
|
||||||
margin-right: $s-8;
|
margin-right: $s-8;
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
|
}
|
||||||
|
|
||||||
&.menu {
|
.menu {
|
||||||
align-items: flex-end;
|
align-items: flex-end;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
@ -237,7 +239,7 @@ $thumbnail-default-height: $s-168; // Default width
|
||||||
margin-top: $s-20;
|
margin-top: $s-20;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
> svg {
|
svg {
|
||||||
fill: $df-secondary;
|
fill: $df-secondary;
|
||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
height: $s-16;
|
height: $s-16;
|
||||||
|
@ -246,12 +248,10 @@ $thumbnail-default-height: $s-168; // Default width
|
||||||
|
|
||||||
&:hover,
|
&:hover,
|
||||||
&:focus {
|
&:focus {
|
||||||
> svg {
|
svg {
|
||||||
fill: $da-tertiary;
|
fill: $da-tertiary;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.project-th-actions.force-display {
|
.project-th-actions.force-display {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue