|
1 | 1 | // ==UserScript== |
2 | 2 | // @name YouTube™ Classic 📺 — (Remove rounded design + Return YouTube dislikes) |
3 | | -// @version 2026.1.21.9 |
| 3 | +// @version 2026.1.21.10 |
4 | 4 | // @author Adam Lui, Magma_Craft, Fuim & hoothin |
5 | 5 | // @namespace https://github.com/adamlui |
6 | 6 | // @description Reverts YouTube to its classic design (before all the rounded corners & hidden dislikes) + redirects YouTube Shorts |
|
562 | 562 |
|
563 | 563 | /* Revert old background color and buttons */ |
564 | 564 | html[dark] { |
565 | | - --yt-spec-general-background-a: #181818 !important ; |
566 | | - --yt-spec-general-background-b: #0f0f0f !important ; |
567 | | - --yt-spec-brand-background-primary: rgba(33,33,33,0.98) !important ; |
568 | | - --yt-spec-10-percent-layer: rgba(255,255,255,0.1) !important |
| 565 | + --yt-spec-general-background-a: #181818 !important ; |
| 566 | + --yt-spec-general-background-b: #0f0f0f !important ; |
| 567 | + --yt-spec-brand-background-primary: rgba(33,33,33,0.98) !important ; |
| 568 | + --yt-spec-10-percent-layer: rgba(255,255,255,0.1) !important |
569 | 569 | } |
570 | 570 | html:not([dark]) { |
571 | | - --yt-spec-general-background-a: #f9f9f9 !important ; |
572 | | - --yt-spec-general-background-b: #f1f1f1 !important ; |
573 | | - --yt-spec-brand-background-primary: rgba(255,255,255,0.98) !important ; |
574 | | - --yt-spec-10-percent-layer: rgba(0,0,0,0.1) !important |
| 571 | + --yt-spec-general-background-a: #f9f9f9 !important ; |
| 572 | + --yt-spec-general-background-b: #f1f1f1 !important ; |
| 573 | + --yt-spec-brand-background-primary: rgba(255,255,255,0.98) !important ; |
| 574 | + --yt-spec-10-percent-layer: rgba(0,0,0,0.1) !important |
575 | 575 | } |
576 | 576 |
|
577 | 577 | /* Un-segment engagement buttons below vid https://github.com/adamlui/youtube-classic/issues/10 */ |
|
581 | 581 | ytd-app { background: var(--yt-spec-general-background-a) !important } |
582 | 582 | ytd-browse[page-subtype="channels"] { background: var(--yt-spec-general-background-b) !important } |
583 | 583 | ytd-c4-tabbed-header-renderer { |
584 | | - --yt-lightsource-section1-color: var(--yt-spec-general-background-a) !important } |
| 584 | + --yt-lightsource-section1-color: var(--yt-spec-general-background-a) !important } |
585 | 585 | ytd-mini-guide-renderer, ytd-mini-guide-entry-renderer { |
586 | 586 | background-color: var(--yt-spec-brand-background-solid) !important } |
587 | 587 | #cinematics.ytd-watch-flexy { display: none !important } |
|
642 | 642 |
|
643 | 643 | /* Remove rounded corners on buttons and boxes */ |
644 | 644 | #container.ytd-searchbox { |
645 | | - background-color: var(--ytd-searchbox-background) !important; |
646 | | - border-radius: 2px 0 0 2px !important; |
647 | | - box-shadow: inset 0 1px 2px var(--ytd-searchbox-legacy-border-shadow-color) !important; |
648 | | - color: var(--ytd-searchbox-text-color) !important; |
649 | | - padding: 2px 6px !important; |
| 645 | + background-color: var(--ytd-searchbox-background) !important ; |
| 646 | + border-radius: 2px 0 0 2px !important ; |
| 647 | + box-shadow: inset 0 1px 2px var(--ytd-searchbox-legacy-border-shadow-color) !important ; |
| 648 | + color: var(--ytd-searchbox-text-color) !important ; padding: 2px 6px !important |
650 | 649 | } |
651 | 650 |
|
652 | 651 | ytd-searchbox[desktop-searchbar-style="rounded_corner_dark_btn"] #searchbox-button.ytd-searchbox { |
|
1013 | 1012 | ytd-text-inline-expander.ytd-playlist-header-renderer |
1014 | 1013 | { |
1015 | 1014 | color: var(--yt-spec-text-primary) !important ; |
1016 | | - --ytd-text-inline-expander-button-color: var(--yt-spec-text-primary) !important |
| 1015 | + --ytd-text-inline-expander-button-color: var(--yt-spec-text-primary) !important |
1017 | 1016 | } |
1018 | 1017 | ytd-dropdown-renderer[no-underline] tp-yt-paper-dropdown-menu-light |
1019 | 1018 | .tp-yt-paper-dropdown-menu-light[style-target=input], |
|
1025 | 1024 | border-radius: 2px !important ; text-transform: uppercase |
1026 | 1025 | } |
1027 | 1026 | .metadata-text-wrapper.ytd-playlist-header-renderer { |
1028 | | - --yt-endpoint-color: var(--yt-spec-text-primary) !important ; |
1029 | | - --yt-endpoint-hover-color: var(--yt-spec-text-primary) !important |
| 1027 | + --yt-endpoint-color: var(--yt-spec-text-primary) !important ; |
| 1028 | + --yt-endpoint-hover-color: var(--yt-spec-text-primary) !important |
1030 | 1029 | } |
1031 | 1030 | div.immersive-header-background-wrapper.style-scope.ytd-playlist-header-renderer > div { |
1032 | 1031 | background: var(--yt-spec-general-background-a) !important } |
|
0 commit comments