Raise delete strike overlay above row content
This commit is contained in:
@@ -960,10 +960,11 @@ p {
|
||||
}
|
||||
|
||||
.client-delete-strike {
|
||||
--client-delete-strike-y: 50%;
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
z-index: 20;
|
||||
background: radial-gradient(ellipse at center, oklch(0.68 0.15 28 / 0.3) 0%, oklch(0.68 0.15 28 / 0.12) 36%, transparent 74%);
|
||||
z-index: 100;
|
||||
background: radial-gradient(ellipse at 50% var(--client-delete-strike-y), oklch(0.68 0.15 28 / 0.3) 0%, oklch(0.68 0.15 28 / 0.12) 36%, transparent 74%);
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
transform: scaleX(0);
|
||||
@@ -975,7 +976,7 @@ p {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: 0;
|
||||
top: calc(50% - 2px);
|
||||
top: calc(var(--client-delete-strike-y) - 2px);
|
||||
height: 4px;
|
||||
background: oklch(0.68 0.15 28);
|
||||
clip-path: polygon(0 50%, 18% 40%, 50% 28%, 82% 40%, 100% 50%, 82% 60%, 50% 72%, 18% 60%);
|
||||
@@ -986,6 +987,11 @@ p {
|
||||
animation: client-delete-strike 760ms cubic-bezier(0.16, 1, 0.3, 1) both;
|
||||
}
|
||||
|
||||
.client-deletable-row.is-removing > :not(.client-delete-strike) {
|
||||
position: relative;
|
||||
z-index: 0;
|
||||
}
|
||||
|
||||
.client-local-rule-enabled {
|
||||
width: 24px;
|
||||
height: 32px;
|
||||
|
||||
Reference in New Issue
Block a user