Skip to content

Commit

Permalink
First
Browse files Browse the repository at this point in the history
  • Loading branch information
code-raisan committed Oct 28, 2022
0 parents commit 2470161
Show file tree
Hide file tree
Showing 11 changed files with 238 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Build⚡

on:
push:
tags:
- "*"

jobs:
Build:
runs-on: ubuntu-latest
steps:
- name: Checkout🎫
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Build v2🛠
run: |
mkdir v2
cp manifest_v2.json v2/manifest.json
cp -r css v2
cp -r icons v2
cd v2
zip -r ../Manifest_v2 .
- name: Build v3🛠
run: |
mkdir v3
cp manifest_v3.json v3/manifest.json
cp -r css v3
cp -r icons v3
cd v3
zip -r ../Manifest_v3 .
- name: Upload🌠
uses: actions/upload-artifact@v3
with:
name: Binalys
path: "*.zip"
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2022 code-raisan

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
31 changes: 31 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# YouTubeLegacyUI

YouTubeを新UIのMaterialYouを旧UI(2022/09)に近いもので上書きします。

![Image](docs/decscription.png)

## Install

coming soon...

## Details

### 下記の点を旧UIに変更

- ほとんどのボタン
- 検索ボックス
- チャンネル名表示
- カテゴリ等の詳細
- 自動再生ボタン
- サイドメニューホバー
- 広告元表示
- コメント欄の「もっと見る」ボタン
- 高評価等のユーティリティボタン

### 他変更点

- チャット開閉ボタンをチャット欄曲線に合うように修正

## Author

ライ([code-raisan](https://github.com/code-raisan))
116 changes: 116 additions & 0 deletions css/main.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
/* Search Box */
.ytd-searchbox{
border-radius: 0 !important;
}

/* Shape Next Button */
.yt-spec-button-shape-next{
border-radius: 2px !important;
}

/* Side Hover */
#contentContainer .ytd-guide-section-renderer{
border-radius: 2px !important;
}

#contentContainer .ytd-guide-section-renderer a{
border-radius: 2px !important;
}

/* Side Channel Icon */
.ytd-guide-entry-renderer img{
border-radius: 999px !important;
}

/* Ad Button */
.ytp-ad-button{
border-radius: 2px !important;
}

.ytp-ad-module .ytp-ad-player-overlay-flyout-cta{
border-radius: 2px !important;
}

/* Ad Info */
#info-button button{
border-radius: 999px !important;
}

/* Ad Look Up */
#ad-badge .ytd-badge-supported-renderer span{
background-color: #ffd700;
padding: 2px;
border-radius: 2px;
}

/* Video Overlay Channel Subscribe */
.ytp-button .ytp-sb-subscribe, .ytp-sb-unsubscribe{
border-radius: 2px !important;
}

/* Video Auto Play */
.ytp-autonav-endscreen-countdown-overlay .ytp-player-content .ytp-autonav-endscreen-button-container button{
border-radius: 2px !important;
}

.ytp-autonav-endscreen-countdown-overlay .ytp-player-content .ytp-autonav-endscreen-button-container a{
border-radius: 2px !important;
}

/* Video Utils */
#menu .ytd-watch-metadata button{
background-color: transparent !important;
border-radius: 2px !important;
}

/* Video Channel */
#owner{
padding: 5px !important;
padding-right: 7px !important;
padding-left: 7px !important;
border-radius: 3px !important;
border: solid 1px !important;
border-color: #474747 !important;
display: flex !important;
justify-content: space-between !important;
}

#owner .ytd-subscribe-button-renderer button{
border-radius: 2px !important;
}

#owner #notification-preference-button{
margin-left: 5px !important;
}

/* Video Description */
#bottom-row #description{
background-color: transparent !important;
border-radius: 2px !important;
}

/* Meta Description */
#always-shown .ytd-rich-metadata-row-renderer #endpoint-link{
background-color: #030303 !important;
}

#always-shown .ytd-rich-metadata-row-renderer{
border-radius: 2px !important;
}

/* Video Comment More Reply */
.ytd-comment-replies-renderer .more-button button{
border-radius: 2px !important;
margin-bottom: 5px !important;
}

/* Video Live Chat */
#show-hide-button .ytd-live-chat-frame{
border-top-left-radius: 0 !important;
border-top-right-radius: 0 !important;
}

/* Shorts Utils */
#actions .yt-spec-button-shape-next{
border-radius: 999px !important;
}
Binary file added docs/decscription.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added icons/icon_x1024.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added icons/icon_x128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added icons/icon_x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added icons/icon_x48.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 17 additions & 0 deletions manifest_v2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"manifest_version": 2,
"name": "YouTubeLegacyUI",
"version": "1.0.0",
"description": "YouTubeを旧UIにします",
"icons": {
"16": "icons/icon_x16.png",
"48": "icons/icon_x48.png",
"128": "icons/icon_x128.png"
},
"content_scripts": [
{
"matches": ["*://*.youtube.com/*"],
"css": ["css/main.css"]
}
]
}
17 changes: 17 additions & 0 deletions manifest_v3.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"manifest_version": 3,
"name": "YouTubeLegacyUI",
"version": "1.0.0",
"description": "YouTubeを旧UIにします",
"icons": {
"16": "icons/icon_x16.png",
"48": "icons/icon_x48.png",
"128": "icons/icon_x128.png"
},
"content_scripts": [
{
"matches": ["*://*.youtube.com/*"],
"css": ["css/main.css"]
}
]
}

0 comments on commit 2470161

Please sign in to comment.