The23rdMacro

OLED-Pure Black for Night Eye Pro

Oct 7th, 2025
890
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 6.96 KB | Source Code | 0 0
  1. /* OLED-Pure Black YouTube CSS Patch for Night Eye Pro browser extension */
  2. /* Syntax: CSS */
  3. /* Author: The23rdMacro */
  4.  
  5. /* === GLOBAL PURE BLACK BACKGROUND === */
  6. html, body, ytd-app, #page-manager, ytd-watch-flexy, ytd-shorts, ytd-rich-grid-renderer,
  7. #player-container, #player-theater-container, #player, .html5-video-player {
  8.   background: #000 !important;
  9.   box-shadow: none !important;
  10. }
  11.  
  12. /* === REMOVE PSEUDO BACKGROUNDS === */
  13. html::before, html::after,
  14. body::before, body::after,
  15. ytd-app::before, ytd-app::after,
  16. #player-container::before, #player-container::after,
  17. #player::before, #player::after {
  18.   background: none !important;
  19.   box-shadow: none !important;
  20.   content: none !important;
  21. }
  22.  
  23. /* === VIDEO PLAYER SHADOWS & GRADIENTS === */
  24. .ytp-gradient-top, .ytp-gradient-bottom, .ytp-chrome-top, .ytp-chrome-bottom,
  25. .ytp-hover-controls, .ytp-gradient-top-hover {
  26.   background: transparent !important;
  27.   box-shadow: none !important;
  28. }
  29.  
  30. /* === HOVER SHADOWS ON THUMBNAILS === */
  31. ytd-rich-grid-media:hover, ytd-video-renderer:hover,
  32. ytd-grid-video-renderer:hover, ytd-reel-item-renderer:hover {
  33.   background: #000 !important;
  34.   box-shadow: none !important;
  35.   transition: none !important;
  36. }
  37.  
  38. /* === SHORTS PLAYER CLEANUP === */
  39. ytd-reel-video-renderer, ytd-reel-video-renderer #player,
  40. ytd-reel-video-renderer #player-container {
  41.   background: #000 !important;
  42.   box-shadow: none !important;
  43. }
  44.  
  45. /* === REMOVE OVERLAYS ON THUMBNAILS === */
  46. ytd-thumbnail-overlay-time-status-renderer,
  47. ytd-thumbnail-overlay-resume-playback-renderer,
  48. ytd-thumbnail-overlay-hover-text-renderer {
  49.   background: transparent !important;
  50.   box-shadow: none !important;
  51.   border: none !important;
  52. }
  53.  
  54. /* === TOP BAR === */
  55. #masthead, #masthead-container, #container.ytd-masthead, ytd-masthead,
  56. ytd-masthead #background, ytd-masthead #container, ytd-masthead #center,
  57. ytd-masthead #end, ytd-masthead #start,
  58. #masthead::before, #masthead::after,
  59. ytd-masthead::before, ytd-masthead::after {
  60.   background: #000 !important;
  61.   box-shadow: none !important;
  62.   border: none !important;
  63.   content: none !important;
  64. }
  65.  
  66. /* === FILTER CHIP BAR === */
  67. ytd-feed-filter-chip-bar-renderer,
  68. ytd-feed-filter-chip-bar-renderer #container,
  69. ytd-feed-filter-chip-bar-renderer #chips,
  70. ytd-feed-filter-chip-bar-renderer #scroll-container,
  71. ytd-feed-filter-chip-bar-renderer #background,
  72. #chips-content.style-scope.ytd-feed-filter-chip-bar-renderer {
  73.   background: #000 !important;
  74.   box-shadow: none !important;
  75.   border: none !important;
  76. }
  77.  
  78. ytd-feed-filter-chip-bar-renderer::before,
  79. ytd-feed-filter-chip-bar-renderer::after {
  80.   background: none !important;
  81.   box-shadow: none !important;
  82.   content: none !important;
  83. }
  84.  
  85. ytd-feed-filter-chip-bar-renderer {
  86.   border-bottom: none !important;
  87. }
  88.  
  89. /* === HOME PAGE BACKGROUND === */
  90. #background, #guide-content, #guide-inner-content,
  91. ytd-mini-guide-renderer, ytd-guide-renderer {
  92.   background: #000 !important;
  93.   box-shadow: none !important;
  94. }
  95.  
  96. /* === HOME BUTTON === */
  97. ytd-topbar-logo-renderer, ytd-topbar-logo-renderer #logo,
  98. ytd-topbar-logo-renderer #logo-icon-container,
  99. ytd-topbar-logo-renderer #logo-icon,
  100. ytd-topbar-logo-renderer #logo-container {
  101.   background: #000 !important;
  102.   box-shadow: none !important;
  103.   border: none !important;
  104. }
  105.  
  106. /* === RIGHT SIDE PROFILE AREA === */
  107. #end, #buttons, #right-buttons, #topbar-right,
  108. ytd-masthead #end, ytd-masthead #buttons,
  109. ytd-masthead #right-buttons, ytd-masthead #topbar-right {
  110.   background: #000 !important;
  111.   box-shadow: none !important;
  112.   border: none !important;
  113. }
  114.  
  115. /* === TP-YT COMPONENTS === */
  116. tp-yt-paper-button, tp-yt-paper-icon-button, tp-yt-paper-tooltip {
  117.   background: transparent !important;
  118.   box-shadow: none !important;
  119.   border: none !important;
  120. }
  121.  
  122. /* === CHANNEL BANNER AREA === */
  123. #channel-header-container, #header, #primary-header,
  124. ytd-c4-tabbed-header-renderer, ytd-c4-tabbed-header-renderer #background,
  125. ytd-c4-tabbed-header-renderer #header, ytd-c4-tabbed-header-renderer #primary-header {
  126.   background: #000 !important;
  127.   box-shadow: none !important;
  128.   border: none !important;
  129. }
  130.  
  131. /* === CHANNEL PAGE OUTER WRAPPERS === */
  132. #page-header, #inner-header-container, #tabs-content,
  133. #tabs-inner-container, #tabs-container, #tab-content,
  134. #channel-header, #channel-container,
  135. #page-header-banner.style-scope.ytd-tabbed-page-header {
  136.   background: #000 !important;
  137.   box-shadow: none !important;
  138.   border: none !important;
  139. }
  140.  
  141. /* === INFO PANEL BACKGROUND === */
  142. ytd-info-panel-content-renderer {
  143.   background: #000 !important;
  144. }
  145.  
  146. /* === BACKSTAGE VIDEO RENDERER === */
  147. ytd-video-renderer.style-scope.ytd-backstage-post-renderer {
  148.   background: #000 !important;
  149.   box-shadow: none !important;
  150.   border: none !important;
  151. }
  152.  
  153. /* === PROFILE MENU DROPDOWN === */
  154. #sections.style-scope.ytd-multi-page-menu-renderer,
  155. yt-multi-page-menu-section-renderer.style-scope.ytd-multi-page-menu-renderer,
  156. #container.menu-container.style-scope.ytd-multi-page-menu-renderer {
  157.   background: #000 !important;
  158.   box-shadow: none !important;
  159.   border: none !important;
  160. }
  161.  
  162. /* === SIMPLE MENU HEADER === */
  163. ytd-simple-menu-header-renderer.style-scope.ytd-multi-page-menu-renderer,
  164. ytd-simple-menu-header-renderer h2,
  165. ytd-simple-menu-header-renderer #buttons,
  166. ytd-simple-menu-header-renderer ytd-button-renderer,
  167. ytd-simple-menu-header-renderer yt-button-shape,
  168. .yt-spec-button-shape-next,
  169. .yt-spec-touch-feedback-shape__fill {
  170.   background: #000 !important;
  171.   box-shadow: none !important;
  172.   border: none !important;
  173.   color: #fff !important;
  174.   fill: #fff !important;
  175. }
  176.  
  177. /* === YOUTUBE MUSIC PLAYLIST HEADER === */
  178. .immersive-header-background-wrapper.style-scope.ytd-playlist-header-renderer {
  179.   background: #000 !important;
  180. }
  181.  
  182. .immersive-header-gradient.style-scope.ytd-playlist-header-renderer {
  183.   background: none !important;
  184. }
  185.  
  186. /* === SEARCH BAR & ICON === */
  187. #search-container, #search, #search-form, #search-icon-legacy,
  188. ytd-searchbox, ytd-searchbox input,
  189. .ytSearchboxComponentInputBox, .ytSearchboxComponentSearchForm,
  190. .ytSearchboxComponentInput, .yt-searchbox-input,
  191. .ytSearchboxComponentSearchButton, .ytIconWrapperHost,
  192. .yt-icon-shape, .ytSpecIconShapeHost {
  193.   background: #000 !important;
  194.   box-shadow: none !important;
  195.   border: none !important;
  196.   color: #fff !important;
  197.   fill: #fff !important;
  198. }
  199.  
  200. /* === PODCAST PAGE HEADER === */
  201. ytd-tabbed-page-header.style-scope.ytd-browse,
  202. #page-header-container.style-scope.ytd-tabbed-page-header,
  203. #page-header.style-scope.ytd-tabbed-page-header,
  204. yt-page-header-renderer.pageHeaderRendererHost.style-scope.ytd-tabbed-page-header,
  205. yt-page-header-view-model.yt-page-header-view-model {
  206.   background: #000 !important;
  207.   box-shadow: none !important;
  208.   border: none !important;
  209. }
  210.  
  211. /* === BACKSTAGE POST RENDERER === */
  212. ytd-post-renderer.style-scope.ytd-rich-item-renderer[surface="backstage-surface-type-news-destination"] {
  213.   background: #000 !important;
  214.   box-shadow: none !important;
  215.   border: none !important;
  216. }
Advertisement
Add Comment
Please, Sign In to add comment