Skip to content

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.

style(settings): unify community buttons as pills, soften quit affordance, drop scroll fade masks

Deepender258ce768db14b7
diff --git a/src/components/Settings.tsx b/src/components/Settings.tsx
index c80b4e3..e5f8674 100644
--- a/src/components/Settings.tsx
+++ b/src/components/Settings.tsx
@@ -804,7 +804,7 @@ export function Settings({
{isStoreBuild ? (
<button
type="button"
- className="shelf-kofi-btn"
+ className="shelf-github-btn"
onClick={() => {
playButtonClickSound()
window.open('ms-windows-store://review/?ProductId=9P3JMHN9M4NR', '_blank')
@@ -816,7 +816,7 @@ export function Settings({
) : (
<button
type="button"
- className="shelf-kofi-btn"
+ className="shelf-github-btn"
onClick={() => {
playButtonClickSound()
window.open('https://github.com/Deepender25/Edge-Drop', '_blank')
@@ -835,23 +835,23 @@ export function Settings({
<div className="settings-shelf-card about-card">
<div className="shelf-card-top">
<div className="setting-group-label">{t('groups.aboutEdgeDrop') || 'ABOUT EDGE-DROP'}</div>
- <div className="setting-title">Edge-Drop v{currentVersion || '0.3.1'}</div>
+ <div className="setting-title">Edge-Drop v{currentVersion || '0.3.2'}</div>
<div className="setting-desc">{t('footer.feedbackDesc')}</div>
</div>
<div className="shelf-card-bottom">
<button
type="button"
className="pill display-pill"
- style={{ width: '100%', justifyContent: 'center', height: 32, fontSize: 11.5 }}
+ style={{ width: '100%', justifyContent: 'center', height: 30, fontSize: 11.5, fontWeight: 550, borderRadius: 999 }}
onClick={() => {
playButtonClickSound()
window.open('https://github.com/Deepender25/Edge-Drop/issues/new/choose', '_blank')
}}
>
- 💬 {t('footer.submitFeedback')}
+ {t('footer.submitFeedback')}
</button>
- <div style={{ display: 'flex', alignItems: 'center', justifyContent: 'space-between', gap: 8 }}>
+ <div style={{ display: 'flex', alignItems: 'center', justifyContent: 'space-between', gap: 8, marginTop: 2 }}>
<button
type="button"
className="version-changelog-link"
@@ -867,13 +867,12 @@ export function Settings({
<button
type="button"
className="shelf-quit-btn"
- style={{ width: 'auto', padding: '0 12px', height: 26, fontSize: 11 }}
onClick={() => {
playButtonClickSound()
void window.edge.quitApp()
}}
>
- <LogOutIcon width={12} height={12} style={{ marginRight: 4 }} />
+ <LogOutIcon width={11} height={11} />
<span>{t('tray.quit')}</span>
</button>
</div>
diff --git a/src/styles/emoji.css b/src/styles/emoji.css
index 5185164..4f3a8b6 100644
--- a/src/styles/emoji.css
+++ b/src/styles/emoji.css
@@ -34,8 +34,6 @@
padding: 4px var(--pad) 8px;
scrollbar-width: none;
overscroll-behavior-y: contain;
- -webkit-mask-image: linear-gradient(to bottom, transparent 0px, #000 8px, #000 calc(100% - 8px), transparent 100%);
- mask-image: linear-gradient(to bottom, transparent 0px, #000 8px, #000 calc(100% - 8px), transparent 100%);
}
.emoji-grid::-webkit-scrollbar {
display: none;
@@ -252,8 +250,6 @@
.emoji-picker.horizontal .emoji-grid {
padding: 2px 6px 4px;
- -webkit-mask-image: linear-gradient(to bottom, transparent 0px, #000 4px, #000 calc(100% - 4px), transparent 100%);
- mask-image: linear-gradient(to bottom, transparent 0px, #000 4px, #000 calc(100% - 4px), transparent 100%);
}
.emoji-picker.horizontal .emoji-row {
diff --git a/src/styles/panel.css b/src/styles/panel.css
index 828e0bd..4d29011 100644
--- a/src/styles/panel.css
+++ b/src/styles/panel.css
@@ -283,8 +283,6 @@
scroll-behavior: auto;
-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 */
@@ -296,8 +294,6 @@
overflow-y: hidden;
overflow-x: auto;
padding: 6px 14px 8px;
- -webkit-mask-image: linear-gradient(to right, transparent 0px, #000 12px, #000 calc(100% - 12px), transparent 100%);
- mask-image: linear-gradient(to right, transparent 0px, #000 12px, #000 calc(100% - 12px), transparent 100%);
}
.list.horizontal .list-stack {
flex-direction: row;
diff --git a/src/styles/settings.css b/src/styles/settings.css
index 61071e1..0410408 100644
--- a/src/styles/settings.css
+++ b/src/styles/settings.css
@@ -1660,8 +1660,6 @@
overflow-y: hidden;
scrollbar-width: none;
-ms-overflow-style: none;
- mask-image: linear-gradient(to right, transparent, black 16px, black calc(100% - 16px), transparent);
- -webkit-mask-image: linear-gradient(to right, transparent, black 16px, black calc(100% - 16px), transparent);
}
.settings-shelf-track::-webkit-scrollbar {
@@ -1672,8 +1670,6 @@
.settings-shelf-track.tab-view {
overflow-x: auto;
overflow-y: hidden;
- mask-image: linear-gradient(to right, transparent, black 16px, black calc(100% - 16px), transparent);
- -webkit-mask-image: linear-gradient(to right, transparent, black 16px, black calc(100% - 16px), transparent);
padding: 6px 18px 12px 18px;
gap: 12px;
}
@@ -2147,21 +2143,22 @@
white-space: nowrap;
}
-/* Shelf Community & Support Action Buttons */
+/* Shelf Community & Support Action Buttons (Matches Vertical Settings Aesthetic) */
.shelf-kofi-btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 7px;
width: 100%;
- height: 32px;
+ height: 30px;
padding: 0 14px;
- border-radius: 8px;
+ border-radius: 999px;
font-size: 11.5px;
- font-weight: 550;
- color: #ffffff;
- background: rgba(255, 255, 255, 0.06);
- border: 1px solid rgba(255, 255, 255, 0.12);
+ font-weight: 600;
+ color: #000000;
+ background: #ffffff;
+ border: none;
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
cursor: pointer;
white-space: nowrap;
transition: all 0.18s cubic-bezier(0.22, 1, 0.36, 1);
@@ -2169,8 +2166,7 @@
}
.shelf-kofi-btn:hover {
- background: rgba(255, 255, 255, 0.11);
- border-color: rgba(255, 255, 255, 0.22);
+ background: rgba(255, 255, 255, 0.92);
transform: translateY(-1px);
}
@@ -2178,31 +2174,77 @@
transform: scale(0.98);
}
-/* Danger Quit Button */
-.shelf-quit-btn {
+.shelf-github-btn {
+ display: inline-flex;
+ align-items: center;
+ justify-content: center;
+ gap: 7px;
width: 100%;
- height: 26px;
- border-radius: 8px;
- border: 1px solid rgba(255, 69, 58, 0.25);
- background: rgba(255, 69, 58, 0.08);
- color: #ff453a;
- font-size: 11px;
- font-weight: 600;
+ height: 30px;
+ padding: 0 14px;
+ border-radius: 999px;
+ font-size: 11.5px;
+ font-weight: 550;
+ color: rgba(255, 255, 255, 0.92);
+ background: #1c1c1c;
+ border: 1px solid rgba(255, 255, 255, 0.08);
+ box-shadow: none;
cursor: pointer;
- display: flex;
+ white-space: nowrap;
+ transition: all 0.18s cubic-bezier(0.22, 1, 0.36, 1);
+ box-sizing: border-box;
+}
+
+.shelf-github-btn:hover {
+ background: #262626;
+ border-color: rgba(255, 255, 255, 0.18);
+ color: #ffffff;
+ transform: translateY(-1px);
+}
+
+.shelf-github-btn:active {
+ transform: scale(0.98);
+}
+
+.shelf-github-btn .github-octocat-icon,
+.shelf-github-btn .store-logo-icon {
+ flex-shrink: 0;
+ color: rgba(255, 255, 255, 0.9);
+}
+
+.shelf-github-btn .star-icon {
+ color: #fbbf24;
+}
+
+/* Subtle Quit Button for Horizontal Shelf */
+.shelf-quit-btn {
+ height: 24px;
+ padding: 0 10px;
+ border-radius: 999px;
+ font-size: 11px;
+ font-weight: 500;
+ display: inline-flex;
align-items: center;
justify-content: center;
- transition: all 0.15s ease;
+ gap: 4px;
+ color: rgba(255, 255, 255, 0.55);
+ background: rgba(255, 255, 255, 0.05);
+ border: 1px solid rgba(255, 255, 255, 0.08);
+ cursor: pointer;
outline: none;
+ transition: all 0.18s ease;
+ user-select: none;
+ white-space: nowrap;
}
.shelf-quit-btn:hover {
- background: rgba(255, 69, 58, 0.18);
- border-color: rgba(255, 69, 58, 0.45);
+ background: rgba(255, 69, 58, 0.14);
+ border-color: rgba(255, 69, 58, 0.35);
+ color: #ff5e57;
}
.shelf-quit-btn:active {
- transform: scale(0.98);
+ transform: scale(0.96);
}
/* Update Progress inside Shelf / Vertical Settings */