Minimalize for YouTube SuperAssistant

Transparent description and improve theater mode for: https://greasyfork.org/ja/scripts/521538-youtubeᴾˡᵘˢ-super-assistant-video-downloader-no-ads-new-layout-for-yt

目前為 2025-03-19 提交的版本,檢視 最新版本

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

/* ==UserStyle==
@name        Minimalize for YouTube SuperAssistant
@description Transparent description and improve theater mode for: https://greasyfork.org/ja/scripts/521538-youtubeᴾˡᵘˢ-super-assistant-video-downloader-no-ads-new-layout-for-yt
@match       *://www.youtube.com/**
@license     MIT
@version     0.1
@namespace   djshigel
==/UserStyle== */

@media screen and (min-height: 580px) {
    html {
        overflow: hidden;
    }
}

#masthead[page-dark-theme] {
    background: linear-gradient(#202020, transparent);
}

#masthead[page-dark-theme][theater] {
    background: linear-gradient(#202020, #000000);
}

@media screen and (min-height: 1270px) and (orientation: landscape),
@media screen and (min-height: 1980px) and (orientation: portrait) {
    #masthead[page-dark-theme] {
        background: linear-gradient(#000, transparent);
    }

    #masthead[page-dark-theme][theater] {
        background: #000;
    }
}

#content:has(#movie_player.ytp-autohide) #masthead[theater] #container {
    opacity: 0;
    transition: opacity .3s;
}

#content:has(#movie_player.ytp-autohide) #masthead[theater]:hover #container {
    opacity: 1;
}

ytd-watch-flexy[theater] #columns {
    background: #000;
}

ytd-watch-flexy[theater]:has(#movie_player.ytp-autohide) #columns #primary,
ytd-watch-flexy[theater]:has(#movie_player.ytp-autohide) #columns #secondary {
    opacity: 0;
    transition: opacity .3s;
}

ytd-watch-flexy[theater]:has(#movie_player.ytp-autohide) #columns:hover #primary, 
ytd-watch-flexy[theater]:has(#movie_player.ytp-autohide) #columns:hover #secondary {
    opacity: 1;
}

#movie_player.ytp-autohide .branding-img {
    display: none !important;
}

#description {
    background-color: transparent !important;
    opacity: .7;
}

#description-inner{
    margin-left: 0 !important;
}

#inline-expander, #inline-expander:hover {
    background: transparent;
}

#secondary {
    opacity: .5;
    transition: opacity cubic-bezier(.98, -.01, .69, .11) .5s;
    height: 1000px;
}

#secondary:hover {
    opacity: 1;
}

#material-tabs > a {
    background-color: var(--yt-active-playlist-panel-background-color) !important;
}

.ytp-button[aria-label="Hide chats"], .ytp-button[aria-label="Show chats"] {
    margin-top: 5px;
    margin-right: 10px;
}