Skip to content

Speakr is a personal, self-hosted web application designed for transcribing audio recordings

Python

Make the tabs-scroller chevron buttons more discoverable — color bumped from text-muted to text-secondary, font-size 14px (was implicit small), width 40px (was 36), hover state now also scales the icon 1.12x and uses text-accent instead of text-primary; gradient backdrop on each side is now solid bg-secondary for the inner 50% before fading to transparent (was 60→0%) so the chevron sits on a visible fade band rather than blending into the tab strip's surface

Murtaza Nasir80b4eaebc0c2
diff --git a/static/css/primitives.css b/static/css/primitives.css
index eb05b68a..c4f97281 100644
--- a/static/css/primitives.css
+++ b/static/css/primitives.css
@@ -384,23 +384,41 @@ html.dark {
position: absolute;
top: 0;
bottom: 0;
- width: 36px;
+ width: 40px;
z-index: 2;
display: none; /* shown by .is-visible */
align-items: center;
justify-content: center;
background: transparent;
border: none;
- color: var(--text-muted);
+ color: var(--text-secondary);
cursor: pointer;
- transition: color var(--t-fast) ease, opacity var(--t-fast) ease;
+ font-size: 14px;
+ transition: color var(--t-fast) ease, transform var(--t-fast) ease;
pointer-events: auto;
}
-.tabs-scroller__nav:hover { color: var(--text-primary); }
+.tabs-scroller__nav:hover {
+ color: var(--text-accent);
+ transform: scale(1.12);
+}
.tabs-scroller__nav.is-visible { display: inline-flex; }
-.tabs-scroller__nav--left { left: 0; background: linear-gradient(to right, var(--bg-secondary) 60%, transparent 100%); }
-.tabs-scroller__nav--right { right: 0; background: linear-gradient(to left, var(--bg-secondary) 60%, transparent 100%); }
+/* Stronger gradient so the chevron sits on a visible "fade" backdrop
+ rather than blending into the page. */
+.tabs-scroller__nav--left {
+ left: 0;
+ background: linear-gradient(to right,
+ var(--bg-secondary) 0%,
+ var(--bg-secondary) 50%,
+ transparent 100%);
+}
+.tabs-scroller__nav--right {
+ right: 0;
+ background: linear-gradient(to left,
+ var(--bg-secondary) 0%,
+ var(--bg-secondary) 50%,
+ transparent 100%);
+}