Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* Background styling for Firefox pages */
- @-moz-document url(about:home), url(about:newtab), url(about:privatebrowsing) {
- .click-target-container *, .top-sites-list * {
- color: #fff !important;
- text-shadow: 2px 2px 2px #222 !important;
- }
- body::before {
- content: "";
- z-index: -1;
- position: fixed;
- top: 0;
- left: 0;
- background: #f9a no-repeat url(img/wp2757868-1140009044.gif) center;
- background-size: cover;
- width: 100vw;
- height: 100vh;
- }
- }
- /* Remove the settings icon */
- .icon.icon-settings {
- display: none !important;
- }
- /* YouTube specific tweaks */
- @-moz-document domain("youtube.com") {
- /* Hide suggestions and search bar suggestions */
- #suggestions, .sbsb_a {
- display: none !important;
- }
- /* Hide the hamburger menu and various YouTube logos */
- #guide-button, #logo-icon-container, ytd-topbar-logo-renderer,
- a[href="/"] {
- display: none !important;
- }
- /* Hide "Skip Navigation" */
- #skip-navigation {
- display: none !important;
- }
- /* Hide "You" button in side menus */
- ytd-guide-entry-renderer[title="You"],
- ytd-mini-guide-entry-renderer[aria-label="You"] {
- display: none !important;
- }
- /* Remove tooltips on buttons */
- [tooltip] {
- display: none !important;
- }
- #search-icon-legacy::before,
- [tooltip]::after, [title]::after {
- content: none !important;
- }
- /* Hide paper tooltip */
- .yt-spec-icon-shape__tooltip,
- ytd-searchbox .yt-paper-tooltip {
- display: none !important;
- }
- }
- @-moz-document domain("youtube.com") {
- div#scroll-container.style-scope.yt-chip-cloud-renderer {
- display: none;
- }
- @-moz-document domain("youtube.com") {
- /* Hide the tooltip on the filter button */
- tp-yt-paper-tooltip {
- display: none !important;
- }
- @-moz-document domain("youtube.com") {
- yt-icon#search-icon {
- display: none !important;
- }
- @-moz-document domain("youtube.com") {
- #search-icon-legacy {
- display: none !important;
- }
- @-moz-document domain("youtube.com") {
- #container.ytd-searchbox {
- border-radius: 40px 40px 40px 40px !important;
- }
- @-moz-document domain("youtube.com") {
- /* Make the 'Search' placeholder text transparent */
- input#search[placeholder="Search"]::placeholder {
- color: transparent !important;
- }
- }
- @-moz-document domain("youtube.com") {
- /*remove x */
- #search-clear-button.ytd-searchbox ytd-button-renderer.ytd-searchbox {
- display: none !important;
- }
- @-moz-document domain(youtube.com) {
- /* Prevent YouTube search bar from expanding */
- ytd-searchbox[has-focus] #container.ytd-searchbox,
- ytd-searchbox #container.ytd-searchbox,
- ytd-searchbox[has-focus],
- ytd-searchbox {
- width: 100% !important;
- max-width: none !important;
- min-width: 0 !important;
- padding-left: 20px !important;
- margin-left: 0 !important;
- transition: none !important;
- }
- ytd-searchbox[has-focus] #search-input.ytd-searchbox,
- ytd-searchbox #search-input.ytd-searchbox {
- padding-left: 10px !important;
- padding-right: 10px !important;
- }
- /* Ensure the search icon doesn't cause expansion */
- ytd-searchbox[has-focus] #search-icon-legacy.ytd-searchbox,
- ytd-searchbox #search-icon-legacy.ytd-searchbox {
- padding: 0 !important;
- margin: 0 !important;
- width: auto !important;
- }
- }
- @-moz-document domain("youtube.com") {
- /* playlist color */
- div.header.style-scope.ytd-playlist-panel-renderer {
- background-color: rgba(24, 69, 59, 0.2) !important;
- }
- }
- @-moz-document domain("youtube.com") {
- /* chapters color */
- div#header.style-scope.ytd-engagement-panel-title-header-renderer {
- background-color: rgba(24, 69, 59, 0.2) !important;
- }
- }
- @-moz-document domain("youtube.com") {
- /* Styling the search box border */
- #container.ytd-searchbox {
- border: 1px solid rgba(30, 70, 40, 0.9) !important;
- box-shadow: none !important;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement