Prepare 4.0.5 Firefox update and Shorts fixes

Add Firefox data consent, repair contributor sign-in, and introduce optional Hide clutter buttons. Harden video navigation, voting, and action layouts with shared browser regression coverage and reproducible release packaging.
This commit is contained in:
Anarios committed 2026-09-06 12:51:12 +02:00
1 parent 3657de9b2c
commit e500088e65
196 files changed
+39706 -2694

No files matched your search

+100 -15
View File
@@ -20,11 +20,7 @@
#ryd-bar-container {
background: #737373;
background: color-mix(
in srgb,
var(--yt-spec-text-primary, #f1f1f1) 55%,
var(--yt-spec-base-background, #0f0f0f) 45%
);
background: color-mix(in srgb, var(--yt-spec-text-primary, #f1f1f1) 55%, var(--yt-spec-base-background, #0f0f0f) 45%);
border-radius: 2px;
}
@@ -47,6 +43,7 @@
.ryd-tooltip-new-design {
position: absolute;
bottom: -10px;
inset-inline-start: 0;
}
.ryd-tooltip-bar-container {
@@ -67,6 +64,67 @@ ytd-menu-renderer.ytd-watch-metadata {
position: relative !important;
}
/*
* YouTube can retain a desktop minimum width for the stacked Watch metadata
* row after the viewport becomes phone-sized. Its current 390px layout has
* been observed with a roughly 427px #top-row, which places the reaction group
* past the left edge even after every optional action has moved to More.
* Constrain and center each action-allocation wrapper so the native menu fitter
* measures the usable viewport width instead of that oversized ancestor.
*/
@media (max-width: 480px) {
:is(ytd-watch-flexy, ytd-watch-grid)[video-id] #top-row #actions,
:is(ytd-watch-flexy, ytd-watch-grid)[video-id] #top-row #actions-inner,
:is(ytd-watch-flexy, ytd-watch-grid)[video-id] #top-row ytd-menu-renderer.ytd-watch-metadata {
box-sizing: border-box;
margin-inline: auto !important;
max-width: calc(100vw - 24px) !important;
min-width: 0 !important;
width: 100% !important;
}
}
.ryd-synthetic-shorts-dislike {
box-sizing: content-box;
display: block;
flex: 0 0 auto;
height: 70px;
margin: 0 !important;
padding: 0 0 8px;
width: 100%;
}
.ryd-synthetic-shorts-dislike-label {
align-items: center;
display: flex;
flex-direction: column;
}
.ryd-synthetic-shorts-dislike svg {
display: block;
fill: currentColor;
height: 24px;
pointer-events: none;
width: 24px;
}
.ryd-synthetic-shorts-dislike .ytSpecButtonShapeNextIcon,
.ryd-synthetic-shorts-dislike .yt-spec-button-shape-next__icon {
flex: 0 0 24px;
height: 24px;
min-width: 24px;
width: 24px;
}
.ryd-synthetic-shorts-dislike button {
color: inherit;
cursor: pointer;
}
.ryd-synthetic-shorts-dislike button[aria-pressed="true"] {
color: var(--yt-spec-call-to-action, #3ea6ff);
}
.ryd-premium-analytics {
background: var(--yt-spec-base-background, #202020);
border: 1px solid rgba(255, 255, 255, 0.08);
@@ -77,7 +135,9 @@ ytd-menu-renderer.ytd-watch-metadata {
box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
font-family: Roboto, Arial, sans-serif;
position: relative;
transition: box-shadow 0.2s ease, transform 0.2s ease;
transition:
box-shadow 0.2s ease,
transform 0.2s ease;
}
.ryd-premium-analytics::before {
@@ -116,7 +176,11 @@ ytd-menu-renderer.ytd-watch-metadata {
color: var(--yt-spec-text-primary, #ffffff);
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
font-family: Roboto, Arial, sans-serif;
transition: box-shadow 0.2s ease, transform 0.2s ease, opacity 0.2s ease, padding 0.2s ease;
transition:
box-shadow 0.2s ease,
transform 0.2s ease,
opacity 0.2s ease,
padding 0.2s ease;
position: relative;
display: flex;
flex-direction: column;
@@ -184,7 +248,9 @@ ytd-menu-renderer.ytd-watch-metadata {
font-weight: 600;
font-size: 13px;
text-decoration: none;
transition: background 0.2s ease, transform 0.2s ease;
transition:
background 0.2s ease,
transform 0.2s ease;
}
.ryd-premium-tier-notice__cta:hover {
@@ -243,7 +309,9 @@ ytd-menu-renderer.ytd-watch-metadata {
background: rgba(148, 163, 184, 0.16);
color: var(--yt-spec-text-secondary, #94a3b8);
cursor: pointer;
transition: background 0.2s ease, color 0.2s ease;
transition:
background 0.2s ease,
color 0.2s ease;
align-self: center;
margin: 8px auto 0;
order: 3;
@@ -284,7 +352,9 @@ ytd-menu-renderer.ytd-watch-metadata {
align-items: center;
justify-content: center;
cursor: pointer;
transition: background 0.2s ease, color 0.2s ease;
transition:
background 0.2s ease,
color 0.2s ease;
position: absolute;
top: 0;
right: 0;
@@ -361,7 +431,10 @@ ytd-menu-renderer.ytd-watch-metadata {
border-radius: 999px;
padding: 8px 18px;
cursor: pointer;
transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
transition:
background 0.2s ease,
transform 0.2s ease,
box-shadow 0.2s ease;
}
.ryd-premium-teaser__cta:hover {
@@ -436,7 +509,10 @@ html[dark] .ryd-premium-teaser__toggle:focus-visible {
padding: 6px 12px;
border-radius: 999px;
cursor: pointer;
transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
transition:
background 0.2s ease,
color 0.2s ease,
box-shadow 0.2s ease;
}
.ryd-analytics__ranges button.is-active,
@@ -522,7 +598,9 @@ html[dark] .ryd-analytics__window-hint {
flex-direction: column;
gap: 12px;
position: relative;
transition: box-shadow 0.2s ease, transform 0.2s ease;
transition:
box-shadow 0.2s ease,
transform 0.2s ease;
}
.ryd-analytics__section-header {
@@ -547,7 +625,11 @@ html[dark] .ryd-analytics__window-hint {
padding: 4px 12px;
border-radius: 999px;
cursor: pointer;
transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
transition:
background 0.2s ease,
color 0.2s ease,
box-shadow 0.2s ease,
border-color 0.2s ease;
}
.ryd-analytics__section-expand.is-active,
@@ -624,7 +706,10 @@ html[dark] .ryd-analytics__section-expand:hover {
padding: 6px 14px;
border-radius: 999px;
cursor: pointer;
transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
transition:
background 0.2s ease,
color 0.2s ease,
box-shadow 0.2s ease;
}
.ryd-analytics__map-reset:hover {