mirror of
https://github.com/Alvin-Zilverstand/return-youtube-dislike.git
synced 2026-11-22 22:33:01 +01:00
should fix #68 and #143 List of changes: * Suppress mobile user agents in background script * Also look for the mobile equivalents of relevant HTML Elements * More consistently use get[Dis]LikeButton() instead of getButtons().children * Add mobile-specific css tweaks
43 lines
801 B
CSS
43 lines
801 B
CSS
html {
|
|
/* fallback values for mobile */
|
|
--yt-spec-icon-disabled: #909090;
|
|
--yt-spec-text-primary: #030303;
|
|
}
|
|
|
|
#return-youtube-dislike-bar-container {
|
|
background: var(--yt-spec-icon-disabled);
|
|
border-radius: 2px;
|
|
}
|
|
|
|
#return-youtube-dislike-bar {
|
|
background: var(--yt-spec-text-primary);
|
|
border-radius: 2px;
|
|
transition: all 0.15s ease-in-out;
|
|
}
|
|
|
|
.ryd-tooltip {
|
|
position: relative;
|
|
display: block;
|
|
height: 2px;
|
|
top: 9px;
|
|
}
|
|
|
|
ytm-slim-video-action-bar-renderer > .ryd-tooltip {
|
|
padding-left: 12px;
|
|
top: 0px;
|
|
}
|
|
|
|
/* tp-yt-paper-tooltip not supported on mobile */
|
|
ytm-slim-video-action-bar-renderer tp-yt-paper-tooltip {
|
|
display: none;
|
|
}
|
|
|
|
.ryd-tooltip-bar-container {
|
|
width: 100%;
|
|
height: 2px;
|
|
position: absolute;
|
|
padding-top: 6px;
|
|
padding-bottom: 28px;
|
|
top: -6px;
|
|
}
|