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
.settings-fixed-header {
flex-shrink: 0;
padding: 4px var(--pad) 6px;
background: transparent;
z-index: 10;
}
.settings-scroll-list {
flex: 1;
display: flex;
flex-direction: column;
overflow-y: auto;
overflow-x: hidden;
padding: 4px var(--pad) 16px;
scrollbar-width: none;
}
.settings-scroll-list::-webkit-scrollbar {
display: none;
}
/* ── Segmented Tab Bar ─────────────────────────────────────────────────── */
.settings-tab-bar {
display: flex;
position: relative;
width: 100%;
background: transparent;
border: none;
border-radius: 12px;
padding: 0;
gap: 4px;
flex-shrink: 0;
box-shadow: none;
}
.settings-tab-btn {
position: relative;
flex: 1;
min-width: 0;
display: flex;
align-items: center;
justify-content: center;
padding: 7px 2px;
min-height: 34px;
border-radius: 999px;
font-size: calc(11.5px * var(--font-scale, 1));
font-weight: 500;
line-height: 1.25;
color: rgba(255, 255, 255, 0.72);
background: #141414;
border: none;
cursor: pointer;
outline: none;
transition: color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
letter-spacing: 0;
white-space: nowrap;
overflow: hidden;
}
.settings-tab-btn:hover:not(.active) {
color: #ffffff;
background: #141414;
}
.settings-tab-btn.active {
color: #000000;
font-weight: 600;
background: #ffffff;
box-shadow: none;
}
.settings-tab-text {
position: relative;
z-index: 1;
display: inline-block;
line-height: 1.2;
padding: 1px 0;
white-space: nowrap;
}
.setting-title {
font-size: calc(14px * var(--font-scale, 1));
font-weight: 600;
color: #ffffff;
letter-spacing: 0.01em;
line-height: 1.35;
white-space: normal;
word-break: break-word;
overflow-wrap: break-word;
}
.setting-desc {
font-size: calc(12.5px * var(--font-scale, 1));
font-weight: 400;
color: rgba(255, 255, 255, 0.78);
line-height: 1.48;
white-space: normal;
word-break: break-word;
overflow-wrap: break-word;
}
/* ── Update card (side docks); the settings themselves use .set-group ── */
.setting-card {
width: 100%;
background: var(--bg-card, #141414);
border: none;
border-radius: var(--radius-card, 16px);
padding: 12px 14px;
margin-bottom: 8px;
display: flex;
flex-direction: column;
gap: 8px;
box-sizing: border-box;
position: relative;
overflow: hidden;
user-select: none;
-webkit-user-select: none;
transition: background 0.14s ease;
}
.setting-card::before {
content: '';
position: absolute;
inset: 0;
border-radius: inherit;
pointer-events: none;
z-index: 2;
transition: opacity 0.14s ease;
background:
radial-gradient(
ellipse 70% 1px at 50% 0%,
rgba(255, 255, 255, 0.22) 0%,
rgba(255, 255, 255, 0.08) 45%,
transparent 80%
) top / 100% 1px no-repeat,
linear-gradient(
90deg,
transparent 0%,
rgba(255, 255, 255, 0.035) 20%,
rgba(255, 255, 255, 0.035) 80%,
transparent 100%
) bottom / 100% 1px no-repeat;
}
.setting-card:hover {
background: var(--bg-card-hover, #1c1c1c);
}
.setting-card:hover::before {
opacity: 1.2;
}
.setting-card .setting-title {
font-size: calc(13px * var(--font-scale, 1));
font-weight: 600;
color: #ffffff;
line-height: 1.3;
}
.setting-card .setting-desc {
font-size: calc(11.5px * var(--font-scale, 1));
color: rgba(255, 255, 255, 0.62);
line-height: 1.4;
margin-top: 2px;
}
.setting-card .shelf-card-top {
display: flex;
flex-direction: column;
gap: 2px;
width: 100%;
}
.setting-card .shelf-card-bottom {
display: flex;
flex-direction: column;
gap: 6px;
width: 100%;
margin-top: 2px;
}
.setting-card .setting-pills .pill {
height: 32px;
border-radius: 10px;
background: rgba(255, 255, 255, 0.05);
border: 1px solid transparent;
color: rgba(255, 255, 255, 0.78);
font-size: 11.5px;
font-weight: 500;
transition: all 0.14s ease;
}
.setting-card .setting-pills .pill:hover {
background: rgba(255, 255, 255, 0.09);
color: #ffffff;
}
.setting-card .setting-pills .pill.active {
background: #ffffff;
color: #000000;
font-weight: 600;
box-shadow: 0 2px 10px rgba(255, 255, 255, 0.2);
}
/* Minimalist Pill Selector (Replaces Sliders!) */
.setting-pills {
display: flex;
width: 100%;
background: transparent;
border: none;
border-radius: 8px;
padding: 0;
gap: 4px;
}
/* 3-Way Edge Placement Selector (Left, Top, Right) */
.placement-3way-wrap {
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
width: 100%;
padding: 4px 0 2px;
}
.placement-3way-wrap .pill {
flex: 1;
max-width: 110px;
height: 32px;
font-size: calc(11.5px * var(--font-scale, 1));
font-weight: 500;
padding: 0 8px;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
border-radius: 999px;
box-sizing: border-box;
}
/* Horizontal Shelf 3-Way Placement Selector */
.placement-3way-wrap.shelf-placement-3way {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 6px;
width: 100%;
padding: 0;
}
.placement-3way-wrap.shelf-placement-3way .pill {
width: 100%;
height: 32px;
font-size: calc(11px * var(--font-scale, 1));
padding: 0 4px;
border-radius: 999px;
background: rgba(255, 255, 255, 0.05);
border: 1px solid transparent;
color: rgba(255, 255, 255, 0.78);
font-weight: 500;
transition: all 0.14s ease;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
box-sizing: border-box;
}
.placement-3way-wrap.shelf-placement-3way .pill:hover:not(.active) {
background: rgba(255, 255, 255, 0.09);
color: #ffffff;
}
.placement-3way-wrap.shelf-placement-3way .pill.active {
background: #ffffff;
color: #000000;
font-weight: 600;
box-shadow: 0 2px 10px rgba(255, 255, 255, 0.2);
}
/* Edge pill transition pulse */
.placement-3way-wrap .pill.transitioning {
animation: edgePillPulse 0.44s ease-in-out infinite alternate;
box-shadow: 0 0 12px rgba(255, 255, 255, 0.45);
}
@keyframes edgePillPulse {
0% {
transform: scale(0.96);
opacity: 0.85;
}
100% {
transform: scale(1.02);
opacity: 1;
box-shadow: 0 0 16px rgba(255, 255, 255, 0.6);
}
}
/* Custom Range Slider Controls */
.setting-slider-wrap {
display: flex;
flex-direction: column;
gap: 6px;
width: 100%;
}
/* 3 Main Percentage Labels (0%, 50%, 100%) */
.setting-slider-labels {
display: flex;
justify-content: space-between;
width: 100%;
padding: 0 2px;
margin-top: 3px;
}
.slider-label-btn {
font-size: 10.5px;
font-weight: 500;
font-family: var(--font-mono);
color: rgba(255, 255, 255, 0.45);
background: transparent;
border: none;
cursor: pointer;
padding: 1px 4px;
border-radius: 4px;
transition: color 0.15s ease;
}
.slider-label-btn:hover {
color: #ffffff;
}
.slider-label-btn.active {
color: #ffffff;
font-weight: 700;
}
.pill {
flex: 1;
min-width: 0;
padding: 6px 2px;
border-radius: 999px;
font-size: calc(12px * var(--font-scale, 1));
font-weight: 500;
color: rgba(255, 255, 255, 0.72);
background: #141414;
border: none;
cursor: pointer;
transition: all 0.15s ease;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
text-align: center;
}
.pill:hover:not(.active) {
color: #ffffff;
background: #1c1c1c;
}
.pill.active {
background: #ffffff;
color: #000000;
font-weight: 600;
box-shadow: none;
}
.display-pill {
display: flex;
flex-direction: column;
align-items: center;
gap: 2px;
padding: 6px 0;
line-height: 1.2;
}
.display-pill .pill-name {
font-size: calc(12px * var(--font-scale, 1));
font-weight: 600;
}
.display-pill .pill-res {
font-size: calc(10px * var(--font-scale, 1));
opacity: 0.7;
}
/* Modern Flat Toggle Switch */
.setting-toggle {
flex-shrink: 0;
width: 36px;
height: 20px;
border-radius: 999px;
background: rgba(255, 255, 255, 0.12);
border: none;
position: relative;
cursor: pointer;
padding: 0;
outline: none;
transition: background 0.18s ease, opacity 0.18s ease;
box-shadow: none;
}
.setting-toggle:hover:not(:disabled) {
background: rgba(255, 255, 255, 0.18);
}
.toggle-thumb {
position: absolute;
top: 3px;
left: 0;
width: 14px;
height: 14px;
border-radius: 50%;
background: #ffffff;
box-shadow: none;
pointer-events: none;
}
.setting-toggle.checked {
background: #ffffff;
border: none;
}
.setting-toggle.checked:hover:not(:disabled) {
background: #ffffff;
}
.setting-toggle.checked .toggle-thumb {
background: #000000;
}
/* Indicator style: opens the style flyout */
.style-preview-toggle-btn {
width: 32px;
height: 32px;
border-radius: 8px;
background: rgba(255, 255, 255, 0.06);
border: 1px solid transparent;
color: #ffffff;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
flex-shrink: 0;
outline: none;
}
.style-preview-toggle-btn:hover {
background: rgba(255, 255, 255, 0.14);
color: #ffffff;
}
.style-preview-toggle-btn.active {
background: rgba(255, 255, 255, 0.18);
color: #ffffff;
box-shadow: 0 0 14px rgba(255, 255, 255, 0.15);
}
.indicator-card {
position: relative;
display: flex;
flex-direction: column;
align-items: center;
gap: 6px;
padding: 10px 8px 12px;
background: var(--bg-card);
border: 2px solid transparent;
border-radius: 16px;
cursor: pointer;
transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
user-select: none;
overflow: hidden;
box-sizing: border-box;
}
.indicator-card:hover {
background: var(--bg-card-hover);
}
.indicator-card.active {
background: #262626;
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5), 0 0 14px rgba(255, 255, 255, 0.12);
outline: none;
}
.indicator-card-stage {
width: 100%;
height: 64px;
background: #000000;
border-radius: 6px;
position: relative;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
border: none;
}
.indicator-card-badge {
position: absolute;
top: 6px;
right: 6px;
width: 18px;
height: 18px;
border-radius: 50%;
background: #ffffff;
color: #000000;
font-size: 11px;
font-weight: 700;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
z-index: 5;
}
/* Hotkey Recorder UI */
.hotkey-recorder-wrap {
width: 100%;
}
.hotkey-field {
display: flex;
align-items: center;
width: 100%;
height: 38px;
padding: 0 10px;
background: rgba(255, 255, 255, 0.04);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 8px;
cursor: pointer;
outline: none;
transition: all 0.16s cubic-bezier(0.16, 1, 0.3, 1);
user-select: none;
}
.hotkey-field:hover {
background: rgba(255, 255, 255, 0.07);
border-color: rgba(255, 255, 255, 0.2);
}
.hotkey-field.is-recording {
background: rgba(255, 107, 107, 0.06);
border-color: #ff6b6b;
box-shadow: 0 0 12px rgba(255, 107, 107, 0.2);
cursor: default;
}
.hotkey-field-content {
display: flex;
align-items: center;
justify-content: space-between;
width: 100%;
}
.hotkey-keycaps-row {
display: flex;
align-items: center;
gap: 4px;
}
.hotkey-keycap-item {
display: flex;
align-items: center;
gap: 4px;
}
.hotkey-plus-symbol {
color: rgba(255, 255, 255, 0.35);
font-size: 11px;
font-weight: 600;
user-select: none;
}
.hotkey-keycap {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 22px;
padding: 2px 7px;
height: 22px;
background: rgba(255, 255, 255, 0.12);
border: 1px solid rgba(255, 255, 255, 0.18);
border-bottom: 2px solid rgba(255, 255, 255, 0.32);
border-radius: 5px;
color: #ffffff;
font-family: var(--font-mono, monospace);
font-size: 11px;
font-weight: 600;
line-height: 1;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.hotkey-keycap.is-active {
background: rgba(255, 107, 107, 0.18);
border-color: rgba(255, 107, 107, 0.45);
border-bottom: 2px solid #ff6b6b;
color: #ff8585;
}
.hotkey-field-actions {
display: flex;
align-items: center;
gap: 6px;
}
.hotkey-field-edit-badge {
font-size: 10.5px;
color: rgba(255, 255, 255, 0.4);
font-weight: 500;
transition: color 0.15s ease;
}
.hotkey-field:hover .hotkey-field-edit-badge {
color: rgba(255, 255, 255, 0.7);
}
.hotkey-inline-reset-btn {
display: inline-flex;
align-items: center;
justify-content: center;
width: 22px;
height: 22px;
border-radius: 4px;
background: rgba(255, 255, 255, 0.07);
border: 1px solid transparent;
color: rgba(255, 255, 255, 0.6);
cursor: pointer;
transition: all 0.15s ease;
}
.hotkey-inline-reset-btn:hover {
background: rgba(255, 255, 255, 0.14);
color: #ffffff;
}
/* Recording Mode Elements */
.hotkey-recording-indicator {
display: flex;
align-items: center;
gap: 7px;
}
.recording-pulse-dot {
width: 7px;
height: 7px;
border-radius: 50%;
background: #ff6b6b;
box-shadow: 0 0 6px #ff6b6b;
animation: blinkDot 0.8s ease-in-out infinite alternate;
flex-shrink: 0;
}
@keyframes blinkDot {
from { opacity: 0.3; }
to { opacity: 1; }
}
.hotkey-recording-hint {
font-size: 11.5px;
font-weight: 500;
color: #ff8585;
letter-spacing: 0.1px;
}
.hotkey-cancel-icon-btn {
display: inline-flex;
align-items: center;
gap: 4px;
padding: 3px 6px;
height: 22px;
border-radius: 4px;
background: rgba(255, 255, 255, 0.08);
border: 1px solid transparent;
color: rgba(255, 255, 255, 0.7);
cursor: pointer;
transition: all 0.15s ease;
}
.hotkey-cancel-icon-btn:hover {
background: rgba(255, 255, 255, 0.16);
color: #ffffff;
}
.hotkey-esc-text {
font-size: 9.5px;
font-family: var(--font-mono, monospace);
font-weight: 600;
color: rgba(255, 255, 255, 0.5);
line-height: 1;
}
/* ── Unified Update Indicator Dots ── */
.update-dot {
width: 6px;
height: 6px;
border-radius: 50%;
flex-shrink: 0;
display: inline-block;
background: #ffffff;
}
.update-dot.checking {
animation: dotPulse 1.2s ease-in-out infinite;
}
@keyframes dotPulse {
0%, 100% {
opacity: 1;
}
50% {
opacity: 0.35;
}
}
/* ── Unified Group Labels & Header for Update Cards ── */
.update-header-row {
display: flex;
align-items: center;
justify-content: space-between;
width: 100%;
margin-bottom: 3px;
}
.update-group-label {
display: inline-flex;
align-items: center;
gap: 6px;
font-size: calc(10px * var(--font-scale, 1));
font-weight: 600;
letter-spacing: 0.08em;
text-transform: uppercase;
color: rgba(255, 255, 255, 0.42);
margin: 0;
user-select: none;
}
.update-info-btn {
display: inline-flex;
align-items: center;
justify-content: center;
width: 20px;
height: 20px;
margin: -2px -2px 0 0;
padding: 0;
border: none;
border-radius: 6px;
background: transparent;
color: rgba(255, 255, 255, 0.45);
cursor: pointer;
outline: none;
transition: color 0.15s ease, background-color 0.15s ease, transform 0.1s ease;
flex-shrink: 0;
}
.update-info-btn:hover {
color: #ffffff;
background: rgba(255, 255, 255, 0.08);
transform: scale(1.08);
}
.update-info-btn:active {
transform: scale(0.95);
}
/* ── Unified Action Row and Buttons ── */
.update-action-row {
display: flex;
align-items: center;
gap: 8px;
width: 100%;
}
.update-action-btn {
height: 32px;
min-height: 32px;
max-height: 32px;
padding: 0 14px;
border-radius: 999px;
font-family: inherit;
font-size: calc(12px * var(--font-scale, 1));
font-weight: 600;
display: inline-flex;
align-items: center;
justify-content: center;
box-sizing: border-box;
cursor: pointer;
border: none;
transition: all 0.15s ease;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
outline: none;
user-select: none;
}
.update-action-btn:active:not(:disabled) {
transform: scale(0.98);
}
.update-action-btn.primary {
flex: 1;
background: #ffffff;
color: #000000;
}
.update-action-btn.primary:hover:not(:disabled) {
background: rgba(255, 255, 255, 0.88);
}
.update-action-btn.secondary {
background: rgba(255, 255, 255, 0.07);
border: none;
color: #ffffff;
font-weight: 600;
}
.update-action-btn.secondary:hover:not(:disabled) {
background: rgba(255, 255, 255, 0.12);
}
.update-action-btn.secondary:disabled {
opacity: 0.6;
cursor: default;
}
/* ── Promoted Active Update Card at Top/Front (Border-free) ── */
.update-promoted-card {
background: var(--bg-card, #141414) !important;
border: none !important;
box-shadow: none !important;
transition: background 0.14s ease;
}
.setting-card.update-promoted-card {
border-radius: 14px;
padding: 14px;
}
.settings-shelf-card.update-promoted-card {
width: 252px;
padding: 10px 14px;
}
.update-promoted-card .setting-desc {
color: rgba(255, 255, 255, 0.58);
}
/* Header category pills for horizontal mode */
.settings-header-pills {
display: flex;
align-items: center;
gap: 5px;
}
.settings-header-pill {
height: 24px;
padding: 0 10px;
border-radius: 999px;
border: 1px solid transparent;
background: rgba(255, 255, 255, 0.04);
color: rgba(255, 255, 255, 0.65);
font-size: 11px;
font-weight: 500;
cursor: pointer;
display: inline-flex;
align-items: center;
justify-content: center;
white-space: nowrap;
transition: all 0.15s ease;
user-select: none;
outline: none;
}
.settings-header-pill:hover {
background: rgba(255, 255, 255, 0.1);
color: #ffffff;
}
.settings-header-pill.active {
background: #ffffff;
color: #000000;
font-weight: 600;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}
/* Horizontal Shelf Container */
.settings-horizontal-shelf {
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
overflow: hidden;
position: relative;
background: transparent;
box-sizing: border-box;
}
/* Single Horizontal Scrolling Row of Cards */
.settings-shelf-track {
display: flex;
flex-direction: row;
align-items: stretch;
gap: 12px;
width: 100%;
height: 100%;
padding: 8px 18px 14px 18px;
box-sizing: border-box;
overflow-x: auto;
overflow-y: hidden;
scrollbar-width: none;
-ms-overflow-style: none;
}
.settings-shelf-track::-webkit-scrollbar {
display: none;
}
/* Dedicated Tab View: Smooth horizontal scrolling track */
.settings-shelf-track.tab-view {
overflow-x: auto;
overflow-y: hidden;
padding: 6px 18px 12px 18px;
gap: 12px;
}
/* Top-dock update card */
.settings-shelf-track.tab-view .settings-shelf-card,
.settings-shelf-card {
flex: 0 0 auto;
height: 146px;
background: var(--bg-card, #141414);
border: none;
border-radius: var(--radius-card, 18px);
padding: 12px 14px;
display: flex;
flex-direction: column;
justify-content: space-between;
box-sizing: border-box;
position: relative;
overflow: hidden;
user-select: none;
-webkit-user-select: none;
transition: background 0.14s ease;
}
/* Specular light-reflection 1px border matching clipboard cards (.item::before) */
.settings-shelf-track.tab-view .settings-shelf-card::before,
.settings-shelf-card::before {
content: '';
position: absolute;
inset: 0;
border-radius: inherit;
pointer-events: none;
z-index: 2;
transition: opacity 0.14s ease;
background:
radial-gradient(
ellipse 70% 1px at 50% 0%,
rgba(255, 255, 255, 0.22) 0%,
rgba(255, 255, 255, 0.08) 45%,
transparent 80%
) top / 100% 1px no-repeat,
linear-gradient(
90deg,
transparent 0%,
rgba(255, 255, 255, 0.035) 20%,
rgba(255, 255, 255, 0.035) 80%,
transparent 100%
) bottom / 100% 1px no-repeat;
}
.settings-shelf-track.tab-view .settings-shelf-card:hover::before,
.settings-shelf-card:hover::before {
opacity: 1.2;
}
.settings-shelf-track.tab-view .settings-shelf-card:first-child {
padding-left: 14px;
}
.settings-shelf-track.tab-view .settings-shelf-card:last-child {
padding-right: 14px;
}
.settings-shelf-track.tab-view .settings-shelf-card:hover,
.settings-shelf-card:hover {
background: var(--bg-card-hover, #1c1c1c);
}
.settings-shelf-track.tab-view .hotkey-field {
height: 32px;
padding: 0 10px;
border-radius: 10px;
}
.settings-shelf-card .setting-title {
font-size: 13px;
font-weight: 600;
color: #ffffff;
line-height: 1.28;
}
.settings-shelf-card .setting-desc {
font-size: 11px;
color: rgba(255, 255, 255, 0.62);
line-height: 1.36;
margin-top: 2px;
}
/* Card layout distribution */
.shelf-card-top {
display: flex;
flex-direction: column;
flex-shrink: 0;
}
.shelf-card-bottom {
margin-top: auto;
flex-shrink: 0;
display: flex;
flex-direction: column;
gap: 6px;
}
/* Segmented pills in shelf cards */
.settings-shelf-card .setting-pills .pill {
height: 32px;
border-radius: 10px;
background: rgba(255, 255, 255, 0.05);
border: 1px solid transparent;
color: rgba(255, 255, 255, 0.78);
font-size: 11.5px;
font-weight: 500;
transition: all 0.14s ease;
}
.settings-shelf-card .setting-pills .pill:hover {
background: rgba(255, 255, 255, 0.09);
color: #ffffff;
}
.settings-shelf-card .setting-pills .pill.active {
background: #ffffff;
color: #000000;
font-weight: 600;
box-shadow: 0 2px 10px rgba(255, 255, 255, 0.2);
}
/* Language Shelf Select Button */
.language-shelf-btn {
width: 100%;
height: 32px;
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
background: rgba(255, 255, 255, 0.05);
border: 1px solid transparent;
border-radius: 10px;
padding: 0 12px;
color: #ffffff;
font-size: 11.5px;
font-weight: 500;
cursor: pointer;
transition: all 0.15s ease;
box-sizing: border-box;
outline: none;
}
.language-shelf-btn:hover {
background: rgba(255, 255, 255, 0.09);
color: #ffffff;
}
.language-shelf-btn.flyout-open {
background: rgba(255, 255, 255, 0.10);
color: #ffffff;
box-shadow: 0 0 12px rgba(255, 255, 255, 0.06);
}
/* Update Progress inside Shelf / Vertical Settings */
.shelf-update-progress-wrap {
width: 100%;
height: 32px;
background: rgba(255, 255, 255, 0.07);
border: none;
border-radius: 999px;
position: relative;
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
box-sizing: border-box;
}
.shelf-progress-bar {
position: absolute;
left: 0;
top: 0;
bottom: 0;
background: rgba(255, 255, 255, 0.18);
transition: width 0.2s ease;
}
.shelf-progress-text {
position: relative;
z-index: 1;
font-size: 11.5px;
font-weight: 600;
color: #ffffff;
letter-spacing: 0.01em;
}
/* ── SlideCommit Swipe-to-Confirm Capsule ── */
.slide-commit {
--sc-track: rgba(255, 255, 255, 0.08);
--sc-ink: #ffffff;
--sc-ok: #ffffff;
--sc-no: #ff453a;
--sc-on-ink: #000000;
--sc-on-ok: #000000;
--sc-on-no: #ffffff;
--sc-radius: 10px;
--sc-grip-r: 7px;
--sc-pad: 3px;
--sc-font: 11.5px;
position: relative;
display: block;
width: 100%;
box-sizing: border-box;
vertical-align: middle;
font-family: inherit;
}
.slide-commit[data-disabled] {
opacity: 0.55;
pointer-events: none;
}
.slide-commit__track {
position: relative;
width: 100%;
height: 100%;
border-radius: var(--sc-radius);
background: var(--sc-track);
border: 1px solid rgba(255, 255, 255, 0.08);
box-sizing: border-box;
cursor: grab;
touch-action: none;
user-select: none;
-webkit-user-select: none;
-webkit-touch-callout: none;
-webkit-tap-highlight-color: transparent;
overflow: hidden;
box-shadow: 0 0 10px rgba(255, 255, 255, 0.06);
transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.slide-commit:hover .slide-commit__track {
border-color: rgba(255, 255, 255, 0.16);
box-shadow: 0 0 16px rgba(255, 255, 255, 0.12);
}
.slide-commit[data-held] .slide-commit__track {
cursor: grabbing;
}
.slide-commit[data-phase='pending'] .slide-commit__track,
.slide-commit[data-phase='done'] .slide-commit__track {
cursor: default;
}
.slide-commit__label {
position: absolute;
inset: 0;
display: grid;
place-items: center;
pointer-events: none;
font-size: var(--sc-font);
font-weight: 550;
line-height: 1;
letter-spacing: 0.01em;
white-space: nowrap;
}
.slide-commit__text {
grid-area: 1 / 1;
color: rgba(255, 255, 255, 0.65);
transition:
opacity 200ms ease,
filter 200ms ease;
}
.slide-commit__text--error {
color: var(--sc-no);
opacity: 0;
filter: blur(2px);
}
.slide-commit[data-phase='error'] .slide-commit__text--plain {
opacity: 0;
filter: blur(2px);
}
.slide-commit[data-phase='error'] .slide-commit__text--error {
opacity: 1;
filter: none;
}
.slide-commit__capsule {
position: absolute;
top: var(--sc-pad);
left: var(--sc-pad);
width: calc(100% - var(--sc-pad) * 2);
height: calc(100% - var(--sc-pad) * 2);
background: var(--sc-ink);
color: var(--sc-on-ink);
outline: none;
transition:
background-color 200ms ease,
color 200ms ease;
box-shadow: 0 0 12px rgba(255, 255, 255, 0.24), 0 1px 4px rgba(0, 0, 0, 0.3);
}
.slide-commit[data-phase='done'] .slide-commit__capsule {
background: var(--sc-ok);
color: var(--sc-on-ok);
}
.slide-commit[data-phase='error'] .slide-commit__capsule {
background: var(--sc-no);
color: var(--sc-on-no);
}
.slide-commit__capsule:focus-visible {
box-shadow: inset 0 0 0 2px var(--sc-track);
}
.slide-commit__content {
position: absolute;
inset: 0;
}
.slide-commit__arrow,
.slide-commit__spin,
.slide-commit__done {
position: absolute;
inset: 0;
display: flex;
align-items: center;
justify-content: center;
gap: 6px;
pointer-events: none;
font-size: var(--sc-font);
font-weight: 600;
line-height: 1;
letter-spacing: -0.006em;
white-space: nowrap;
}
.slide-commit__arrow svg,
.slide-commit__done svg,
.slide-commit__spinner {
display: block;
}
.slide-commit__arrow,
.slide-commit__spin {
transition: filter 200ms ease;
}
.slide-commit[data-phase='pending'] .slide-commit__arrow {
filter: blur(2px);
}
.slide-commit:not([data-phase='pending']) .slide-commit__spin {
filter: blur(2px);
}
.slide-commit__spinner {
animation: slide-commit-spin 1s linear infinite;
animation-play-state: paused;
}
.slide-commit[data-phase='pending'] .slide-commit__spinner {
animation-play-state: running;
}
@keyframes slide-commit-spin {
to {
transform: rotate(360deg);
}
}
.slide-commit__sr {
position: absolute;
width: 1px;
height: 1px;
margin: -1px;
padding: 0;
border: 0;
overflow: hidden;
clip: rect(0 0 0 0);
white-space: nowrap;
}
@media (prefers-reduced-motion: reduce) {
.slide-commit__spinner {
animation: slide-commit-breathe 1.4s ease-in-out infinite;
animation-play-state: paused;
}
.slide-commit[data-phase='pending'] .slide-commit__spinner {
animation-play-state: running;
}
@keyframes slide-commit-breathe {
0%,
100% {
opacity: 1;
}
50% {
opacity: 0.4;
}
}
}
/* ── WakeSlider Segmented Wave Slider ── */
.wake-slider {
--ws-fill: #ffffff;
--ws-track: rgba(255, 255, 255, 0.12);
--ws-crest: #ffffff;
--ws-height: 28px;
--ws-gap: 3px;
--ws-rest: 0.28;
display: inline-flex;
align-items: center;
gap: 10px;
width: 100%;
color: inherit;
box-sizing: border-box;
}
.wake-slider[aria-disabled='true'] {
opacity: 0.5;
pointer-events: none;
}
.wake-slider__track {
position: relative;
display: flex;
flex: 1 1 auto;
align-items: center;
gap: var(--ws-gap);
height: var(--ws-height);
min-height: 26px;
touch-action: none;
user-select: none;
-webkit-user-select: none;
-webkit-touch-callout: none;
-webkit-tap-highlight-color: transparent;
cursor: grab;
}
.wake-slider__track:active {
cursor: grabbing;
}
.wake-slider__bar {
position: relative;
flex: 1 1 0;
min-width: 0;
height: var(--ws-height);
border-radius: 9999px;
background: var(--ws-track);
transform: scaleY(var(--ws-rest));
transform-origin: 50% 50%;
transition: background-color 100ms ease;
will-change: transform;
}
.wake-slider__bar[data-on='true'] {
background: var(--ws-fill);
}
.wake-slider[data-instant='true'] .wake-slider__bar {
transition-duration: 0ms;
}
.wake-slider__crest {
position: absolute;
inset: 0;
border-radius: inherit;
background: var(--ws-crest);
opacity: 0;
pointer-events: none;
}
.wake-slider__handle {
position: absolute;
inset: 0;
margin: 0;
padding: 0;
border: 0;
border-radius: 8px;
background: transparent;
outline: none;
cursor: inherit;
touch-action: none;
-webkit-tap-highlight-color: transparent;
}
.wake-slider__value {
min-width: 3ch;
font-size: 11.5px;
font-weight: 600;
font-variant-numeric: tabular-nums;
text-align: right;
color: rgba(255, 255, 255, 0.85);
}
@media (prefers-reduced-motion: reduce) {
.wake-slider__bar {
transform: scaleY(var(--ws-rest)) !important;
}
}
/* Tabs: one segmented control */
.settings-tab-bar {
background: #141414;
padding: 3px;
border-radius: 999px;
gap: 2px;
}
.settings-tab-btn {
min-height: 28px;
padding: 5px 2px;
background: transparent;
}
.settings-tab-btn:hover:not(.active) {
background: rgba(255, 255, 255, 0.05);
}
.settings-header-pills {
background: rgba(255, 255, 255, 0.06);
padding: 2px;
border-radius: 999px;
gap: 2px;
}
.settings-header-pill {
height: 22px;
background: transparent;
}
.settings-header-pill.active {
box-shadow: none;
}
.settings-scroll-list {
padding: 2px var(--pad) 12px;
}
.set-group {
margin-top: 16px;
}
.set-group:first-child,
.update-promoted-card + .set-group {
margin-top: 4px;
}
.set-group-label {
margin: 0 0 8px;
padding: 0 6px;
font-size: calc(10.5px * var(--font-scale, 1));
font-weight: 600;
letter-spacing: 0.08em;
line-height: 1.2;
text-transform: uppercase;
color: rgba(255, 255, 255, 0.42);
}
.set-group-card {
position: relative;
background: var(--bg-card, #141414);
border-radius: 14px;
padding: 2px 0;
}
.set-row {
position: relative;
padding: 12px 14px;
}
/* hairline between rows, inset to the text like a native list */
.set-row + .set-row::before {
content: "";
position: absolute;
top: 0;
left: 14px;
right: 14px;
height: 1px;
background: rgba(255, 255, 255, 0.06);
}
.set-row-main {
display: flex;
align-items: center;
gap: 10px;
min-width: 0;
}
.set-row-text {
flex: 1;
min-width: 0;
}
.set-row-title {
font-size: calc(14px * var(--font-scale, 1));
font-weight: 600;
line-height: 1.3;
color: #ffffff;
overflow-wrap: break-word;
}
.set-row-desc {
margin-top: 3px;
font-size: calc(12.5px * var(--font-scale, 1));
line-height: 1.42;
color: rgba(255, 255, 255, 0.58);
overflow-wrap: break-word;
}
.set-row-desc.is-error {
color: rgba(255, 150, 140, 0.9);
}
.set-row-trailing {
flex: none;
display: flex;
align-items: center;
}
.set-row-below {
margin-top: 12px;
}
.set-row.is-disabled .set-row-main,
.set-row.is-disabled .set-row-below {
opacity: 0.45;
transition: opacity 0.2s ease;
}
.set-row-badge {
padding: 3px 8px;
border-radius: 999px;
background: rgba(255, 255, 255, 0.08);
color: #ffffff;
font-size: calc(11px * var(--font-scale, 1));
font-weight: 600;
font-variant-numeric: tabular-nums;
white-space: nowrap;
}
.set-row-icon-btn {
width: 28px;
height: 28px;
padding: 0;
border: none;
border-radius: 999px;
display: grid;
place-items: center;
background: rgba(255, 255, 255, 0.08);
color: rgba(255, 255, 255, 0.85);
cursor: pointer;
transition: background-color 0.15s ease, color 0.15s ease;
}
.set-row-icon-btn:hover:not(:disabled) {
background: rgba(255, 255, 255, 0.14);
color: #ffffff;
}
.set-row-icon-btn:disabled {
cursor: default;
}
.set-row-icon-btn.is-busy svg {
animation: setRowSpin 0.9s linear infinite;
}
@keyframes setRowSpin {
to {
transform: rotate(360deg);
}
}
html[data-motion='reduce'] .set-row-icon-btn.is-busy svg {
animation: none;
}
/* controls inside a group card sit on the card, not on the page */
.set-row .pill {
background: rgba(255, 255, 255, 0.06);
}
.set-row .pill:hover:not(.active) {
background: rgba(255, 255, 255, 0.1);
}
.set-row .pill.active {
background: #ffffff;
}
.set-row .slider-label-btn {
font-family: var(--font-ui);
}
/* choices never cut their label: they share the row, and a long
translation moves the last ones onto a second row */
.set-row .setting-pills {
flex-wrap: wrap;
}
.set-row .setting-pills .pill {
flex: 1 1 0;
min-width: fit-content;
padding-left: 8px;
padding-right: 8px;
overflow: visible;
}
.set-row .placement-3way-wrap .pill {
max-width: none;
}
/* the style arrow is a small round button that stays on the title line */
.set-row-trailing .style-preview-toggle-btn {
width: 26px;
height: 26px;
}
/* onboarding: indicator styles inline */
.tutorial-indicator-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 8px;
padding: 10px;
background: rgba(0, 0, 0, 0.35);
border-radius: 12px;
}
.tutorial-indicator-option {
display: flex;
flex-direction: column;
align-items: center;
gap: 8px;
padding: 12px 8px;
border-radius: 10px;
background: rgba(255, 255, 255, 0.04);
cursor: pointer;
transition: background-color 0.2s ease;
}
.tutorial-indicator-option.active {
background: rgba(255, 255, 255, 0.12);
}
.tutorial-indicator-art {
height: 36px;
display: flex;
align-items: center;
justify-content: center;
}
.tutorial-indicator-label {
font-size: 12px;
font-weight: 600;
color: #ffffff;
}
.language-shelf-label {
display: flex;
align-items: center;
gap: 7px;
min-width: 0;
overflow: hidden;
}
.language-shelf-label > svg {
flex: none;
opacity: 0.65;
}
.language-shelf-label > span {
font-weight: 600;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
/* After the settings, two cards with one job each: Community & Support
(tagline, Ko-fi as the one white button, GitHub) and About Edge-Drop
(version, feedback, quit). They end every tab and scroll with it. */
.settings-support {
margin-top: 18px;
padding: 14px;
border-radius: 14px;
background: var(--bg-card, #141414);
display: flex;
flex-direction: column;
}
.settings-support .set-group-label {
margin: 0 0 4px;
padding: 0;
}
.settings-support-tagline {
font-size: calc(12.5px * var(--font-scale, 1));
line-height: 1.4;
color: rgba(255, 255, 255, 0.72);
}
.settings-support-actions {
display: flex;
flex-direction: column;
gap: 6px;
margin-top: 12px;
}
.settings-support-btn {
height: 32px;
padding: 0 12px;
border: none;
border-radius: 999px;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 7px;
background: rgba(255, 255, 255, 0.07);
color: #ffffff;
font-family: inherit;
font-size: calc(12px * var(--font-scale, 1));
font-weight: 600;
white-space: nowrap;
cursor: pointer;
transition: background-color 0.15s ease;
}
.settings-support-btn > span {
overflow: hidden;
text-overflow: ellipsis;
}
.settings-support-btn > svg {
flex: none;
}
.settings-support-btn:hover {
background: rgba(255, 255, 255, 0.12);
}
.settings-support-btn.is-primary {
background: #ffffff;
color: #000000;
}
.settings-support-btn.is-primary:hover {
background: rgba(255, 255, 255, 0.88);
}
.settings-support-btn .store-logo-icon {
filter: grayscale(1) brightness(1.5);
}
.settings-support-link {
padding: 2px 0;
border: none;
background: transparent;
display: inline-flex;
align-items: center;
gap: 5px;
color: rgba(255, 255, 255, 0.5);
font-family: inherit;
font-size: calc(11.5px * var(--font-scale, 1));
font-weight: 500;
white-space: nowrap;
cursor: pointer;
transition: color 0.15s ease;
}
.settings-support-link:hover {
color: #ffffff;
}
.settings-support + .settings-support {
margin-top: 10px;
}
.settings-about-title {
font-size: calc(14px * var(--font-scale, 1));
font-weight: 600;
line-height: 1.3;
color: #ffffff;
margin-bottom: 2px;
}
.settings-about .subtle-quit-btn {
align-self: center;
margin-top: 4px;
}
/* ── Top dock ─────────────────────────────────────────────────────────── */
.settings-horizontal-shelf {
flex-direction: row;
}
.settings-horizontal-shelf .settings-shelf-track.tab-view {
flex: 1;
min-width: 0;
gap: 10px;
padding: 6px 18px 12px 18px;
}
.set-group.is-h {
flex: none;
height: 146px;
margin: 0;
padding: 10px 14px 10px;
box-sizing: border-box;
display: flex;
flex-direction: column;
background: var(--bg-card, #141414);
border-radius: var(--radius-card, 18px);
}
.set-group.is-h .set-group-label {
margin: 0 0 6px;
padding: 0;
font-size: calc(10px * var(--font-scale, 1));
}
/* Columns of one width: a setting with a wide control fills one, settings
with only a toggle stack two to a column, split by a hairline. Titles,
text and controls line up across the group. */
.set-group.is-h .set-group-card {
flex: 1;
min-height: 0;
padding: 0;
border-radius: 0;
background: transparent;
display: flex;
flex-direction: row;
}
.set-col {
position: relative;
flex: none;
/* one width while the titles and choices fit it; a longer translation widens its column
(the track scrolls) rather than cutting them. Descriptions wrap to whatever width it is. */
width: max-content;
min-width: 252px;
max-width: 420px;
min-height: 0;
padding: 0 16px;
box-sizing: border-box;
display: flex;
flex-direction: column;
}
.set-col:first-child {
padding-left: 0;
}
.set-col:last-child {
padding-right: 0;
}
.set-col + .set-col::before {
content: "";
position: absolute;
top: 0;
bottom: 0;
left: 0;
width: 1px;
background: rgba(255, 255, 255, 0.06);
}
.set-group.is-h .set-row {
flex: 1;
min-height: 0;
padding: 0;
display: flex;
flex-direction: column;
}
.set-group.is-h .set-row + .set-row::before {
display: none;
}
.set-col.is-pair > .set-row {
justify-content: center;
}
.set-col.is-pair > .set-row + .set-row {
border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.set-group.is-h .set-row-main {
align-items: flex-start;
gap: 12px;
}
.set-group.is-h .set-row-title {
font-size: calc(13.5px * var(--font-scale, 1));
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.set-group.is-h .set-row-desc {
contain: inline-size;
margin-top: 3px;
font-size: calc(11.5px * var(--font-scale, 1));
line-height: 1.4;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 3;
overflow: hidden;
}
/* two to a column: each keeps two lines of description */
.set-col.is-pair > .set-row {
padding: 4px 0;
}
.set-col.is-pair > .set-row:first-child {
padding-top: 0;
}
.set-col.is-pair > .set-row:last-child {
padding-bottom: 0;
}
.set-col.is-pair .set-row-desc {
margin-top: 1px;
font-size: calc(11px * var(--font-scale, 1));
line-height: 1.32;
-webkit-line-clamp: 2;
}
.set-group.is-h .set-row-below {
margin-top: auto;
padding-top: 8px;
}
.set-group.is-h .set-row.has-below .set-row-desc {
-webkit-line-clamp: 2;
}
.set-group.is-h .set-row.is-slider .set-row-below {
padding-top: 4px;
}
.set-group.is-h .set-row.is-slider .set-row-desc {
-webkit-line-clamp: 2;
}
/* the top dock has no spare height: choices stay on one line and share it */
.set-group.is-h .setting-pills {
flex-wrap: nowrap;
}
.set-group.is-h .setting-pills .pill {
flex: 1 1 auto;
min-width: 0;
padding-left: 6px;
padding-right: 6px;
overflow: hidden;
text-overflow: ellipsis;
}
.settings-support.is-h {
flex: none;
width: 252px;
height: 146px;
margin: 0;
padding: 10px 14px 10px;
box-sizing: border-box;
border-radius: var(--radius-card, 18px);
}
.settings-support.is-h .set-group-label {
font-size: calc(10px * var(--font-scale, 1));
margin-bottom: 3px;
}
.settings-support.is-h .settings-support-tagline {
font-size: calc(11.5px * var(--font-scale, 1));
line-height: 1.35;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
overflow: hidden;
}
.settings-support.is-h .settings-support-actions {
margin-top: auto;
padding-top: 7px;
gap: 5px;
}
.settings-support.is-h .settings-support-btn {
height: 28px;
font-size: calc(11.5px * var(--font-scale, 1));
}
/* in the track the two cards sit side by side, like the groups */
.settings-support.is-h + .settings-support.is-h {
margin-top: 0;
}
.settings-about.is-h .settings-about-title {
font-size: calc(13.5px * var(--font-scale, 1));
}
.settings-about.is-h .subtle-quit-btn {
margin-top: 2px;
}
.settings-support.is-h .settings-support-link {
font-size: calc(11px * var(--font-scale, 1));
}
/* Side docks are narrow: the title shares its line with the control, and
the description runs the full width beneath both (2 lines, not 4). */
.set-group:not(.is-h) .set-row-main {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
gap: 0 12px;
align-items: center;
}
.set-group:not(.is-h) .set-row-text {
display: contents;
}
.set-group:not(.is-h) .set-row-title {
grid-column: 1;
grid-row: 1;
}
.set-group:not(.is-h) .set-row-trailing {
grid-column: 2;
grid-row: 1;
/* a toggle or badge may overhang the title line instead of pushing the
description down */
margin: -5px 0;
}
.set-group:not(.is-h) .set-row-desc {
grid-column: 1 / 3;
grid-row: 2;
}