Add two Nebula extension packages: - hello-nebula: a minimal demo extension that shows a small badge on pages (manifest, content.js, content.css, README). - return-youtube-dislike: a content-script port that shows estimated YouTube dislike counts using the public Return YouTube Dislike API (manifest, content.js, content.css, README). Includes GPL-3.0 LICENSE and required attribution. READMEs contain install instructions and notes.
61 lines
1.2 KiB
CSS
61 lines
1.2 KiB
CSS
/* Return YouTube Dislike — Nebula port
|
|
* Ratio bar styles adapted from Anarios/return-youtube-dislike (GPL-3.0)
|
|
* https://github.com/Anarios/return-youtube-dislike
|
|
*/
|
|
|
|
#ryd-bar-container {
|
|
background: #cc0000 !important;
|
|
border-radius: 2px;
|
|
width: 100% !important;
|
|
height: 3px !important;
|
|
overflow: hidden;
|
|
display: block;
|
|
}
|
|
|
|
#ryd-bar {
|
|
background: #2ba640 !important;
|
|
border-radius: 2px 0 0 2px;
|
|
transition: width 0.15s ease-in-out;
|
|
height: 100% !important;
|
|
display: block;
|
|
}
|
|
|
|
.ryd-tooltip {
|
|
display: block !important;
|
|
height: 3px !important;
|
|
position: absolute;
|
|
z-index: 1;
|
|
pointer-events: none;
|
|
}
|
|
|
|
ytd-menu-renderer.ytd-watch-metadata {
|
|
overflow-y: visible !important;
|
|
}
|
|
|
|
#top-level-buttons-computed {
|
|
position: relative !important;
|
|
overflow: visible !important;
|
|
}
|
|
|
|
#actions-inner,
|
|
#actions {
|
|
position: relative;
|
|
overflow: visible !important;
|
|
}
|
|
|
|
.ryd-dislike-count {
|
|
margin-left: 4px;
|
|
font: 500 14px / 1 "Roboto", "Arial", sans-serif;
|
|
color: var(--yt-spec-text-primary, inherit);
|
|
white-space: nowrap;
|
|
pointer-events: none;
|
|
display: inline;
|
|
}
|
|
|
|
dislike-button-view-model,
|
|
#segmented-dislike-button,
|
|
ytd-toggle-button-renderer {
|
|
min-width: 60px !important;
|
|
}
|
|
|