Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 23 additions & 8 deletions public/content.css
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,10 @@ div:hover > #previewbar.sbNotInvidious {
transform: translateY(-1em) !important;
}

.ytp-tooltip.sponsorCategoryTooltipVisible {
transform: translateY(-1em) !important;
}

.ytp-tooltip.sponsorCategoryTooltipVisible.sponsorTwoTooltips {
transform: translateY(-2em) !important;
}
Expand Down Expand Up @@ -145,17 +149,17 @@ div:hover > #previewbar.sbNotInvidious {
}

.ytp-big-mode .ytp-tooltip.sponsorCategoryTooltipVisible.sponsorTwoTooltips > .ytp-tooltip-text-wrapper {
transform: translateY(1em) !important;
transform: translateY(1.75em) !important;
}

.ytp-big-mode .ytp-tooltip.sponsorCategoryTooltipVisible > .ytp-tooltip-text-wrapper > .ytp-tooltip-text {
display: block !important;
transform: translateY(1em) !important;
.ytp-big-mode .ytp-tooltip.sponsorCategoryTooltipVisible > .ytp-tooltip-text-wrapper .ytp-tooltip-text {
display: inline-block !important;
transform: translateY(0.75em) !important;
}

.ytp-big-mode .ytp-tooltip.sponsorCategoryTooltipVisible.sponsorTwoTooltips > .ytp-tooltip-text-wrapper > .ytp-tooltip-text {
display: block !important;
transform: translateY(2em) !important;
.ytp-big-mode .ytp-tooltip.sponsorCategoryTooltipVisible.sponsorTwoTooltips > .ytp-tooltip-text-wrapper .ytp-tooltip-text {
display: inline-block !important;
transform: translateY(0.75em) !important;
}

div:hover > .sponsorBlockChapterBar {
Expand Down Expand Up @@ -184,6 +188,10 @@ div:hover > .sponsorBlockChapterBar {
margin: auto;
}

.sbChapterVoteButton {
padding: 0 !important;
}

.playerButton {
vertical-align: top;
}
Expand Down Expand Up @@ -748,6 +756,13 @@ input::-webkit-inner-spin-button {
cursor: pointer;
display: flex;
color: white;
align-items: center;
}

/* July 2025 test UI */
.ytp-delhi-modern .skipButtonControlBarContainer {
height: 48px;
margin: auto 0;
}

.skipButtonControlBarContainer.sbhidden {
Expand Down Expand Up @@ -957,5 +972,5 @@ input::-webkit-inner-spin-button {
}

.sponsorblock-chapter-visible {
display: inherit !important;
display: block !important;
}
4 changes: 2 additions & 2 deletions src/components/ChapterVoteComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class ChapterVoteComponent extends React.Component<ChapterVoteProps, ChapterVote
draggable="false"
title={chrome.i18n.getMessage("upvoteButtonInfo")}
onClick={(e) => this.vote(e, 1)}>
<ThumbsUpSvg className="playerButtonImage"
<ThumbsUpSvg className="playerButtonImage sbChapterVoteButton"
fill={Config.config.colorPalette.white}
width={this.state.size} height={this.state.size} />
</button>
Expand Down Expand Up @@ -102,7 +102,7 @@ class ChapterVoteComponent extends React.Component<ChapterVoteProps, ChapterVote
}
}}>
<ThumbsDownSvg
className="playerButtonImage"
className="playerButtonImage sbChapterVoteButton"
fill={downvoteButtonColor(this.state.segment ? [this.state.segment] : null, SkipNoticeAction.Downvote, SkipNoticeAction.Downvote)}
width={this.state.size}
height={this.state.size} />
Expand Down
2 changes: 1 addition & 1 deletion src/content.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1193,7 +1193,7 @@ async function sponsorsLookup(keepOldSubmissions = true, ignoreCache = false) {
const receivedSegments = segmentData.segments;

if (receivedSegments && receivedSegments.length) {
sponsorDataFound = true;
sponsorDataFound = receivedSegments.findIndex((segment) => getCategorySelection(segment).option !== CategorySkipOption.Disabled) !== -1;

// Check if any old submissions should be kept
if (sponsorTimes !== null && keepOldSubmissions) {
Expand Down