Advertisement
geraldandy

backup

Oct 15th, 2024
12
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.09 KB | None | 0 0
  1. /* Background styling for Firefox pages */
  2. @-moz-document url(about:home), url(about:newtab), url(about:privatebrowsing) {
  3. .click-target-container *, .top-sites-list * {
  4. color: #fff !important;
  5. text-shadow: 2px 2px 2px #222 !important;
  6. }
  7. body::before {
  8. content: "";
  9. z-index: -1;
  10. position: fixed;
  11. top: 0;
  12. left: 0;
  13. background: #f9a no-repeat url(img/wp2757868-1140009044.gif) center;
  14. background-size: cover;
  15. width: 100vw;
  16. height: 100vh;
  17. }
  18. }
  19.  
  20. /* Remove the settings icon */
  21. .icon.icon-settings {
  22. display: none !important;
  23. }
  24.  
  25. /* YouTube specific tweaks */
  26. @-moz-document domain("youtube.com") {
  27. /* Hide suggestions and search bar suggestions */
  28. #suggestions, .sbsb_a {
  29. display: none !important;
  30. }
  31.  
  32. /* Hide the hamburger menu and various YouTube logos */
  33. #guide-button, #logo-icon-container, ytd-topbar-logo-renderer,
  34. a[href="/"] {
  35. display: none !important;
  36. }
  37.  
  38. /* Hide "Skip Navigation" */
  39. #skip-navigation {
  40. display: none !important;
  41. }
  42.  
  43. /* Hide "You" button in side menus */
  44. ytd-guide-entry-renderer[title="You"],
  45. ytd-mini-guide-entry-renderer[aria-label="You"] {
  46. display: none !important;
  47. }
  48.  
  49. /* Remove tooltips on buttons */
  50. [tooltip] {
  51. display: none !important;
  52. }
  53.  
  54. #search-icon-legacy::before,
  55. [tooltip]::after, [title]::after {
  56. content: none !important;
  57. }
  58.  
  59. /* Hide paper tooltip */
  60. .yt-spec-icon-shape__tooltip,
  61. ytd-searchbox .yt-paper-tooltip {
  62. display: none !important;
  63. }
  64. }
  65.  
  66. @-moz-document domain("youtube.com") {
  67. div#scroll-container.style-scope.yt-chip-cloud-renderer {
  68. display: none;
  69. }
  70.  
  71. @-moz-document domain("youtube.com") {
  72. /* Hide the tooltip on the filter button */
  73. tp-yt-paper-tooltip {
  74. display: none !important;
  75. }
  76.  
  77. @-moz-document domain("youtube.com") {
  78. yt-icon#search-icon {
  79. display: none !important;
  80. }
  81.  
  82. @-moz-document domain("youtube.com") {
  83. #search-icon-legacy {
  84. display: none !important;
  85. }
  86.  
  87. @-moz-document domain("youtube.com") {
  88. #container.ytd-searchbox {
  89. border-radius: 40px 40px 40px 40px !important;
  90. }
  91.  
  92. @-moz-document domain("youtube.com") {
  93. /* Make the 'Search' placeholder text transparent */
  94. input#search[placeholder="Search"]::placeholder {
  95. color: transparent !important;
  96. }
  97. }
  98.  
  99. @-moz-document domain("youtube.com") {
  100. /*remove x */
  101. #search-clear-button.ytd-searchbox ytd-button-renderer.ytd-searchbox {
  102. display: none !important;
  103. }
  104.  
  105. @-moz-document domain(youtube.com) {
  106. /* Prevent YouTube search bar from expanding */
  107. ytd-searchbox[has-focus] #container.ytd-searchbox,
  108. ytd-searchbox #container.ytd-searchbox,
  109. ytd-searchbox[has-focus],
  110. ytd-searchbox {
  111. width: 100% !important;
  112. max-width: none !important;
  113. min-width: 0 !important;
  114. padding-left: 20px !important;
  115. margin-left: 0 !important;
  116. transition: none !important;
  117. }
  118.  
  119. ytd-searchbox[has-focus] #search-input.ytd-searchbox,
  120. ytd-searchbox #search-input.ytd-searchbox {
  121. padding-left: 10px !important;
  122. padding-right: 10px !important;
  123. }
  124.  
  125. /* Ensure the search icon doesn't cause expansion */
  126. ytd-searchbox[has-focus] #search-icon-legacy.ytd-searchbox,
  127. ytd-searchbox #search-icon-legacy.ytd-searchbox {
  128. padding: 0 !important;
  129. margin: 0 !important;
  130. width: auto !important;
  131. }
  132. }
  133.  
  134. @-moz-document domain("youtube.com") {
  135. /* playlist color */
  136. div.header.style-scope.ytd-playlist-panel-renderer {
  137. background-color: rgba(24, 69, 59, 0.2) !important;
  138. }
  139. }
  140.  
  141. @-moz-document domain("youtube.com") {
  142. /* chapters color */
  143. div#header.style-scope.ytd-engagement-panel-title-header-renderer {
  144. background-color: rgba(24, 69, 59, 0.2) !important;
  145. }
  146. }
  147.  
  148. @-moz-document domain("youtube.com") {
  149. /* Styling the search box border */
  150. #container.ytd-searchbox {
  151. border: 1px solid rgba(30, 70, 40, 0.9) !important;
  152. box-shadow: none !important;
  153. }
  154. }
  155.  
  156.  
  157.  
  158.  
  159.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement