Tabview Youtube Design Customization

Change some designs in Tabview Youtube

目前为 2023-06-05 提交的版本。查看 最新版本

  1. /* ==UserStyle==
  2. @name Tabview Youtube Design Customization
  3. @version 0.1.1
  4. @namespace github.com/cyfung1031
  5. @license MIT
  6. @description Change some designs in Tabview Youtube
  7. @author CY Fung
  8. @supportURL https://github.com/cyfung1031/Tabview-Youtube/
  9. @preprocessor stylus
  10. @var checkbox no-rounded-button "No Rounded Button" 0
  11. @var checkbox no-tab-btn-text "No Tab Button Text" 0
  12. @var checkbox round-tab-container "Round Tab Container" 0
  13. ==/UserStyle== */
  14.  
  15. @-moz-document url-prefix("https://www.youtube.com/watch?v=") {
  16.  
  17. if no-rounded-button {
  18. html .yt-spec-button-shape-next--size-m,
  19. html .yt-spec-button-shape-next--size-m.yt-spec-button-shape-next--segmented-start,
  20. html .yt-spec-button-shape-next--size-m.yt-spec-button-shape-next--icon-button.yt-spec-button-shape-next--segmented-end {
  21. border-radius:0;
  22. }
  23. }
  24.  
  25. if no-tab-btn-text {
  26. .tab-btn[tyt-tab-content="#tab-info"] span,
  27. .tab-btn[tyt-tab-content="#tab-videos"] span,
  28. .tab-btn[tyt-tab-content="#tab-playlist"] span {
  29. display: none;
  30. }
  31. }
  32. if round-tab-container {
  33. html body ytd-watch-flexy[class] #right-tabs {
  34. border-radius: 28px;
  35. contain: paint;
  36. }
  37. }
  38. }

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址