mirror of
https://github.com/penpot/penpot.git
synced 2025-08-04 00:08:34 +02:00
Merge pull request #3236 from penpot/akshay-gupta7-akshayg7-add-shadows-reorder
🎉 Add ability to change shadows' order and place new shadows at first
This commit is contained in:
commit
df1c56da2d
5 changed files with 305 additions and 193 deletions
|
@ -786,7 +786,8 @@
|
|||
}
|
||||
}
|
||||
|
||||
.grid-option {
|
||||
.grid-option,
|
||||
.shadow-option {
|
||||
margin-bottom: 0.5rem;
|
||||
.advanced-options {
|
||||
.row-flex {
|
||||
|
@ -797,6 +798,15 @@
|
|||
position: absolute;
|
||||
top: 12px;
|
||||
}
|
||||
.element-set-actions-button {
|
||||
min-width: auto;
|
||||
min-height: auto;
|
||||
padding-right: 10px;
|
||||
svg {
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -807,7 +817,8 @@
|
|||
margin-left: 0.25rem;
|
||||
}
|
||||
|
||||
.element-set-content .grid-option-main {
|
||||
.element-set-content .grid-option-main,
|
||||
.element-set-content .shadow-option-main {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
padding: 0.3rem 0;
|
||||
|
@ -857,11 +868,13 @@
|
|||
}
|
||||
}
|
||||
|
||||
.grid-option-main-actions {
|
||||
.grid-option-main-actions,
|
||||
.shadow-option-main-actions {
|
||||
display: flex;
|
||||
visibility: hidden;
|
||||
|
||||
.grid-option:hover & {
|
||||
.grid-option:hover &,
|
||||
.shadow-option:hover & {
|
||||
visibility: visible;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue