Androxilogin

Old YouTube UI for UBO

Jun 13th, 2026
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.90 KB | None | 0 0
  1. :root {
  2. --toolbar-height: 52px;
  3. --element-margin: 6px;
  4. --element-height: calc(var(--toolbar-height) - var(--element-margin));
  5. --element-fs-margin: 2px;
  6. --bg-color: #0000;
  7. }
  8.  
  9. .ytp-delhi-modern .ytp-tooltip {
  10. margin-top: 12px !important;
  11. }
  12.  
  13. .ytp-delhi-modern .ytp-chrome-bottom,
  14. .ytp-delhi-modern .ytp-chrome-controls,
  15. .ytp-delhi-modern.ytp-big-mode:not(.ytp-xsmall-width-mode) .ytp-chrome-bottom,
  16. .ytp-delhi-modern.ytp-big-mode:not(.ytp-xsmall-width-mode) .ytp-right-controls .ytp-right-controls-right,
  17. .ytp-delhi-modern.ytp-big-mode:not(.ytp-xsmall-width-mode) .ytp-right-controls .ytp-right-controls-left {
  18. height: var(--toolbar-height) !important;
  19. line-height: var(--toolbar-height) !important;
  20. }
  21.  
  22. .ytp-delhi-modern.ytp-big-mode:not(.ytp-xsmall-width-mode) .ytp-progress-bar-container,
  23. .ytp-delhi-modern:not(.ytp-player-minimized) .ytp-progress-bar-container {
  24. bottom: var(--toolbar-height) !important;
  25. }
  26.  
  27. .ytp-delhi-modern.ytp-big-mode.ytp-fullscreen-grid-peeking .ytp-overlays-container,
  28. .ytp-delhi-modern.ytp-fullscreen-grid-peeking .ytp-overlays-container {
  29. bottom: calc(var(--toolbar-height) + 20px) !important;
  30. }
  31.  
  32. .ytp-delhi-modern .ytp-chrome-controls .ytp-right-controls,
  33. .ytp-delhi-modern .ytp-prev-button:not(.ytp-miniplayer-button-container > *),
  34. .ytp-delhi-modern .ytp-chrome-controls .ytp-next-button:not(.ytp-miniplayer-button-container > *).ytp-playlist-ui {
  35. margin: var(--element-margin) 0 !important;
  36. padding: 0 !important;
  37. }
  38.  
  39. .ytp-delhi-modern .ytp-chrome-controls .ytp-play-button {
  40. margin: var(--element-margin) 0 !important;
  41. }
  42.  
  43. .ytp-delhi-modern.ytp-delhi-horizontal-volume-controls .ytp-volume-area {
  44. margin: var(--element-margin) 0 !important;
  45. }
  46.  
  47. .ytp-delhi-modern .ytp-time-display:not(.ytp-miniplayer-ui *),
  48. .ytp-delhi-modern .ytp-chapter-container {
  49. padding: var(--element-margin) 0 !important;
  50. }
  51.  
  52. .ytp-delhi-modern .ytp-chrome-controls .ytp-play-button {
  53. --size: var(--element-height);
  54. height: var(--size) !important;
  55. width: var(--size) !important;
  56. top: -2px;
  57. }
  58.  
  59. .ytp-delhi-modern-icons .ytp-chrome-controls .ytp-play-button svg {
  60. padding: 10px !important;
  61. --size: 26px;
  62. height: var(--size) !important;
  63. width: var(--size) !important;
  64. }
  65.  
  66. .ytp-chrome-bottom:after {
  67. content: '';
  68. position: absolute;
  69. left: -100px;
  70. bottom: -2px;
  71. width: calc(100% + 200px);
  72. background: linear-gradient(0deg, #000a, #0000);
  73. height: calc(var(--toolbar-height) + 10px);
  74. z-index: -1;
  75. }
  76.  
  77. .ytp-delhi-modern.ytp-delhi-horizontal-volume-controls.ytp-big-mode:not(.ytp-xsmall-width-mode) .ytp-volume-area,
  78. .ytp-big-mode .ytp-volume-slider,
  79. .ytp-delhi-modern .ytp-chrome-controls .ytp-mute-button,
  80. .ytp-delhi-modern.ytp-big-mode:not(.ytp-xsmall-width-mode) .ytp-time-display,
  81. .ytp-delhi-modern.ytp-big-mode:not(.ytp-xsmall-width-mode) .ytp-chrome-controls .ytp-next-button:not(.ytp-miniplayer-button-container > *),
  82. .ytp-big-mode.ytp-delhi-modern .ytp-chrome-controls .ytp-prev-button:not(ytp-miniplayer-button-container > *),
  83. .ytp-delhi-modern.ytp-big-mode:not(.ytp-xsmall-width-mode) .ytp-time-wrapper,
  84. .ytp-delhi-modern.ytp-big-mode:not(.ytp-xsmall-width-mode) .ytp-chapter-title.ytp-button {
  85. height: var(--element-height) !important;
  86. min-height: var(--element-height) !important;
  87. line-height: var(--element-height) !important;
  88. margin-top: 0px !important;
  89. margin-bottom: 0px !important;
  90. --element-margin: 2px;
  91. }
  92.  
  93. .ytp-big-mode.ytp-delhi-modern-icons .ytp-chrome-controls .ytp-button svg,
  94. .ytp-delhi-modern.ytp-big-mode:not(.ytp-xsmall-width-mode) .ytp-chrome-controls .ytp-next-button:not(.ytp-miniplayer-button-container > *) svg,
  95. .ytp-big-mode.ytp-delhi-modern .ytp-chrome-controls .ytp-prev-button:not(ytp-miniplayer-button-container > *) svg {
  96. padding-top: 14px;
  97. }
  98.  
  99. .ytp-big-mode.ytp-delhi-modern.ytp-delhi-horizontal-volume-controls .ytp-volume-area .ytp-volume-icon svg {
  100. padding-top: 10px;
  101. }
  102.  
  103. .ytp-delhi-modern .ytp-time-wrapper:not(.ytp-miniplayer-ui *),
  104. .ytp-delhi-modern.ytp-delhi-horizontal-volume-controls .ytp-volume-area,
  105. .ytp-delhi-modern .ytp-chrome-controls .ytp-play-button,
  106. .ytp-delhi-modern .ytp-chrome-controls .ytp-right-controls,
  107. .ytp-delhi-modern .ytp-chrome-controls > * > *,
  108. .ytp-delhi-modern .ytp-chapter-title.ytp-button {
  109. background: var(--bg-color) !important;
  110. }
  111.  
  112. .ytp-fullscreen-button {
  113. overflow: unset !important;
  114. }
  115.  
  116. .ytp-fullscreen-button::after {
  117. content: '';
  118. position: absolute;
  119. inset-block: -10px;
  120. inset-inline: 0px;
  121. width: 220px !important;
  122. height: 200px;
  123. }
  124.  
  125. .ytp-fullscreen-grid-active.html5-video-player.ended-mode .ytp-modern-videowall-still:nth-child(n+4) {
  126. display: block !important;
  127. }
  128.  
  129. .ytp-fullscreen-grid-active.html5-video-player.ended-mode .ytp-modern-videowall-still:nth-child(n+11),
  130. .ytp-fullscreen-grid-expand-button {
  131. display: none !important;
  132. }
  133.  
  134. .ytp-fullscreen-grid-active.ytp-grid-scrollable .ytp-fullscreen-grid {
  135. top: 10% !important;
  136. }
  137.  
  138. .ytp-fullscreen-grid-stills-container {
  139. grid-template-columns: repeat(5, 1fr) !important;
  140. }
  141.  
  142. ytd-app {
  143. overflow: auto !important;
  144. }
  145.  
  146. ytd-app[scrolling] {
  147. position: absolute !important;
  148. top: 0 !important;
  149. left: 0 !important;
  150. right: calc((var(--ytd-app-fullerscreen-scrollbar-width) + 1px) * -1) !important;
  151. bottom: 0 !important;
  152. overflow-x: auto !important;
  153. }
  154.  
  155. ytd-watch-flexy[full-bleed-player] #single-column-container.ytd-watch-flexy,
  156. ytd-watch-flexy[full-bleed-player] #columns.ytd-watch-flexy {
  157. display: flex !important;
  158. }
  159.  
  160. .ytp-fullscreen-grid-peeking.ytp-full-bleed-player.ytp-delhi-modern:not(.ytp-autohide) .ytp-chrome-bottom {
  161. bottom: 0 !important;
  162. opacity: 1 !important;
  163. }
  164.  
  165. #movie_player:not(.ytp-grid-ended-state) .ytp-fullscreen-grid {
  166. display: none !important;
  167. top: 100% !important;
  168. opacity: 0 !important;
  169. }
  170.  
Advertisement
Add Comment
Please, Sign In to add comment