Edge-Drop is a clipboard shelf on the edge of your screen. Hover to open it. Drag files and images into any app, click to copy text and links. Free and open-source for Windows.
TypeScript clipboardclipboard-managerdesktop-appdrag-and-dropelectronopen-sourceproductivityproductivity-toolwindows
refactor(ui): uniform 1px card borders, premium hover styling, and 6px micro-ramp scroll mask
Deepender25588b67b576e9
diff --git a/src/components/Header.tsx b/src/components/Header.tsxindex 688135f..25c0100 100644--- a/src/components/Header.tsx+++ b/src/components/Header.tsx@@ -65,12 +65,11 @@ export function Header() {display: 'flex',alignItems: 'center',background: 'rgba(255, 255, 255, 0.05)',- border: '1px solid rgba(255, 255, 255, 0.09)',+ border: '1px solid rgba(255, 255, 255, 0.10)',borderRadius: 999,padding: '2px 3px',gap: 2,marginLeft: 2,- boxShadow: 'inset 0 1px 0 rgba(255, 255, 255, 0.05)',maxWidth: '100%',overflow: 'hidden'}}@@ -88,8 +87,8 @@ export function Header() {height: 22,borderRadius: 999,background: 'rgba(255, 255, 255, 0.16)',- border: '1px solid rgba(255, 255, 255, 0.22)',- boxShadow: '0 2px 8px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.25)',+ border: '1px solid rgba(255, 255, 255, 0.24)',+ boxShadow: '0 2px 8px rgba(0, 0, 0, 0.4)',pointerEvents: 'none',zIndex: 0}}diff --git a/src/components/Panel.tsx b/src/components/Panel.tsxindex d58ed0a..e8ede8d 100644--- a/src/components/Panel.tsx+++ b/src/components/Panel.tsx@@ -363,9 +363,7 @@ export function Panel() {transition={{ type: 'spring', stiffness: 500, damping: 32, mass: 0.5 }}style={{ gridArea: '1 / 1 / 2 / 2', display: 'flex', flexDirection: 'column', overflow: 'hidden', position: 'relative' }}>- <div style={{ position: 'absolute', top: 0, left: 0, right: 0, height: 18, background: 'linear-gradient(to bottom, #000000, transparent)', pointerEvents: 'none', zIndex: 10 }} /><Settings />- <div style={{ position: 'absolute', bottom: 0, left: 0, right: 0, height: 18, background: 'linear-gradient(to top, #000000, transparent)', pointerEvents: 'none', zIndex: 10 }} /></motion.div>) : (<motion.div@@ -376,10 +374,8 @@ export function Panel() {transition={{ type: 'spring', stiffness: 500, damping: 32, mass: 0.5 }}style={{ gridArea: '1 / 1 / 2 / 2', display: 'flex', flexDirection: 'column', overflow: 'hidden', position: 'relative' }}>- <div style={{ position: 'absolute', top: 0, left: 0, right: 0, height: 18, background: 'linear-gradient(to bottom, #000000, transparent)', pointerEvents: 'none', zIndex: 10 }} /><ItemList /><div className="footer" style={{ position: 'relative' }}>- <div style={{ position: 'absolute', top: -18, left: 0, right: 0, height: 18, background: 'linear-gradient(to top, #000000, transparent)', pointerEvents: 'none', zIndex: 10 }} /><span className="count">{filteredCount} {t('item.items')}</span>diff --git a/src/styles/item.css b/src/styles/item.cssindex 9519c95..9ffe6f2 100644--- a/src/styles/item.css+++ b/src/styles/item.css@@ -8,32 +8,36 @@display: flex;flex-direction: column;margin-bottom: 10px;- background: rgba(255, 255, 255, 0.03);- border: 1px solid rgba(255, 255, 255, 0.07);- box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);- border-radius: 16px;+ background: rgba(255, 255, 255, 0.035);+ border: 1px solid rgba(255, 255, 255, 0.10);+ border-radius: 14px;user-select: none;-webkit-user-select: none;- /* Card Lift & Ambient Backlight Glow */- transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),- box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1),- background 0.22s ease,- border-color 0.22s ease;+ transition: background 0.16s ease,+ border-color 0.16s ease,+ box-shadow 0.16s ease;overflow: hidden;- will-change: transform;}.item:hover {- transform: translateY(-2px);- background: rgba(255, 255, 255, 0.06);- border-color: rgba(255, 255, 255, 0.18);- box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 0 16px rgba(255, 255, 255, 0.04);+ background: rgba(255, 255, 255, 0.085);+ border-color: rgba(255, 255, 255, 0.24);+ box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);+}++.item:hover .preview {+ color: #ffffff;}.item.pinned {- border-color: rgba(255, 255, 255, 0.35);- box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);- background: rgba(255, 255, 255, 0.08);+ border-color: rgba(255, 255, 255, 0.24);+ background: rgba(255, 255, 255, 0.065);+}++.item.pinned:hover {+ background: rgba(255, 255, 255, 0.11);+ border-color: rgba(255, 255, 255, 0.36);+ box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);}/* Compact UI Density Mode */@@ -83,10 +87,11 @@font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", sans-serif;font-size: calc(13.5px * var(--font-scale, 1));line-height: 1.45;- color: rgba(255, 255, 255, 0.92);+ color: rgba(255, 255, 255, 0.85);font-weight: 450;word-break: break-word;white-space: pre-wrap;+ transition: color 0.16s ease;display: -webkit-box;-webkit-line-clamp: 3;-webkit-box-orient: vertical;diff --git a/src/styles/panel.css b/src/styles/panel.cssindex a9f4853..0ca2a88 100644--- a/src/styles/panel.css+++ b/src/styles/panel.css@@ -198,6 +198,8 @@scroll-behavior: smooth;-webkit-overflow-scrolling: touch;overscroll-behavior-y: contain;+ -webkit-mask-image: linear-gradient(to bottom, transparent 0px, #000 6px, #000 calc(100% - 6px), transparent 100%);+ mask-image: linear-gradient(to bottom, transparent 0px, #000 6px, #000 calc(100% - 6px), transparent 100%);}.list::-webkit-scrollbar {display: none; /* Chrome/Safari */@@ -330,7 +332,7 @@padding: 12px var(--pad) 14px;position: relative;z-index: 1;- background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.6));+ background: transparent;-webkit-font-smoothing: antialiased;}.footer .count {