Files
return-youtube-dislike/Extensions/firefox/content-style.css
T
AgentConDier 8f934251a1 Support for Android Firefox and m.youtube.com
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
2021-12-08 20:47:56 +01:00

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;
}