diff options
Diffstat (limited to 'public/content.css')
-rw-r--r-- | public/content.css | 30 |
1 files changed, 21 insertions, 9 deletions
diff --git a/public/content.css b/public/content.css index 62420f2c..a9a6c6eb 100644 --- a/public/content.css +++ b/public/content.css @@ -11,11 +11,6 @@ z-index: 40; } -.sbHidden { - display: none !important; -} - - .previewbar { display: inline-block; height: 100%; @@ -23,12 +18,29 @@ /* Preview Bar page hacks */ -.sbTooltipTwoTitleThumbnailOffset { - bottom: -5px !important; +.ytp-tooltip:not(.sponsorCategoryTooltipVisible) .sponsorCategoryTooltip { + display: none !important; +} + +.ytp-tooltip.sponsorCategoryTooltipVisible { + transform: translateY(-1em) !important; +} + +.ytp-big-mode .ytp-tooltip.sponsorCategoryTooltipVisible { + transform: translateY(-2em) !important; +} + +#movie_player:not(.ytp-big-mode) .ytp-tooltip.sponsorCategoryTooltipVisible > .ytp-tooltip-text-wrapper { + transform: translateY(1em) !important; +} + +.ytp-big-mode .ytp-tooltip.sponsorCategoryTooltipVisible > .ytp-tooltip-text-wrapper { + transform: translateY(0.5em) !important; } -.sbTooltipOneTitleThumbnailOffset { - bottom: 10px !important; +.ytp-big-mode .ytp-tooltip.sponsorCategoryTooltipVisible > .ytp-tooltip-text-wrapper > .ytp-tooltip-text { + display: block !important; + transform: translateY(1em) !important; } /* */ |