This commit is contained in:
Macbook
2026-06-14 23:39:51 +09:00
parent b2788ee629
commit 0045f0ef2d
6 changed files with 221 additions and 70 deletions
+34
View File
@@ -2027,6 +2027,12 @@
background: var(--se-palette-card-bg);
transition: transform 0.12s, box-shadow 0.12s, border-color 0.12s, background 0.12s;
}
.desktop-client .se-palette-card {
cursor: grab;
}
.desktop-client .se-palette-card:active {
cursor: grabbing;
}
.se-palette-card:hover {
transform: translateY(-2px);
}
@@ -2039,6 +2045,34 @@ body.se-palette-drag-active {
user-select: none;
}
.se-palette-drag-overlay {
position: fixed;
inset: 0;
z-index: 20040;
touch-action: none;
cursor: grabbing;
background: transparent;
}
.se-palette-drag-overlay-label {
position: fixed;
z-index: 20041;
pointer-events: none;
transform: translate(-50%, -100%);
padding: 6px 12px;
border-radius: 8px;
font-size: 0.72rem;
font-weight: 700;
color: var(--se-text, #e2e8f0);
background: color-mix(in srgb, var(--se-accent, #4dabf7) 22%, var(--se-panel-card-bg, #1e293b));
border: 1px solid color-mix(in srgb, var(--se-accent, #4dabf7) 55%, transparent);
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
white-space: nowrap;
max-width: min(240px, 90vw);
overflow: hidden;
text-overflow: ellipsis;
}
.se-palette-drag-ghost {
position: fixed;
z-index: 20050;