Tabview Youtube Design Customization

Change some designs in Tabview Youtube

当前为 2023-06-01 提交的版本,查看 最新版本

  1. /* ==UserStyle==
  2. @name Tabview Youtube Design Customization
  3. @version 0.1.0
  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. ==/UserStyle== */
  13.  
  14. @-moz-document url-prefix("https://www.youtube.com/watch?v=") {
  15.  
  16. if no-rounded-button {
  17. html .yt-spec-button-shape-next--size-m,
  18. html .yt-spec-button-shape-next--size-m.yt-spec-button-shape-next--segmented-start,
  19. html .yt-spec-button-shape-next--size-m.yt-spec-button-shape-next--icon-button.yt-spec-button-shape-next--segmented-end {
  20. border-radius:0;
  21. }
  22. }
  23.  
  24. if no-tab-btn-text {
  25. .tab-btn[tyt-tab-content="#tab-info"] span,
  26. .tab-btn[tyt-tab-content="#tab-videos"] span,
  27. .tab-btn[tyt-tab-content="#tab-playlist"] span {
  28. display: none;
  29. }
  30. }
  31. }

QingJ © 2025

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