Bump Harbor versions and refine delete strike styling
This commit is contained in:
@@ -915,6 +915,7 @@ p {
|
||||
|
||||
.client-local-rule {
|
||||
position: relative;
|
||||
isolation: isolate;
|
||||
min-width: 0;
|
||||
display: grid;
|
||||
grid-template-columns: 24px 116px minmax(0, 1fr) 112px 28px;
|
||||
@@ -960,20 +961,27 @@ p {
|
||||
|
||||
.client-delete-strike {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: 0;
|
||||
top: 50%;
|
||||
z-index: 6;
|
||||
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%);
|
||||
filter: drop-shadow(0 0 2px oklch(0.68 0.15 28 / 0.5));
|
||||
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%);
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
transform: scaleX(0);
|
||||
transform-origin: left center;
|
||||
}
|
||||
|
||||
.client-delete-strike::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: 0;
|
||||
top: calc(50% - 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%);
|
||||
filter: drop-shadow(0 0 2px oklch(0.68 0.15 28 / 0.5));
|
||||
}
|
||||
|
||||
.client-deletable-row.is-removing > .client-delete-strike {
|
||||
animation: client-delete-strike 760ms cubic-bezier(0.16, 1, 0.3, 1) both;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user